X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FproofEngine.ml;h=ac1119dd529285921eef4611336e7c87557242ef;hb=5549be611f33cb52e4725e65b7f9603de22de863;hp=d9b6219b2d159032f13af762923a069794f7e6c8;hpb=36f71caeee72cb15185ecbc7644ed1da5c6f8186;p=helm.git diff --git a/helm/gTopLevel/proofEngine.ml b/helm/gTopLevel/proofEngine.ml index d9b6219b2..ac1119dd5 100644 --- a/helm/gTopLevel/proofEngine.ml +++ b/helm/gTopLevel/proofEngine.ml @@ -58,11 +58,12 @@ let get_current_status_as_xml () = ;; let apply_tactic ~tactic = + let module PET = ProofEngineTypes in match get_proof (),!goal with | None,_ | _,None -> assert false | Some proof', Some goal' -> - let (newproof, newgoals) = tactic (proof', goal') in + let (newproof, newgoals) = PET.apply_tactic tactic (proof', goal') in set_proof (Some newproof); goal := (match newgoals, newproof with @@ -226,7 +227,10 @@ let fold_simpl term = let elim_type term = apply_tactic (EliminationTactics.elim_type_tac ~term) let ring () = apply_tactic Ring.ring_tac let fourier () = apply_tactic FourierR.fourier_tac -let auto mqi_handle () = apply_tactic (VariousTactics.auto_tac mqi_handle) + +(* let auto ~dbd () = apply_tactic (AutoTactic.auto_tac ~dbd) *) +let auto ~dbd () = apply_tactic (AutoTactic.auto_tac_new ~dbd) + let rewrite_simpl term = apply_tactic (EqualityTactics.rewrite_simpl_tac ~term) let rewrite_back_simpl term = apply_tactic (EqualityTactics.rewrite_back_simpl_tac ~term)