ProofBuilder

gapt.proofs.ProofBuilder
See theProofBuilder companion class
object ProofBuilder extends ProofBuilder[Nothing]

Attributes

Companion
class
Source
ProofBuilder.scala
Graph
Supertypes
class ProofBuilder[Nothing]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def b[P](inference: (Nothing, Nothing) => P): ProofBuilder[P]

Applies a binary inference to the top two elements of the proof stack.

Applies a binary inference to the top two elements of the proof stack.

Value parameters

inference

A function (LKProof, LKProof) => LKProof

Attributes

Inherited from:
ProofBuilder
Source
ProofBuilder.scala
def c[P](proof: P): ProofBuilder[P]

Pushes a proof onto the stack.

Pushes a proof onto the stack.

Value parameters

proof

An LKProof.

Attributes

Inherited from:
ProofBuilder
Source
ProofBuilder.scala
def qed: Proof

If there is exactly one proof on the stack, returns that proof.

If there is exactly one proof on the stack, returns that proof.

Attributes

Inherited from:
ProofBuilder
Source
ProofBuilder.scala
def t[P](inference: (Nothing, Nothing, Nothing) => P): ProofBuilder[P]

Applies a ternary inference to the top three elements of the proof stack.

Applies a ternary inference to the top three elements of the proof stack.

Value parameters

inference

A function (NDProof, NDProof, NDProof) => NDProof

Attributes

Inherited from:
ProofBuilder
Source
ProofBuilder.scala
def u[P](inference: Nothing => P): ProofBuilder[P]

Applies a unary inference to the top element of the proof stack.

Applies a unary inference to the top element of the proof stack.

Value parameters

inference

A function LKProof => LKProof.

Attributes

Inherited from:
ProofBuilder
Source
ProofBuilder.scala