TransRule

gapt.proofs.lk.rules.macros.TransRule
object TransRule

Attributes

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

Members list

Value members

Concrete methods

def apply(x: FOLTerm, y: FOLTerm, z: FOLTerm, subProof: LKProof): LKProof

Performs a proof employing transitivity.

Performs a proof employing transitivity.

Takes a proof π with end-sequent of the form

(x=z), Trans, ... |- ...

and return one with end-sequent of the form

(x=y), (y=z), Trans, ... |- ...

where Trans is defined as Forall xyz.((x=y ∧ y=z) -> x=z)

Value parameters

subProof

The proof π which contains the (x=z) which is to be shown.

x

a first-order term

y

a first-order term

z

a first-order term

Attributes

Returns

A proof with π as a subtree and the formula (x=z) replaced by (x=y) and (y=z).

Source
TransRule.scala