X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FfourierR.ml;h=c51d3bf0cf77e611690355ead5841272bbdd9960;hb=7b78ae643999aa95b95b376fab54adb33dbed206;hp=3556a85f2e43e47cf2370cc324b0d89121cd26d2;hpb=655906d74521fa49de332f54ec34bfc9d9744151;p=helm.git diff --git a/helm/ocaml/tactics/fourierR.ml b/helm/ocaml/tactics/fourierR.ml index 3556a85f2..c51d3bf0c 100644 --- a/helm/ocaml/tactics/fourierR.ml +++ b/helm/ocaml/tactics/fourierR.ml @@ -693,7 +693,7 @@ let tac_zero_infeq_false gl (n,d) = (Tacticals.then_ ~start: (ReductionTactics.fold_tac ~reduction:CicReduction.whd - ~also_in_hypotheses:false + ~pattern:([],None) ~term: (Cic.Appl [_Rle ; _R0 ; @@ -885,7 +885,7 @@ let equality_replace a b = let metasenv' = (fresh_meta,context,a_eq_b)::metasenv in debug("chamo rewrite tac su"^CicPp.ppterm (C.Meta (fresh_meta,irl))); let (proof,goals) = apply_tactic - (EqualityTactics.rewrite_simpl_tac ~term:(C.Meta (fresh_meta,irl))) + (EqualityTactics.rewrite_simpl_tac ~term:(C.Meta (fresh_meta,irl)) ()) ((curi,metasenv',pbo,pty),goal) in let new_goals = fresh_meta::goals in @@ -1133,7 +1133,7 @@ let rec fourier (s_proof,s_goal)= let curi,metasenv,pbo,pty = proof in let metano,context,ty = CicUtil.lookup_meta goal metasenv in apply_tactic - (PrimitiveTactics.change_tac ~what:ty + (PrimitiveTactics.change_tac ~what:ty ~pattern:([],None) ~with_what:(Cic.Appl [ _not; ineq])) status)) ~continuation:(Tacticals.then_ @@ -1178,8 +1178,8 @@ let rec fourier (s_proof,s_goal)= |_ -> assert false) in let r = apply_tactic - (PrimitiveTactics.change_tac ~what:ty ~with_what:w1) - status in + (PrimitiveTactics.change_tac ~what:ty ~pattern:([],None) + ~with_what:w1) status in debug("fine MY_CHNGE\n"); r)) ~continuation:(*PORTINGTacticals.id_tac*)tac2]))