mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 02:42:02 +00:00
fix a bug in order lemma
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
fe05d1a1e8
commit
f57f6138b4
1 changed files with 2 additions and 2 deletions
|
@ -1567,10 +1567,10 @@ struct solver::imp {
|
||||||
SASSERT(akey.size() == bkey.size());
|
SASSERT(akey.size() == bkey.size());
|
||||||
for (unsigned i = 0; i < akey.size(); i++) {
|
for (unsigned i = 0; i < akey.size(); i++) {
|
||||||
if (i != strict) {
|
if (i != strict) {
|
||||||
negate_abs_a_le_abs_b(a[i], b[i]);
|
negate_abs_a_le_abs_b(akey[i].second, bkey[i].second);
|
||||||
} else {
|
} else {
|
||||||
mk_ineq(b[i], llc::EQ);
|
mk_ineq(b[i], llc::EQ);
|
||||||
negate_abs_a_lt_abs_b(a[i], b[i]);
|
negate_abs_a_lt_abs_b(akey[i].second, bkey[i].second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert_abs_val_a_le_abs_var_b(a, b, true);
|
assert_abs_val_a_le_abs_var_b(a, b, true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue