3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-01-09 11:03:29 -08:00
parent 90fd3d82fc
commit bf3c213fd3

View file

@ -228,12 +228,13 @@ namespace q {
} }
bool solver::expand(quantifier* q) { bool solver::expand(quantifier* q) {
expr_ref r(m); expr_ref r(q, m);
proof_ref pr(m); proof_ref pr(m);
m_der(q, r, pr); ctx.rewrite(r);
m_der(r, r, pr);
m_expanded.reset(); m_expanded.reset();
if (r != q) { if (r != q) {
ctx.get_rewriter()(r); ctx.rewrite(r);
m_expanded.push_back(r); m_expanded.push_back(r);
return true; return true;
} }