aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Bool/Zerob.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-08-05 19:04:16 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-08-05 19:04:16 +0000
commit83c56744d7e232abeb5f23e6d0f23cd0abc14a9c (patch)
tree6d7d4c2ce3bb159b8f81a4193abde1e3573c28d4 /theories/Bool/Zerob.v
parentf7351ff222bad0cc906dbee3c06b20babf920100 (diff)
Expérimentation de NewDestruct et parfois NewInduction
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1880 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Bool/Zerob.v')
-rwxr-xr-xtheories/Bool/Zerob.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/theories/Bool/Zerob.v b/theories/Bool/Zerob.v
index 8a8d09621..4422a03f4 100755
--- a/theories/Bool/Zerob.v
+++ b/theories/Bool/Zerob.v
@@ -15,19 +15,19 @@ Definition zerob : nat->bool
:= [n:nat]Cases n of O => true | (S _) => false end.
Lemma zerob_true_intro : (n:nat)(n=O)->(zerob n)=true.
-Destruct n; [Trivial with bool | Intros p H; Inversion H].
+NewDestruct n; [Trivial with bool | Inversion 1].
Save.
Hints Resolve zerob_true_intro : bool.
Lemma zerob_true_elim : (n:nat)(zerob n)=true->(n=O).
-Destruct n; [Trivial with bool | Intros p H; Inversion H].
+NewDestruct n; [Trivial with bool | Inversion 1].
Save.
Lemma zerob_false_intro : (n:nat)~(n=O)->(zerob n)=false.
-Destruct n; [Destruct 1; Auto with bool | Trivial with bool].
+NewDestruct n; [NewDestruct 1; Auto with bool | Trivial with bool].
Save.
Hints Resolve zerob_false_intro : bool.
Lemma zerob_false_elim : (n:nat)(zerob n)=false -> ~(n=O).
-Destruct n; [Intro H; Inversion H | Auto with bool].
+NewDestruct n; [Intro H; Inversion H | Auto with bool].
Save.