X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Ftactics%2FautoTactic.ml;h=d4dc5592c78379caa95f6d32fffd8af8d9f7b889;hb=6995a7717fd0c760c0608ed9225e9f2dbc14d7d1;hp=63dc8631dbc8b4b564fded81c72ea44fcffe204c;hpb=41e76668e9389ce17e41747026e533f907a0311c;p=helm.git diff --git a/components/tactics/autoTactic.ml b/components/tactics/autoTactic.ml index 63dc8631d..d4dc5592c 100644 --- a/components/tactics/autoTactic.ml +++ b/components/tactics/autoTactic.ml @@ -331,6 +331,7 @@ let auto_tac ~params ~(dbd:HMysql.dbd) = let target = string "target" params in let table = string "table" params in let subterms_only = bool "subterms_only" params in + let caso_strano = bool "caso_strano" params in let demod_table = string "demod_table" params in (* the real tactic *) let auto_tac dbd (proof, goal) = @@ -363,7 +364,7 @@ let auto_tac ~params ~(dbd:HMysql.dbd) = debug_print (lazy "USO PARAMODULATION..."); (* try *) try - let rc = Saturation.saturate dbd ~depth ~width ~full (proof, goal) in + let rc = Saturation.saturate caso_strano dbd ~depth ~width ~full (proof, goal) in prerr_endline (Saturation.get_stats ()); rc with exn -> @@ -412,7 +413,7 @@ let new_metasenv_and_unify_and_t dbd proof goal newmeta' metasenv' context term' [g1;g2] -> let proof'',goals = ProofEngineTypes.apply_tactic - (auto_tac ~params:["paramodulation","on"] ~dbd) (proof'',g2) + (auto_tac ~params:["caso_strano","on";"paramodulation","on"] ~dbd) (proof'',g2) in let proof'',goals = ProofEngineTypes.apply_tactic