mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 15:13:23 +00:00
make extensionality commutative
This commit is contained in:
parent
88b6c4a30d
commit
fa91a644d3
1 changed files with 3 additions and 1 deletions
|
@ -326,7 +326,9 @@ func_decl * array_decl_plugin::mk_array_ext(unsigned arity, sort * const * domai
|
||||||
}
|
}
|
||||||
sort * r = to_sort(s->get_parameter(i).get_ast());
|
sort * r = to_sort(s->get_parameter(i).get_ast());
|
||||||
parameter param(i);
|
parameter param(i);
|
||||||
return m_manager->mk_func_decl(m_array_ext_sym, arity, domain, r, func_decl_info(m_family_id, OP_ARRAY_EXT, 1, ¶m));
|
func_decl_info info(func_decl_info(m_family_id, OP_ARRAY_EXT, 1, ¶m));
|
||||||
|
info.set_commutative(true);
|
||||||
|
return m_manager->mk_func_decl(m_array_ext_sym, arity, domain, r, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue