package rocq-runtime
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20
doc/rocq-runtime.kernel/UVars/AbstractContext/index.html
Module UVars.AbstractContextSource
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. PConstraints may be between sorts/universe variables.
repr ctx is (Var(0), ... Var(n-1) |= cstr where n is the length of the context and cstr the abstracted UnivConstraints.t.
The constraints are expected to be relative to the concatenated set of universes
Generate the set of instantiated PConstraints.t *
Return the names of the bound universe variables
val pr :
(Sorts.QVar.t -> Pp.t) ->
(Univ.Level.t -> Pp.t) ->
?variance:Variance.t array ->
t ->
Pp.t