mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix #6947
This commit is contained in:
parent
ba881d9c9b
commit
f678861aef
|
@ -152,14 +152,6 @@ namespace nla {
|
|||
lemma &= ex;
|
||||
return true;
|
||||
}
|
||||
// v.upper < 0, but v^p > range.upper -> infeasible.
|
||||
if (p % 2 == 0 && c().has_upper_bound(v) && c().get_upper_bound(v) < 0) {
|
||||
++c().lra.settings().stats().m_nla_propagate_bounds;
|
||||
new_lemma lemma(c(), "range requires a non-negative upper bound");
|
||||
lemma &= ex;
|
||||
lemma.explain_existing_upper_bound(v);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (rational(dep.upper(range)).root(p, r)) {
|
||||
// v = -2, [-4,-3]^3 < v^3 -> add bound v <= -3
|
||||
|
|
Loading…
Reference in a new issue