SetDomain.ToppedSetFunctor for creating artificially topped set domains.
module Base : Printable.Smodule N : ToppedSetNamesinclude Lattice.S with type t = [ `Top | `Lifted of Make(Base).t ]include Lattice.PO with type t = [ `Top | `Lifted of Make(Base).t ]include Printable.S with type t = [ `Top | `Lifted of Make(Base).t ]val hash : t -> intval show : t -> stringval printXml : 'a BatInnerIO.output -> t -> unitval to_yojson : t -> Yojson.Safe.tval tag : t -> intUnique ID, given by HConsed, for context identification in witness
val arbitrary : unit -> t QCheck.arbitrarywiden x y assumes leq x y. Solvers guarantee this by calling widen old (join old new).
type elt = Base.tval empty : unit -> tval is_empty : t -> boolSee Set.S.remove.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
See Set.S.diff.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
See Set.S.iter.
On set abstractions this iterates only over canonical elements, not all subsumed elements.
See Set.S.map.
On set abstractions this maps only canonical elements, not all subsumed elements.
See Set.S.fold.
On set abstractions this folds only over canonical elements, not all subsumed elements.
See Set.S.for_all.
On set abstractions this checks only canonical elements, not all subsumed elements.
See Set.S.exists.
On set abstractions this checks only canonical elements, not all subsumed elements.
See Set.S.filter.
On set abstractions this filters only canonical elements, not all subsumed elements.
See Set.S.partition.
On set abstractions this partitions only canonical elements, not all subsumed elements.
val cardinal : t -> intSee Set.S.cardinal.
On set abstractions this counts only canonical elements, not all subsumed elements.
See Set.S.elements.
On set abstractions this lists only canonical elements, not all subsumed elements.
See Set.S.to_seq.
On set abstractions this lists only canonical elements, not all subsumed elements.
See Set.S.min_elt.
On set abstractions this chooses only a canonical element, not any subsumed element.
See Set.S.max_elt.
On set abstractions this chooses only a canonical element, not any subsumed element.