SMT.Modeltype term := tModel is represented as mapping from variables to constants.
include Datatype_sig.MONO_MAP
with type key := Variable.t
and type data := Constant.tinclude Datatype_sig.PRINTABLE with type t := tinclude Datatype_sig.SHOW with type t := tCopy-pasted signature of classic polymorphic map
val empty : tval is_empty : t -> boolval add : Variable.t -> Constant.t -> t -> tval mem : Variable.t -> t -> boolval find : Variable.t -> t -> Constant.tval iter : (Variable.t -> Constant.t -> unit) -> t -> unitval fold : (Variable.t -> Constant.t -> 'acc -> 'acc) -> t -> 'acc -> 'accval union :
(Variable.t -> Constant.t -> Constant.t -> Constant.t option) ->
t ->
t ->
tval bindings : t -> (Variable.t * Constant.t) listval cardinal : t -> intval choose : t -> Variable.t * Constant.tval filter : (Variable.t -> Constant.t -> bool) -> t -> tAdditional functions
val keys : t -> Variable.t listval values : t -> Constant.t listval of_list : (Variable.t * Constant.t) list -> tval find_pred : (Variable.t -> bool) -> t -> Variable.tval show_custom :
(Variable.t -> string) ->
(Constant.t -> string) ->
t ->
stringinclude Datatype_sig.PRINTABLE with type t := tinclude Datatype_sig.SHOW with type t := tval show : t -> stringString representation of type t
val 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 -> unitval eval : t -> term -> Constant.tEvaluation of term in model.
val show_with_sorts : t -> string