Module WideningTokens.Dom

Lift D to carry widening tokens. All operations delegate to inner domain, except widening tokens are used to delay widenings.

Parameters

module D : Lattice.S

Signature

include sig ... end
type t = D.t * TS.t
val is_top : t -> bool
val top : unit -> t
val bot : unit -> t
val narrow : t -> t -> t
val meet : t -> t -> t
val join : t -> t -> t
val expand_fst : bool
val expand_snd : bool
val relift : t -> t
val tag : 'a -> 'b
val show : (D.t * TS.t) -> string
val name : unit -> string
val pretty : unit -> (D.t * TS.t) -> Printable.Pretty.doc
val printXml : 'a BatInnerIO.output -> (D.t * TS.t) -> unit
val to_yojson : (D.t * TS.t) -> [> `Assoc of (string * Yojson.Safe.t) list ]
val arbitrary : unit -> (D.t * TS.t) QCheck.arbitrary
val pretty_diff : unit -> (t * t) -> Lattice.Pretty.doc
val unlift : ('a * 'b) -> 'c
val lift : 'a -> 'b * TS.t
val equal : (D.t * 'a) -> (D.t * 'b) -> bool
val compare : (D.t * 'a) -> (D.t * 'b) -> int
val hash : (D.t * 'a) -> int
val leq : (D.t * 'a) -> (D.t * 'b) -> bool
val is_bot : (D.t * 'a) -> bool
val widen : (D.t * TS.t) -> (D.t * TS.t) -> D.t * TS.t