mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
fix #1365. Filter MBQI instantiations for as-array terms that lead the array theory to return unknown and therefore block further instantiations. as-array terms are at this point almost always created from internal model values so quantifier instantiations with these have little value, other than instantiations of other paraameters that may indepdendently help
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c5f231acdf
commit
357b4b20fd
4 changed files with 10 additions and 16 deletions
|
@ -127,10 +127,8 @@ namespace smt {
|
|||
out << " #" << bindings[i]->get_owner_id();
|
||||
}
|
||||
out << " ;";
|
||||
ptr_vector<enode>::const_iterator it = used_enodes.begin();
|
||||
ptr_vector<enode>::const_iterator end = used_enodes.end();
|
||||
for (; it != end; ++it)
|
||||
out << " #" << (*it)->get_owner_id();
|
||||
for (enode* n : used_enodes)
|
||||
out << " #" << n->get_owner_id();
|
||||
out << "\n";
|
||||
}
|
||||
m_qi_queue.insert(f, pat, max_generation, min_top_generation, max_top_generation); // TODO
|
||||
|
@ -150,10 +148,7 @@ namespace smt {
|
|||
|
||||
void init_search_eh() {
|
||||
m_num_instances = 0;
|
||||
ptr_vector<quantifier>::iterator it2 = m_quantifiers.begin();
|
||||
ptr_vector<quantifier>::iterator end2 = m_quantifiers.end();
|
||||
for (; it2 != end2; ++it2) {
|
||||
quantifier * q = *it2;
|
||||
for (quantifier * q : m_quantifiers) {
|
||||
get_stat(q)->reset_num_instances_curr_search();
|
||||
}
|
||||
m_qi_queue.init_search_eh();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue