gapt.proofs.lk.rules.LogicalAxiom.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gapt_3 Show documentation
Show all versions of gapt_3 Show documentation
General Architecture for Proof Theory
The newest version!
package gapt.proofs.lk.rules
import gapt.expr.formula.Formula
import gapt.proofs.HOLSequent
/**
* An LKProof consisting of a logical axiom:
*
* --------ax
* A :- A
*
* with A atomic.
*
* @param A The atom A.
*/
case class LogicalAxiom(A: Formula) extends InitialSequent {
override def name: String = "ax"
override def conclusion: HOLSequent = HOLSequent(Seq(A), Seq(A))
def mainFormula: Formula = A
}