AndLeftMacroRule

gapt.proofs.lk.rules.macros.AndLeftMacroRule

Attributes

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

Members list

Value members

Concrete methods

def apply(subProof: LKProof, leftConjunct: IndexOrFormula, rightConjunct: IndexOrFormula): AndLeftRule

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

This simulates an additive ∧:l-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∧:l 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

leftConjunct

Index of the left conjunct or the conjunct itself.

rightConjunct

Index of the right conjunct or the conjunct itself.

subProof

The subproof.

Attributes

Source
AndLeftMacroRule.scala
def withSequentConnector(subProof: LKProof, leftConjunct: IndexOrFormula, rightConjunct: IndexOrFormula): (AndLeftRule, SequentConnector)

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

This simulates an additive ∧:l-rule: if either aux formula (but not both) is missing, it will be added to the premise by weakening before creating the ∧:l 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

leftConjunct

Index of the left conjunct or the conjunct itself.

rightConjunct

Index of the right conjunct or the conjunct itself.

subProof

The subproof.

Attributes

Returns

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

Source
AndLeftMacroRule.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