package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.0.tar.gz
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250

doc/coq-core.kernel/Univ/Variance/index.html

Module Univ.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
OCaml

Innovation. Community. Security.