Fix simplification rule

The simplification rule in the Rules of Inference Playground now presents both possible outcomes instead of assuming one.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-11 12:32:50 +00:00
parent 45f984027e
commit 548b21aaa5

View file

@ -272,7 +272,7 @@ export default function RulesOfInferencePlayground({ onComplete }: { onComplete?
case "simplification": {
// From B ∧ (C D) derive B or (C D)
if (selected.includes("B ∧ (C D)") && selected.length === 1) {
return ["C D"];
return ["B", "C D"];
}
break;
}