public class WellDefinednessPO extends AbstractPO implements ContractPO
The proof obligation for well-definedness checks.
The generated Sequent
has the following form:
==>
WD(<generalAssumptions> && <preconditions>) &
(<generalAssumptions> & <preconditions>
-> WD(<otherClauses>) &
{anon^assignable}WD(<postconditions>)
Modifier and Type | Class and Description |
---|---|
static class |
WellDefinednessPO.Variables
A static data structure for storing and passing the variables used in the actual proof.
|
IPersistablePO.LoadedPOContainer
environmentConfig, environmentServices, heapLDT, javaInfo, name, poNames, poTerms, specRepos, taclets
PROPERTY_ADD_SYMBOLIC_EXECUTION_LABEL, PROPERTY_ADD_UNINTERPRETED_PREDICATE, PROPERTY_CLASS, PROPERTY_FILENAME, PROPERTY_NAME
Constructor and Description |
---|
WellDefinednessPO(InitConfig initConfig,
WellDefinednessCheck check)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
fillSaveProperties(java.util.Properties properties)
This method is called by a
ProofSaver to store the proof
specific settings in the given Properties . |
KeYJavaType |
getContainerType()
Returns the
KeYJavaType in which the proven element is contained in. |
WellDefinednessCheck |
getContract() |
protected InitConfig |
getCreatedInitConfigForSingleProof() |
KeYJavaType |
getKJT() |
Term |
getMbyAtPre() |
IObserverFunction |
getTarget() |
boolean |
implies(ProofOblInput po)
If true, then this PO implies the passed one.
|
static IPersistablePO.LoadedPOContainer |
loadFrom(InitConfig initConfig,
java.util.Properties properties)
Instantiates a new proof obligation with the given settings.
|
void |
readProblem() |
protected ImmutableSet<ClassAxiom> |
selectClassAxioms(KeYJavaType kjt) |
assignPOTerms, collectClassAxioms, createProof, createProofObject, generateSelfCreated, generateSelfExactType, generateSelfExactType, generateSelfNotNull, getName, getPO, name, register, register, register
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPO, name
public WellDefinednessPO(InitConfig initConfig, WellDefinednessCheck check)
initConfig
- The initial Configurationcheck
- The Well-Definedness Checkprotected ImmutableSet<ClassAxiom> selectClassAxioms(KeYJavaType kjt)
selectClassAxioms
in class AbstractPO
public IObserverFunction getTarget()
public KeYJavaType getKJT()
public void readProblem() throws ProofInputException
readProblem
in interface ProofOblInput
ProofInputException
public boolean implies(ProofOblInput po)
ProofOblInput
implies
in interface ProofOblInput
implies
in class AbstractPO
public WellDefinednessCheck getContract()
getContract
in interface ContractPO
public Term getMbyAtPre()
getMbyAtPre
in interface ContractPO
public void fillSaveProperties(java.util.Properties properties) throws java.io.IOException
ProofSaver
to store the proof
specific settings in the given Properties
. The stored settings
have to contain all information required to instantiate the proof
obligation again and this instance should create the same Sequent
(if code and specifications are unchanged).fillSaveProperties
in interface IPersistablePO
fillSaveProperties
in class AbstractPO
properties
- The Properties
to fill with the proof obligation specific settings.java.io.IOException
- Occurred Exception.public static IPersistablePO.LoadedPOContainer loadFrom(InitConfig initConfig, java.util.Properties properties) throws java.io.IOException
initConfig
- The already load InitConfig
.properties
- The settings of the proof obligation to instantiate.java.io.IOException
- Occurred Exception.protected InitConfig getCreatedInitConfigForSingleProof()
getCreatedInitConfigForSingleProof
in class AbstractPO
public KeYJavaType getContainerType()
KeYJavaType
in which the proven element is contained in.getContainerType
in interface ProofOblInput
getContainerType
in class AbstractPO
KeYJavaType
in which the proven element is contained in or null
if not available.Copyright © 2003-2019 The KeY-Project.