Context.SAn incremental solver instance.
val assert_formula : Bl.t -> unitassert_formula bl assert the boolean entry in the solver instance.
pop () discard all the assertions since the last backup point, restoring the solver context in the same state as before the push (). Invalid uses may fail in an unpredictable fashion.
val check_sat : ?timeout:float -> unit -> Libsolver.statuscheck_sat () checks if the current formula is satisfiable.
val check_sat_assuming : ?timeout:float -> Bl.t -> Libsolver.statuscheck_sat_assuming e checks if the current formula is satisfiable with the assumtion e.
val get_bv_value : Bv.t -> Z.tget_bv_value expr returns the assignment of the expression expr if check_sat returned Sat. Invalid uses may fail in an unpredictable fashion.
val fold_ax_values : (Z.t -> Z.t -> 'a -> 'a) -> Ax.t -> 'a -> 'afold_ax_values f ax v iter through the assignment of the array ax if check_sat returned Sat. Invalid uses may fail in an unpredictable fashion.