Kan extensions are universal constructs in category theory, a branch of mathematics. They are closely related to adjoints, but are also related to limits and ends. They are named after Daniel M. Kan, who constructed certain (Kan) extensions using limits in 1960.
An early use of (what is now known as) a Kan extension from 1956 was in homological algebra to compute derived functors.
In Categories for the Working Mathematician Saunders Mac Lane titled a section "All Concepts Are Kan Extensions", and went on to write that
The notion of Kan extensions subsumes all the other fundamental concepts of category theory.
Kan extensions generalize the notion of extending a function defined on a subset to a function defined on the whole set. The definition, not surprisingly, is at a high level of abstraction. When specialised to posets, it becomes a relatively familiar type of question on constrained optimization.
Definition
A Kan extension proceeds from the data of three categories
\( {\mathbf {A}},{\mathbf {B}},{\mathbf {C}}
and two functors
\( {\displaystyle X:\mathbf {A} \to \mathbf {C} ,F:\mathbf {A} \to \mathbf {B} },
and comes in two varieties: the "left" Kan extension and the "right" Kan extension of X X along F F.
The right Kan extension amounts to finding the dashed arrow and the natural transformation ϵ \epsilon in the following diagram:
Right Kan Extension
Formally, the right Kan extension of X along F consists of a functor \( {\displaystyle R:\mathbf {B} \to \mathbf {C} } \) and a natural transformation \( {\displaystyle \epsilon :RF\to X} \_ that is couniversal with respect to the specification, in the sense that for any functor \( {\displaystyle M:\mathbf {B} \to \mathbf {C} } \) and natural transformation \( {\displaystyle \mu :MF\to X}, \) a unique natural transformation \( {\displaystyle \delta :M\to R} \) is defined and fits into a commutative diagram:
RightKanExtension universal property
where \( \delta _{F} \) is the natural transformation with \( {\displaystyle \delta _{F}(a)=\delta (Fa):MF(a)\to RF(a)} \) for any object a a of A . {\displaystyle \mathbf {A} .}
The functor R is often written \( \operatorname {Ran}_{F}X. \)
As with the other universal constructs in category theory, the "left" version of the Kan extension is dual to the "right" one and is obtained by replacing all categories by their opposites.
The effect of this on the description above is merely to reverse the direction of the natural transformations.
(Recall that a natural transformation τ \tau between the functors \( {\displaystyle F,G:\mathbf {C} \to \mathbf {D} } \) consists of having an arrow \( {\displaystyle \tau (a):F(a)\to G(a)} \) for every object a a of \( \mathbf {C} \) , satisfying a "naturality" property. When we pass to the opposite categories, the source and target of \( {\displaystyle \tau (a)} \) are swapped, causing \( \tau \) to act in the opposite direction).
This gives rise to the alternate description: the left Kan extension of X along F consists of a functor \( {\displaystyle L:\mathbf {B} \to \mathbf {C} } \) and a natural transformation \( {\displaystyle \eta :X\to LF} \) that are universal with respect to this specification, in the sense that for any other functor \( {\displaystyle M:\mathbf {B} \to \mathbf {C} } \) and natural transformation \( {\displaystyle \alpha :X\to MF} \), a unique natural transformation \( {\displaystyle \sigma :L\to M} \) exists and fits into a commutative diagram:
Left Kan Extension LeftKanExtension universal property
where σ F \sigma _{F} is the natural transformation with \( {\displaystyle \sigma _{F}(a)=\sigma (Fa):LF(a)\to MF(a)} \_ for any object a of \( \mathbf {A} \).
The functor L is often written \( \operatorname {Lan}_{F}X \).
The use of the word "the" (as in "the left Kan extension") is justified by the fact that, as with all universal constructions, if the object defined exists, then it is unique up to unique isomorphism. In this case, that means that (for left Kan extensions) if L,M are two left Kan extensions of X along F, and \( {\displaystyle \eta ,\alpha } \) are the corresponding transformations, then there exists a unique isomorphism of functors \( {\displaystyle \sigma :L\to M} \) such that the second diagram above commutes. Likewise for right Kan extensions.
Properties
Kan extensions as (co)limits
Suppose \( X:{\mathbf {A}}\to {\mathbf {C}} \) and \( F:{\mathbf {A}}\to {\mathbf {B}} \) are two functors. If A is small and C is cocomplete, then there exists a left Kan extension \( Lan \operatorname {Lan}_{F}X \) of X along F, defined at each object b of B by
\( {\displaystyle (\operatorname {Lan} _{F}X)(b)=\varinjlim _{f:Fa\to b}X(a)} \)
where the colimit is taken over the comma category \( {\displaystyle (F\downarrow \operatorname {const} _{b})}, \) where const \( {\displaystyle \operatorname {const} _{b}\colon \ast \to \mathbf {B} ,\ast \mapsto b} \) is the constant functor. Dually, if A is small and C is complete, then right Kan extensions along F exist, and can be computed as the limit
\( {\displaystyle (\operatorname {Ran} _{F}X)(b)=\varprojlim _{Fa\leftarrow b}X(a)} \)
over the comma category \( {\displaystyle (\operatorname {const} _{b}\downarrow F)} \).
Kan extensions as (co)ends
Suppose \( X:{\mathbf {A}}\to {\mathbf {C}} \) and \( F:{\mathbf {A}}\to {\mathbf {B}} \) are two functors such that for all objects a and a′ of A and all objects b of B, the copowers \( {\displaystyle \mathbf {B} (Fa',b)\cdot Xa} \) exist in C. Then the functor X has a left Kan extension \( \operatorname {Lan}_{F}X \) along F, which is such that, for every object b of B,
\( {\displaystyle (\operatorname {Lan} _{F}X)b=\int ^{a}\mathbf {B} (Fa,b)\cdot Xa} \)
when the above coend exists for every object b of B.
Dually, right Kan extensions can be computed by the end formula
( Ran F X ) b = ∫ a X a B ( b , F a ) . {\displaystyle (\operatorname {Ran} _{F}X)b=\int _{a}Xa^{\mathbf {B} (b,Fa)}.}
Limits as Kan extensions
The limit of a functor \( {\displaystyle F:\mathbf {C} \to \mathbf {D} } \) can be expressed as a Kan extension by
\( {\displaystyle \lim F=\operatorname {Ran} _{E}F} \)
where E is the unique functor from \( \mathbf {C} \) to \( \mathbf {1} \) (the category with one object and one arrow, a terminal object in \( {\mathbf {Cat}}). \) The colimit of F can be expressed similarly by
\( {\displaystyle \operatorname {colim} F=\operatorname {Lan} _{E}F.} \_
Adjoints as Kan extensions
A functor \( {\displaystyle F:\mathbf {C} \to \mathbf {D} } \) possesses a left adjoint if and only if the right Kan extension of \( {\displaystyle \operatorname {Id} :\mathbf {C} \to \mathbf {C} } \) along F exists and is preserved by F. In this case, a left adjoint is given by \( {\displaystyle \operatorname {Ran} _{F}\operatorname {Id} } \) and this Kan extension is even preserved by any functor \( {\displaystyle \mathbf {C} \to \mathbf {E} } \) whatsoever, i.e. is an absolute Kan extension.
Dually, a right adjoint exists if and only if the left Kan extension of the identity along F exists and is preserved by F .
Applications
The codensity monad of a functor \( {\displaystyle G:\mathbf {D} \to \mathbf {C} } \) is a right Kan extension of G along itself.
References
Cartan, Henri; Eilenberg, Samuel (1956). Homological algebra. Princeton Mathematical Series. Vol. 19. Princeton, New Jersey: Princeton University Press. Zbl 0075.24305.
Mac Lane, Saunders (1998). Categories for the Working Mathematician. Graduate Texts in Mathematics. Vol. 5 (2nd ed.). New York, NY: Springer-Verlag. ISBN 0-387-98403-8. Zbl 0906.18001.
Undergraduate Texts in Mathematics
Graduate Studies in Mathematics
Hellenica World - Scientific Library
Retrieved from "http://en.wikipedia.org/"
All text is available under the terms of the GNU Free Documentation License