additional debugging
authorimmler@in.tum.de
Wed, 03 Jun 2009 16:56:41 +0200
changeset 31411 1d00ab68bc8d
parent 31410 c231efe693ce
child 31412 f2e6b6526092
additional debugging
src/HOL/Tools/atp_wrapper.ML
--- a/src/HOL/Tools/atp_wrapper.ML	Wed Jun 03 16:56:41 2009 +0200
+++ b/src/HOL/Tools/atp_wrapper.ML	Wed Jun 03 16:56:41 2009 +0200
@@ -93,15 +93,7 @@
       if is_some failure then "External prover failed."
       else if rc <> 0 then "External prover failed: " ^ proof
       else "Try this command: " ^ produce_answer name (proof, thm_names, ctxt, th, subgoalno)
-
-    val _ =
-      if is_some failure
-      then Output.debug (fn () => "Sledgehammer failure: " ^ the failure ^ "\nOutput: " ^ proof)
-      else ()
-    val _ =
-      if rc <> 0
-      then Output.debug (fn () => "Sledgehammer exited with return code " ^ string_of_int rc ^ ":\n" ^ proof)
-      else ()
+    val _ = Output.debug (fn () => "Sledgehammer response (rc = " ^ string_of_int rc ^ "):\n" ^ proof)
   in (success, message, proof, thm_names, the_const_counts) end;