From 87017bcc49f0d9d07f8f8c6a8c0137715118ef46 Mon Sep 17 00:00:00 2001 From: msozeau Date: Sun, 16 Mar 2008 16:14:08 +0000 Subject: Using the "relation" constant made some unifications fail in the new setoid rewrite. Refine and use the new unification flags setup by Hugo to do a little bit of delta in clenv_unify/w_unify. Moved from a boolean indicating conversion is wanted to a Cpred representing the constants one wants to get unfolded to have more precise control. Add corresponding test-suite file. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10684 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tactics/setoid_replace.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tactics/setoid_replace.ml') diff --git a/tactics/setoid_replace.ml b/tactics/setoid_replace.ml index 7e7b81ebf..1b3f4d21b 100644 --- a/tactics/setoid_replace.ml +++ b/tactics/setoid_replace.ml @@ -1734,13 +1734,13 @@ let check_evar_map_of_evars_defs evd = let rewrite_unif_flags = { modulo_conv_on_closed_terms = false; use_metas_eagerly = true; - modulo_conv = false + modulo_delta = Cpred.empty } let rewrite2_unif_flags = { modulo_conv_on_closed_terms = true; use_metas_eagerly = true; - modulo_conv = false + modulo_delta = Cpred.empty } let unification_rewrite c1 c2 cl but gl = -- cgit v1.2.3