From 042a9e9156c183e705a5d5dddd4f2842fa57b943 Mon Sep 17 00:00:00 2001 From: msozeau Date: Sun, 7 Mar 2010 22:51:23 +0000 Subject: Reorder resolution of type class and unification constraints. Fix a bug in dependent elimination when treating defined variables in the context. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12851 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Program/Equality.v | 1 + 1 file changed, 1 insertion(+) (limited to 'theories/Program') diff --git a/theories/Program/Equality.v b/theories/Program/Equality.v index 79c9bec532..c3c5f9c95e 100644 --- a/theories/Program/Equality.v +++ b/theories/Program/Equality.v @@ -324,6 +324,7 @@ Ltac simplify_one_dep_elim_term c := refine (simplification_existT2 _ _ _ _ _ _ _) || refine (simplification_existT1 _ _ _ _ _ _ _ _) | ?x = ?y -> _ => (* variables case *) + (unfold x) || (unfold y) || (let hyp := fresh in intros hyp ; move hyp before x ; revert_until hyp ; generalize dependent x ; refine (solution_left _ _ _ _)(* ; intros until 0 *)) || -- cgit v1.2.3