Package

at.logic.gapt.formats

llk

Permalink

package llk

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. case class AToken(rule: String, name: Option[LambdaAST], antecedent: List[LambdaAST], succedent: List[LambdaAST]) extends Token with Product with Serializable

    Permalink

    An AToken represents an Axiom declaration or Definition declaration.

    An AToken represents an Axiom declaration or Definition declaration.

    rule

    either "AXIOMDEF", "PREDDEF" or"FUNDEF"

    name

    the (unique) name of the definition/axiom

    antecedent

    the antecedent of the declaration sequent (not yet typechecked)

    succedent

    the succedent of the declaration sequent (not yet typechecked)

  2. case class ExtendedProofDatabase(eproofs: Map[HOLFormula, LKProof], eaxioms: Map[HOLFormula, HOLFormula], edefinitions: Map[LambdaExpression, LambdaExpression]) extends ProofDatabase with Product with Serializable

    Permalink

    An extended proof database allows to label subproofs by formulas.

    An extended proof database allows to label subproofs by formulas. It provides mappings from formulas to proofs additionally to the list of pairs.

  3. class HybridLatexExporter extends AnyRef

    Permalink
  4. class HybridLatexParser extends DeclarationParser with LatexReplacementParser with TokenToLKConverter

    Permalink
  5. class HybridLatexParserException extends Exception

    Permalink
  6. trait LatexReplacementParser extends DeclarationParser

    Permalink

    This code works around some limitations of latex syntax and adds alternative syntax for abstraction, application and adds support of some macros used in the n-tape proof.

  7. case class RToken(rule: String, name: Option[LambdaAST], antecedent: List[LambdaAST], succedent: List[LambdaAST], sub: List[(Var, LambdaAST)]) extends Token with Product with Serializable

    Permalink

    A RToken represents a rule application.

    A RToken represents a rule application.

    rule

    One out of "AX", "ALLL", "ALLR", "EXL", "EXR", "ANDL", "ANDR", "ORL", "ORR", "IMPL", "IMPR", "NEGL", "NEGR", "CUT", "EQL", "EQR", "WEAKL", "WEAKR", "CONTRL", "CONTRR", "DEF", "BETA", "INSTAXIOM"

    name

    quantifier rules allow optional specification of the subsitution term, definitions and axiom instantiations take the referenced declaration, etc.

    antecedent

    the antecedent of the declaration sequent (not yet typechecked)

    succedent

    the antecedent of the declaration sequent (not yet typechecked)

    sub

    some rules like axiom instantiation specify substitutions, which are passed as list of var-term pairs

  8. case class TToken(decltype: String, names: List[String], types: TA) extends Token with Product with Serializable

    Permalink

    A TToken represents an LLK type declaration.

    A TToken represents an LLK type declaration.

    decltype

    either "VARDEC" or "CONSTDEC"

    names

    a list of symbol names

    types

    the assigned type

  9. abstract class Token extends AnyRef

    Permalink

    The abstract class for tokens of an llk proof.

    The abstract class for tokens of an llk proof. TTokens represent type declarations, ATokens represent axiom and definition declarations, and RTokens represent a rule inference.

  10. trait TokenToLKConverter extends Logger

    Permalink

    This implements the second parsing pass, converting hlk Tokens to an LK Proof.

    This implements the second parsing pass, converting hlk Tokens to an LK Proof. HybridLatexParser inherits from TokenToLKConverter to have a common interface, but the code here is only dependent on the AST. It uses the ASTtoHOL object to create LambdaExpressions from hol ASTs.

Value Members

  1. object HybridLatexExporter extends HybridLatexExporter

    Permalink
  2. object HybridLatexParser extends HybridLatexParser

    Permalink
  3. object LLKFormatter

    Permalink
  4. object LatexCode

    Permalink
  5. object LatexProofExporter extends HybridLatexExporter

    Permalink
  6. object toLLKString

    Permalink

    This is a prover9 style formatting which can be parsed by LLK.

  7. object toLatexString

    Permalink

    This is a Latex formatting which can be parsed by LLK.

Ungrouped