Skip to content

Commit

Permalink
fix #4875
Browse files Browse the repository at this point in the history
remove unsound rewrite, regression
  • Loading branch information
NikolajBjorner committed Dec 8, 2020
1 parent 97683bd commit fae9481
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ast/rewriter/seq_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1685,12 +1685,6 @@ br_status seq_rewriter::mk_seq_replace(expr* a, expr* b, expr* c, expr_ref& resu
return BR_REWRITE_FULL;
}

expr* a1 = nullptr, *b1 = nullptr, *c1 = nullptr;
if (str().is_replace(a, a1, b1, c1) && c1 == b && c1 != c) {
result = str().mk_replace(a1, b1, c);
result = str().mk_replace(result, b, c);
return BR_REWRITE2;
}

return BR_FAILED;
}
Expand Down

0 comments on commit fae9481

Please sign in to comment.