From 75046078a3dedfb5ae79fe345217f8edf19f9aae Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 23 Aug 2007 20:21:35 +0000 Subject: [PATCH] Bug fixed: the initial metasenv used in the two tactic was empty! --- components/tactics/auto.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2