mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
cave in to supporting proofs (partially) in simplifiers, updated doc
This commit is contained in:
parent
aaabbfb594
commit
80033e8744
36 changed files with 157 additions and 108 deletions
|
@ -38,13 +38,13 @@ void bit_blaster::reduce() {
|
|||
proof_ref new_pr(m);
|
||||
bool change = false;
|
||||
for (unsigned idx : indices()) {
|
||||
auto [curr, d] = m_fmls[idx]();
|
||||
auto [curr, p, d] = m_fmls[idx]();
|
||||
m_rewriter(curr, new_curr, new_pr);
|
||||
if (curr != new_curr) {
|
||||
m_num_steps += m_rewriter.get_num_steps();
|
||||
change = true;
|
||||
TRACE("bit_blaster", tout << mk_pp(curr, m) << " -> " << new_curr << "\n";);
|
||||
m_fmls.update(idx, dependent_expr(m, new_curr, d));
|
||||
m_fmls.update(idx, dependent_expr(m, new_curr, mp(p, new_pr), d));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue