ImpRightMacroRule

gapt.proofs.lk.rules.macros.ImpRightMacroRule

Attributes

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

Members list

Value members

Concrete methods

def apply(subProof: LKProof, impPremise: IndexOrFormula, impConclusion: IndexOrFormula): ImpRightRule

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

impConclusion

Index of the conclusion or the conclusion itself.

impPremise

Index of the premise or the premise itself.

subProof

The subproof.

Attributes

Source
ImpRightMacroRule.scala

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

impConclusion

Index of the conclusion or the conclusion itself.

impPremise

Index of the premise or the premise itself.

subProof

The subproof.

Attributes

Returns

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

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