Package

at.logic.gapt.formats

llkNew

Permalink

package llkNew

Content Hierarchy
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. class DeclarationParser extends LLKASTParser

    Permalink
  3. 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.

  4. class HybridLatexParserException extends Exception

    Permalink
  5. class LLKASTParser extends JavaTokenParsers with PackratParsers

    Permalink
  6. class LLKExporter extends AnyRef

    Permalink
  7. class LLKFormulaParser extends AnyRef

    Permalink
  8. class LLKProofParser extends DeclarationParser with LatexReplacementParser with TokenToLKConverter

    Permalink
  9. 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.

  10. 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

  11. case class TToken(decltype: String, names: List[String], types: Ty) 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

  12. 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.

  13. 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 DeclarationParser extends DeclarationParser

    Permalink
  2. object LLKASTParser extends LLKASTParser

    Permalink
  3. object LLKExporter extends LLKExporter

    Permalink
  4. object LLKFormatter

    Permalink
  5. object LLKFormulaParser extends LLKFormulaParser

    Permalink
  6. object LLKProofParser extends LLKProofParser

    Permalink
  7. object LLKTypes

    Permalink
  8. object LatexLLKExporter extends LLKExporter

    Permalink
  9. package ast

    Permalink
  10. object exportLLK

    Permalink
  11. object loadLLK

    Permalink

    Top-level interface to LLK Parsing

  12. object parseLLKExp

    Permalink
  13. object parseLLKFormula

    Permalink
  14. package short

    Permalink
  15. object toLLKString

    Permalink

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

  16. object toLatexString

    Permalink

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

Ungrouped