Astral_internal.Sorttype t = | Bool| Int| Finite of Identifier.t * string list| Set of t| Sequence of t| Array of t * t| Bitvector of int| Tupple of t list| Sum of t list| Uninterpreted of Identifier.t| Loc of Identifier.t * Identifier.t listinclude Datatype_sig.PRINTABLE with type t := tinclude Datatype_sig.SHOW with type t := tval pp : Stdlib.Format.formatter -> t -> unitOutput to formatter
val print : ?prefix:string -> t -> unitOutput to stdout.
val show_option : t option -> stringval print_option : ?prefix:string -> t option -> unitval dump : string -> t -> unitDump to file given by filename
val show_list : ?separator:string -> t list -> stringval pp_list : Stdlib.Format.formatter -> t list -> unitval print_list : ?separator:string -> ?prefix:string -> t list -> unitinclude Datatype_sig.COLLECTIONS with type t := tmodule Set : Datatype_sig.SET with type elt = tSet over type t
Monomorphic list over type t
module Map : Datatype_sig.MAP with type key = tPolymorphic map from t to 'a
module MonoMap
(Data : Datatype_sig.SHOW) :
Datatype_sig.MONO_MAP with type key = t and type data = Data.tMonomorphic map from t to Data.t
Equality modulo nil sort: each location sort is equal to the nil sort.
val is_builtin : t -> boolval name : t -> stringval all_names : t -> string listIn case of location sort, return its name and all defined aliases. For other sorts, return a singleton list with a name.
val cardinality : t -> int optionFor finite sorts, return their cardinality
val loc_ls : tval loc_nil : tval int : tval bool : tval mk_finite : string -> string list -> tval mk_loc : ?aliases:string list -> string -> tval mk_uninterpreted : string -> tval mk_bitvector : int -> tval is_bool : t -> boolval is_loc : t -> boolval is_set : t -> boolval is_array : t -> boolval is_bitvector : t -> boolval is_nil : t -> boolval get_width : t -> intGet width of a bitvector sort.
val get_constant_names : t -> string listGet names of constants of a finite sort.
val is_atomic : t -> boolAtomic sorts are Bool, Int, Finite, Bitvector and Loc.
val show_kind : t -> stringsubstitute sort pattern target replaces all occurences of sort pattern by atomic sort target.
SMTLIB
val smt2_name : t -> stringval smt2_decl : t -> string