get_array_sort_domain method

Z3_sort get_array_sort_domain(
  1. Z3_context c,
  2. Z3_sort t
)

\brief Return the domain of the given array sort. In the case of a multi-dimensional array, this function returns the sort of the first dimension.

\pre Z3_get_sort_kind(c, t) == Z3_ARRAY_SORT

\sa Z3_mk_array_sort \sa Z3_get_sort_kind \sa Z3_get_array_sort_domain_n

def_API('Z3_get_array_sort_domain', SORT, (_in(CONTEXT), _in(SORT)))

Implementation

Z3_sort get_array_sort_domain(
  Z3_context c,
  Z3_sort t,
) {
  return _get_array_sort_domain(
    c,
    t,
  );
}