Definition. Displayed Category
A displayed category over a base category packages the data of a category that βlies overβ : each object and each morphism of is equipped with a fiber of objects and morphisms displayed atop it. It consists of
- For each object , a type of displayed objects lying over . We write for a displayed object over .
- For each morphism and displayed objects and , a set of displayed morphisms lying over . We write such a displayed morphism as or , subscripting the arrow with the base morphism it lies over.
- A displayed composition operation. For and with displayed morphisms and , there is a displayed morphism lying over the composite .
- For each , a displayed identity lying over .
Left-unitality, displayed: for all , a heterogeneous equality
Right-unitality, displayed: for all , a heterogeneous equality
Associativity, displayed: for all , , over , , , a heterogeneous equality
Because the type of displayed morphisms depends on the base morphism , the two sides of each displayed law inhabit different displayed hom-sets β those indexed by the two sides of the corresponding base-category equation. Each displayed law is therefore a heterogeneous equality : a path from to lying over the base path , rather than an equation within a single fixed set.
Concretely, this definition models the one used in the Cubical standard library [1].
A displayed category is to a category as a dependent type is to a context. In this way, displayed categories are effectively dependent categories, as we present the structure of as a category parametrized by the structure of .
Displayed categories were introduced by Ahrens and Lumsdaine [2]. The point is that a displayed category over is equivalent to the data of a category together with a functor , but presented as families indexed by the objects and morphisms of β so that constructions like Grothendieck fibrations can be defined without ever invoking equality of objects.