mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
This commit is contained in:
parent
a1f7676c81
commit
9969809745
|
@ -564,7 +564,7 @@ namespace q {
|
|||
};
|
||||
|
||||
void ematch::add(quantifier* _q) {
|
||||
TRACE("q", tout << "add " << mk_pp(_q, m) << "\n";);
|
||||
TRACE("q", tout << "add " << mk_pp(_q, m) << "\n");
|
||||
clause* c = clausify(_q);
|
||||
quantifier* q = c->q();
|
||||
if (m_q2clauses.contains(q)) {
|
||||
|
@ -588,7 +588,7 @@ namespace q {
|
|||
app * mp = to_app(q->get_pattern(i));
|
||||
SASSERT(m.is_pattern(mp));
|
||||
bool unary = (mp->get_num_args() == 1);
|
||||
TRACE("q", tout << "adding:\n" << expr_ref(mp, m) << "\n";);
|
||||
TRACE("q", tout << "adding:\n" << expr_ref(mp, m) << "\n");
|
||||
if (!unary && j >= num_eager_multi_patterns) {
|
||||
TRACE("q", tout << "delaying (too many multipatterns):\n" << mk_ismt2_pp(mp, m) << "\n";);
|
||||
if (!m_lazy_mam)
|
||||
|
|
|
@ -286,6 +286,11 @@ namespace q {
|
|||
idx = i;
|
||||
}
|
||||
}
|
||||
if (!e1 && updated) {
|
||||
m_expanded.reset();
|
||||
m_expanded.push_back(r);
|
||||
return true;
|
||||
}
|
||||
if (!e1)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue