3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-10 01:41:57 +00:00

fix cancelation within nex.

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-09-10 09:46:50 -07:00
parent 37c9534d04
commit ac80dfaa8b
4 changed files with 18 additions and 7 deletions

View file

@ -90,7 +90,9 @@ bool horner::lemmas_on_row(const T& row) {
cross_nested cn(
[this, dep](const nex* n) { return c().m_intervals.check_nex(n, dep); },
[this](unsigned j) { return c().var_is_fixed(j); },
[this]() { return c().random(); }, m_nex_creator);
c().reslim(),
c().random(),
m_nex_creator);
bool ret = lemmas_on_expr(cn, to_sum(e));
c().m_intervals.get_dep_intervals().reset(); // clean the memory allocated by the interval bound dependencies
return ret;