X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FprimitiveTactics.ml;h=8b3f025aa07a575e9e9015528010d725b9bee5f7;hb=7e9ee837f75f38bf01240cdc03dd51c764c2665f;hp=9974577a087da7f31fde6cdbc01f6b5182411e96;hpb=5009b8ff136b9f8ef2f8fef35dfc8e3598d63e52;p=helm.git diff --git a/helm/gTopLevel/primitiveTactics.ml b/helm/gTopLevel/primitiveTactics.ml index 9974577a0..8b3f025aa 100644 --- a/helm/gTopLevel/primitiveTactics.ml +++ b/helm/gTopLevel/primitiveTactics.ml @@ -258,7 +258,7 @@ let apply_tac ~term ~status:(proof, goal) = C.MutConstruct (uri,tyno,consno,exp_named_subst') | _ -> [],newmeta,[],term in - let metasenv' = newmetasenvfragment@metasenv in + let metasenv' = metasenv@newmetasenvfragment in prerr_endline ("^^^^^TERM': " ^ CicPp.ppterm term') ; let termty = CicSubstitution.subst_vars exp_named_subst_diff @@ -269,7 +269,7 @@ prerr_endline ("^^^^^TERMTY: " ^ CicPp.ppterm termty) ; let (consthead,newmetas,arguments,_) = new_metasenv_for_apply newmeta' proof context termty in - let newmetasenv = newmetas@metasenv' in + let newmetasenv = metasenv'@newmetas in let subst,newmetasenv' = CicUnification.fo_unif newmetasenv context consthead ty in @@ -506,7 +506,8 @@ da subst1!!!! Dovrei rimuoverle o sono innocue?*) let elim_simpl_intros_tac ~term = Tacticals.then_ ~start:(elim_tac ~term) ~continuation: - (Tacticals.then_ ~start:ReductionTactics.simpl_tac + (Tacticals.then_ + ~start:(ReductionTactics.simpl_tac ~also_in_hypotheses:false ~term:None) ~continuation:(intros_tac ~name:"FOO")) ;;