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.
A function (LKProof, LKProof) => LKProof
Pushes a proof onto the stack.
Pushes a proof onto the stack.
An LKProof.
If there is exactly one proof on the stack, returns that proof.
Applies a unary inference to the top element of the proof stack.
Applies a unary inference to the top element of the proof stack.
A function LKProof => LKProof.
Class for convenient construction of proofs. Allows you to write proofs post-order style (à la Bussproofs). Example:
The constructor is private, so the only way to instantiate this class is by using the ProofBuilder object. This means that the stack will always be empty in the beginning.