From d14635b0c74012e464aad9e77aeeffda0f1ef154 Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 8 Jun 2010 13:56:14 +0000 Subject: Made option "Automatic Introduction" active by default before too many people use the undocumented "Lemma foo x : t" feature in a way incompatible with this activation. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13090 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Sorting/PermutSetoid.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'theories/Sorting') diff --git a/theories/Sorting/PermutSetoid.v b/theories/Sorting/PermutSetoid.v index 5faaebe28..acc7517dd 100644 --- a/theories/Sorting/PermutSetoid.v +++ b/theories/Sorting/PermutSetoid.v @@ -261,7 +261,7 @@ Qed. Global Instance if_eqA (B:Type)(b b':B) : Proper (eqA==>eqA==>@eq _) (fun x y => if eqA_dec x y then b else b'). Proof. - intros B b b' x x' Hxx' y y' Hyy'. + intros x x' Hxx' y y' Hyy'. intros; destruct (eqA_dec x y) as [H|H]; destruct (eqA_dec x' y') as [H'|H']; auto. contradict H'; transitivity x; auto with *; transitivity y; auto with *. @@ -292,7 +292,7 @@ Qed. Global Instance multiplicity_eqA (l:list A) : Proper (eqA==>@eq _) (multiplicity (list_contents l)). Proof. - intros l x x' Hxx'. + intros x x' Hxx'. induction l as [|y l Hl]; simpl; auto. rewrite (@if_eqA_rewrite_r y x x'); auto. Qed. -- cgit v1.2.3