package TPTP
- Alphabetic
- Public
- All
Type Members
-
trait
Base
extends TokenParsers with PackratParsers
The Base trait implements the common parsers shared both by problems and proof objects described by the TPTP syntax.
The Base trait implements the common parsers shared both by problems and proof objects described by the TPTP syntax. They return an AST representation of the syntax, logic formulas are translated to their corresponding representation in Scavenger.
-
trait
CNF
extends Base
The ProblemParserFOFTPTP trait implements a parser for problems written in the TPTP CNF syntax.
The ProblemParserFOFTPTP trait implements a parser for problems written in the TPTP CNF syntax. We assume that there are no derivation nodes in the parsed file, i.e. that we only have our axioms and a final conjecture.
TODO: Add (if needed) the treatment for FOF formulas and skolemization steps
- case class CNFAxiomStatement (name: String, ant: List[E], suc: List[E]) extends CNFProblemStatement with Product with Serializable
- case class CNFConjectureStatement (name: String, ant: List[E], suc: List[E]) extends CNFProblemStatement with Product with Serializable
- case class CNFHypothesisStatement (name: String, ant: List[E], suc: List[E]) extends CNFProblemStatement with Product with Serializable
- case class CNFNegatedConjectureStatement (name: String, ant: List[E], suc: List[E]) extends CNFProblemStatement with Product with Serializable
- class CNFProblem extends AnyRef
- abstract class CNFProblemStatement extends AnyRef
-
trait
FOF
extends Base
The ProblemParserFOFTPTP trait implements a parser for problems written in the TPTP FOF syntax.
The ProblemParserFOFTPTP trait implements a parser for problems written in the TPTP FOF syntax. We assume that there are no derivation nodes in the parsed file, i.e. that we only have our axioms and conjectures.
- case class FOFAxiomStatement (name: String, formula: E) extends FOFProblemStatement with Product with Serializable
- case class FOFConjectureStatement (name: String, formula: E) extends FOFProblemStatement with Product with Serializable
- case class FOFNegatedConjectureStatement (name: String, formula: E) extends FOFProblemStatement with Product with Serializable
- class FOFProblem extends AnyRef
- abstract class FOFProblemStatement extends AnyRef
-
trait
TFF
extends Base
The ProblemParserTFFTPTP trait implements a parser for problems written in the TPTP TFF syntax.
The ProblemParserTFFTPTP trait implements a parser for problems written in the TPTP TFF syntax. We assume that there are no derivation nodes in the parsed file, i.e. that we only have our axioms and conjectures.
- case class TFFAxiomStatement (name: String, formula: E) extends TFFProblemStatement with Product with Serializable
- case class TFFConjectureStatement (name: String, formula: E) extends TFFProblemStatement with Product with Serializable
- case class TFFNegatedConjectureStatement (name: String, formula: E) extends TFFProblemStatement with Product with Serializable
- class TFFProblem extends AnyRef
- abstract class TFFProblemStatement extends AnyRef
-
trait
THF
extends Base
The ProblemParserTHFTPTP trait implements a parser for problems written in the TPTP THF syntax.
The ProblemParserTHFTPTP trait implements a parser for problems written in the TPTP THF syntax. We assume that there are no derivation nodes in the parsed file, i.e. that we only have our axioms and conjectures.
- case class THFAxiomStatement (name: String, formula: E) extends THFProblemStatement with Product with Serializable
- case class THFConjectureStatement (name: String, formula: E) extends THFProblemStatement with Product with Serializable
- case class THFNegatedConjectureStatement (name: String, formula: E) extends THFProblemStatement with Product with Serializable
- class THFProblem extends AnyRef
- abstract class THFProblemStatement extends AnyRef
- class TPTPExtractException extends Exception
-
class
TPTPLexical
extends Lexical with TPTPTokens
Created by eze on 2016.05.23..
-
trait
TPTPTokens
extends Tokens
Created by eze on 2016.05.23..
-
class
UnexpectedEmptyTPTPFileException
extends Exception
This modules describe the TPTP syntax as described in www.cs.miami.edu/~tptp/TPTP/SyntaxBNF.html
This modules describe the TPTP syntax as described in www.cs.miami.edu/~tptp/TPTP/SyntaxBNF.html
The non terminals don't follow camelcase convention to reflect the grammar in a more natural way.
- Version
1.0
- Since
23.05.2016
- Note
This version does not support let expressions
Value Members
- object CNFProblem
- object FOFProblem
- object TFFProblem
- object THFProblem
-
object
TPTPAST
TPTP Syntax representation.
TPTP Syntax representation.
- Since
24.05.2016