]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/autoTactic.ml
added shortcut targets
[helm.git] / components / tactics / autoTactic.ml
index 9db6ed1c9094d3816c374592d401d5ba35fcdd7f..a9505d73919f1d33a929599b5741c59a930f4efb 100644 (file)
@@ -339,7 +339,14 @@ let auto_tac ?(depth=default_depth) ?(width=default_width) ?paramodulation
     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