3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-28 19:38:51 +00:00

use expr based access to enodes to allow for storing first-class lambas

This commit is contained in:
Nikolaj Bjorner 2026-05-30 15:12:56 -07:00
parent 5f3088f3b5
commit 2cc4422018
54 changed files with 301 additions and 279 deletions

View file

@ -459,7 +459,7 @@ namespace smt {
tout << "model:\n"; model_pp(tout, *m_curr_model););
for (quantifier* q : *m_qm)
if (m.is_lambda_def(q)) {
if (m.is_lambda_q(q)) {
md->add_lambda_defs();
break;
}
@ -519,7 +519,7 @@ namespace smt {
if (!(m_qm->mbqi_enabled(q) &&
m_context->is_relevant(q) &&
m_context->get_assignment(q) == l_true &&
(!m_context->get_fparams().m_ematching || !m.is_lambda_def(q)))) {
(!m_context->get_fparams().m_ematching || !m.is_lambda_q(q)))) {
if (!m_qm->mbqi_enabled(q))
++num_failures;
continue;