invite users to upgrade their SPASS (so we can get rid of old code)
authorblanchet
Mon, 21 May 2012 11:31:52 +0200
changeset 47950 9cb132898ac8
parent 47949 fafbb2607366
child 47951 8c8a03765de7
invite users to upgrade their SPASS (so we can get rid of old code)
src/HOL/Tools/ATP/atp_proof.ML
src/HOL/Tools/ATP/atp_systems.ML
--- a/src/HOL/Tools/ATP/atp_proof.ML	Mon May 21 11:31:52 2012 +0200
+++ b/src/HOL/Tools/ATP/atp_proof.ML	Mon May 21 11:31:52 2012 +0200
@@ -24,6 +24,7 @@
     TimedOut |
     Inappropriate |
     OutOfResources |
+    OldSPASS |
     NoPerl |
     NoLibwwwPerl |
     MalformedInput |
@@ -80,6 +81,7 @@
   TimedOut |
   Inappropriate |
   OutOfResources |
+  OldSPASS |
   NoPerl |
   NoLibwwwPerl |
   MalformedInput |
@@ -131,6 +133,15 @@
   | string_for_failure Inappropriate =
     "The generated problem lies outside the prover's scope."
   | string_for_failure OutOfResources = "The prover ran out of resources."
+  | string_for_failure OldSPASS =
+    "The version of SPASS you are using is obsolete. Please upgrade to \
+    \SPASS 3.8ds. To install it, download and extract the package \
+    \\"http://www21.in.tum.de/~blanchet/spass-3.8ds.tar.gz\" and add the \
+    \\"spass-3.8ds\" directory's absolute path to " ^
+    quote (Path.implode (Path.expand (Path.appends
+               (Path.variable "ISABELLE_HOME_USER" ::
+                map Path.basic ["etc", "components"])))) ^
+    " on a line of its own."
   | string_for_failure NoPerl = "Perl" ^ missing_message_tail
   | string_for_failure NoLibwwwPerl =
     "The Perl module \"libwww-perl\"" ^ missing_message_tail
--- a/src/HOL/Tools/ATP/atp_systems.ML	Mon May 21 11:31:52 2012 +0200
+++ b/src/HOL/Tools/ATP/atp_systems.ML	Mon May 21 11:31:52 2012 +0200
@@ -374,7 +374,9 @@
    proof_delims = [("Here is a proof", "Formulae used in the proof")],
    known_failures =
      known_perl_failures @
-     [(GaveUp, "SPASS beiseite: Completion found"),
+     [(OldSPASS, "SPASS V 3.5"),
+      (OldSPASS, "SPASS V 3.7"),
+      (GaveUp, "SPASS beiseite: Completion found"),
       (TimedOut, "SPASS beiseite: Ran out of time"),
       (OutOfResources, "SPASS beiseite: Maximal number of loops exceeded"),
       (MalformedInput, "Undefined symbol"),