ContractionMacroRule

gapt.proofs.lk.rules.macros.ContractionMacroRule

This macro rule simulates a series of contractions in both cedents.

Attributes

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

Members list

Value members

Concrete methods

def apply(p: LKProof, targetSequent: HOLSequent, strict: Boolean): LKProof

Contracts the current proof down to a given sequent.

Contracts the current proof down to a given sequent.

Value parameters

p

An LKProof.

strict

If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.

targetSequent

The target sequent.

Attributes

Returns

p with its end sequent contracted down to targetSequent.

Source
ContractionMacroRule.scala
def apply(p: LKProof): LKProof

Performs all possible contractions. Use with care!

Performs all possible contractions. Use with care!

Value parameters

p

A proof.

Attributes

Returns

A proof with all duplicate formulas in the end sequent contracted.

Source
ContractionMacroRule.scala

Contracts the current proof down to a given sequent.

Contracts the current proof down to a given sequent.

Value parameters

p

An LKProof.

strict

If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.

targetSequent

The target sequent.

Attributes

Returns

p with its end sequent contracted down to targetSequent and an SequentConnector.

Source
ContractionMacroRule.scala

Performs all possible contractions. Use with care!

Performs all possible contractions. Use with care!

Value parameters

p

A proof.

Attributes

Returns

A proof with all duplicate formulas in the end sequent contracted and an SequentConnector.

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