3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-01 12:55:52 +00:00

Add TODO notes from discussion

This commit is contained in:
Jakob Rath 2021-09-06 16:45:20 +02:00
parent ec1e6725de
commit 381d13993c
3 changed files with 33 additions and 2 deletions

View file

@ -133,6 +133,7 @@ namespace polysat {
c->set_unit_clause(cl);
// TODO: actually, this should be backtrackable (unless clause is unit). But currently we cannot insert in the middle of the stack!
// (or do it like MCSAT... they keep "theory-propagated" literals also at the end and restore them on backtracking)
// => add at the end and update pop_levels to replay appropriately
m_solver->assign_bool_core(c.blit(), cl, nullptr);
m_solver->activate_constraint(c);
}