Make.Solvermake ?params ?logic () creates a new solver with optional parameters params and logic logic.
val push : solver -> unitpush solver pushes a new context level onto the solver solver.
val pop : solver -> int -> unitpop solver n pops n context levels from the solver solver.
val reset : solver -> unitreset solver resets the solver solver to its initial state.
val add : ?ctx:term Symbol.Map.t -> solver -> term list -> unitadd solver ts adds the terms ts to the solver solver.
val check :
?ctx:term Symbol.Map.t ->
solver ->
assumptions:term list ->
[ `Sat | `Unsat | `Unknown ]check solver ~assumptions checks the satisfiability of the solver solver with the given assumptions. Returns `Sat, `Unsat, or `Unknown.
model solver retrieves the model from the solver solver, if one exists.
val get_statistics : solver -> Statistics.tget_statistics solver retrieves statistics from the solver solver.