b95c5b557aadc2211867af804d39950d4c9c1444Andy GimblettDescription : Interface to the Vampire theorem prover via MathServe.
b95c5b557aadc2211867af804d39950d4c9c1444Andy GimblettCopyright : (c) Rene Wagner, Klaus Luettich, Rainer Grabbe,
b95c5b557aadc2211867af804d39950d4c9c1444Andy Gimblett Uni Bremen 2005-2006
b95c5b557aadc2211867af804d39950d4c9c1444Andy GimblettLicense : GPLv2 or higher, see LICENSE.txt
9ebbce450fb242e1a346f9f89367d8c46fcb2ec8Andy GimblettMaintainer : Christian.Maeder@dfki.de
b95c5b557aadc2211867af804d39950d4c9c1444Andy GimblettStability : provisional
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy GimblettPortability : needs POSIX
b95c5b557aadc2211867af804d39950d4c9c1444Andy GimblettInterface for the Vampire service, uses GUI.GenericATP.
9ebbce450fb242e1a346f9f89367d8c46fcb2ec8Andy GimblettSee <http://spass.mpi-sb.mpg.de/> for details on SPASS.
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblettmodule SoftFOL.ProveVampire (vampire, vampireCMDLautomaticBatch) where
d64c27888613a81c9634cd939dd05618175465efAndy Gimblettimport qualified Common.AS_Annotation as AS_Anno
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblettimport qualified Common.Result as Result
b95c5b557aadc2211867af804d39950d4c9c1444Andy Gimblettimport qualified Control.Concurrent as Concurrent
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblettimport qualified Control.Exception as Exception
b95c5b557aadc2211867af804d39950d4c9c1444Andy Gimblett-- * Prover implementation
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblett The Prover implementation. First runs the batch prover (with graphical
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblett feedback), then starts the GUI prover.
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy Gimblettvampire :: Prover Sign Sentence SoftFOLMorphism () ProofTree
19ef749a762ef2c09579549715a63b364f0395d5Andy Gimblettvampire = (mkProverTemplate "Vampire" () vampireGUI)
29ac9ecacf0983a565b89f133ff2bdf2ac02b0c4Andy Gimblett { proveCMDLautomaticBatch = Just vampireCMDLautomaticBatch }
afc52bfaabee38c4d55cee9f35b1a0028ba3854aAndy GimblettvampireHelpText :: String
{- ^ theory consisting of a SoftFOL.Sign.Sign
and a list of Named SoftFOL.Sign.Sentence -}
Implementation of 'Logic.Prover.proveCMDLautomaticBatch' which provides an
-> AS_Anno.Named SPTerm -- ^ goal to prove
Exception.catch (do
(writeFile (thName ++ '_' : AS_Anno.senAttr nGoal ++ ".tptp") prob)
$ excepToATPResult (proverName vampire) $ AS_Anno.senAttr nGoal