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

@@ -168,8 +168,8 @@ TEST_CASE("[hidden predicate elimination] Hidden predicates are correctly elimin
CHECK(output.str() ==
"(s -> not #false)\n"
"(t -> not #false)\n"
"not (s and not t)\n"
"not (not #false and not #false and #false)\n");
"(not s or t)\n"
"(#false or #false or not #false)\n");
}
SECTION("predicate with more than one argument is hidden correctly")