mk_set_has_size method

Z3_ast mk_set_has_size(
  1. Z3_context c,
  2. Z3_ast set1,
  3. Z3_ast k
)

\brief Create predicate that holds if Boolean array \c set has \c k elements set to true.

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

Implementation

Z3_ast mk_set_has_size(
  Z3_context c,
  Z3_ast set1,
  Z3_ast k,
) {
  return _mk_set_has_size(
    c,
    set1,
    k,
  );
}