3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

debugging

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-01-01 19:10:11 -08:00
parent 141ba7661f
commit adebd2fd94
3 changed files with 5 additions and 5 deletions

View file

@ -98,7 +98,7 @@ namespace polysat {
return l_false;
if (any_of(m_to_refine, [&](auto i) { return non_overflow_monotone(m_monomials[i]); }))
return l_false;
if (any_of(m_to_refine, [&](auto i) { return mulp2(m_monomials[i]); }))
if (false && any_of(m_to_refine, [&](auto i) { return mulp2(m_monomials[i]); }))
return l_false;
return l_undef;

View file

@ -44,10 +44,8 @@ namespace polysat {
}
bool saturation::resolve(pvar v, constraint_id id) {
if (c.eval_unfold(id) == l_true)
return false;
auto sc = c.get_constraint(id);
if (!sc.vars().contains(v))
if (!sc.unfold_vars().contains(v))
return false;
if (sc.is_ule())
resolve(v, inequality::from_ule(c, id));

View file

@ -69,7 +69,9 @@ namespace polysat {
}
lbool umul_ovfl_constraint::eval(assignment const& a) const {
return eval(a.apply_to(p()), a.apply_to(q()));
auto r = eval(a.apply_to(p()), a.apply_to(q()));
CTRACE("bv", r != l_undef, tout << "eval: " << *this << " := " << r << "\n";);
return r;
}
void umul_ovfl_constraint::activate(core& c, bool sign, dependency const& dep) {