Package mepk.kernel.util
Class ExpandedAbbreviationsProof
java.lang.Object
mepk.kernel.Proof
mepk.kernel.util.ExpandedAbbreviationsProof
A proof which wraps another proof, and expands all that proof's
abbreviations.
-
Constructor Summary
ConstructorsConstructorDescriptionExpandedAbbreviationsProof(Proof proof) Create a new instance wrapping the given proof. -
Method Summary
Modifier and TypeMethodDescriptionReturn the abbreviations used by this proof.Return the set of statements constructed by this proof from thegroundingstatements.Return the set of statements which form the basis of this proof.getJustificationFor(Statement statement) Return a justification for the given statement.Methods inherited from class mepk.kernel.Proof
equals, hashCode, verify, verifyStatementsAreJustified
-
Constructor Details
-
ExpandedAbbreviationsProof
Create a new instance wrapping the given proof.- Parameters:
proof- the proof whose abbreviations are to be expanded
-
-
Method Details
-
getGrounding
Description copied from class:ProofReturn the set of statements which form the basis of this proof.- Specified by:
getGroundingin classProof- Returns:
- the grounding statements
-
getGrounded
Description copied from class:ProofReturn the set of statements constructed by this proof from thegroundingstatements.- Specified by:
getGroundedin classProof- Returns:
- the grounded statements
-
getAbbreviations
Description copied from class:ProofReturn the abbreviations used by this proof.- Specified by:
getAbbreviationsin classProof- Returns:
- the abbreviations
-
getJustificationFor
Description copied from class:ProofReturn a justification for the given statement.- Specified by:
getJustificationForin classProof- Parameters:
statement- a statement which is an element ofProof.getGrounded()- Returns:
- either
null, meaning that no justification is necessary becausegetGrounding().contains(statement); or aJustificationwhich gives aproof stepthat constructs the statement, and aproofthat constructs all prerequisites of the proof step.
-