public static interface Proof.State
| Modifier and Type | Method and Description |
|---|---|
Formula |
allocate(Formula f)
Ensure a given formula is properly allocated into this state.
|
void |
applyBypass(Proof.State bypass) |
Proof.State |
getChild(int ith)
Get the child state resulting from this step
|
Proof.Delta |
getDelta()
Get the delta between this state and its parent.
|
Proof.Delta |
getDelta(Proof.State ancestor)
Get the delta between this state and an ancestor.
|
List<Formula> |
getDependencies()
Get the formulae on which this step depends
|
Proof.State |
getParent()
Get the parent (i.e.
|
Proof |
getProof()
Get the enclosing proof for this step.
|
Proof.Rule |
getRule()
Get the name of the rule used for this step.
|
TypeInferer.Environment |
getTypeEnvironment()
Get the typing environment at this state in a given proof.
|
Proof.State |
infer(Proof.Rule rule,
Formula truth,
Formula... dependencies)
Infer a new fact from one or more existing facts.
|
boolean |
isKnown(Formula truth)
Determine whether a truth is already known or not.
|
int |
numberOfChildren()
Get the number of child steps originating from this step
|
Proof.State |
refine(Proof.Rule rule,
WyalFile.VariableDeclaration variable,
WyalFile.Type type,
Formula... dependencies)
Refine the type of a given variable in this state.
|
Proof.State[] |
split(Formula.Disjunct disjunct)
Apply a simple proof step which splits a given disjunct into several
sub-states.
|
Proof.State |
subsume(Proof.Rule rule,
Formula truth,
Formula replacement,
Formula... dependencies)
Subsume a given truth by a replacement.
|
Proof getProof()
Proof.State getParent()
null if this state represents the root of the proof.boolean isKnown(Formula truth)
truth - Proof.Delta getDelta()
Proof.Delta getDelta(Proof.State ancestor)
Proof.Rule getRule()
TypeInferer.Environment getTypeEnvironment()
List<Formula> getDependencies()
int numberOfChildren()
Proof.State getChild(int ith)
void applyBypass(Proof.State bypass)
Proof.State[] split(Formula.Disjunct disjunct)
disjunct - Proof.State subsume(Proof.Rule rule, Formula truth, Formula replacement, Formula... dependencies)
rule - truth - replacement - dependencies - Proof.State infer(Proof.Rule rule, Formula truth, Formula... dependencies)
rule - truth - dependencies - Proof.State refine(Proof.Rule rule, WyalFile.VariableDeclaration variable, WyalFile.Type type, Formula... dependencies)
rule - The rule which is causing this particular refinement.variable - The variable whose type is being refined.type - The type which this variable is refined with.dependencies - The immediate dependencies needed to establish this
refinement.Copyright © 2017. All rights reserved.