|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qedeq.kernel.bo.logic.proof.checker.ProofChecker1Impl
public class ProofChecker1Impl
Formal proof checker for basic rules.
| Constructor Summary | |
|---|---|
ProofChecker1Impl()
Constructor. |
|
| Method Summary | |
|---|---|
LogicalCheckExceptionList |
checkProof(Element formula,
FormalProofLineList proof,
RuleChecker checker,
ModuleContext moduleContext,
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. |
protected ModuleContext |
getCurrentContext()
Get current context within original. |
protected void |
setLocationWithinModule(java.lang.String locationWithinModule)
Set location information where are we within the original module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProofChecker1Impl()
| Method Detail |
|---|
public LogicalCheckExceptionList checkRule(Rule rule,
ModuleContext context,
RuleChecker checker,
ReferenceResolver resolver)
ProofChecker
checkRule in interface ProofCheckerrule - 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.
public LogicalCheckExceptionList checkProof(Element formula,
FormalProofLineList proof,
RuleChecker checker,
ModuleContext moduleContext,
ReferenceResolver resolver)
ProofCheckernull) 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.
checkProof in interface ProofCheckerformula - Formula we want to proof.proof - Check this formal proof.checker - Gets defined rule information.moduleContext - Location information of formal proof.
Important for locating errors.resolver - Resolver for references.
null.protected void setLocationWithinModule(java.lang.String locationWithinModule)
locationWithinModule - Location within module.protected final ModuleContext getCurrentContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||