Class ProofVerifier
java.lang.Object
org.episteme.core.mathematics.logic.proof.ProofVerifier
Verifier for formal proofs.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterRule(String name, InferenceRule rule) Registers an inference rule with a given name.booleanVerifies the validity of a proof.
-
Constructor Details
-
ProofVerifier
public ProofVerifier()
-
-
Method Details
-
registerRule
Registers an inference rule with a given name.- Parameters:
name- the name of the rule (e.g., "Modus Ponens")rule- the rule implementation
-
verify
Verifies the validity of a proof.- Parameters:
proof- the proof to verify- Returns:
- true if the proof is valid
-