mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
minor fixes
- ensure mk_extract performs simplification to distribute over extract and removing extract if the range is the entire bit-vector - ensure bool_rewriter simplifeis disjunctions when applicable.
This commit is contained in:
parent
9fc4015c46
commit
1646a41b2f
9 changed files with 24 additions and 18 deletions
|
@ -290,7 +290,7 @@ br_status bool_rewriter::mk_flat_or_core(unsigned num_args, expr * const * args,
|
|||
ast_lt lt;
|
||||
std::sort(flat_args.begin(), flat_args.end(), lt);
|
||||
}
|
||||
result = m().mk_or(flat_args);
|
||||
result = mk_or_app(flat_args.size(), flat_args.data());
|
||||
}
|
||||
return BR_DONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue