package llk
- Alphabetic
- Public
- Protected
Type Members
- case class AToken(rule: String, name: Option[LambdaAST], antecedent: List[LambdaAST], succedent: List[LambdaAST]) extends Token with Product with Serializable
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)
- class DeclarationParser extends LLKASTParser
- case class ExtendedProofDatabase(eproofs: Map[Formula, LKProof], eaxioms: Map[Formula, Formula], edefinitions: Map[Const, Expr]) extends Product with Serializable
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.
- class HybridLatexParserException extends Exception
- class LLKASTParser extends JavaTokenParsers with PackratParsers
- class LLKExporter extends AnyRef
- class LLKFormulaParser extends AnyRef
- class LLKProofParser extends DeclarationParser with LatexReplacementParser with TokenToLKConverter
- trait LatexReplacementParser extends DeclarationParser
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.
- case class RToken(rule: String, name: Option[LambdaAST], antecedent: List[LambdaAST], succedent: List[LambdaAST], sub: List[(Var, LambdaAST)]) extends Token with Product with Serializable
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
- case class TToken(decltype: String, names: List[String], types: Ty) extends Token with Product with Serializable
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
- abstract class Token extends AnyRef
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.
- trait TokenToLKConverter extends AnyRef
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 Exprs from hol ASTs.
Value Members
- object DeclarationParser extends DeclarationParser
- object EquationVerifier
- object LLKASTParser extends LLKASTParser
- object LLKExporter extends LLKExporter
- object LLKFormatter
- object LLKFormulaParser extends LLKFormulaParser
- object LLKProofParser extends LLKProofParser
- object LLKTypes
- object LatexLLKExporter extends LLKExporter
- object UnicodeToLatex
UnicodeToLatex contains a table of greek unicode symbols and their LaTeX equivalents.
- object exportLLK
- object loadLLK
Top-level interface to LLK Parsing
- object parseLLKExp
- object parseLLKFormula
- object toLLKString
This is a prover9 style formatting which can be parsed by LLK.
- object toLatexString
This is a Latex formatting which can be parsed by LLK.
This is the API documentation for GAPT.
The main package is gapt.