package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
Constraints for type inference

When doing conversion of universes, not only do we have =/<= constraints but also Lub constraints which correspond to unification of two levels which might not be necessary if unfolding is performed.

UWeak constraints come from irrelevant universes in cumulative polymorphism.

type t =
  1. | ULe of Sorts.t * Sorts.t
  2. | UEq of Sorts.t * Sorts.t
  3. | ULub of Univ.Level.t * Univ.Level.t
  4. | UWeak of Univ.Level.t * Univ.Level.t
val is_trivial : t -> bool
val check : UGraph.t -> t -> bool
val check_eq_level : UGraph.t -> Univ.Level.t -> Univ.Level.t -> bool

Wrapper around the UGraph function to handle Prop

module Set : sig ... end
type 'a constraint_function = 'a -> 'a -> Set.t -> Set.t
val enforce_eq_instances_univs : bool -> Univ.Instance.t constraint_function
OCaml

Innovation. Community. Security.