package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.2.0.tar.gz
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20

doc/rocq-runtime.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.

Sourceval is_trivial : 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 -> UVars.Instance.t constraint_function
Sourceval enforce_eq_qualities : Sorts.Quality.t array constraint_function
Sourceval compare_cumulative_instances : Conversion.conv_pb -> UVars.Variance.t array -> UVars.Instance.t constraint_function