mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 11:37:54 +00:00
fixes to inprocessing code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c8e655830f
commit
b98c864d76
7 changed files with 28 additions and 40 deletions
|
@ -2081,6 +2081,7 @@ namespace sat {
|
|||
if (inconsistent()) {
|
||||
TRACE("sat", tout << "inconsistent: " << m_cube_state.m_cube << "\n";);
|
||||
m_cube_state.m_freevars_threshold = prev_nfreevars;
|
||||
m_cube_state.inc_conflict();
|
||||
if (!backtrack(m_cube_state.m_cube, m_cube_state.m_is_decision)) return l_false;
|
||||
continue;
|
||||
}
|
||||
|
@ -2375,6 +2376,8 @@ namespace sat {
|
|||
++disconnected1;
|
||||
uf.merge(u.index(), v.index());
|
||||
uf.merge((~u).index(), (~v).index());
|
||||
VERIFY(!m_s.was_eliminated(u.var()));
|
||||
VERIFY(!m_s.was_eliminated(v.var()));
|
||||
m_s.mk_clause(~u, v, true);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue