3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 11:37:54 +00:00

parity debugging

This commit is contained in:
Jakob Rath 2022-12-23 11:42:45 +01:00
parent 1434c1117c
commit 68b74ca6a7
3 changed files with 38 additions and 12 deletions

View file

@ -1059,6 +1059,7 @@ namespace polysat {
void solver::assign_eval(sat::literal lit) {
signed_constraint const c = lit2cnstr(lit);
LOG_V(10, "Evaluate: " << lit_pp(*this ,lit));
SASSERT(c.is_currently_true(*this));
unsigned level = 0;
// NOTE: constraint may be evaluated even if some variables are still unassigned (e.g., 0*x doesn't depend on x).