Add new simplification rule

This adds the rule “(F <-> (F and G)) === (F -> G)” to the
simplification rule tableau.
This commit is contained in:
2018-04-09 23:13:21 +02:00
parent b88393655a
commit 6d7b91c391
5 changed files with 469 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ TEST_CASE("[placeholders] Programs with placeholders are correctly completed", "
anthem::translate("input", input, context);
CHECK(output.str() ==
"forall V1, V2 (color(V1, V2) <-> (vertex(V1) and color(V2) and color(V1, V2)))\n"
"forall V1, V2 (color(V1, V2) -> (vertex(V1) and color(V2)))\n"
"forall U1 not (vertex(U1) and not exists U2 color(U1, U2))\n"
"forall U3, U4, U5 not (color(U3, U4) and color(U5, U4) and edge(U3, U5))\n");
}