package rocq-runtime
- Identifiers
- Type aliases
- Directory paths = section names paths
- Unique names for bound modules
- The module part of the kernel name
- The absolute names of objects seen by kernel
- Signature for quotiented names
- Constant Names
- Inductive names
- Hash-consing
- Module paths
- Global reference is a kernel side type for all references together
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20
doc/rocq-runtime.kernel/Names/index.html
Module NamesSource
This file defines a lot of different notions of names used pervasively in the kernel as well as in other places. The essential datatypes exported by this API are:
- Id.t is the type of identifiers, that is morally a subset of strings which only contains Unicode characters of the Letter kind (and a few more).
- Name.t is an ad-hoc variant of Id.t option allowing to handle optionally named objects.
- DirPath.t represents generic paths as sequences of identifiers.
- ModPath.t are module paths.
- KerName.t are absolute names of objects in Rocq.
Identifiers
Representation and operations on identifiers that are allowed to be anonymous (i.e. "_" in concrete syntax).
Type aliases
Directory paths = section names paths
Unique names for bound modules
The module part of the kernel name
The absolute names of objects seen by kernel
module KNset = KerName.SetSignature for quotiented names
Constant Names
module Cpred : Predicate.S with type elt = Constant.tThe *_env modules consider an order on user part of names the others consider an order on canonical part of names
module Cset : CSig.USetS with type elt = Constant.tmodule Cset_env : CSig.USetS with type elt = Constant.tA map whose keys are constants (values of the Constant.t type). Keys are ordered wrt. "canonical form" of the constant.
A map whose keys are constants (values of the Constant.t type). Keys are ordered wrt. "user form" of the constant.
Inductive names
module Mindset : CSig.USetS with type elt = MutInd.tmodule Mindmap_env : CMap.UExtS with type key = MutInd.tmodule Constrset : CSet.ExtS with type elt = constructormodule Indset_env : CSet.ExtS with type elt = inductivemodule Constrset_env : CSet.ExtS with type elt = constructormodule Indmap_env :
CMap.ExtS with type key = inductive and module Set := Indset_envmodule Constrmap_env :
CMap.ExtS with type key = constructor and module Set := Constrset_envHash-consing
index in the rel_context part of environment starting by the end, inverse of de Bruijn indice
Module paths
module PRset : CSig.USetS with type elt = Projection.Repr.tmodule PRpred : Predicate.S with type elt = Projection.Repr.tPredicate on projection representation (ignoring unfolding state)
Global reference is a kernel side type for all references together
Located identifiers and objects with syntax.
- Identifiers
- Type aliases
- Directory paths = section names paths
- Unique names for bound modules
- The module part of the kernel name
- The absolute names of objects seen by kernel
- Signature for quotiented names
- Constant Names
- Inductive names
- Hash-consing
- Module paths
- Global reference is a kernel side type for all references together