package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.1.tar.gz
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42

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

Module UVars.AbstractContextSource

Sourcetype t

An abstract context serves to quantify over a graph of universes represented using de Bruijn indices, as in: u0, ..., u(n-1), Var i < Var j, .., Var k <= Var l |- term(Var 0 .. Var (n-1)) \-------------/ \-------------------------------/ \---------------------/ names for constraints expressed on de Bruijn judgement in abstract printing representation of the n univ vars context expected to use de Bruijn indices

Build an abstract context. Constraints may be between universe variables.

Sourceval repr : t -> UContext.t

repr ctx is (Var(0), ... Var(n-1) |= cstr where n is the length of the context and cstr the abstracted Constraints.t.

Sourceval empty : t
Sourceval is_empty : t -> bool
Sourceval is_constant : t -> bool

Empty instance, but may have constraints

Sourceval size : t -> int * int
Sourceval union : t -> t -> t

The constraints are expected to be relative to the concatenated set of universes

Sourceval instantiate : Instance.t -> t -> Univ.Constraints.t

Generate the set of instantiated Constraints.t *

Sourceval names : t -> bound_names

Return the names of the bound universe variables

OCaml

Innovation. Community. Security.