Pulselib.PulseAbstractValue
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
val yojson_of_t : t -> Ppx_yojson_conv_lib.Yojson.Safe.t
val mk_fresh : unit -> t
create an abstract value guaranteed not to appear in the current state
val mk_fresh_restricted : unit -> t
a special class of variables that represent non-negative ("restricted") values; variables returned by mk_fresh
are called "unrestricted" by opposition
creates a fresh restricted or unrestricted abstract value based on the kind of abstract value given
val is_restricted : t -> bool
was the variable created with mk_fresh_restricted
, i.e. it represents non-negative values (hence its domain is restricted)
val is_unrestricted : t -> bool
was the variable created with mk_fresh
, i.e. it represents any value, positive, negative, or zero (hence its domain is unrestricted)
val pp : F.formatter -> t -> unit
an alternative comparison function that sorts unrestricted variables before restricted variables
module Set : IStdlib.PrettyPrintable.PPSet with type elt = t
module Map : sig ... end