kripke: support word syntax

This commit is contained in:
2025-02-22 10:53:58 +09:00
parent 64a4523e9f
commit d8e03512ad
4 changed files with 75 additions and 39 deletions

View File

@@ -64,7 +64,7 @@ export function satisfy(m: Model, w: World, fml: Formula): boolean {
if (!satisfy(m, w, fml.left)) return false;
return satisfy(m, w, fml.right);
}
case "iff": {
case "eq": {
return satisfy(m, w, fml.left) === satisfy(m, w, fml.right);
}
}