aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2004-04-06 17:30:47 +0000
committerherbelin2004-04-06 17:30:47 +0000
commitb9454ae1aebaea716c84fd41d5452d9cbf1c781a (patch)
tree905c87047c1ed5049b1876e3aa71ee4d31ba1df8
parentbb9a7e78191df7df4a7d6af6459232fb31bd1b59 (diff)
sumbool et sumor affich avec 'if' si possible
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5642 85f007b7-540e-0410-9357-904b9bb8a0f7
-rwxr-xr-xtheories/Init/Specif.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/theories/Init/Specif.v b/theories/Init/Specif.v
index 4d145fbdda..786a86dc3b 100755
--- a/theories/Init/Specif.v
+++ b/theories/Init/Specif.v
@@ -106,11 +106,15 @@ Inductive sumbool (A B:Prop) : Set :=
| right : B -> {A} + {B}
where "{ A } + { B }" := (sumbool A B) : type_scope.
+Add Printing If sumbool.
+
Inductive sumor (A:Set) (B:Prop) : Set :=
| inleft : A -> A + {B}
| inright : B -> A + {B}
where "A + { B }" := (sumor A B) : type_scope.
+Add Printing If sumor.
+
(** Choice *)
Section Choice_lemmas.