package aip
- Source
- package.scala
- Alphabetic
- By Inheritance
- aip
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class AnalyticInductionProver extends AnyRef
- case class ProverOptions(prover: ResolutionProver = Escargot, axiomFactory: AxiomFactory = SequentialInductionAxioms()) extends Product with Serializable
- type ThrowsError[T] = Either[String, T]
Value Members
- def baseType(variable: Var): TBase
Retrieves the base type of a variable.
Retrieves the base type of a variable.
- variable
A variable.
- returns
The variable's base type.
- def findFormula(sequent: Sequent[(String, Formula)], label: String): ThrowsError[Formula]
Finds a formula by label in a labelled sequent.
Finds a formula by label in a labelled sequent.
- sequent
The sequent in which to search for the given label.
- label
The formula's label.
- returns
The formula designated by the given label or an error message if the formula is not be uniquely determined by the label.
- def getConstructors(typ: TBase, ctx: Context): ThrowsError[List[Const]]
Reads the constructors of type
typ
from the context.Reads the constructors of type
typ
from the context.- typ
A base type.
- returns
Either a list containing the constructors of
typ
or a TacticalFailure.
- def hasInductiveType(v: Var)(implicit ctx: Context): Boolean
Checks whether the given variable has is of inductive type in the given context.
Checks whether the given variable has is of inductive type in the given context.
- v
The variable for which to check the type.
- ctx
The context w.r.t. to which the variable's type is checked.
- returns
Returns true if the variable v is of inductive type in the context ctx, false otherwise.
- def tipProblemToSequent(problem: TipProblem): (Sequent[(String, Formula)], Context)
Converts a TIP problem to sequent with context.
Converts a TIP problem to sequent with context.
- problem
The TIP problem to be converted to a sequent.
- returns
A labelled sequent whose formulas of the antecedent are labelled "h" where i = 1,2,..., and whose unique formula in the succedent is labelled "goal". Moreover a context specifying the constants and types, etc. is returned.
- object AnalyticInductionProver
This is the API documentation for GAPT.
The main package is gapt.