gapt.proofs.lk.rules.InitialSequent.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.proofs.HOLSequent
import gapt.proofs.SequentIndex
import gapt.proofs.lk.LKProof
/**
* An LKProof consisting of a single sequent:
*
* --------ax
* Γ :- Δ
*
*/
abstract class InitialSequent extends LKProof {
override def mainIndices: Vector[SequentIndex] = endSequent.indices
override def auxIndices: Seq[Nothing] = Seq()
override def immediateSubProofs: Seq[Nothing] = Seq()
override def occConnectors: Seq[Nothing] = Seq()
}
object InitialSequent {
def unapply(proof: InitialSequent): Some[HOLSequent] = Some(proof.endSequent)
}