Skip to content

Commit 16d34b9

Browse files
fix #4100
1 parent 626d018 commit 16d34b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sat/tactic/sat_tactic.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class sat_tactic : public tactic {
4646
bool produce_core = g->unsat_core_enabled();
4747
TRACE("before_sat_solver", g->display(tout););
4848
g->elim_redundancies();
49-
5049
atom2bool_var map(m);
5150
obj_map<expr, sat::literal> dep2asm;
5251
sat::literal_vector assumptions;
@@ -113,6 +112,10 @@ class sat_tactic : public tactic {
113112
ref<sat2goal::mc> mc;
114113
m_sat2goal(*m_solver, map, m_params, *(g.get()), mc);
115114
g->add(mc.get());
115+
if (produce_core) {
116+
// sat2goal does not preseve assumptions
117+
g->updt_prec(goal::OVER);
118+
}
116119
}
117120
g->inc_depth();
118121
result.push_back(g.get());

0 commit comments

Comments
 (0)