mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 17:30:23 +00:00
rewrite some simplifiers
This commit is contained in:
parent
23c53c6820
commit
edb0fc394b
8 changed files with 81 additions and 237 deletions
|
@ -37,13 +37,11 @@ void bit_blaster::reduce() {
|
|||
expr_ref new_curr(m);
|
||||
proof_ref new_pr(m);
|
||||
bool change = false;
|
||||
for (unsigned idx = qhead(); idx < qtail(); idx++) {
|
||||
if (m_fmls.inconsistent())
|
||||
break;
|
||||
for (unsigned idx : indices()) {
|
||||
auto [curr, d] = m_fmls[idx]();
|
||||
m_rewriter(curr, new_curr, new_pr);
|
||||
m_num_steps += m_rewriter.get_num_steps();
|
||||
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue