solver_check_assumptions method

int solver_check_assumptions(
  1. Z3_context c,
  2. Z3_solver s,
  3. int num_assumptions,
  4. Pointer<Z3_ast> assumptions,
)

\brief Check whether the assertions in the given solver and optional assumptions are consistent or not.

The function #Z3_solver_get_unsat_core retrieves the subset of the assumptions used in the unsatisfiability proof produced by Z3.

\sa Z3_solver_check

def_API('Z3_solver_check_assumptions', LBOOL, (_in(CONTEXT), _in(SOLVER), _in(UINT), _in_array(2, AST)))

Implementation

int solver_check_assumptions(
  Z3_context c,
  Z3_solver s,
  int num_assumptions,
  ffi.Pointer<Z3_ast> assumptions,
) {
  return _solver_check_assumptions(
    c,
    s,
    num_assumptions,
    assumptions,
  );
}