3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 19:47:52 +00:00

fixes to dt_solver and related

This commit is contained in:
Nikolaj Bjorner 2021-02-27 11:03:20 -08:00
parent f7b1469462
commit 830f314a3f
20 changed files with 250 additions and 187 deletions

View file

@ -318,7 +318,7 @@ namespace arith {
reset_evidence();
for (auto const& ev : e)
set_evidence(ev.ci(), m_core, m_eqs);
auto* jst = euf::th_propagation::mk(*this, m_core, m_eqs);
auto* jst = euf::th_propagation::propagate(*this, m_core, m_eqs, n1, n2);
ctx.propagate(n1, n2, jst->to_index());
}
@ -718,7 +718,7 @@ namespace arith {
set_evidence(ci4, m_core, m_eqs);
enode* x = var2enode(v1);
enode* y = var2enode(v2);
auto* jst = euf::th_propagation::mk(*this, m_core, m_eqs);
auto* jst = euf::th_propagation::propagate(*this, m_core, m_eqs, x, y);
ctx.propagate(x, y, jst->to_index());
}
@ -1141,7 +1141,7 @@ namespace arith {
add_clause(m_core2);
}
else {
auto* jst = euf::th_propagation::mk(*this, core, eqs);
auto* jst = euf::th_propagation::propagate(*this, core, eqs, lit);
ctx.propagate(lit, jst->to_index());
}
}