1-Categorical
2-Categorical
-Categorical
Model-categorical
Contents
Principles
Extensions
The Kan extension of a functor with respect to a functor
is, if it exists, a “best approximation” to the problem of finding a functor such that
i.e. to extending the domain of through from to .
More generally, this makes sense in any 2-category other than Cat.
Similarly, a Kan lift is the best approximation to lifting a morphism through a morphism
to a morphism
There are two definitions of Kan extensions, one of which is stronger than the other.
When the stronger (or “pointwise”) type of Kan extension exists, then it is also a Kan extension in the other (or “weak”) sense, but a “weak” Kan extension can exist without being pointwise (see below).
Ordinary, or “weak” Kan extensions, are given by adjoints to (or, more generally, universal transformations to/from) precomposition functors between functor categories.
Strong, or “pointwise,” Kan extensions, are computed at each input by a certain weighted (co)limit.
Kan extensions that are computed by limits and colimits are sometimes called pointwise Kan extensions, as in Categories Work. On the other hand, some authors (such as Kelly) assert that only pointwise Kan extensions deserve the name “Kan extension,” and use a term such as ”weak Kan extension” for a functor equipped with a universal natural transformation. It is certainly true that most Kan extensions which arise in practice are pointwise. This distinction is even more important in enriched category theory.
Any functor induces, by precomposition, a functor between functor categories
(In some contexts, this functor might be called ; see “remark on terminology” below.)
If has a left adjoint, then this left adjoint is called left Kan extension along and denoted
The image of some functor is called the left Kan extension of along . Similarly, if has a right adjoint, this right adjoint is called right Kan extension along and denoted
We may call this the global definition of Kan extension. It clearly makes sense as stated in other contexts, such as in enriched category theory. Note that if is the terminal category, then saying that the left (resp. right) Kan extension functor exists along is the same as saying that admits all colimits (resp. limits) of shape .
There is also a local definition of “the Kan extension of a given functor along ” which can exist even if the entire functor defined above does not. This is a generalization of the fact that a particular diagram of shape can have a limit even if not every such diagram does. It is also a special case of the fact discussed at adjoint functor that an adjoint functor can fail to exist completely, but may still be partially defined. If the local Kan extension of every single functor exists for some given and , then these local Kan extensions fit together to define a functor which is the global Kan extension.
Thus, by the general notion of “partial adjoints,” the left Kan extension of along should be a functor equipped with a natural isomorphism
i.e. a (co)representation of the functor . The local definition of right Kan extensions along is dual.
As for adjoints and limits, by the usual logic of representable functors this can be rephrased as a “universal arrow.” Namely, the left Kan extension of along is a functor equipped with a natural transformation .

with the property that every other natural transformation factors uniquely through as

Similarly for the right Kan extension, with the direction of the natural transformations reversed:

By the usual reasoning (see e.g. Categories Work, chapter IV, theorem 2), if these representations exist for every then they can be organised into a left (right) adjoint () to .
It is clear that the definition in this form makes sense in every 2-category. In slightly different terminology, the left Kan extension 1-cell along a 1-cell in a 2-category is a pair where is a 2-cell which reflects the object along the functor .
If admits certain (co)limits, then left and right Kan extensions can be computed in terms of these. The requisite limits are most naturally expressed as weighted limits, but in good cases they can be re-expressed in terms of (co)ends or conical colimits over comma categories, which may be more familiar.
Suppose given and such that for every , the weighted limit
exists. Then these objects fit together into a functor which is a right Kan extension of along . Dually, if the weighted colimit
exists for all , then they fit together into a left Kan extension . These definitions evidently make sense in the generality of -enriched category theory for a closed symmetric monoidal category. (In fact, they can be modified slightly to make sense in the full generality of a 2-category equipped with proarrows.)
In particular, this means that if is small category|small and is complete (resp. cocomplete), then all right (resp. left) Kan extensions of functors exist along any functor .
If the -enriched category is powered over , then the above weighted limit may be re-expressed in terms of an end as
So in particular when this is
Similarly, if is tensored over , then the left Kan extension is given by a coend.
In the special case that , and only then, there is an expression of a weighted (co)limit and hence a Kan extension as a (co)limit over a comma category. Namely, the right Kan extension of a functor of ordinary categories is given by the limit
if it exists for all . Likewise, the left Kan extension of a functor of ordinary categories is given by the colimit
if it exists for all . Here and are comma categories in the notation described there.
Not all Kan extensions in the universal-transformation sense defined above are pointwise Kan extensions, i.e. computed as weighted (co)limits. Non-pointwise Kan extensions can exist even when does not admit very many limits. For instance, the Kan extensions that arise in the study of derived functors are not pointwise.
The upshot is that if a pointwise extension exists then it is the same as the corresponding non-pointwise extension, but the converse does not always hold. Instead a non-pointwise extension is pointwise if and only if it is preserved by all representable functors (Categories Work, theorem X.5.3).
The global definition of Kan extensions for -functors in terms of left/right adjoints to pullbacks may be interpreted essentially verbatim in the context of (infinity,1)-categories using the corresponding notion of limit in quasi-categories.
Details are in section 4.3, p. 215 of HTT.
For the point, the right Kan extension of is the limit of , and the left Kan extension is the colimit .
For a morphism of sites coming from a functor of the underlying categories, the left Kan extension of functors along is the inverse image operation .
see also examples of Kan extensions
For more on the following see also
The basic example for left Kan extensions using the above pointwise formula, is in the construction of the pullback of sheaves along a morphism of topological spaces. Let be a continuous map and a presheaf over . Then the formula clearly defines a presheaf on , which is in fact a sheaf if is. On the other hand, given a presheaf over we can not define pullback presheaf because might not be open in general (unless is an open map). For Grothendieck sites such would not make even sense. But one can consider approximating from above by for all which are open and take a colimit of this diagram of inclusions (all are bigger, so getting down to the lower bound means going reverse to the direction of inclusions). But inclusion implies . The latter identity involves only open sets. Thus we take a colimit over the comma category of . If is a sheaf, the colimit understood as a rule is still not a sheaf, we need to sheafify. The result is sheaf-theoretic pullback
which is a sheaf, and one can analyze this construction to show that is a left adjoint to . This usage of left Kan extension persists in the more general case of Grothendieck topologies.
Generally, for a functor, the induced “precomposition” functor on functor categories
is spoken of as pulling back a functor on to a functor on , as this operation goes in the direction opposite to that of itself. For this reason, we have above denoted this functor by . Likewise, one might call the (left or right) Kan extensions along a push forward of functors from to functors on .
This notation also coincides with that for geometric morphisms in one case: any functor between small categories induces a geometric morphism of presheaf toposes?, whose inverse image is the above and whose direct image is the right Kan extension functor. Note that preserves (finite) limits, as required of an inverse image functor, since it has a left adjoint, namely left Kan extension.
On the other hand, if is additionally a flat functor, then the above precomposition functor is also the direct image of a geometric morphism, whose inverse image is given by left Kan extension (which preserves finite limits when is flat). More generally, if and are sites and is flat and preserves covering families (i.e. it is a morphism of sites?), then precomposition is the direct image of a geometric morphism between sheaf toposes.
For example, and might be the posets and of open subsets of topological spaces (or locales) and and inclusions, in which case
come from continuous maps of topological spaces going the other way
via the usual inverse image of open subsets.
Thus, in such cases, the functor , which looks like a pullback of functors along , corresponds geometrically to a push-forward of (pre)sheaves along . Therefore, in presheaf literature (such as Categories and Sheaves) the precomposition functor induced by is usually denoted and not .
It is however noteworthy that also the opposite perspective does occur in geometrically motivated examples. For instance
if is the discrete category on smooth space and is the discrete category on the smooth space underlying the Lie group , then smooth functors (i.e. functors internal to smooth spaces) can be identified with smooth -valued functions on , and the functor on these functor categories induced by a smooth functor does correspond to the familiar notion of pullback of functions;
and similar in higher degrees: if is the smooth path groupoid of a smooth space and the smooth group regarded as a one-object Lie groupoid, then smooth functors correspond to smooth 1-forms on , and precomposition with a smooth functor corresponds to the familiar notion of pullback of 1-forms.
This means that whether or not Kan extension corresponds geometrically to pushforward or to pullback depends on the way (covariant or contravariant) in which the domain categories , are identified with geometric entities.
See for instance section 2.3 in
MacLane’s book
has a famous treatment of Kan extensions with a statement: “The notion of Kan extensions subsumes all the other fundamental concepts in category theory”. Of course, many other fundamental concepts of category theory can also be regarded as subsuming all the others.
For Kan extensions in the context of enriched category theory see
Dubuc, Eduardo J. Kan extensions in enriched category theory. Lecture Notes in Mathematics, Vol. 145 Springer-Verlag, Berlin-New York 1970 xvi+173 pp.
chapter 4 from G.M. Kelly, Basic Concepts of Enriched Category Theory, Cambridge University Press, Lecture Notes in Mathematics 64, 1982, Republished in: Reprints in Theory and Applications of Categories, No. 10 (2005) pp. 1-136 (pdf)
The -categorical discussion is in section 4.3
See also