model_get_const_decl method

Z3_func_decl model_get_const_decl(
  1. Z3_context c,
  2. Z3_model m,
  3. int i
)

\brief Return the i-th constant in the given model.

\pre i < Z3_model_get_num_consts(c, m)

\sa Z3_model_eval \sa Z3_model_get_num_consts

def_API('Z3_model_get_const_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT)))

Implementation

Z3_func_decl model_get_const_decl(
  Z3_context c,
  Z3_model m,
  int i,
) {
  return _model_get_const_decl(
    c,
    m,
    i,
  );
}