mirror of
https://github.com/Z3Prover/z3
synced 2025-08-06 19:21:22 +00:00
parent
f98b94bdbc
commit
896a1b2048
17 changed files with 59 additions and 56 deletions
|
@ -184,7 +184,7 @@ class nla2bv_tactic : public tactic {
|
|||
|
||||
// substitute variables by bit-vectors
|
||||
void substitute_vars(goal & g) {
|
||||
scoped_ptr<expr_replacer> er = mk_default_expr_replacer(m_manager);
|
||||
scoped_ptr<expr_replacer> er = mk_default_expr_replacer(m_manager, false);
|
||||
er->set_substitution(&m_subst);
|
||||
expr_ref r(m_manager);
|
||||
for (unsigned i = 0; i < g.size(); ++i) {
|
||||
|
|
|
@ -753,7 +753,7 @@ struct purify_arith_proc {
|
|||
unsigned idx = num_vars - i - 1;
|
||||
subst.insert(c, m().mk_var(idx, s));
|
||||
}
|
||||
scoped_ptr<expr_replacer> replacer = mk_default_expr_replacer(m());
|
||||
scoped_ptr<expr_replacer> replacer = mk_default_expr_replacer(m(), false);
|
||||
replacer->set_substitution(&subst);
|
||||
(*replacer)(new_body, new_body);
|
||||
new_body = m().mk_exists(num_vars, sorts.c_ptr(), names.c_ptr(), new_body, q->get_weight());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue