mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
ensure that seq rewriter gets invoked during pre-processing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
eae17a43a2
commit
5b50d98b89
9 changed files with 130 additions and 41 deletions
|
@ -875,6 +875,10 @@ br_status seq_rewriter::mk_str_in_regexp(expr* a, expr* b, expr_ref& result) {
|
|||
if (m().is_false(cond)) {
|
||||
continue;
|
||||
}
|
||||
if (m().is_true(cond)) {
|
||||
add_next(next, trail, mv.dst(), acc);
|
||||
continue;
|
||||
}
|
||||
expr* args[2] = { cond, acc };
|
||||
cond = mk_and(m(), 2, args);
|
||||
add_next(next, trail, mv.dst(), cond);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue