3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00
This commit is contained in:
Clemens Eisenhofer 2023-01-09 14:14:19 +01:00
parent 991acb0d72
commit aafd9039db

View file

@ -1258,11 +1258,11 @@ namespace polysat {
}
else if (c->is_umul_ovfl()) {
auto const& ovf = c->to_umul_ovfl();
m_lemma.reset();
auto [lhs_new, changed_lhs] = m_parity_tracker.eliminate_variable(*this, x, a, b, ovf.p(), m_lemma);
auto [rhs_new, changed_rhs] = m_parity_tracker.eliminate_variable(*this, x, a, b, ovf.q(), m_lemma);
if (!changed_lhs && !changed_rhs)
continue;
m_lemma.reset();
m_lemma.insert(~c);
m_lemma.insert_eval(~s.eq(y));