Add new simplification rule

This adds the rule “(not (F and G)) === (not F or not G)” to the
simplification rule tableau.
This commit is contained in:
2018-04-09 23:38:58 +02:00
parent 23624007ec
commit 6f7b021712
4 changed files with 35 additions and 7 deletions

View File

@@ -153,8 +153,8 @@ TEST_CASE("[completion] Rules are completed", "[completion]")
CHECK(output.str() ==
"forall V1 (covered(V1) <-> exists U1 in(V1, U1))\n"
"forall V2, V3 (in(V2, V3) -> (V2 in 1..n and V3 in 1..r))\n"
"forall U2 not (U2 in 1..n and not covered(U2))\n"
"forall U3, U4, U5 not (in(U3, U4) and in(U5, U4) and exists X1 (X1 in (U3 + U5) and in(X1, U4)))\n");
"forall U2 (not U2 in 1..n or covered(U2))\n"
"forall U3, U4, U5 (not in(U3, U4) or not in(U5, U4) or not exists X1 (X1 in (U3 + U5) and in(X1, U4)))\n");
}
SECTION("binary operations with multiple variables")