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

cave in to supporting proofs (partially) in simplifiers, updated doc

This commit is contained in:
Nikolaj Bjorner 2022-12-06 17:02:04 -08:00
parent aaabbfb594
commit 80033e8744
36 changed files with 157 additions and 108 deletions

View file

@ -191,14 +191,15 @@ namespace euf {
rp->set_substitution(m_subst.get());
for (unsigned i : indices()) {
auto [f, d] = m_fmls[i]();
auto [f, p, d] = m_fmls[i]();
auto [new_f, new_dep] = rp->replace_with_dep(f);
m_rewriter(new_f);
proof_ref new_pr(m);
m_rewriter(new_f, new_f, new_pr);
if (new_f == f)
continue;
new_dep = m.mk_join(d, new_dep);
old_fmls.push_back(m_fmls[i]);
m_fmls.update(i, dependent_expr(m, new_f, new_dep));
m_fmls.update(i, dependent_expr(m, new_f, mp(p, new_pr), new_dep));
}
}