3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-07-20 15:29:24 -07:00
parent 134562162a
commit 574246ff7a
2 changed files with 7 additions and 8 deletions

View file

@ -299,13 +299,12 @@ namespace q {
auto* p = get_plugin(v);
if (p && !fmls_extracted) {
TRACE("q", tout << "domain eqs\n" << qb.domain_eqs << "\n";);
for (expr* e : qb.domain_eqs)
if (!m_model->is_true(e))
return expr_ref(nullptr, m);
fmls.append(qb.domain_eqs);
eliminate_nested_vars(fmls, qb);
for (expr* e : fmls)
if (!m_model->is_true(e))
return expr_ref(nullptr, m);
mbp::project_plugin proj(m);
proj.extract_literals(*m_model, vars, fmls);
fmls_extracted = true;