From 93b74b4be215bd08ca7a123505177d6ec8ac7b4c Mon Sep 17 00:00:00 2001 From: letouzey Date: Thu, 8 Oct 2009 13:39:01 +0000 Subject: 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 --- plugins/field/LegacyField_Theory.v | 2 +- plugins/romega/ReflOmegaCore.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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. -- cgit v1.2.3