mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix #4100
This commit is contained in:
parent
626d0186c8
commit
16d34b9fcc
|
@ -46,7 +46,6 @@ class sat_tactic : public tactic {
|
||||||
bool produce_core = g->unsat_core_enabled();
|
bool produce_core = g->unsat_core_enabled();
|
||||||
TRACE("before_sat_solver", g->display(tout););
|
TRACE("before_sat_solver", g->display(tout););
|
||||||
g->elim_redundancies();
|
g->elim_redundancies();
|
||||||
|
|
||||||
atom2bool_var map(m);
|
atom2bool_var map(m);
|
||||||
obj_map<expr, sat::literal> dep2asm;
|
obj_map<expr, sat::literal> dep2asm;
|
||||||
sat::literal_vector assumptions;
|
sat::literal_vector assumptions;
|
||||||
|
@ -113,6 +112,10 @@ class sat_tactic : public tactic {
|
||||||
ref<sat2goal::mc> mc;
|
ref<sat2goal::mc> mc;
|
||||||
m_sat2goal(*m_solver, map, m_params, *(g.get()), mc);
|
m_sat2goal(*m_solver, map, m_params, *(g.get()), mc);
|
||||||
g->add(mc.get());
|
g->add(mc.get());
|
||||||
|
if (produce_core) {
|
||||||
|
// sat2goal does not preseve assumptions
|
||||||
|
g->updt_prec(goal::OVER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
g->inc_depth();
|
g->inc_depth();
|
||||||
result.push_back(g.get());
|
result.push_back(g.get());
|
||||||
|
|
Loading…
Reference in a new issue