WeakeningContractionMacroRule

gapt.proofs.lk.rules.macros.WeakeningContractionMacroRule

This macro rule simulates multiple weakenings and contractions in both cedents.

Attributes

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

Members list

Value members

Concrete methods

def apply(p: LKProof, antMap: Map[Formula, Int], sucMap: Map[Formula, Int], strict: Boolean): LKProof

Value parameters

antMap

Map of type Formula => Int that expresses “f should occur n times in the antecedent”.

p

An LKProof.

strict

If true: requires that for f -> n in antMap or sucMap, if f occurs in the root of s1, then n > 0.

sucMap

Map of type Formula => Int that expresses “f should occur n times in the succedent”.

Attributes

Source
WeakeningContractionMacroRule.scala
def apply(p: LKProof, targetSequent: HOLSequent, strict: Boolean): LKProof

Value parameters

p

An LKProof.

strict

If true, will require that the end sequent of p contains no formula that doesn't appear at least once in targetSequent.

targetSequent

The proposed end sequent.

Attributes

Returns

p with its end sequent modified to targetSequent by means of weakening and contraction.

Source
WeakeningContractionMacroRule.scala

Value parameters

antMap

Map of type Formula => Int that expresses “f should occur n times in the antecedent”.

p

An LKProof.

strict

If true: requires that for f -> n in antMap or sucMap, if f occurs in the root of s1, then n > 0.

sucMap

Map of type Formula => Int that expresses “f should occur n times in the succedent”.

Attributes

Returns

A proof and an SequentConnector connecting its end sequent to the end sequent of p.

Source
WeakeningContractionMacroRule.scala

Value parameters

p

An LKProof.

strict

If true, will require that the end sequent of p contains no formula that doesn't appear at least once in targetSequent.

targetSequent

The proposed end sequent.

Attributes

Returns

p with its end sequent modified to targetSequent by means of weakening and contraction and an SequentConnector.

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