3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

bail out on big rational numbers in nla monotone lemmas

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-05-04 14:21:48 -07:00
parent b81ab94db7
commit a34c5a9450
3 changed files with 20 additions and 1 deletions

View file

@ -37,6 +37,8 @@ void monotone::monotonicity_lemma(monic const& m) {
SASSERT(!check_monic(m));
if (c().mon_has_zero(m.vars()))
return;
if (c().has_big_num(m))
return;
const rational prod_val = abs(c().product_value(m));
const rational m_val = abs(var_val(m));
if (m_val < prod_val)