Hets - the Heterogeneous Tool Set
Copyright(c) Rainer Grabbe DFKI GmbH
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityunknown
Safe HaskellNone

SoftFOL.MathServParsing

Description

Functions for parsing MathServ output into a MathServResponse structure.

Synopsis

Documentation

callMathServ Source #

Arguments

:: MathServCall

needed data to do a MathServ call

-> IO (Either String String)

Left (SOAP error) or Right (MathServ output or error message)

Sends a problem in TPTP format to MathServ using a given time limit. Either MathServ output is returned or a simple error message (no XML).

parseMathServOut Source #

Arguments

:: Either String String

Left (SOAP error) or Right (MathServ output or error message)

-> IO (Either String MathServResponse)

parsed rdf-objects in record

Full parsing of RDF-objects returned by MathServ and putting the results into a MathServResponse data-structure.

data MathServServices Source #

MathServ services to select.

Constructors

Broker

Broker service

VampireService

Vampire service

Instances

Instances details
Show MathServServices Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MathServServices -> ShowS

show :: MathServServices -> String

showList :: [MathServServices] -> ShowS

data MathServOperationTypes Source #

MathServ operation to select. These are only common types and will be translated into correct MathServOperations.

Constructors

ProblemOpt

stands for ProveProblemOpt

ProblemChoice

stands for ProveProblemChoice

TPTPProblem

stands for ProveTPTPProblem or ProveTPTPProblemWithOptions

Problem

stands for ProveProblem

Instances

Instances details
Show MathServOperationTypes Source # 
Instance details

Defined in SoftFOL.MathServParsing

data MathServCall Source #

Record type for all needed data to do a MathServ call.

Constructors

MathServCall 

Fields

data MathServResponse Source #

A MathServ response structure to be filled by parsing all rdf-objects returned by MathServ.

Constructors

MathServResponse 

data MWFoAtpResult Source #

Constructors

MWFoAtpResult 

Instances

Instances details
Eq MWFoAtpResult Source # 
Instance details

Defined in SoftFOL.MathServParsing

Ord MWFoAtpResult Source # 
Instance details

Defined in SoftFOL.MathServParsing

Show MWFoAtpResult Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MWFoAtpResult -> ShowS

show :: MWFoAtpResult -> String

showList :: [MWFoAtpResult] -> ShowS

data MWFormalProof Source #

Constructors

TstpCnfRefutation 

Fields

Instances

Instances details
Eq MWFormalProof Source # 
Instance details

Defined in SoftFOL.MathServParsing

Ord MWFormalProof Source # 
Instance details

Defined in SoftFOL.MathServParsing

Show MWFormalProof Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MWFormalProof -> ShowS

show :: MWFormalProof -> String

showList :: [MWFormalProof] -> ShowS

data MWStatus Source #

Constructors

MWStatus 

Fields

Instances

Instances details
Eq MWStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

(==) :: MWStatus -> MWStatus -> Bool

(/=) :: MWStatus -> MWStatus -> Bool

Ord MWStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

compare :: MWStatus -> MWStatus -> Ordering

(<) :: MWStatus -> MWStatus -> Bool

(<=) :: MWStatus -> MWStatus -> Bool

(>) :: MWStatus -> MWStatus -> Bool

(>=) :: MWStatus -> MWStatus -> Bool

max :: MWStatus -> MWStatus -> MWStatus

min :: MWStatus -> MWStatus -> MWStatus

Show MWStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MWStatus -> ShowS

show :: MWStatus -> String

showList :: [MWStatus] -> ShowS

data FoAtpStatus Source #

Instances

Instances details
Eq FoAtpStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

(==) :: FoAtpStatus -> FoAtpStatus -> Bool

(/=) :: FoAtpStatus -> FoAtpStatus -> Bool

Ord FoAtpStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Read FoAtpStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

readsPrec :: Int -> ReadS FoAtpStatus

readList :: ReadS [FoAtpStatus]

readPrec :: ReadPrec FoAtpStatus

readListPrec :: ReadPrec [FoAtpStatus]

Show FoAtpStatus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> FoAtpStatus -> ShowS

show :: FoAtpStatus -> String

showList :: [FoAtpStatus] -> ShowS

data MWCalculus Source #

Instances

Instances details
Eq MWCalculus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

(==) :: MWCalculus -> MWCalculus -> Bool

(/=) :: MWCalculus -> MWCalculus -> Bool

Ord MWCalculus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Read MWCalculus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

readsPrec :: Int -> ReadS MWCalculus

readList :: ReadS [MWCalculus]

readPrec :: ReadPrec MWCalculus

readListPrec :: ReadPrec [MWCalculus]

Show MWCalculus Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MWCalculus -> ShowS

show :: MWCalculus -> String

showList :: [MWCalculus] -> ShowS

data MWTimeResource Source #

Constructors

MWTimeResource 

Fields

Instances

Instances details
Eq MWTimeResource Source # 
Instance details

Defined in SoftFOL.MathServParsing

Ord MWTimeResource Source # 
Instance details

Defined in SoftFOL.MathServParsing

Show MWTimeResource Source # 
Instance details

Defined in SoftFOL.MathServParsing

Methods

showsPrec :: Int -> MWTimeResource -> ShowS

show :: MWTimeResource -> String

showList :: [MWTimeResource] -> ShowS