X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Ftactics%2FvariousTactics.ml;h=3a3db7db43c4cf8cd1c0079b35ce6969ef89b24f;hb=b0a6c05decc9f0e731f70cfc5ae5350ae4046b79;hp=16a9c2267779cb27bb00866bdbf4751f70f0bb7a;hpb=e00d05ab58597620345c2fd49b84a23efa8db34c;p=helm.git diff --git a/components/tactics/variousTactics.ml b/components/tactics/variousTactics.ml index 16a9c2267..3a3db7db4 100644 --- a/components/tactics/variousTactics.ml +++ b/components/tactics/variousTactics.ml @@ -38,7 +38,7 @@ let assumption_tac = let module R = CicReduction in let module S = CicSubstitution in let module PT = PrimitiveTactics in - let _,metasenv,_,_, _ = proof in + let _,metasenv,_subst,_,_, _ = proof in let _,context,ty = CicUtil.lookup_meta goal metasenv in let rec find n = function hd::tl -> @@ -83,7 +83,7 @@ let generalize_tac let module C = Cic in let module P = PrimitiveTactics in let module T = Tacticals in - let uri,metasenv,pbo,pty, attrs = proof in + let uri,metasenv,_subst,pbo,pty, attrs = proof in let (_,context,ty) as conjecture = CicUtil.lookup_meta goal metasenv in let subst,metasenv,u,selected_hyps,terms_with_context = ProofEngineHelpers.select ~metasenv ~ugraph:CicUniv.empty_ugraph @@ -157,7 +157,7 @@ let generalize_tac else u1 ) u terms_with_context) ; - let status = (uri,metasenv',pbo,pty, attrs),goal in + let status = (uri,metasenv',_subst,pbo,pty, attrs),goal in let proof,goals = PET.apply_tactic (T.thens @@ -177,7 +177,7 @@ let generalize_tac T.id_tac]) status in - let _,metasenv'',_,_, _ = proof in + let _,metasenv'',_subst,_,_, _ = proof in (* CSC: the following is just a bad approximation since a meta can be closed and then re-opened! *) (proof,