3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-06 07:15:47 +00:00

Remove backjump state from conflict

This commit is contained in:
Jakob Rath 2022-11-14 14:33:19 +01:00
parent 406696f0a3
commit 01af25ca02
6 changed files with 3 additions and 24 deletions

View file

@ -97,13 +97,13 @@ namespace polysat {
if (!inserting)
return false;
// TODO: add as a side lemma instead of changing the conflict
core.remove_all();
for (auto d : m_new_constraints)
core.insert_eval(d);
if (c.bvalue(s) != l_false) // conflict is due to the evaluation of c, so it depends on the variable values
core.insert_vars(c);
core.insert_eval(~c);
core.set_backjump();
core.logger().log(inf_name);
LOG("Core " << core);
return true;