Class EqualityRule
java.lang.Object
org.episteme.core.mathematics.logic.proof.EqualityRule
- All Implemented Interfaces:
InferenceRule
A simple inference rule for equality substitution.
If a = b and P(a), then P(b).
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EqualityRule
public EqualityRule()
-
-
Method Details
-
isValid
Description copied from interface:InferenceRuleChecks if the conclusion can be validly inferred from the premises using this rule.- Specified by:
isValidin interfaceInferenceRule- Parameters:
premises- the list of premise formulasconclusion- the asserted conclusion- Returns:
- true if the inference is valid
-