Damus
note1plm50...
Bartosz Milewski profile picture
Now replace sets with categories. A categorical container is a category of shapes \(S\) and a (pseudo-) functor \(P \colon S \to \mathbf{Cat}\). It's the same functor that appears in the Grothendieck construction.

An arrow from \(S \triangleleft P \) to \(T \triangleleft Q \) is a functor \(S \to T\) and a natural transformation \(Q \to P\).

We can fill the container with data from a category \(X\) using a coend:
\[ T_{S \triangleleft P} X = \int^{s \colon S} (P s \to X) \]
2/3
1
Bartosz Milewski · 39w
We can take a derivative of a container with respect to an isolated object \(p_0 \colon P s\). The shapes in the derivative are pairs of objects \( (s \colon S, p_0 \colon P s ) \) and the positions are functors to \(P s \textbackslash p_0 \) (the category \(P s\) with the (isolated) object \(p_0\) ...