package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50

doc/coq-core.engine/UnivProblem/index.html

Module UnivProblemSource

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.

Sourcetype 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
Sourceval is_trivial : t -> bool
Sourceval check : UGraph.t -> t -> bool
Sourceval check_eq_level : UGraph.t -> Univ.Level.t -> Univ.Level.t -> bool

Wrapper around the UGraph function to handle Prop

Sourcemodule Set : sig ... end
Sourcetype 'a constraint_function = 'a -> 'a -> Set.t -> Set.t
Sourceval enforce_eq_instances_univs : bool -> Univ.Instance.t constraint_function
OCaml

Innovation. Community. Security.