Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val mk_solver : ?logic:string -> TermManager.tm -> solver
Solver instance constructor.
val delete : solver -> unit
Solver instance destructor.
Assert a formula to the solver.
Parameters: - The formula to assert
val check_sat : solver -> Result.result
Check satisfiability.
val check_sat_assuming : solver -> Term.term array -> Result.result
Check satisfiability assuming a set of formulas.
Parameters: - The set of formulas to assume
val set_logic : solver -> string -> unit
Set the logic of the solver.
val set_option : solver -> string -> string -> unit
Set an option of the solver.
Parameters: - The option to set
val push : solver -> int -> unit
Push (a) level(s) to the assertion stack.
Parameters: - The number of levels to push
val pop : solver -> int -> unit
Pop (a) level(s) from the assertion stack.
Parameters: - The number of levels to pop
val reset : solver -> unit
Reset all assertions.
Get the value of the given term in the current model.
Parameters: - The term for which the value is queried
Get the values of the given terms in the current model.
Parameters: - The terms for which the values is queried
Get the domain elements of uninterpreted sort s in the current model. The current model interprets s as the finite sort whose domain elements are given in the return value of this function.
Parameters: - The uninterpreted sort in question
Get the model.
Parameters: - The list of uninterpreted sorts that should be printed in the model
Declare n-ary function symbol.
Parameters: - The name of the function