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

track dependency of base-level conflict

This commit is contained in:
Jakob Rath 2023-02-01 10:47:26 +01:00
parent 3c822117d1
commit 1bb68a4fc1
4 changed files with 10 additions and 8 deletions

View file

@ -158,8 +158,7 @@ namespace polysat {
case l_false:
// Input literal contradicts current boolean state (e.g., opposite literals in the input)
// => conflict only flags the inconsistency
set_conflict_at_base_level();
SASSERT(dep == null_dependency && "track dependencies is TODO");
set_conflict_at_base_level(dep);
return;
case l_true:
// constraint c is already asserted => ignore
@ -174,8 +173,7 @@ namespace polysat {
case l_false:
// asserted an always-false constraint => conflict at base level
LOG("Always false: " << c);
set_conflict_at_base_level();
SASSERT(dep == null_dependency && "track dependencies is TODO");
set_conflict_at_base_level(dep);
return;
case l_true:
// asserted an always-true constraint => ignore