3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
remove unsound rewrite, regression
This commit is contained in:
Nikolaj Bjorner 2020-12-08 12:17:41 -08:00
parent 97683bd48a
commit fae9481308

View file

@ -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;
}