algebraic_sub method

Z3_ast algebraic_sub(
  1. Z3_context c,
  2. Z3_ast a,
  3. Z3_ast b
)

\brief Return the value a - b.

\pre Z3_algebraic_is_value(c, a) \pre Z3_algebraic_is_value(c, b) \post Z3_algebraic_is_value(c, result)

def_API('Z3_algebraic_sub', AST, (_in(CONTEXT), _in(AST), _in(AST)))

Implementation

Z3_ast algebraic_sub(
  Z3_context c,
  Z3_ast a,
  Z3_ast b,
) {
  return _algebraic_sub(
    c,
    a,
    b,
  );
}