src/HOL/Tools/ATP/atp_proof.ML
changeset 41222 f9783376d9b1
parent 41203 1393514094d7
child 41259 13972ced98d9
--- a/src/HOL/Tools/ATP/atp_proof.ML	Fri Dec 17 00:11:06 2010 +0100
+++ b/src/HOL/Tools/ATP/atp_proof.ML	Fri Dec 17 00:27:40 2010 +0100
@@ -14,8 +14,8 @@
   datatype failure =
     Unprovable | IncompleteUnprovable | CantConnect | TimedOut |
     OutOfResources | SpassTooOld | VampireTooOld | NoPerl | NoLibwwwPerl |
-    MalformedInput | MalformedOutput | Interrupted | Crashed | InternalError |
-    UnknownError
+    NoRealZ3 | MalformedInput | MalformedOutput | Interrupted | Crashed |
+    InternalError | UnknownError
 
   type step_name = string * string option
 
@@ -47,8 +47,9 @@
 
 datatype failure =
   Unprovable | IncompleteUnprovable | CantConnect | TimedOut | OutOfResources |
-  SpassTooOld | VampireTooOld | NoPerl | NoLibwwwPerl | MalformedInput |
-  MalformedOutput | Interrupted | Crashed | InternalError | UnknownError
+  SpassTooOld | VampireTooOld | NoPerl | NoLibwwwPerl | NoRealZ3 |
+  MalformedInput | MalformedOutput | Interrupted | Crashed | InternalError |
+  UnknownError
 
 fun strip_spaces_in_list _ [] = []
   | strip_spaces_in_list _ [c1] = if Char.isSpace c1 then [] else [str c1]
@@ -99,6 +100,8 @@
   | string_for_failure prover NoPerl = "Perl" ^ missing_message_tail prover
   | string_for_failure prover NoLibwwwPerl =
     "The Perl module \"libwww-perl\"" ^ missing_message_tail prover
+  | string_for_failure prover NoRealZ3 =
+    "The environment variable \"Z3_REAL_SOLVER\" must be set to Z3's full path."
   | string_for_failure prover MalformedInput =
     "The " ^ prover ^ " problem is malformed. Please report this to the \
     \Isabelle developers."