3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

#5417 normalize clause

This commit is contained in:
Nikolaj Bjorner 2021-07-19 09:08:51 -07:00
parent 7d915eb295
commit 776f270b64
2 changed files with 13 additions and 1 deletions

View file

@ -29,7 +29,9 @@ namespace q {
expr_ref rhs;
bool sign;
lit(expr_ref const& lhs, expr_ref const& rhs, bool sign):
lhs(lhs), rhs(rhs), sign(sign) {}
lhs(lhs), rhs(rhs), sign(sign) {
SASSERT(!rhs.m().is_false(rhs) || !sign);
}
std::ostream& display(std::ostream& out) const;
};