3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

fix lemma generation for intervals

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-06-14 20:54:47 -07:00
parent 8258e2a8fd
commit 2b11ed241e
2 changed files with 5 additions and 5 deletions

View file

@ -63,7 +63,7 @@ bool intervals::get_lemma(monomial const& m) {
svector<lp::constraint_index> expl;
m_dep_manager.linearize(signs_a.m_upper_dep, expl);
_().current_expl().add_expl(expl);
llc cmp = m_config.lower_is_open(a)? llc::LT: llc::LE;
llc cmp = m_config.upper_is_open(a)? llc::LT: llc::LE;
mk_ineq(m.var(), cmp, ub.x);
TRACE("nla_solver", _().print_lemma(tout); );
return true;