3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-11-29 09:46:41 -08:00
parent bf28b815fa
commit 001ddef058
3 changed files with 23 additions and 24 deletions

View file

@ -2116,6 +2116,7 @@ namespace smt {
enode * p2 = *it2;
if (p2->get_decl() == f &&
num_args == n->get_num_args() &&
num_args == p2->get_num_args() &&
m_context.is_relevant(p2) &&
p2->is_cgr() &&
p2->get_arg(i)->get_root() == p) {

View file

@ -739,7 +739,7 @@ namespace smt {
}
// TBD: add support for the else of bitvectors.
// Idea: get the term t with the minimal interpretation and use t - 1.
}
}
n->set_else((*(elems.begin())).m_key);
}
@ -881,7 +881,6 @@ namespace smt {
}
void mk_simple_proj(node * n) {
TRACE("model_finder", n->display(tout, m););
set_projection_else(n);
ptr_buffer<expr> values;
get_instantiation_set_values(n, values);
@ -897,6 +896,7 @@ namespace smt {
pi->insert_new_entry(&v, v);
}
n->set_proj(p);
TRACE("model_finder", n->display(tout << p->get_name() << "\n", m););
}
void mk_projections() {