3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 19:02:02 +00:00

fix a bug in order lemma

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-12-26 20:39:33 -08:00 committed by Lev Nachmanson
parent fe05d1a1e8
commit f57f6138b4

View file

@ -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);