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:
parent
b5c521e4b2
commit
510231df42
2 changed files with 5 additions and 6 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue