Module Univ.ContextSet
type t
= LSet.t constrained
val empty : t
val is_empty : t -> bool
val singleton : Level.t -> t
val of_instance : Instance.t -> t
val of_set : LSet.t -> t
val equal : t -> t -> bool
val union : t -> t -> t
val append : t -> t -> t
Variant of
union
which is more efficient when the left argument is much smaller than the right one.
val diff : t -> t -> t
val add_universe : Level.t -> t -> t
val add_constraints : Constraint.t -> t -> t
val add_instance : Instance.t -> t -> t
val sort_levels : Level.t array -> Level.t array
Arbitrary choice of linear order of the variables
val to_context : t -> UContext.t
val of_context : UContext.t -> t
val constraints : t -> Constraint.t
val levels : t -> LSet.t
val size : t -> int
the number of universes in the context