mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
bf28b815fa
commit
001ddef058
3 changed files with 23 additions and 24 deletions
|
@ -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) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue