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:
parent
45f984027e
commit
548b21aaa5
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ export default function RulesOfInferencePlayground({ onComplete }: { onComplete?
|
||||||
case "simplification": {
|
case "simplification": {
|
||||||
// From B ∧ (C ∨ D) derive B or (C ∨ D)
|
// From B ∧ (C ∨ D) derive B or (C ∨ D)
|
||||||
if (selected.includes("B ∧ (C ∨ D)") && selected.length === 1) {
|
if (selected.includes("B ∧ (C ∨ D)") && selected.length === 1) {
|
||||||
return ["C ∨ D"];
|
return ["B", "C ∨ D"];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue