3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-14 03:04:44 +00:00

Support watching inactive constraints

This allows us to handle non-redundant clauses (like we get from quot_rem)
This commit is contained in:
Jakob Rath 2022-05-27 15:49:54 +02:00
parent 6bf897aad8
commit 2345fb6428
5 changed files with 119 additions and 34 deletions

View file

@ -339,4 +339,11 @@ namespace polysat {
lbool signed_constraint::bvalue(solver& s) const {
return get()->has_bvar() ? s.m_bvars.value(blit()) : l_undef;
}
std::ostream& constraint_pp::display(std::ostream& out) const {
if (c)
return c->display(out, status);
else
return out << "<null>";
}
}