3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-04 00:58:07 +00:00

fix to #717. The bottom-up COI filter can only use positive facts for filtering

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-08-23 12:26:38 -03:00
parent b5c521e4b2
commit 510231df42
2 changed files with 5 additions and 6 deletions

View file

@ -44,9 +44,7 @@ namespace datalog {
if (m_context.has_facts(r->get_decl(i))) {
return 0;
}
if (false && r->is_neg_tail(i)) {
return 0;
}
if (r->is_neg_tail(i)) {
if (!engine.get_fact(r->get_decl(i)).is_reachable()) {
if (!new_tail) {
@ -62,6 +60,7 @@ namespace datalog {
m_new_tail_neg.push_back(true);
}
}
else {
SASSERT(!new_tail);
if (!engine.get_fact(r->get_decl(i)).is_reachable()) {