mk_select method

Z3_ast mk_select(
  1. Z3_context c,
  2. Z3_ast a,
  3. Z3_ast i
)

@name Arrays / /**@{/ /** \brief Array read. The argument \c a is the array and \c i is the index of the array that gets read.

The node \c a must have an array sort \ccode{domain -> range}, and \c i must have the sort \c domain. The sort of the result is \c range.

\sa Z3_mk_array_sort \sa Z3_mk_store

def_API('Z3_mk_select', AST, (_in(CONTEXT), _in(AST), _in(AST)))

Implementation

Z3_ast mk_select(
  Z3_context c,
  Z3_ast a,
  Z3_ast i,
) {
  return _mk_select(
    c,
    a,
    i,
  );
}