OrRightMacroRule

gapt.proofs.lk.rules.macros.OrRightMacroRule

Attributes

Source
OrRightMacroRule.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(subProof: LKProof, leftDisjunct: IndexOrFormula, rightDisjunct: IndexOrFormula): OrRightRule

This simulates an additive ∨:r-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∨:r inference.

This simulates an additive ∨:r-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∨:r inference.

Each of the aux formulas can be given as an index or a formula. If it is given as a formula, the constructor will attempt to find an appropriate index on its own.

Value parameters

leftDisjunct

Index of the left disjunct or the disjunct itself.

rightDisjunct

Index of the right disjunct or the disjunct itself.

subProof

The subproof.

Attributes

Source
OrRightMacroRule.scala
def apply(subProof: LKProof, disjuncts: Seq[Formula]): LKProof

Attributes

Source
OrRightMacroRule.scala
def withSequentConnector(subProof: LKProof, leftDisjunct: IndexOrFormula, rightDisjunct: IndexOrFormula): (OrRightRule, SequentConnector)

This simulates an additive ∨:r-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∨:r inference.

This simulates an additive ∨:r-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∨:r inference.

Each of the aux formulas can be given as an index or a formula. If it is given as a formula, the constructor will attempt to find an appropriate index on its own.

Value parameters

leftDisjunct

Index of the left disjunct or the disjunct itself.

rightDisjunct

Index of the right disjunct or the disjunct itself.

subProof

The subproof.

Attributes

Returns

An LKProof and an SequentConnector connecting its end sequent with the end sequent of subProof.

Source
OrRightMacroRule.scala

Inherited methods

def findIndicesOrFormulasInPremise(premise: HOLSequent)(antIndicesFormulas: Seq[IndexOrFormula], sucIndicesFormulas: Seq[IndexOrFormula]): (Seq[Formula], Seq[Int], Seq[Formula], Seq[Int])

Attributes

Inherited from:
ConvenienceConstructor
Source
ConvenienceConstructor.scala

Inherited fields

Attributes

Inherited from:
ConvenienceConstructor
Source
ConvenienceConstructor.scala