X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2FautoTactic.ml;h=a9505d73919f1d33a929599b5741c59a930f4efb;hb=a8700ca77511655526bd40e46b76128853ce6b0c;hp=42df90768263b2749c30f9ff81c1c0dcf4f9b12c;hpb=55b82bd235d82ff7f0a40d980effe1efde1f5073;p=helm.git diff --git a/helm/software/components/tactics/autoTactic.ml b/helm/software/components/tactics/autoTactic.ml index 42df90768..a9505d739 100644 --- a/helm/software/components/tactics/autoTactic.ml +++ b/helm/software/components/tactics/autoTactic.ml @@ -334,12 +334,19 @@ let auto_tac ?(depth=default_depth) ?(width=default_width) ?paramodulation | Some _ -> let _, metasenv, _, _ = proof in let _, _, meta_goal = CicUtil.lookup_meta goal metasenv in - full || (Inference.term_is_equality meta_goal) + full || (Equality.term_is_equality meta_goal) in if paramodulation_ok then ( debug_print (lazy "USO PARAMODULATION..."); (* try *) - Saturation.saturate dbd ~depth ~width ~full (proof, goal) + try + let rc = Saturation.saturate dbd ~depth ~width ~full (proof, goal) in + prerr_endline (Saturation.get_stats ()); + rc + with exn -> + prerr_endline (Saturation.get_stats ()); + raise exn + (* with ProofEngineTypes.Fail _ -> *) (* normal_auto () *) ) else