mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
This commit is contained in:
parent
c388d99c35
commit
ed49c1eae3
4 changed files with 14 additions and 7 deletions
|
@ -8,7 +8,7 @@ Module Name:
|
|||
Abstract:
|
||||
|
||||
E-matching quantifier instantiation plugin
|
||||
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2021-01-24
|
||||
|
@ -374,6 +374,7 @@ namespace q {
|
|||
clause* cl = alloc(clause, m, m_clauses.size());
|
||||
cl->m_literal = ctx.mk_literal(_q);
|
||||
quantifier_ref q(_q, m);
|
||||
q = m_qs.flatten(q);
|
||||
if (is_exists(q)) {
|
||||
cl->m_literal.neg();
|
||||
expr_ref body(mk_not(m, q->get_expr()), m);
|
||||
|
|
|
@ -157,6 +157,7 @@ namespace q {
|
|||
expr* t = todo.back();
|
||||
SASSERT(!is_ground(t) || ctx.get_egraph().find(t));
|
||||
if (is_ground(t)) {
|
||||
m_mark.mark(t);
|
||||
m_eval.setx(t->get_id(), ctx.get_egraph().find(t), nullptr);
|
||||
SASSERT(m_eval[t->get_id()]);
|
||||
todo.pop_back();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue