From: Claudio Sacerdoti Coen Date: Thu, 23 Aug 2007 20:21:35 +0000 (+0000) Subject: Bug fixed: the initial metasenv used in the two tactic was empty! X-Git-Tag: 0.4.95@7852~258 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=75046078a3dedfb5ae79fe345217f8edf19f9aae;p=helm.git Bug fixed: the initial metasenv used in the two tactic was empty! --- diff --git a/components/tactics/auto.ml b/components/tactics/auto.ml index 0827b7ebc..a7af3bbe5 100644 --- a/components/tactics/auto.ml +++ b/components/tactics/auto.ml @@ -1753,7 +1753,7 @@ let solve_rewrite_tac ~universe ?(steps=1) (proof,goal as status)= (* we take the whole universe (no signature filtering) *) init_cache_and_tables false true false true universe (proof,goal) in - let initgoal = [], [], ty in + let initgoal = [], metasenv, ty in let table = let equalities = (Saturation.list_of_passive passive) in (* we demodulate using both actives passives *) @@ -1788,7 +1788,7 @@ let demodulate_tac ~dbd ~universe (proof,goal)= let curi,metasenv,_subst,pbo,pty, attrs = proof in let metano,context,ty = CicUtil.lookup_meta goal metasenv in let irl = CicMkImplicit.identity_relocation_list_for_metavariable context in - let initgoal = [], [], ty in + let initgoal = [], metasenv, ty in let eq_uri = eq_of_goal ty in let (active,passive,bag), cache, maxm = init_cache_and_tables