public class AbstractProof<T extends Proof.State> extends Object implements Proof
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractProof.AbstractState<T extends Proof.State> |
Proof.Delta, Proof.LinearRule, Proof.NonLinearRule, Proof.Rule, Proof.State| Modifier and Type | Field and Description |
|---|---|
protected WyalFile.Declaration.Assert |
assertion |
protected wybs.lang.SyntacticHeap |
heap |
protected ArrayList<T> |
states |
| Constructor and Description |
|---|
AbstractProof(WyalFile.Declaration.Assert assertion,
wybs.lang.SyntacticHeap heap) |
| Modifier and Type | Method and Description |
|---|---|
WyalFile.Declaration.Assert |
getAssertion()
Get the assertion to which this proof applies.
|
wybs.lang.SyntacticHeap |
getHeap()
Get the heap in which this proof is operating within.
|
T |
getState(int ith)
Get the ith step in this proof.
|
boolean |
isComplete()
Determine whether or not the proof is complete.
|
T |
register(T state) |
int |
size()
Determine the number of steps in this proof.
|
protected final WyalFile.Declaration.Assert assertion
protected final wybs.lang.SyntacticHeap heap
protected final ArrayList<T extends Proof.State> states
public AbstractProof(WyalFile.Declaration.Assert assertion, wybs.lang.SyntacticHeap heap)
public wybs.lang.SyntacticHeap getHeap()
Proofpublic WyalFile.Declaration.Assert getAssertion()
ProofgetAssertion in interface Proofpublic boolean isComplete()
ProofisComplete in interface Proofpublic int size()
Proofpublic T getState(int ith)
ProofCopyright © 2017. All rights reserved.