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:
parent
141ba7661f
commit
adebd2fd94
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue