gapt.proofs.lk.rules.ReflexivityAxiom.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.Expr
import gapt.expr.formula.Eq
import gapt.expr.formula.Formula
import gapt.proofs.HOLSequent
/**
* An LKProof consisting of a reflexivity axiom:
*
* ------------ax
* :- s = s
*
* with s a term.
*
* @param s The term s.
*/
case class ReflexivityAxiom(s: Expr) extends InitialSequent {
override def name: String = "refl"
override def conclusion: HOLSequent = HOLSequent(Seq(), Seq(Eq(s, s)))
def mainFormula: Formula = Eq(s, s)
}