mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 02:40:24 +00:00
debug
This commit is contained in:
parent
ae41f82939
commit
bdf20f513b
1 changed files with 5 additions and 2 deletions
|
@ -1423,9 +1423,12 @@ namespace polysat {
|
||||||
continue;
|
continue;
|
||||||
size_t const undefs = count_if(cl, [&](auto lit) { return !m_bvars.is_assigned(lit); });
|
size_t const undefs = count_if(cl, [&](auto lit) { return !m_bvars.is_assigned(lit); });
|
||||||
if (undefs == 1) {
|
if (undefs == 1) {
|
||||||
LOG("Missed boolean propagation of clause: " << cl);
|
verbose_stream() << "Missed boolean propagation of clause: " << cl << "\n";
|
||||||
for (sat::literal lit : cl) {
|
for (sat::literal lit : cl) {
|
||||||
LOG(" " << lit_pp(*this, lit));
|
verbose_stream() << " " << lit_pp(*this, lit);
|
||||||
|
if (count(m_bvars.watch(lit), &cl) != 0)
|
||||||
|
verbose_stream() << " (bool-watched)";
|
||||||
|
verbose_stream() << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
VERIFY(undefs != 1);
|
VERIFY(undefs != 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue