mk_as_array method

Z3_ast mk_as_array(
  1. Z3_context c,
  2. Z3_func_decl f
)

\brief Create array with the same interpretation as a function. The array satisfies the property (f x) = (select (_ as-array f) x) for every argument x.

def_API('Z3_mk_as_array', AST, (_in(CONTEXT), _in(FUNC_DECL)))

Implementation

Z3_ast mk_as_array(
  Z3_context c,
  Z3_func_decl f,
) {
  return _mk_as_array(
    c,
    f,
  );
}