mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 12:51:22 +00:00
expose ability to expand select/store and select/ite (lambdas are always expanded) during pre-processing for N.P. Lopes.
This commit is contained in:
parent
ba68fba419
commit
cf9e55fa96
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ void array_rewriter::updt_params(params_ref const & _p) {
|
|||
m_expand_store_eq = p.expand_store_eq();
|
||||
m_expand_nested_stores = p.expand_nested_stores();
|
||||
m_blast_select_store = p.blast_select_store();
|
||||
m_expand_select_ite = false;
|
||||
m_expand_select_ite = p.expand_select_ite();
|
||||
}
|
||||
|
||||
void array_rewriter::get_param_descrs(param_descrs & r) {
|
||||
|
@ -227,7 +227,6 @@ br_status array_rewriter::mk_select_core(unsigned num_args, expr * const * args,
|
|||
inv_var_shifter invsh(m());
|
||||
invsh(result, _args.size(), result);
|
||||
return BR_REWRITE_FULL;
|
||||
|
||||
}
|
||||
|
||||
if (m_util.is_map(args[0])) {
|
||||
|
|
|
@ -4,5 +4,6 @@ def_module_params(module_name='rewriter',
|
|||
params=(("expand_select_store", BOOL, False, "conservatively replace a (select (store ...) ...) term by an if-then-else term"),
|
||||
("blast_select_store", BOOL, False, "eagerly replace all (select (store ..) ..) term by an if-then-else term"),
|
||||
("expand_nested_stores", BOOL, False, "replace nested stores by a lambda expression"),
|
||||
("expand_select_ite", BOOL, False, "expand select over ite expressions"),
|
||||
("expand_store_eq", BOOL, False, "reduce (store ...) = (store ...) with a common base into selects"),
|
||||
("sort_store", BOOL, False, "sort nested stores when the indices are known to be different")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue