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": {
|
||||
// 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue