module Term:sig..end
type t
The type of terms
type operator =
| |
Plus |
(* |
| *) |
| |
Minus |
(* |
| *) |
| |
Mult |
(* |
| *) |
| |
Div |
(* |
| *) |
| |
Modulo |
(* |
| *) |
The type of operators
val make_int : Num.num -> tmake_int n creates an integer constant of value n.
val make_real : Num.num -> tmake_real n creates an real constant of value n.
val make_app : Smt_sig.S.Symbol.t -> t list -> tmake_app f l creates the application of function symbol f to a list
of terms l.
val make_arith : operator ->
t -> t -> tmake_arith op t1 t2 creates the term t1 <op> t2.
val is_int : t -> boolis_int x is true if the term x has type int
val is_real : t -> boolis_real x is true if the term x has type real
val t_true : tt_true is the boolean term true
val t_false : tt_false is the boolean term false