mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 21:50:52 +00:00
add parameter for scenario from #4743
This commit is contained in:
parent
ceedd7e84d
commit
f354671465
5 changed files with 21 additions and 18 deletions
|
@ -30,6 +30,7 @@ void array_rewriter::updt_params(params_ref const & _p) {
|
|||
m_expand_select_store = p.expand_select_store();
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -179,7 +180,7 @@ br_status array_rewriter::mk_select_core(unsigned num_args, expr * const * args,
|
|||
return BR_REWRITE1;
|
||||
}
|
||||
default:
|
||||
if (m_expand_select_store && to_app(args[0])->get_arg(0)->get_ref_count() == 1) {
|
||||
if (m_blast_select_store || (m_expand_select_store && to_app(args[0])->get_arg(0)->get_ref_count() == 1)) {
|
||||
// select(store(a, I, v), J) --> ite(I=J, v, select(a, J))
|
||||
ptr_buffer<expr> new_args;
|
||||
new_args.push_back(to_app(args[0])->get_arg(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue