Module Univ.ContextSet
type t= Level.Set.t constrained
val empty : tval is_empty : t -> boolval singleton : Level.t -> tval of_instance : Instance.t -> tval of_set : Level.Set.t -> tval equal : t -> t -> boolval union : t -> t -> tval append : t -> t -> tVariant of
unionwhich is more efficient when the left argument is much smaller than the right one.
val diff : t -> t -> tval add_universe : Level.t -> t -> tval add_constraints : Constraints.t -> t -> tval add_instance : Instance.t -> t -> tval sort_levels : Level.t array -> Level.t arrayArbitrary choice of linear order of the variables
val to_context : (Instance.t -> Names.Name.t array) -> t -> UContext.tBuild a vector of universe levels assuming a function generating names
val of_context : UContext.t -> tval constraints : t -> Constraints.tval levels : t -> Level.Set.tval size : t -> intThe number of universes in the context