
gapt.proofs.lk.rules.WeakeningLeftRule.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
import gapt.proofs.Sequent
import gapt.proofs.lk.LKProof
/**
* An LKProof ending with a left weakening:
*
* (π)
* Γ :- Δ
* ---------w:l
* A, Γ :- Δ
*
*
* @param subProof The subproof π.
* @param formula The formula A.
*/
case class WeakeningLeftRule(subProof: LKProof, formula: Formula)
extends UnaryLKProof with CommonRule {
override def auxIndices: Seq[Seq[Nothing]] = Seq(Seq())
override def name: String = "w:l"
def mainFormula: Formula = formula
override def mainFormulaSequent: HOLSequent = mainFormula +: Sequent()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy