Package mepk.builtin
Interface TrustedProof.Internal
- All Known Implementing Classes:
ParProof,SeqProof,TrivialProof
- Enclosing class:
- TrustedProof
public static interface TrustedProof.Internal
An internal version of a
TrustedProof.-
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.
-
Method Details
-
getGrounding
Return the set of statements which form the basis of this proof.- Returns:
- the grounding statements
-
getGrounded
Return the set of statements constructed by this proof from thegroundingstatements.- Returns:
- the grounded statements
-
getAbbreviations
Map<String,Abbreviation> getAbbreviations()Return the abbreviations used by this proof.- Returns:
- the abbreviations
-
getJustificationFor
Return a justification for the given statement.- Parameters:
statement- a statement which is an element ofgetGrounded()- 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.
-