mk_bvsub_no_underflow method

Z3_ast mk_bvsub_no_underflow(
  1. Z3_context c,
  2. Z3_ast t1,
  3. Z3_ast t2,
  4. bool is_signed,
)

\brief Create a predicate that checks that the bit-wise subtraction of \c t1 and \c t2 does not underflow.

The nodes \c t1 and \c t2 must have the same bit-vector sort. The returned node is of sort Bool.

def_API('Z3_mk_bvsub_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL)))

Implementation

Z3_ast mk_bvsub_no_underflow(
  Z3_context c,
  Z3_ast t1,
  Z3_ast t2,
  bool is_signed,
) {
  return _mk_bvsub_no_underflow(
    c,
    t1,
    t2,
    is_signed,
  );
}