mk_add method

Z3_ast mk_add(
  1. Z3_context c,
  2. int num_args,
  3. Pointer<Z3_ast> args
)

@name Integers and Reals / /**@{/ /** \brief Create an AST node representing \ccode{args0 + ... + argsnum_args-1}.

The array \c args must have \c num_args elements. All arguments must have int or real sort.

\remark The number of arguments must be greater than zero.

def_API('Z3_mk_add', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST)))

Implementation

Z3_ast mk_add(
  Z3_context c,
  int num_args,
  ffi.Pointer<Z3_ast> args,
) {
  return _mk_add(
    c,
    num_args,
    args,
  );
}