package rocq-runtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

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