mirror of
https://github.com/Z3Prover/z3
synced 2025-09-04 09:07:40 +00:00
disable bottom-up coi filtering when relations contain facts. bug reported by SeanMcL
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3a3e1796e2
commit
b8e4871d9e
2 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,9 @@ namespace datalog {
|
|||
bool new_tail = false;
|
||||
bool contained = true;
|
||||
for (unsigned i = 0; i < r->get_uninterpreted_tail_size(); ++i) {
|
||||
if (m_context.has_facts(r->get_decl(i))) {
|
||||
return 0;
|
||||
}
|
||||
if (r->is_neg_tail(i)) {
|
||||
if (!engine.get_fact(r->get_decl(i)).is_reachable()) {
|
||||
if (!new_tail) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue