diff options
author | 2001-08-05 19:04:16 +0000 | |
---|---|---|
committer | 2001-08-05 19:04:16 +0000 | |
commit | 83c56744d7e232abeb5f23e6d0f23cd0abc14a9c (patch) | |
tree | 6d7d4c2ce3bb159b8f81a4193abde1e3573c28d4 /theories/Bool/IfProp.v | |
parent | f7351ff222bad0cc906dbee3c06b20babf920100 (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/IfProp.v')
-rwxr-xr-x | theories/Bool/IfProp.v | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/theories/Bool/IfProp.v b/theories/Bool/IfProp.v index f9c5e3976..d0c089c7a 100755 --- a/theories/Bool/IfProp.v +++ b/theories/Bool/IfProp.v @@ -17,12 +17,12 @@ Inductive IfProp [A,B:Prop] : bool-> Prop Hints Resolve Iftrue Iffalse : bool v62. Lemma Iftrue_inv : (A,B:Prop)(b:bool) (IfProp A B b) -> b=true -> A. -Destruct 1; Intros; Auto with bool. +NewDestruct 1; Intros; Auto with bool. Case diff_true_false; Auto with bool. Save. Lemma Iffalse_inv : (A,B:Prop)(b:bool) (IfProp A B b) -> b=false -> B. -Destruct 1; Intros; Auto with bool. +NewDestruct 1; Intros; Auto with bool. Case diff_true_false; Trivial with bool. Save. @@ -39,11 +39,11 @@ Assumption. Save. Lemma IfProp_or : (A,B:Prop)(b:bool)(IfProp A B b) -> A\/B. -Destruct 1; Auto with bool. +NewDestruct 1; Auto with bool. Save. Lemma IfProp_sum : (A,B:Prop)(b:bool)(IfProp A B b) -> {A}+{B}. -Destruct b; Intro H. +NewDestruct b; Intro H. Left; Inversion H; Auto with bool. Right; Inversion H; Auto with bool. Save. |