Library
Module
Module type
Parameter
Class
Class type
val hash : t -> int
hash t
compute the hash value for a sort.
val pp : Stdlib.Format.formatter -> t -> unit
pp formatter t
print sort.
val to_string : t -> string
to_string t
get string representation of this sort.
val id : t -> int64
id t
get the id of this sort.
val bv_size : t -> int
bv_size t
get the size of a bit-vector sort.
Requires that given sort is a bit-vector sort.
val fp_exp_size : t -> int
fp_exp_size sort
get the exponent size of a floating-point sort.
Requires that given sort is a floating-point sort.
val fp_sig_size : t -> int
fp_sig_size t
get the significand size of a floating-point sort.
Requires that given sort is a floating-point sort.
array_index t
get the index sort of an array sort.
Requires that given sort is an array sort.
array_element t
get the element sort of an array sort.
Requires that given sort is an array sort.
fun_domain_sorts t
get the domain sorts of a function sort.
Requires that given sort is a function sort.
fun_codomain t
get the codomain sort of a function sort.
Requires that given sort is a function sort.
val fun_arity : t -> int
fun_arity t
get the arity of a function sort.
val uninterpreted_symbol : t -> string
uninterpreted_symbol t
get the symbol of an uninterpreted sort.
val is_array : t -> bool
is_array t
determine if a sort is an array sort.
val is_bool : t -> bool
is_bool t
determine if a sort is a Boolean sort.
val is_bv : t -> bool
is_bv t
determine if a sort is a bit-vector sort.
val is_fp : t -> bool
is_fp t
determine if a sort is a floating-point sort.
val is_fun : t -> bool
is_fun t
determine if a sort is a function sort.
val is_rm : t -> bool
is_rm t
determine if a sort is a Roundingmode sort.
val is_uninterpreted : t -> bool
is_uninterpreted t
determine if a sort is an uninterpreted sort.