src/HOL/Tools/ATP/AtpCommunication.ML
changeset 17690 8ba7c3cd24a8
parent 17583 c272b91b619f
child 17718 9dab1e491d10
--- a/src/HOL/Tools/ATP/AtpCommunication.ML	Wed Sep 28 11:15:33 2005 +0200
+++ b/src/HOL/Tools/ATP/AtpCommunication.ML	Wed Sep 28 11:16:27 2005 +0200
@@ -103,9 +103,8 @@
        startTransfer (end_V8, fromChild, toParent, ppid, goalstring, childCmd, clause_arr)
      else if (String.isPrefix "Satisfiability detected" thisLine) orelse
              (String.isPrefix "Refutation not found" thisLine)
-     then
-       (signal_parent (toParent, ppid, "Failure\n", goalstring);
-	true)
+     then (signal_parent (toParent, ppid, "Failure\n", goalstring);
+	   true)
      else
         checkVampProofFound  (fromChild, toParent, ppid, goalstring, childCmd, clause_arr)
   end
@@ -124,13 +123,11 @@
      then      
        startTransfer (end_E, fromChild, toParent, ppid, goalstring, childCmd, clause_arr)
      else if String.isPrefix "# Problem is satisfiable" thisLine
-     then  
-       (signal_parent (toParent, ppid, "Invalid\n", goalstring);
-	true)
-     else if String.isPrefix "# Failure: Resource limit exceeded" thisLine
-     then  (*In fact, E distingishes "out of time" and "out of memory"*)
-       (signal_parent (toParent, ppid, "Failure\n", goalstring);
-	true)
+     then (signal_parent (toParent, ppid, "Invalid\n", goalstring);
+	   true)
+     else if String.isPrefix "# Cannot determine problem status within resource limit" thisLine
+     then (signal_parent (toParent, ppid, "Failure\n", goalstring);
+	   true)
      else
 	checkEProofFound (fromChild, toParent, ppid, goalstring, childCmd, clause_arr)
  end