package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val empty : t
val is_empty : t -> bool
val singleton : Level.t -> t
val of_instance : Instance.t -> t
val of_set : Level.Set.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 : Constraints.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 : (Instance.t -> Names.Name.t array) -> t -> UContext.t

Build a vector of universe levels assuming a function generating names

val of_context : UContext.t -> t
val constraints : t -> Constraints.t
val levels : t -> Level.Set.t
val size : t -> int

The number of universes in the context

OCaml

Innovation. Community. Security.