pushSingleWeakeningToLeaves

gapt.proofs.lk.transformations.pushSingleWeakeningToLeaves

Attributes

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

Members list

Value members

Concrete methods

def apply(proof: LKProof): LKProof

Pushes a weakening inference to the leaves.

Pushes a weakening inference to the leaves.

Value parameters

proof

An LK-proof to which the reduction is applied.

Attributes

Returns

If the last inference is a weakening inference, and this weakening is not part of a weakening-only subtree then a proof of the same end-sequent obtained by moving the weakening inference to the leaves is returned. Otherwise the proof is not modified.

Source
PushWeakeningsToLeaves.scala
def apply(proof: LKProof, side: Polarity, formula: Formula): LKProof

Adds a weakening inference to the leaves of the given proof.

Adds a weakening inference to the leaves of the given proof.

Value parameters

formula

The formula A which is to be introduced by weakenings.

proof

The proof of the end sequent Γ → Δ.

side

The side of the weakening which will be added.

Attributes

Returns

A proof of the end sequent Γ → Δ, A or A, Γ → Δ depending on the weakening polarity.

Source
PushWeakeningsToLeaves.scala