ForallRightBlock

gapt.proofs.lk.rules.macros.ForallRightBlock

Attributes

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

Members list

Value members

Concrete methods

def apply(subProof: LKProof, main: Formula, eigenvariables: Seq[Var]): LKProof

Applies the ForallRight-rule n times. This method expects a formula main with a quantifier block, and a proof s1 which has a fully instantiated version of main on the right side of its bottommost sequent.

Applies the ForallRight-rule n times. This method expects a formula main with a quantifier block, and a proof s1 which has a fully instantiated version of main on the right side of its bottommost sequent.

The rule:

            (π)
  Γ :- Δ, A[x1\y1,...,xN\yN]
---------------------------------- (∀_r x n)
   Γ :- Δ, ∀x1,..,xN.A

where y1,...,yN are eigenvariables.

Value parameters

eigenvariables

The list of eigenvariables with which to instantiate main. The caller of this method has to ensure the correctness of these terms, and, specifically, that A[x1\y1,...,xN\yN] indeed occurs at the bottom of the proof π.

main

A formula of the form (∀ x1,...,xN.A).

subProof

The proof π with (Γ :- Δ, A[x1\y1,...,xN\yN]) as the bottommost sequent.

Attributes

Source
ForallRightBlock.scala
def withSequentConnector(subProof: LKProof, main: Formula, eigenvariables: Seq[Var]): (LKProof, SequentConnector)

Applies the ForallRight-rule n times. This method expects a formula main with a quantifier block, and a proof s1 which has a fully instantiated version of main on the right side of its bottommost sequent.

Applies the ForallRight-rule n times. This method expects a formula main with a quantifier block, and a proof s1 which has a fully instantiated version of main on the right side of its bottommost sequent.

The rule:

            (π)
  Γ :- Δ, A[x1\y1,...,xN\yN]
---------------------------------- (∀_r x n)
   Γ :- Δ, ∀x1,..,xN.A

where y1,...,yN are eigenvariables.

Value parameters

eigenvariables

The list of eigenvariables with which to instantiate main. The caller of this method has to ensure the correctness of these terms, and, specifically, that A[x1\y1,...,xN\yN] indeed occurs at the bottom of the proof π.

main

A formula of the form (∀ x1,...,xN.A).

subProof

The proof π with (Γ :- Δ, A[x1\y1,...,xN\yN]) as the bottommost sequent.

Attributes

Returns

A pair consisting of an LKProof and an SequentConnector.

Source
ForallRightBlock.scala