Kan extension
In category theory, a Kan extension is a construction that extends a functor F: \mathcal{C} \to \mathcal{E} along another functor K: \mathcal{C} \to \mathcal{D} to produce a new functor from \mathcal{D} to \mathcal{E}, characterized by a universal property.[1] Specifically, the left Kan extension \mathrm{Lan}_K F: \mathcal{D} \to \mathcal{E} is equipped with a natural transformation \eta: F \Rightarrow (\mathrm{Lan}_K F) \circ K such that for any other functor G: \mathcal{D} \to \mathcal{E} with a natural transformation \theta: F \Rightarrow G \circ K, there exists a unique natural transformation \lambda: \mathrm{Lan}_K F \Rightarrow G making the diagram commute; dually, the right Kan extension \mathrm{Ran}_K F satisfies the corresponding universal property using limits instead of colimits.[1] Pointwise, \mathrm{Lan}_K F(d) can be expressed as the colimit \mathrm{colim}_{(K \downarrow d)} F over the comma category, assuming \mathcal{E} is cocomplete and \mathcal{C} small, while \mathrm{Ran}_K F(d) is the limit \mathrm{lim}_{(d \downarrow K)} F.[1]
The concept originates from the work of Daniel M. Kan, who introduced it in his 1958 paper on adjoint functors as a means to formalize extensions in the context of limits and colimits within categories.[2] Kan extensions are intimately related to adjunctions: the left Kan extension \mathrm{Lan}_K F is left adjoint to the precomposition functor F \mapsto F \circ K, and similarly for the right version, providing a framework where many adjoint pairs arise as Kan extensions.[1] They generalize classical constructions, such as extending a function defined on a subspace to the entire space, and unify diverse notions like tensor products, Hom-functors, and free algebras.[1]
Beyond pure category theory, Kan extensions play a pivotal role in algebraic topology and homotopy theory, where left Kan extensions compute homotopy colimits and right ones compute homotopy limits, facilitating the study of derived functors and spectral sequences.[1] For instance, in the category of simplicial sets, Kan's original motivations involved extending functors related to singular complexes and geometric realizations.[2] Their existence often requires completeness or cocompleteness conditions on the codomain category, and when pointwise defined using ends or coends, they reveal deep connections to enriched category theory and monoidal structures.[1] Overall, Kan extensions exemplify the power of universal properties in categorifying classical mathematics, enabling systematic extensions and approximations across diverse mathematical domains.[1]
Preliminaries
Functors
In category theory, a functor F: \mathcal{C} \to \mathcal{D} from a category \mathcal{C} to a category \mathcal{D} consists of two mappings: one that sends each object c of \mathcal{C} to an object F(c) of \mathcal{D}, and another that sends each morphism f: c \to c' in \mathcal{C} to a morphism F(f): F(c) \to F(c') in \mathcal{D}. These mappings must preserve the structure of the categories, meaning that the identity morphism on any object c is sent to the identity on F(c), so F(\mathrm{id}_c) = \mathrm{id}_{F(c)}, and composition of morphisms is preserved, so F(g \circ f) = F(g) \circ F(f) for any composable morphisms f and g in \mathcal{C}.[3] Such functors are called covariant, as they preserve the direction of morphisms.
A contravariant functor F: \mathcal{C} \to \mathcal{D} reverses the direction of morphisms: it sends each object c to F(c) as before, but maps each morphism f: c \to c' to a morphism F(f): F(c') \to F(c) in \mathcal{D}. Preservation conditions adjust accordingly: F(\mathrm{id}_c) = \mathrm{id}_{F(c)}, and F(g \circ f) = F(f) \circ F(g) for composable f and g.[3] An example of a covariant functor is the forgetful functor from the category of groups (Grp) to the category of sets (Set), which assigns to each group its underlying set and to each group homomorphism the corresponding function between sets, thereby discarding the group operation while preserving set-theoretic structure.[4]
The collection of all functors from \mathcal{C} to \mathcal{D} forms a category denoted [\mathcal{C}, \mathcal{D}], or sometimes \mathcal{D}^\mathcal{C}, where the objects are the functors and the morphisms are natural transformations between them.[5] This construction allows functors themselves to be treated as objects within a higher-level categorical framework.
The concept of a functor was introduced by Samuel Eilenberg and Saunders Mac Lane in their 1945 paper "General Theory of Natural Equivalences," which laid the foundational terminology for category theory, including functors as mappings between categories.[3]
In category theory, a natural transformation \eta: F \Rightarrow G between two functors F, G: \mathcal{C} \to \mathcal{D} consists of a family of morphisms \{\eta_X: F(X) \to G(X)\}_{X \in \mathrm{Ob}(\mathcal{C})} in \mathcal{D}, one for each object X in \mathcal{C}, such that for every morphism f: X \to Y in \mathcal{C}, the following diagram commutes:
\begin{CD}
F(X) @>{\eta_X}>> G(X) \\
@V{F(f)}VV @VV{G(f)}V \\
F(Y) @>>{\eta_Y}> G(Y)
\end{CD}
This commutativity condition ensures that \eta respects the structure of the category \mathcal{C}.[6]
Natural transformations admit two forms of composition. Vertical composition is defined componentwise: given \eta: F \Rightarrow G and \theta: G \Rightarrow H between functors F, G, H: \mathcal{C} \to \mathcal{D}, the vertical composite \theta \cdot \eta: F \Rightarrow H has components (\theta \cdot \eta)_X = \theta_X \circ \eta_X for each X \in \mathrm{Ob}(\mathcal{C}), and this satisfies the naturality condition. Horizontal composition applies when natural transformations act between functors composed across categories: given \eta: F \Rightarrow G with F, G: \mathcal{C} \to \mathcal{D} and \theta: K \Rightarrow L with K, L: \mathcal{D} \to \mathcal{E}, the horizontal composite \theta \star \eta: K \circ F \Rightarrow L \circ G has components (\theta \star \eta)_X = \theta_{F(X)} \circ K(\eta_X) for each X \in \mathrm{Ob}(\mathcal{C}), preserving naturality.[6]
Limits provide universal approximations from above for diagrams in a category. For a small category \mathcal{J} and a functor F: \mathcal{J} \to \mathcal{C}, a limit of F is an object L \in \mathrm{Ob}(\mathcal{C}) together with a family of projections \{\pi_j: L \to F(j)\}_{j \in \mathrm{Ob}(\mathcal{J})} such that for every morphism h: j \to k in \mathcal{J}, F(h) \circ \pi_k = \pi_j; this cone from the constant functor \Delta L: \mathcal{J} \to \mathcal{C} to F is universal, meaning that for any other cone (M, \{\mu_j: M \to F(j)\}_{j}) to F, there exists a unique morphism u: M \to L in \mathcal{C} satisfying \pi_j \circ u = \mu_j for all j. Specific limits include products, which are limits over discrete diagrams (i.e., \mathcal{J} with only identity morphisms), equalizers of parallel pairs f, g: A \to B (limit over the diagram A \rightrightarrows B), and pullbacks (limits over cospan diagrams A \to C \leftarrow B).[6]
Dually, colimits approximate diagrams from below via universal cocones. For the same F: \mathcal{J} \to \mathcal{C}, a colimit is an object R \in \mathrm{Ob}(\mathcal{C}) with injections \{\iota_j: F(j) \to R\}_{j \in \mathrm{Ob}(\mathcal{J})} such that for every h: j \to k in \mathcal{J}, \iota_k \circ F(h) = \iota_j; this cocone from F to \Delta R is universal, so any other cocone (N, \{\nu_j: F(j) \to N\}_{j}) factors uniquely through R via a morphism v: R \to N with \nu_j = v \circ \iota_j for all j. Representative colimits are coproducts (colimits over discrete diagrams), coequalizers of parallel pairs (colimit over A \rightrightarrows B), and pushouts (colimits over span diagrams A \leftarrow C \to B).[6]
Adjoint functors generalize these universal constructions: a pair of functors L: \mathcal{C} \to \mathcal{D} and R: \mathcal{D} \to \mathcal{C} forms an adjunction L \dashv R if there is a natural bijection \mathrm{Hom}_{\mathcal{D}}(L(X), Y) \cong \mathrm{Hom}_{\mathcal{C}}(X, R(Y)) for all X \in \mathrm{Ob}(\mathcal{C}), Y \in \mathrm{Ob}(\mathcal{D}), natural in both variables; this isomorphism is witnessed by unit and counit natural transformations.[6]
Definition
Left Kan Extension
Given categories \mathcal{A}, \mathcal{C}, and \mathcal{D}, along with functors K: \mathcal{A} \to \mathcal{C} and G: \mathcal{A} \to \mathcal{D}, the left Kan extension of G along K consists of a functor \mathrm{Lan}_K G: \mathcal{C} \to \mathcal{D} equipped with a natural transformation \eta: G \Rightarrow (\mathrm{Lan}_K G) \circ K. This pair (\mathrm{Lan}_K G, \eta) satisfies a universal property: for any other functor F: \mathcal{C} \to \mathcal{D} and natural transformation \theta: G \Rightarrow F \circ K, there exists a unique natural transformation \lambda: \mathrm{Lan}_K G \Rightarrow F such that \theta = (\lambda \circ K) \cdot \eta, i.e., the following triangle commutes:
G ──η──→ (Lan_K G) ∘ K
╲ ╲
θ λ ∘ K
╲ ╲
╲ ╲
↓ ↓
F ∘ K
G ──η──→ (Lan_K G) ∘ K
╲ ╲
θ λ ∘ K
╲ ╲
╲ ╲
↓ ↓
F ∘ K
When \mathcal{D} is cocomplete and \mathcal{A} is small, the left Kan extension exists and admits a pointwise formula. Specifically, for each object c \in \mathcal{C}, the value (\mathrm{Lan}_K G)(c) is the colimit of G over the comma category (K \downarrow c), whose objects are pairs (a, f) with a \in \mathcal{A} and f: K(a) \to c a morphism in \mathcal{C}, and whose morphisms are commuting triangles in \mathcal{A}. This colimit is taken with respect to the evident diagram induced by G.[7]
The left Kan extension functor \mathrm{Lan}_K: [\mathcal{A}, \mathcal{D}] \to [\mathcal{C}, \mathcal{D}] is the left adjoint to the precomposition functor K^*: [\mathcal{C}, \mathcal{D}] \to [\mathcal{A}, \mathcal{D}] given by K^*(H) = H \circ K, provided that \mathrm{Lan}_K exists; the corresponding unit of the adjunction recovers the universal natural transformation \eta. This adjointness underscores the "free" nature of the left Kan extension, which extends G in the most universal manner compatible with K.[7]
Any two left Kan extensions of G along K are isomorphic via a unique natural isomorphism compatible with the respective universal transformations, as dictated by the universal property.
Right Kan Extension
In category theory, the right Kan extension provides a universal means of extending a functor along another functor in a limit-preserving manner. Given functors K: \mathcal{A} \to \mathcal{C} and G: \mathcal{A} \to \mathcal{D}, the right Kan extension \operatorname{Ran}_K G: \mathcal{C} \to \mathcal{D} is a functor, if it exists, together with a natural transformation \varepsilon: (\operatorname{Ran}_K G) \circ K \Rightarrow G that satisfies a universal property: for any other functor H: \mathcal{C} \to \mathcal{D} and natural transformation \theta: H \circ K \Rightarrow G, there exists a unique natural transformation \overline{\theta}: H \Rightarrow \operatorname{Ran}_K G such that \theta = \varepsilon \cdot (\overline{\theta} \circ K).[8] This setup dualizes the left Kan extension by reversing the direction of the universal arrow, emphasizing preservation of limits over colimits.[7]
The pointwise construction of the right Kan extension expresses it explicitly in terms of limits in the codomain category \mathcal{D}. For each object c \in \mathcal{C},
(\operatorname{Ran}_K G)(c) = \lim_{(f: c \to K a) \in (c \downarrow K)} G(a),
where (c \downarrow K) denotes the comma category whose objects are morphisms f: c \to K a for a \in \mathcal{A} and whose morphisms are commuting triangles in \mathcal{C}. This formula requires \mathcal{D} to be complete (i.e., to have all small limits) and \mathcal{A} to be small, ensuring the comma category is small and the limit exists.[8] Equivalently, it can be viewed as a weighted limit, with the weight given by the representable functor \mathcal{C}(c, K(-)): \mathcal{A}^{\mathrm{op}} \to \mathbf{Set}.[7]
Existence of the right Kan extension is guaranteed under certain conditions on K and G. If \mathcal{A} is small and \mathcal{D} is complete, the pointwise limits exist, yielding \operatorname{Ran}_K G. Additionally, if K: \mathcal{A} \to \mathcal{C} is dense (meaning the canonical natural transformation from the identity to the left Kan extension \operatorname{Lan}_K K is an isomorphism), then \operatorname{Ran}_K G exists for any G and preserves limits. If G itself preserves limits, the right Kan extension can often be constructed even when \mathcal{D} lacks full completeness.[9]
As the dual of the left Kan extension, the right Kan extension \operatorname{Ran}_K serves as the right adjoint to the precomposition functor K^*: [\mathcal{C}, \mathcal{D}] \to [\mathcal{A}, \mathcal{D}], forming the adjunction K^* \dashv \operatorname{Ran}_K. This duality interchanges colimits (central to left Kan extensions) with limits and reverses the variance in the universal property.[8]
Properties
As Colimits and Limits
For the left Kan extension \mathrm{Lan}_F G: \mathcal{B} \to \mathcal{E} evaluated at an object X \in \mathcal{B}, consider the comma category (F \downarrow X) obtained by postcomposing the codomain of F with the constant functor \Delta_X: \mathbf{1} \to \mathcal{B} at X, where \mathbf{1} is the terminal category. The objects of (F \downarrow X) are pairs (A \in \mathcal{A}, f: F(A) \to X), and morphisms are arrows h: A \to A' in \mathcal{A} such that f' \circ F(h) = f. The projection \pi_X: (F \downarrow X) \to \mathcal{A} induces the composite G \circ \pi_X: (F \downarrow X) \to \mathcal{E}. Assuming \mathcal{E} has all colimits, the left Kan extension is given by
(\mathrm{Lan}_F G)(X) \cong \varinjlim_{(F \downarrow X)} (G \circ \pi_X),
the colimit of this composite functor. This construction satisfies the universal property: the unit natural transformation \eta: G \Rightarrow (\mathrm{Lan}_F G) \circ F provides the universal cocone from G \circ \pi_X to (\mathrm{Lan}_F G)(X), with cocone legs \eta_A: G(A) \to (\mathrm{Lan}_F G)(F(A)) induced by the identity morphisms in (F \downarrow F(A)). For any other cocone from G \circ \pi_X to an object Y \in \mathcal{E}, there exists a unique cocone morphism to (\mathrm{Lan}_F G)(X) factoring through the universal one. To sketch the proof, the colimit cocone is defined componentwise via the coequalizer of the pair of arrows induced by the action of G on morphisms in (F \downarrow X); universality follows from the colimit's universal property, ensuring that any mediating morphism respects the commuting squares in the comma category.[10][11]
Dually, the right Kan extension \mathrm{Ran}_F G: \mathcal{B} \to \mathcal{E} at X \in \mathcal{B} is expressed using the comma category (X \downarrow F), whose objects are pairs (A \in \mathcal{A}, f: X \to F(A)) and whose morphisms h: A \to A' satisfy F(h) \circ f = f'. The projection \pi^X: (X \downarrow F) \to \mathcal{A} composes with G to yield G \circ \pi^X: (X \downarrow F) \to \mathcal{E}. Assuming \mathcal{E} has all limits,
(\mathrm{Ran}_F G)(X) \cong \varprojlim_{(X \downarrow F)} (G \circ \pi^X),
the limit of this composite. The counit \epsilon: (\mathrm{Ran}_F G) \circ F \Rightarrow G supplies the universal cone to G \circ \pi^X from (\mathrm{Ran}_F G)(X), with cone legs \epsilon_A: (\mathrm{Ran}_F G)(F(A)) \to G(A) arising from the identity projections in (F(A) \downarrow F). Universality ensures that for any other cone to G \circ \pi^X from Y \in \mathcal{E}, there is a unique cone morphism from (\mathrm{Ran}_F G)(X) to Y. The proof mirrors the left case: the limit cone is constructed via the equalizer of the pair induced by G on morphisms in (X \downarrow F), with universality inherited from the limit's defining property and verified on the commuting triangles.[10][11]
These representations imply preservation properties for Kan extensions. Specifically, pointwise left Kan extensions preserve colimits, as the comma category construction ensures the colimit over (F \downarrow \varinjlim X_i) is the colimit of the Kan extensions over X_i. Dually, pointwise right Kan extensions preserve limits.[10]
As Coends and Ends
Kan extensions can be expressed in a compact form using coends and ends, which provide an integral-like notation particularly suited for explicit computations in category theory.[6] A coend is a colimit taken over a twisted arrow category associated to a bifunctor, where the objects are pairs consisting of an object and a morphism from or to it, effectively integrating over both objects and compatible morphisms in the domain category.[6] Dually, an end is a limit over the same twisted arrow category for the opposite bifunctor, capturing a universal product compatible across all such morphisms.[6] Coends generalize colimits by incorporating this twisted structure, allowing for more flexible constructions beyond simple diagrams.[6]
For a left Kan extension, given functors K: \mathcal{A} \to \mathcal{C} and G: \mathcal{A} \to \mathcal{D}, the extension \mathrm{Lan}_K G: \mathcal{C} \to \mathcal{D} evaluated at an object C \in \mathcal{C} is given by the coend formula
(\mathrm{Lan}_K G)(C) = \int^{A \in \mathcal{A}} G(A) \cdot \mathcal{C}(K A, C),
where \cdot denotes the copower (or tensor product) in \mathcal{D} when working in an enriched setting.[6] This coend exists provided the relevant colimits do, and it satisfies the universal property of the left Kan extension through a dinatural transformation.[6] The formula arises from viewing the extension as a colimit weighted by the hom-functor \mathcal{C}(K-, C), quotiented by the action of morphisms in \mathcal{A}.[6]
Dually, the right Kan extension \mathrm{Ran}_K G: \mathcal{C} \to \mathcal{D} at C \in \mathcal{C} is expressed using an end:
(\mathrm{Ran}_K G)(C) = \int_{A \in \mathcal{A}} [\mathcal{C}(C, K A), G(A)],
where [-, -] is the internal hom (or cotensor) in \mathcal{D}.[6] This end represents a limit weighted by the contravariant hom-functor \mathcal{C}(C, K-), ensuring compatibility via the end's universal dinatural transformation.[6] In both cases, the twisted arrow perspective ensures that the construction accounts for the reindexing along K, making the formulas precise for pointwise evaluation.[6]
These coend and end formulations offer significant advantages for computations, especially in enriched category theory, where they reduce complex functor extensions to manageable limits or colimits using tensor and cotensor structures, facilitating calculations in settings like abelian or simplicial categories without explicit recourse to comma categories.[6] The integral notation also aligns naturally with Fubini-type theorems for interchanging ends and coends, streamlining proofs of preservation properties and adjunctions.[6]
Relations to Other Concepts
To Limits and Colimits
Kan extensions provide a unified framework for understanding limits and colimits in category theory, allowing these constructions to be recovered as special instances thereof. Specifically, colimits of diagrams in a category \mathcal{C} arise as left Kan extensions along the Yoneda embedding. For a small category \mathcal{J} and a functor F: \mathcal{J} \to \mathcal{C}, the colimit \operatorname{colim}^\mathcal{J} F is given by the left Kan extension \operatorname{Lan}_{y_\mathcal{J}} F evaluated appropriately in the presheaf category, or more precisely, it satisfies the universal property where \mathcal{C}(\operatorname{colim}^\mathcal{J} F, c) \cong \int^j \mathcal{C}(F j, c) for all c \in \mathcal{C}, with the integral denoting the coend over \mathcal{J}.[12] This coend expression underlies the Kan extension formulation, where the colimit is the representing object for the presheaf of compatible families.[12]
Dually, limits are realized as right Kan extensions, particularly for contravariant diagrams. For a functor F: \mathcal{J}^\mathrm{op} \to \mathcal{C}, the limit \lim^\mathcal{J} F corresponds to the right Kan extension \operatorname{Ran}_{y_{\mathcal{J}^\mathrm{op}}} F along the Yoneda embedding y_{\mathcal{J}^\mathrm{op}}: \mathcal{J}^\mathrm{op} \to [\mathcal{J}, \Set], satisfying \mathcal{C}(c, \lim^\mathcal{J} F) \cong \int_j \mathcal{C}(c, F j). This perspective extends the conical cases to weighted limits and colimits in enriched settings, emphasizing the generality of Kan extensions over direct diagram constructions.[12]
A key property linking Kan extensions to these constructions is the notion of dense functors. A functor K: \mathcal{A} \to \mathcal{C} is dense if every object in \mathcal{C} can be expressed as a colimit of the image of K, which is equivalent to the identity functor on \mathcal{C} being isomorphic to the left Kan extension of K along itself: \mathrm{id}_\mathcal{C} \cong \operatorname{Lan}_K K. The Yoneda embedding exemplifies a dense functor, ensuring that presheaf categories are freely generated by representables under colimits.[12]
This viewpoint underscores the foundational role of Kan extensions, as articulated in early developments of categorical algebra, where they unify limits, colimits, and adjoint functors within a cohesive structure.
To Adjunctions
A fundamental connection between Kan extensions and adjunctions arises from the fact that Kan extensions are precisely the adjoints to the precomposition functors they induce. Specifically, given functors K: \mathcal{A} \to \mathcal{B} and a category \mathcal{E}, the precomposition functor K^*: [\mathcal{B}, \mathcal{E}] \to [\mathcal{A}, \mathcal{E}], defined by F \mapsto F \circ K, has both a left adjoint \mathrm{Lan}_K and a right adjoint \mathrm{Ran}_K, provided these Kan extensions exist.[6] This adjunction \mathrm{Lan}_K \dashv K^* \dashv \mathrm{Ran}_K encapsulates how extending functors along K universally approximates diagrams in \mathcal{E}.[6]
In the special case where K = i: \mathcal{A} \to \mathcal{C} is a full inclusion of categories, the left Kan extension \mathrm{Lan}_i serves as the "free" or inductive extension functor, while the right Kan extension \mathrm{Ran}_i acts as the "forgetful" or coinductive one, forming the adjunction \mathrm{Lan}_i \dashv i^* \dashv \mathrm{Ran}_i.[6] Since i is fully faithful, \mathrm{Ran}_i often coincides with the inclusion itself in appropriate settings, reflecting how the right extension simply restricts back without alteration.[10]
The unit and counit of these adjunctions derive directly from the universal morphisms defining the Kan extensions. For the left adjunction \mathrm{Lan}_K \dashv K^*, the unit \eta: \mathrm{Id}_{[\mathcal{A}, \mathcal{E}]} \to K^* \circ \mathrm{Lan}_K arises from the canonical map \eta_G: G \to ( \mathrm{Lan}_K G ) \circ K for each G: \mathcal{A} \to \mathcal{E}, while the counit \epsilon: \mathrm{Lan}_K \circ K^* \to \mathrm{Id}_{[\mathcal{B}, \mathcal{E}]} is induced by the universal property of \mathrm{Lan}_K.[6] These components ensure the triangular identities hold, mirroring the structure of any adjunction.[10]
A concrete illustration occurs in the context of groups and sets: the inclusion i can be viewed through the lens of the forgetful functor U: \mathbf{Grp} \to \mathbf{Set}, where the free group functor F: \mathbf{Set} \to \mathbf{Grp} is the left Kan extension \mathrm{Lan}_U of the identity on \mathbf{Set}, adjoint to U.[6] Here, F freely generates the group structure on a set, while U forgets it, embodying the free-forgetful adjunction via Kan extension.[10]
Furthermore, in enriched or higher category theory, Kan extensions along fibrations or opfibrations preserve existing adjunctions, ensuring that the extended functors maintain their adjoint relationships.[13] This preservation property is crucial for lifting adjunctions across fibered categories.[13]
Examples and Computations
Pointwise Computations
Pointwise Kan extensions are those that can be computed objectwise in the codomain category using limits or colimits, providing an explicit method to construct the extending functor when the necessary conical limits exist. For a left Kan extension \operatorname{Lan}_K G of a functor G: \mathcal{C} \to \mathcal{D} along K: \mathcal{C} \to \mathcal{E}, the value at an object c \in \mathcal{E} is given by the colimit formula:
\operatorname{Lan}_K G(c) \cong \varinjlim_{(K \downarrow c) \to \mathcal{C} \xrightarrow{G} \mathcal{D}},
where the colimit is taken over the diagram induced by the projection functor from the comma category (K \downarrow c) to \mathcal{C}, provided this colimit exists in \mathcal{D}.[14]
To compute \operatorname{Lan}_K G(c) step by step in a concrete category like \mathbf{Set}, first construct the comma category (K \downarrow c): its objects are pairs (d, f) with d \in \mathcal{C} and f: K(d) \to c a morphism in \mathcal{E}, while morphisms from (d, f) to (d', f') are arrows h: d \to d' in \mathcal{C} such that the triangle K(h); f' = f commutes in \mathcal{E}. The projection functor \Pi_c: (K \downarrow c) \to \mathcal{C} sends (d, f) \mapsto d and h \mapsto h, inducing a diagram (K \downarrow c) \xrightarrow{\Pi_c} \mathcal{C} \xrightarrow{G} \mathcal{D}. The colimit of this diagram in \mathbf{Set} is then the disjoint union of the sets G(d) over all objects (d, f) in (K \downarrow c), quotiented by the relations imposed by the morphisms: specifically, for each morphism h: (d, f) \to (d', f'), identify G(h): G(d) \to G(d') in the coproduct. This yields the explicit set-theoretic construction when \mathcal{C} is small and \mathbf{Set} is cocomplete.[14]
When \mathcal{C} is small, this colimit formula derives from the more general coend expression for the left Kan extension:
\operatorname{Lan}_K G(c) \cong \int^{d \in \mathcal{C}} \mathcal{E}(K(d), c) \cdot G(d),
where \cdot denotes the copower (tensor product) in \mathcal{D}. The coend \int^{d} \mathcal{E}(K(d), c) \cdot G(d) pairs each hom-set \mathcal{E}(K(d), c) worth of copies of G(d), which, by the universal property of coends and the structure of the comma category, unfolds into the colimit over (K \downarrow c) as above; each object (d, f) in (K \downarrow c) corresponds to an element of \mathcal{E}(K(d), c), and the coend's quotient by the action of morphisms in \mathcal{C} matches the colimit's relations. This equivalence holds in cocomplete categories like \mathbf{Set}, bridging integral and conical computations.[14]
In cocomplete codomain categories \mathcal{D} with small \mathcal{C}, left Kan extensions exist pointwise via the colimit formula above. Separately, K is dense in \mathcal{E} if for every c \in \mathcal{E}, c is the colimit of the diagram (K \downarrow c) \xrightarrow{\Pi_c} \mathcal{E}, equivalently if \operatorname{Lan}_K K \cong \mathrm{id}_\mathcal{E}. In this case, the nerve of a category realizes as a left Kan extension along the inclusion of finite ordinals into the simplex category, leveraging density to compute the geometric realization as a colimit of representables.[14]
A common pitfall in pointwise computations arises when \mathcal{D} lacks the required colimits: even if a global left Kan extension exists via the universal property, the pointwise formula may fail to exist or differ if the comma categories (K \downarrow c) do not admit colimits in \mathcal{D}, necessitating alternative methods like coends in enriched settings or verification of existence via adjointness.[14]
Specific Category Examples
In the category of sets, the pointwise formula for the left Kan extension of a functor G: \mathcal{A} \to \mathbf{Set} along a functor K: \mathcal{A} \to \mathbf{Set} is given by \operatorname{Lan}_K G(c) = \int^{a \in \mathcal{A}} G(a) \times \mathbf{Set}(K(a), c), where the coend is realized as a coproduct (disjoint union) over the objects a of copies of G(a) indexed by the elements of \mathbf{Set}(K(a), c), quotiented by the relations from morphisms in \mathcal{A}.[6] This computation highlights how left Kan extensions in \mathbf{Set} are constructed using coproducts as the underlying colimit. Dually, the right Kan extension \operatorname{Ran}_K G(c) is computed as an end, \int_{a \in \mathcal{A}} [ \mathbf{Set}(c, K(a)), G(a) ], which is the equalizer of the actions on the product over a of the sets of functions \mathbf{Set}(c, K(a)) \to G(a), illustrating the role of products and equalizers in right Kan extensions.[6]
In the category of topological spaces \mathbf{Top}, the singular simplicial set \operatorname{Sing}(X)_n = \mathbf{Top}(\Delta^n, X) arises from the left Kan extension \operatorname{Lan}_j y along the inclusion j: \Delta \hookrightarrow \mathbf{Top} of the simplex category \Delta (the category of finite ordinals and order-preserving maps) into \mathbf{Top}, where y is the representable functor on \Delta. The singular chain complex C_\bullet(X) is obtained by applying the free abelian group functor to \operatorname{Sing}(X) and normalizing the resulting simplicial abelian group.[6]
To verify these Kan extensions satisfy the universal property, consider a left Kan extension \operatorname{Lan}_K G: \mathbf{E} \to \mathbf{D} of G: \mathcal{A} \to \mathbf{D} along K: \mathcal{A} \to \mathbf{E}. For any functor F: \mathbf{E} \to \mathbf{D}, there is a natural isomorphism \mathbf{D}(F(-), \operatorname{Lan}_K G(-)) \cong \int_{a \in \mathcal{A}} \mathbf{D}(G(a), F(K(a))), where the end encodes the natural transformations.[6] In the ordinary case with \mathbf{D} = \mathbf{Set}, this specializes to \mathbf{Set}(F(c), \operatorname{Lan}_K G(c)) \cong \int_{a} \mathbf{Set}(G(a), F(K(a)))^{ \mathbf{Set}(K(a), c) } for each object c \in \mathbf{E}, confirming the extension is universal with respect to precomposition with K.[6] The examples above satisfy this bijection, as the coproducts and singular constructions mediate the required natural transformations uniquely.
Applications
In Algebraic Topology
In algebraic topology, Kan extensions were introduced by Daniel M. Kan in his 1958 paper on adjoint functors, where he constructed pointwise left and right Kan extensions via colimits over comma categories, particularly motivated by applications in categories of simplicial sets to generalize lifting properties central to homotopy theory.[15] Building on his 1957 definition of Kan fibrations as maps satisfying horn-filling conditions that model path-loop fibrations, Kan extensions provide a categorical framework for extending constructions across fibrations while preserving homotopical data, such as in the path-loop fiber sequence for Kan complexes. Right Kan extensions, in particular, capture the universal property of pulling back along fibrations, enabling fiberwise extensions in simplicial models of topological spaces.
In homotopy categories, left Kan extensions along inclusions—such as the inclusion of the simplex category into the category of simplicial sets or of finite cellular complexes into all spaces—yield free resolutions and cellular approximations essential for computing invariants like homotopy groups.[16] For instance, the bar construction, which resolves objects in the homotopy category by freely adjoining homotopies, is realized as a left Kan extension along the inclusion of a category into its free category with inverses, facilitating minimal models and Postnikov towers in classical algebraic topology.[17]
In the context of spectra and stable homotopy theory, Kan extensions preserve the triangulated structure of the stable homotopy category by maintaining cofiber sequences and exactness properties.[18] When working with stable ∞-categories modeling spectra, left and right homotopy Kan extensions along inclusions or quotient functors ensure that derived functors remain exact, thus preserving triangles and enabling the extension of generalized cohomology theories across stable modules while respecting smash products and suspensions.[19]
A representative example is the extension of a cohomology theory defined on simplicial sets to topological spaces via the adjunction between geometric realization and the singular functor; for instance, cohomology theories on topological spaces arise via this adjunction, and the Quillen equivalence between the model categories of simplicial sets and topological spaces ensures that the extended theory satisfies the Eilenberg-Steenrod axioms on all spaces.[20]
In Enriched and Higher Category Theory
In enriched category theory, Kan extensions are formulated over a monoidal category V, where categories are V-enriched, meaning hom-objects lie in V. The left Kan extension of a V-functor F: \mathcal{A} \to \mathcal{B} along K: \mathcal{A} \to \mathcal{C} is given pointwise by \Lan_K F(C) = \int^{A \in \mathcal{A}} \mathcal{C}(K A, C) \otimes F(A), assuming \mathcal{B} is tensored over V, while the right Kan extension is \Ran_K F(C) = \int_{A \in \mathcal{A}} [\mathcal{C}(K A, C), F(A)], using cotensors. These expressions generalize weighted colimits and limits, where the weight is the representable \mathcal{C}(K-, C): \mathcal{A}^\op \to V, and rely on V-ends and coends for computation; for instance, coends \int^A T(A,A) serve as enriched analogues of colimits over diagonal actions. This framework, developed in the context of V-categories, ensures that Kan extensions preserve the enriched structure and exist under conditions like the existence of the required ends or coends in V.[7]
In 2-categories, Kan extensions are generalized to pseudo-Kan extensions to account for the weak invertibility of 2-cells. A pseudo-left Kan extension of a pseudofunctor F: \mathcal{A} \to \mathcal{B} along K: \mathcal{A} \to \mathcal{C} consists of a pseudofunctor \Lan_K F: \mathcal{C} \to \mathcal{B} equipped with a 2-natural transformation \eta: \Lan_K F \circ K \Rightarrow F that is pseudo-initial among such transformations, often constructed using comma objects or weighted colimits in the 2-categorical sense. Pointwise versions exist when the 2-category admits pointwise pseudo-colimits, analogous to the enriched case but with 2-natural transformations replacing ordinary ones; for example, the extension satisfies a universal property up to isomorphism via invertible 2-cells. This notion extends classical Kan extensions to settings like the 2-category \mathbf{Cat} of categories, where pseudo-natural transformations mediate the universality.
In \infty-categories, as formalized in higher topos theory, \infty-Kan extensions model homotopy-coherent extensions of functors while preserving higher homotopical data. A left \infty-Kan extension of an \infty-functor f: \mathcal{A} \to \mathcal{D} along i: \mathcal{A} \to \mathcal{C} is an \infty-functor F: \mathcal{C} \to \mathcal{D} such that, for each object X \in \mathcal{C}, the induced map \mathcal{A}/i(X) \to \mathcal{C}/X \to \mathcal{D}/F(X) exhibits F(X) as the homotopy colimit of the composite, with the right extension defined dually via homotopy limits. These constructions arise from simplicial localizations of model categories or quasicategories, where \infty-categories are presented as weak Kan complexes, ensuring that Kan extensions compute homotopy colimits as derived colimits in the underlying model structure. Existence follows from the cocompleteness of presentable \infty-categories, with pointwise formulas holding under fibrancy conditions.[21]
Applications of Kan extensions in enriched and higher settings include their role in derived categories, where the total derived functor of a left exact functor F: \mathcal{A} \to \mathcal{B} between abelian categories is realized as the left Kan extension \Lan_i LF, with i: \Ho(\mathcal{A}) \to \mathcal{A}^\dg the inclusion into the dg-enhancement, facilitating computations of derived tensor products M \otimes^\mathbb{L} N as homotopy colimits over projective resolutions. In operad theory, algebraic Kan extensions along morphisms of operads encode extensions of algebraic structures, such as deforming symmetric operads to colored ones, where the extension \Lan_P O of an operad O along a classifier P produces new operations preserving homotopy-coherent compositions in \infty-operads. These tools underpin modern algebraic constructions, like those in derived algebraic geometry.[22][23]