mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
adding Boolean propagation, watch; and factoring
This commit is contained in:
parent
f01da40e49
commit
fa3886136b
15 changed files with 341 additions and 134 deletions
|
@ -38,18 +38,11 @@ namespace polysat {
|
|||
else if (status == l_true) out << " <= ";
|
||||
else if (status == l_false) out << " > ";
|
||||
else out << " <=/> ";
|
||||
out << m_rhs;
|
||||
return display_extra(out);
|
||||
return out << m_rhs;
|
||||
}
|
||||
|
||||
std::ostream& ule_constraint::display(std::ostream& out) const {
|
||||
out << m_lhs;
|
||||
if (is_eq())
|
||||
out << " == ";
|
||||
else
|
||||
out << " <= ";
|
||||
out << m_rhs;
|
||||
return display_extra(out);
|
||||
return out << m_lhs << (is_eq() ? " == " : " <= ") << m_rhs;
|
||||
}
|
||||
|
||||
void ule_constraint::narrow(solver& s, bool is_positive) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue