3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 03:27:52 +00:00
This commit is contained in:
Hari Govind V K 2023-10-14 04:06:15 -04:00 committed by GitHub
parent fcb03aa56c
commit ba6c23bbc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -130,12 +130,15 @@ struct mbp_basic_tg::impl {
for (auto a1 : *c) {
for (auto a2 : *c) {
if (a1 == a2) continue;
if (m_mdl.are_equal(a1, a2)) {
expr_ref e(m.mk_eq(a1, a2), m);
if (m_mdl.is_true(e)) {
m_tg.add_eq(a1, a2);
eq = true;
break;
} else
} else {
SASSERT(m_mdl.is_false(e));
m_tg.add_deq(a1, a2);
}
}
}
if (eq)