package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.16.0.tar.gz
sha256=36577b55f4a4b1c64682c387de7abea932d0fd42fc0cd5406927dca344f53587

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

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

Sourceval make : Names.Name.t array -> Constraints.t -> t

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 size : t -> int
Sourceval union : t -> t -> t

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

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

Generate the set of instantiated Constraints.t *

Sourceval names : t -> Names.Name.t array

Return the names of the bound universe variables

OCaml

Innovation. Community. Security.