3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-05 05:00:23 +00:00

track _all_ interval end-points for propagation (in fact only need end-points at unit location, not the others so this can be tuned

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-04-13 12:22:43 +02:00
parent be488f75ab
commit da168cad2d
2 changed files with 43 additions and 1 deletions

View file

@ -472,9 +472,14 @@ namespace polysat {
if (is_bailout())
goto bailout;
if (j.is_propagation())
if (j.is_propagation()) {
for (auto const& c : s.m_viable.get_constraints(v))
propagate(c);
for (auto const& i : s.m_viable.units(v)) {
propagate(s.eq(i.lo(), i.lo_val()));
propagate(s.eq(i.hi(), i.hi_val()));
}
}
LOG("try-explain v" << v);
if (try_explain(v))