aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/FSets/FSetFullAVL.v
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-10-08 13:39:01 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-10-08 13:39:01 +0000
commit93b74b4be215bd08ca7a123505177d6ec8ac7b4c (patch)
treecc5b80a8ba038a7c531afae977234f2afdc70699 /theories/FSets/FSetFullAVL.v
parentbdec9fddcdaa13800e04e718ffa52f87bddc52d9 (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 'theories/FSets/FSetFullAVL.v')
-rw-r--r--theories/FSets/FSetFullAVL.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/FSets/FSetFullAVL.v b/theories/FSets/FSetFullAVL.v
index d8a31ba5f..bc2b7b64e 100644
--- a/theories/FSets/FSetFullAVL.v
+++ b/theories/FSets/FSetFullAVL.v
@@ -98,7 +98,7 @@ Ltac avl_nns :=
Lemma height_0 : forall s, avl s -> height s = 0 -> s = Leaf.
Proof.
destruct 1; intuition; simpl in *.
- avl_nns; simpl in *; elimtype False; omega_max.
+ avl_nns; simpl in *; exfalso; omega_max.
Qed.
(** * Results about [avl] *)
@@ -755,7 +755,7 @@ Proof.
intros s1 s2 B1 B2.
generalize (ocaml_compare_Cmp s1 s2)(compare_Cmp s1 s2).
unfold Cmp.
- destruct ocaml_compare; destruct compare; auto; intros; elimtype False.
+ destruct ocaml_compare; destruct compare; auto; intros; exfalso.
elim (lt_not_eq B1 B2 H0); auto.
elim (lt_not_eq B2 B1 H0); auto.
apply eq_sym; auto.