mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
micro tuning for #4192
This commit is contained in:
parent
f313ab9e4c
commit
8be266c18c
3 changed files with 20 additions and 20 deletions
|
@ -388,16 +388,15 @@ namespace smt {
|
|||
context & ctx = get_context();
|
||||
|
||||
expr_ref res(m), t(m);
|
||||
expr_ref_vector fmls(m);
|
||||
proof_ref t_pr(m);
|
||||
res = m.mk_true();
|
||||
|
||||
expr_ref_vector::iterator it = m_converter.m_extra_assertions.begin();
|
||||
expr_ref_vector::iterator end = m_converter.m_extra_assertions.end();
|
||||
for (; it != end; it++) {
|
||||
ctx.get_rewriter()(*it, t, t_pr);
|
||||
res = m.mk_and(res, t);
|
||||
for (expr* arg : m_converter.m_extra_assertions) {
|
||||
ctx.get_rewriter()(arg, t, t_pr);
|
||||
fmls.push_back(t);
|
||||
}
|
||||
m_converter.m_extra_assertions.reset();
|
||||
res = m.mk_and(fmls);
|
||||
|
||||
m_th_rw(res);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue