public static class DeltaProof.State extends AbstractProof.AbstractState<DeltaProof.State>
children, dependencies, parent, proof, rule| Constructor and Description |
|---|
State(DeltaProof proof,
Formula axiom) |
| Modifier and Type | Method and Description |
|---|---|
Formula |
allocate(Formula truth)
Ensure a given formula is properly allocated into this state.
|
Proof.Delta |
getDelta()
Return the list of formulae introduced by this step.
|
Proof.Delta |
getDelta(Proof.State ancestor)
Return the list of formulae introduced by this step.
|
TypeInferer.Environment |
getTypeEnvironment()
Get the typing environment at this state in a given proof.
|
DeltaProof.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 given truth is known or not.
|
Proof.State |
refine(Proof.Rule rule,
WyalFile.VariableDeclaration variable,
WyalFile.Type type,
Formula... dependencies)
Refine the type of a given variable in this state.
|
DeltaProof.State[] |
split(Formula.Disjunct disjunct)
Apply a simple proof step which splits a given disjunct into several
sub-states.
|
DeltaProof.State |
subsume(Proof.Rule rule,
Formula from,
Formula to,
Formula... deps)
Subume one formula with one or more formulae.
|
applyBypass, getChild, getDependencies, getParent, getProof, getRule, numberOfChildrenpublic State(DeltaProof proof, Formula axiom)
public Proof.Delta getDelta()
public Proof.Delta getDelta(Proof.State ancestor)
public boolean isKnown(Formula truth)
truth - public TypeInferer.Environment getTypeEnvironment()
Proof.Statepublic DeltaProof.State subsume(Proof.Rule rule, Formula from, Formula to, Formula... deps)
from - to - public DeltaProof.State infer(Proof.Rule rule, Formula truth, Formula... dependencies)
Proof.Statepublic DeltaProof.State[] split(Formula.Disjunct disjunct)
Proof.Statepublic Proof.State refine(Proof.Rule rule, WyalFile.VariableDeclaration variable, WyalFile.Type type, Formula... dependencies)
Proof.Staterule - 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.public Formula allocate(Formula truth)
Proof.StateCopyright © 2017. All rights reserved.