3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

fix issues reported in #4525

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-21 17:43:05 -07:00
parent 02f34ea4b1
commit 6a54c0bc04
2 changed files with 12 additions and 5 deletions

View file

@ -2238,11 +2238,16 @@ class qe_lite::impl {
if (is_forall(q)) {
result = push_not(result);
}
result = m.update_quantifier(
expr_ref tmp(m);
tmp = m.update_quantifier(
q,
q->get_num_patterns(), new_patterns,
q->get_num_no_patterns(), new_no_patterns, result);
m_imp.m_rewriter(result, result, result_pr);
m_imp.m_rewriter(tmp, result, result_pr);
if (m.proofs_enabled()) {
result_pr = m.mk_transitivity(m.mk_rewrite(q, tmp), result_pr);
}
return true;
}
};