3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-05-25 08:56:13 -07:00
parent 19fb3e98dc
commit 753b9dd734
6 changed files with 24 additions and 14 deletions

View file

@ -71,7 +71,7 @@ public:
for (unsigned idx = 0; !g->inconsistent() && idx < g->size(); idx++) {
rw1(g->form(idx), new_f1, new_pr1);
TRACE("card2bv", tout << "Rewriting " << mk_ismt2_pp(new_f1.get(), m) << std::endl;);
rw2(new_f1, new_f2, new_pr2);
rw2(false, new_f1, new_f2, new_pr2);
if (m.proofs_enabled()) {
new_pr1 = m.mk_modus_ponens(g->pr(idx), new_pr1);
new_pr1 = m.mk_modus_ponens(new_pr1, new_pr2);

View file

@ -147,7 +147,7 @@ private:
expr_ref_vector fmls(m);
for (expr* a : m_assertions) {
m_th_rewriter(a, fml1, proof);
m_rewriter(fml1, fml, proof);
m_rewriter(false, fml1, fml, proof);
m_solver->assert_expr(fml);
}
m_rewriter.flush_side_constraints(fmls);