more precise error message
authorblanchet
Thu, 07 Feb 2013 18:24:31 +0100
changeset 51030 b0d9ff6b4b4f
parent 51029 211a9240b1e3
child 51031 63d71b247323
more precise error message
src/HOL/Tools/ATP/atp_proof_redirect.ML
--- a/src/HOL/Tools/ATP/atp_proof_redirect.ML	Thu Feb 07 14:05:33 2013 +0100
+++ b/src/HOL/Tools/ATP/atp_proof_redirect.ML	Thu Feb 07 18:24:31 2013 +0100
@@ -152,8 +152,10 @@
     val bot =
       case Atom_Graph.maximals ref_graph of
         [bot] => bot
-      | bots => raise Fail ("malformed refutation graph with " ^
-                            string_of_int (length bots) ^ " maximal nodes")
+      | bots =>
+        raise Fail ("Malformed refutation graph with " ^
+                    string_of_int (length bots) ^ " maximal nodes (" ^
+                    commas_quote (map Atom.string_of bots) ^ ")")
     val seqs =
       map (redirect_sequent tainted bot) (sequents_of_ref_graph ref_graph)
     val direct_graph = direct_graph seqs