MCPcopy Create free account
hub / github.com/Z3Prover/z3 / mk_array_sort

Method mk_array_sort

src/ast/array_decl_plugin.cpp:644–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644sort * array_util::mk_array_sort(unsigned arity, sort* const* domain, sort* range) {
645 vector<parameter> params;
646 for (unsigned i = 0; i < arity; ++i) {
647 params.push_back(parameter(domain[i]));
648 }
649 params.push_back(parameter(range));
650 return m_manager.mk_sort(m_fid, ARRAY_SORT, params.size(), params.data());
651}
652
653func_decl* array_util::mk_array_ext(sort *domain, unsigned i) {
654 sort * domains[2] = { domain, domain };

Callers 13

get_array_interp_coreMethod · 0.45
tst1_vgFunction · 0.45
test3Method · 0.45
test4Method · 0.45
test5Method · 0.45
test6Method · 0.45
mk_quantifierMethod · 0.45
mk_lambdaMethod · 0.45
initMethod · 0.45
add_map_sigMethod · 0.45
consume_workMethod · 0.45
get_map_array_sortMethod · 0.45

Calls 5

parameterClass · 0.70
sizeMethod · 0.65
push_backMethod · 0.45
mk_sortMethod · 0.45
dataMethod · 0.45

Tested by 5

tst1_vgFunction · 0.36
test3Method · 0.36
test4Method · 0.36
test5Method · 0.36
test6Method · 0.36