TokenToLKConverter

gapt.formats.llk.TokenToLKConverter

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.

Attributes

Source
LLKImporter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object LLKProofParser.type

Members list

Value members

Concrete methods

def completeProof(proofname: Formula, proofs: Map[Formula, LKProof], naming: String => Expr, rules: List[RToken], axioms: Map[Formula, Formula], definitions: Map[Expr, Expr]): LKProof

Attributes

Source
LLKImporter.scala
def createAxioms(naming: String => Expr, l: List[AToken]): Map[Formula, Formula]

Attributes

Source
LLKImporter.scala
def createDefinitions(naming: String => Expr, l: List[AToken], axioms: Map[Formula, Formula]): Map[Expr, Expr]

Attributes

Source
LLKImporter.scala

Attributes

Source
LLKImporter.scala
def createSubstitution(naming: String => Expr, astlist: List[(Var, LambdaAST)]): Substitution

Attributes

Source
LLKImporter.scala

Attributes

Source
LLKImporter.scala
def getAxiomLookupProof(name: Formula, axiom: Formula, instance: Formula, axiomconj: Formula, axiomproof: LKProof, sub: Substitution, definitions: List[Definition]): (Formula, LKProof)

Attributes

Source
LLKImporter.scala

Attributes

Source
LLKImporter.scala
def getOrdering[T](pm: Map[T, List[T]]): List[T]

Attributes

Source
LLKImporter.scala
def handleBinaryLogicalOperator(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleContraction(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleCut(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleDefinitions(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken, llk_definitions: Map[Expr, Expr]): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleEQAxiom(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], subterm: List[(Var, LambdaAST)], naming: String => Expr, rt: RToken, axioms: Map[Formula, Formula], definitions: Map[Expr, Expr]): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleEquality(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleInstAxiom(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], subterm: List[(Var, LambdaAST)], naming: String => Expr, rt: RToken, axioms: Map[Formula, Formula], definitions: Map[Expr, Expr]): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleNegation(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleStrongQuantifier(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleUnaryLogicalOperator(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleWeakQuantifier(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def handleWeakening(current_proof: List[LKProof], ruletype: String, fs: HOLSequent, auxterm: Option[LambdaAST], naming: String => Expr, rt: RToken): List[LKProof]

Attributes

Source
LLKImporter.scala
def normalize(exp: Expr): Expr

Attributes

Source
LLKImporter.scala

Attributes

Source
LLKImporter.scala
def proveInstance(axiom: Formula, instance: Formula, sub: Substitution): LKProof

Attributes

Source
LLKImporter.scala
def proveInstanceFrom(axiom: Formula, instance: Formula, sub: Substitution, uproof: LKProof): LKProof

Attributes

Source
LLKImporter.scala
def proveInstance_(axiom: Formula, instance: Formula, sub: Substitution, axiomproof: LKProof): (Formula, LKProof)

Attributes

Source
LLKImporter.scala

Concrete fields

Attributes

Source
LLKImporter.scala