3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00
fix unsoundness issue due to book-keeping changes for whether the solver uses assumptions.
This commit is contained in:
Nikolaj Bjorner 2022-08-18 03:58:06 -07:00
parent 1a5503c87b
commit 8e167aa213

View file

@ -2416,7 +2416,7 @@ namespace sat {
m_conflict_lvl = get_max_lvl(m_not_l, m_conflict, unique_max);
justification js = m_conflict;
if (m_conflict_lvl <= 1 && tracking_assumptions()) {
if (m_conflict_lvl <= 1 && (!m_assumptions.empty() || !m_user_scope_literals.empty())) {
TRACE("sat", tout << "unsat core\n";);
resolve_conflict_for_unsat_core();
return l_false;