package coq
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=b1501d686c21836302191ae30f610cca57fb309214c126518ca009363ad2cd3c
doc/coq-core.kernel/Names/index.html
Module Names
Source
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.
- Label.t is an equivalent of Id.t made distinct for semantical purposes.
- ModPath.t are module paths.
- KerName.t are absolute names of objects in Coq.
Identifiers
Representation and operations on identifiers that are allowed to be anonymous (i.e. "_" in concrete syntax).
Type aliases
Directory paths = section names paths
Names of structure elements
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
The *_env
modules consider an order on user part of names the others consider an order on canonical part of names
A 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
Hash-consing
index in the rel_context
part of environment starting by the end, inverse of de Bruijn indice
equalities on constant and inductive names (for the checker)
Module paths
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
- Names of structure elements
- 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