fixedpoint_add_rule method

void fixedpoint_add_rule(
  1. Z3_context c,
  2. Z3_fixedpoint d,
  3. Z3_ast rule,
  4. Z3_symbol name,
)

\brief Add a universal Horn clause as a named rule. The \c horn_rule should be of the form:

\code horn_rule ::= (forall (bound-vars) horn_rule) | (=> atoms horn_rule) | atom \endcode

def_API('Z3_fixedpoint_add_rule', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST), _in(SYMBOL)))

Implementation

void fixedpoint_add_rule(
  Z3_context c,
  Z3_fixedpoint d,
  Z3_ast rule,
  Z3_symbol name,
) {
  return _fixedpoint_add_rule(
    c,
    d,
    rule,
    name,
  );
}