Sidekick_base.ModelModels
A model is a solution to the satisfiability question, created by the SMT solver when it proves the formula to be satisfiable.
A model gives a value to each term of the original formula(s), in such a way that the formula(s) is true when the term is replaced by its value.
module Val_map : sig ... endmodule Fun_interpretation : sig ... endModel for function symbols.
type t = {values : Base_types.Value.t Sidekick_base__.Base_types.Term.Map.t; |
funs : Fun_interpretation.t Sidekick_base__.Base_types.Fun.Map.t; |
}Model
val empty : tEmpty model
val add : Base_types.Term.t -> Base_types.Value.t -> t -> tval mem : Base_types.Term.t -> t -> boolval find : Base_types.Term.t -> t -> Base_types.Value.t optionval pp : t CCFormat.printerval eval : t -> Base_types.Term.t -> Base_types.Value.t optioneval m t tries to evaluate term t in the model. If it succeeds, the value is returned, otherwise None is.