package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

doc/coq-core.kernel/UVars/Instance/index.html

Module UVars.InstanceSource

Sourcetype t

A universe instance represents a vector of argument universes and sort qualities to a polymorphic definition (constant, inductive or constructor).

Sourceval empty : t
Sourceval is_empty : t -> bool
Sourceval of_array : (Sorts.Quality.t array * Univ.Level.t array) -> t
Sourceval to_array : t -> Sorts.Quality.t array * Univ.Level.t array
Sourceval abstract_instance : (int * int) -> t

Instance of the given size made of QVar/Level.var

Sourceval append : t -> t -> t

To concatenate two instances, used for discharge

Sourceval equal : t -> t -> bool

Equality

Sourceval length : t -> int * int

Instance length

Sourceval hcons : t -> t

Hash-consing.

Sourceval hash : t -> int

Hash value

Sourceval share : t -> t * int

Simultaneous hash-consing and hash-value computation

Sourceval pr : (Sorts.QVar.t -> Pp.t) -> (Univ.Level.t -> Pp.t) -> ?variance:Variance.t array -> t -> Pp.t

Pretty-printing, no comments

The set of levels in the instance

Sourceval subst_fn : ((Sorts.QVar.t -> Sorts.Quality.t) * (Univ.Level.t -> Univ.Level.t)) -> t -> t
Sourcetype mask = Sorts.Quality.pattern array * int option array

Pattern matching, as used by the rewrite rules mechanism

OCaml

Innovation. Community. Security.