mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 23:05:26 +00:00
parent
f98b94bdbc
commit
896a1b2048
17 changed files with 59 additions and 56 deletions
|
@ -334,7 +334,7 @@ class horn_tactic : public tactic {
|
|||
|
||||
expr_substitution sub(m);
|
||||
sub.insert(q, m.mk_false());
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m);
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m, false);
|
||||
rep->set_substitution(&sub);
|
||||
g->inc_depth();
|
||||
g->reset();
|
||||
|
|
|
@ -1124,7 +1124,7 @@ expr_ref pred_transformer::get_cover_delta(func_decl* p_orig, int level)
|
|||
v = m.mk_var(i, sig(i)->get_range());
|
||||
sub.insert(c, v);
|
||||
}
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m);
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m, false);
|
||||
rep->set_substitution(&sub);
|
||||
(*rep)(result);
|
||||
|
||||
|
@ -1216,7 +1216,7 @@ void pred_transformer::add_cover(unsigned level, expr* property, bool bg)
|
|||
v = m.mk_var(i, sig(i)->get_range());
|
||||
sub.insert(v, c, pr);
|
||||
}
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m);
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer(m, false);
|
||||
rep->set_substitution(&sub);
|
||||
(*rep)(result);
|
||||
TRACE("spacer", tout << "cover:\n" << mk_pp(result, m) << "\n";);
|
||||
|
|
|
@ -1163,7 +1163,7 @@ namespace spacer_qe {
|
|||
tout << "substituting " << mk_pp (m_var->x (), m) << " by " << mk_pp (x_term, m) << "\n";
|
||||
);
|
||||
}
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer (m);
|
||||
scoped_ptr<expr_replacer> rep = mk_default_expr_replacer (m, false);
|
||||
rep->set_substitution (&sub);
|
||||
(*rep)(fml);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue