Carmell’s contextual categories.
Interpretation of the syntactic expressions in type theory.
Let be a type theory with standard rules.
The category of contexts is defined as follows:
- Objects are finite contexts .
- Maps are context morphisms or substitutions.
- Equality of contexts and morphisms are up to definitional equality and renaming.
Contextual categories from universes
A universe in a context category consists of:
- an object
- a morphism
- for every a choice of pullback square:
This allows us to construct contexts within a universe.
Write for .
*What is ?
References
riehl-hott-semantics (definition 2.1.1)