mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
Commit
This commit is contained in:
parent
bdce957ac8
commit
56496ead2f
2 changed files with 11 additions and 1 deletions
|
@ -1672,6 +1672,17 @@ namespace sat {
|
|||
change = true;
|
||||
last_changed = lit;
|
||||
}
|
||||
{
|
||||
// if l was derived from lit and ~lit -> l, then l is a necessary assignment
|
||||
scoped_level _sl(*this, dl_lvl);
|
||||
literal_vector const& lits = m_binary[(~l).index()];
|
||||
for (literal l : lits) {
|
||||
if (inconsistent()) break;
|
||||
if (is_true(l) && !is_fixed_at(l, cl_fixed_truth)) {
|
||||
assign(l);
|
||||
}
|
||||
}
|
||||
}
|
||||
SASSERT(inconsistent() || !is_unsat());
|
||||
}
|
||||
if (c_fixed_truth - 2 * m_lookahead.size() < base) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue