3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

const rewriting revisited

This commit is contained in:
Nikolaj Bjorner 2021-09-04 17:59:08 -07:00
parent 051ede64e7
commit 38b82fa742

View file

@ -195,7 +195,9 @@ bool rewriter_tpl<Config>::visit(expr * t, unsigned max_depth) {
if (process_const<ProofGen>(to_app(t)))
return true;
TRACE("rewriter", tout << "process const: " << mk_bounded_pp(t, m()) << " -> " << mk_bounded_pp(m_r,m()) << "\n";);
t = m_r;
set_new_child_flag(t, m_r);
result_stack().push_back(m_r);
return true;
}
if (max_depth != RW_UNBOUNDED_DEPTH)
max_depth--;