package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.3.0.tar.gz
sha256=3f0fc283e8644394aa9c7a6e3995b6d9ebbe1e6dda712bf431f9c372dcef95ad

doc/rocq-runtime.kernel/UVars/Variance/index.html

Module UVars.VarianceSource

Sourcetype t =
  1. | Irrelevant
  2. | Covariant
  3. | Invariant

A universe position in the instance given to a cumulative inductive can be the following. Note there is no Contravariant case because forall x : A, B <= forall x : A', B' requires A = A' as opposed to A' <= A.

Sourceval check_subtype : t -> t -> bool

check_subtype x y holds if variance y is also an instance of x

Sourceval sup : t -> t -> t
Sourceval pr : t -> Pp.t
Sourceval equal : t -> t -> bool