goal_formula method

Z3_ast goal_formula(
  1. Z3_context c,
  2. Z3_goal g,
  3. int idx
)

\brief Return a formula from the given goal.

\pre idx < Z3_goal_size(c, g)

def_API('Z3_goal_formula', AST, (_in(CONTEXT), _in(GOAL), _in(UINT)))

Implementation

Z3_ast goal_formula(
  Z3_context c,
  Z3_goal g,
  int idx,
) {
  return _goal_formula(
    c,
    g,
    idx,
  );
}