diff options
| author | letouzey | 2009-10-08 13:39:01 +0000 |
|---|---|---|
| committer | letouzey | 2009-10-08 13:39:01 +0000 |
| commit | 93b74b4be215bd08ca7a123505177d6ec8ac7b4c (patch) | |
| tree | cc5b80a8ba038a7c531afae977234f2afdc70699 /plugins | |
| parent | bdec9fddcdaa13800e04e718ffa52f87bddc52d9 (diff) | |
Init/Tactics.v: tactic with nicer name 'exfalso' for 'elimtype False'
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12380 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/field/LegacyField_Theory.v | 2 | ||||
| -rw-r--r-- | plugins/romega/ReflOmegaCore.v | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/field/LegacyField_Theory.v b/plugins/field/LegacyField_Theory.v index 378efa0353..cc8b043fce 100644 --- a/plugins/field/LegacyField_Theory.v +++ b/plugins/field/LegacyField_Theory.v @@ -602,7 +602,7 @@ simpl in |- *; fold AoppT in |- *; case (eqExprA (EAopp e0) (EAinv a)); unfold monom_remove in |- *; case (eqExprA (EAinv e0) (EAinv a)); intros. case (eqExprA e0 a); intros. rewrite e2; simpl in |- *; fold AinvT in |- *; rewrite AinvT_r; auto. -inversion e1; simpl in |- *; elimtype False; auto. +inversion e1; simpl in |- *; exfalso; auto. simpl in |- *; trivial. unfold monom_remove in |- *; case (eqExprA (EAvar n) (EAinv a)); intros; [ inversion e0 | simpl in |- *; trivial ]. diff --git a/plugins/romega/ReflOmegaCore.v b/plugins/romega/ReflOmegaCore.v index a97f43d087..c82abfc85b 100644 --- a/plugins/romega/ReflOmegaCore.v +++ b/plugins/romega/ReflOmegaCore.v @@ -583,7 +583,7 @@ Module IntProperties (I:Int). Proof. intros. destruct (lt_eq_lt_dec n 0) as [[Hn|Hn]|Hn]; auto; - destruct (lt_eq_lt_dec m 0) as [[Hm|Hm]|Hm]; auto; elimtype False. + destruct (lt_eq_lt_dec m 0) as [[Hm|Hm]|Hm]; auto; exfalso. rewrite lt_0_neg' in Hn. rewrite lt_0_neg' in Hm. |
