3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-06 19:21:22 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-02 15:04:05 -07:00
parent f98b94bdbc
commit 896a1b2048
17 changed files with 59 additions and 56 deletions

View file

@ -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) {

View file

@ -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());