mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 10:35:33 +00:00
Polysat: minor fixes (#5364)
* update include paths * bdd fixes * update/fix some tests * work around assertion failure when constraint from clause becomes unit * Remove old code * use clause_builder * Verify model when returning SAT * log * fix
This commit is contained in:
parent
52eb473c63
commit
d7b8ea2f7f
11 changed files with 73 additions and 95 deletions
|
@ -119,6 +119,8 @@ public:
|
|||
eq = m.mk_eq(nv, kr);
|
||||
SASSERT(eq.is_const() && (eq.is_true() == (n == k)));
|
||||
|
||||
SASSERT(m.mk_usub(nv).to_val() == (m.mk_zero(num_bits) - nv).to_val());
|
||||
|
||||
bdd cmp = nv <= kv;
|
||||
SASSERT(cmp.is_const() && (cmp.is_true() == (nr <= kr)));
|
||||
cmp = nv >= kv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue