|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProofChecker
A proof checker can check if a formal proof is correct.
Method Summary | |
---|---|
LogicalCheckExceptionList |
checkProof(Element formula,
FormalProofLineList proof,
RuleChecker checker,
ModuleContext context,
ReferenceResolver resolver)
Checks if a formal proof is ok. |
LogicalCheckExceptionList |
checkRule(Rule rule,
ModuleContext context,
RuleChecker checker,
ReferenceResolver resolver)
Checks if a rule declaration is ok for the proof checker. |
Method Detail |
---|
LogicalCheckExceptionList checkProof(Element formula, FormalProofLineList proof, RuleChecker checker, ModuleContext context, ReferenceResolver resolver)
null
) has a size greater zero.
Precondition is a well formed environment. So every formula must
be well formed, every necessary operator and predicate and function must
exist.
formula
- Formula we want to proof.proof
- Check this formal proof.checker
- Gets defined rule information.context
- Location information of formal proof.
Important for locating errors.resolver
- Resolver for references.
null
.LogicalCheckExceptionList checkRule(Rule rule, ModuleContext context, RuleChecker checker, ReferenceResolver resolver)
rule
- Rule we want to use later on.context
- Location information rule declaration.
Important for locating errors.checker
- Gets defined rule information.resolver
- Resolver for references.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |