![]() | This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(March 2013) (Learn how and when to remove this message) |
Incategory theory, a branch ofmathematics, the abstract notion of alimit captures the essential properties of universal constructions such asproducts,pullbacks andinverse limits. Thedual notion of acolimit generalizes constructions such asdisjoint unions,direct sums,coproducts,pushouts anddirect limits.
Limits and colimits, like the strongly related notions ofuniversal properties andadjoint functors, exist at a high level of abstraction. In order to understand them, it is helpful to first study the specific examples these concepts are meant to generalize.
Limits and colimits in acategory are defined by means of diagrams in. Formally, adiagram of shape in is afunctor from to:
The category is thought of as anindex category, and the diagram is thought of as indexing a collection of objects andmorphisms in patterned on.
One is most often interested in the case where the category is asmall or evenfinite category. A diagram is said to besmall orfinite whenever is.
Let be a diagram of shape in a category. Acone to is an object of together with a family of morphisms indexed by the objects of, such that for every morphism in, we have.
Alimit of the diagram is a cone to such that for every cone to there exists aunique morphism such that for all in.
One says that the cone factors through the cone withthe unique factorization. The morphism is sometimes called themediating morphism.
Limits are also referred to asuniversal cones, since they are characterized by auniversal property (see below for more information). As with every universal property, the above definition describes a balanced state of generality: The limit object has to be general enough to allow any cone to factor through it; on the other hand, has to be sufficiently specific, so that onlyone such factorization is possible for every cone.
Limits may also be characterized asterminal objects in thecategory of cones toF.
It is possible that a diagram does not have a limit at all. However, if a diagram does have a limit then this limit is essentially unique: it is uniqueup to a uniqueisomorphism. For this reason one often speaks ofthe limit ofF.
Thedual notions of limits and cones are colimits and co-cones. Although it is straightforward to obtain the definitions of these by inverting all morphisms in the above definitions, we will explicitly state them here:
Aco-cone of a diagram is an object of together with a family of morphisms
for every object of, such that for every morphism in, we have.
Acolimit of a diagram is a co-cone of such that for any other co-cone of there exists a unique morphism such that for all in.
Colimits are also referred to asuniversal co-cones. They can be characterized asinitial objects in thecategory of co-cones from.
As with limits, if a diagram has a colimit then this colimit is unique up to a unique isomorphism.
Limits and colimits can also be defined for collections of objects and morphisms without the use of diagrams. The definitions are the same (note that in definitions above we never needed to use composition of morphisms in). This variation, however, adds no new information. Any collection of objects and morphisms defines a (possibly large)directed graph. If we let be thefree category generated by, there is a universal diagram whose image contains. The limit (or colimit) of this diagram is the same as the limit (or colimit) of the original collection of objects and morphisms.
Weak limit andweak colimits are defined like limits and colimits, except that the uniqueness property of the mediating morphism is dropped.
The definition of limits is general enough to subsume several constructions useful in practical settings. In the following we will consider the limit (L,φ) of a diagramF :J →C.
Examples of colimits are given by the dual versions of the examples above:
A given diagramF :J →C may or may not have a limit (or colimit) inC. Indeed, there may not even be a cone toF, let alone a universal cone.
A categoryC is said tohave limits of shapeJ if every diagram of shapeJ has a limit inC. Specifically, a categoryC is said to
Acomplete category is a category that has all small limits (i.e. all limits of shapeJ for every small categoryJ).
One can also make the dual definitions. A categoryhas colimits of shapeJ if every diagram of shapeJ has a colimit inC. Acocomplete category is one that has all small colimits.
Theexistence theorem for limits states that if a categoryC has equalizers and all products indexed by the classes Ob(J) and Hom(J), thenC has all limits of shapeJ.[1]: §V.2 Thm.1 In this case, the limit of a diagramF :J →C can be constructed as the equalizer of the two morphisms[1]: §V.2 Thm.2
given (in component form) by
There is a dualexistence theorem for colimits in terms of coequalizers and coproducts. Both of these theorems give sufficient and necessary conditions for the existence of all (co)limits of shapeJ.
Limits and colimits are important special cases ofuniversal constructions.
LetC be a category and letJ be a small index category. Thefunctor categoryCJ may be thought of as the category of all diagrams of shapeJ inC. Thediagonal functor
is the functor that maps each objectN inC to the constant functor Δ(N) :J →C toN. That is, Δ(N)(X) =N for each objectX inJ and Δ(N)(f) = idN for each morphismf inJ.
Given a diagramF:J →C (thought of as an object inCJ), anatural transformationψ : Δ(N) →F (which is just a morphism in the categoryCJ) is the same thing as a cone fromN toF. To see this, first note that Δ(N)(X) =N for all X implies that the components ofψ are morphismsψX :N →F(X), which all share the domainN. Moreover, the requirement that the cone's diagrams commute is true simply because thisψ is a natural transformation. (Dually, a natural transformationψ :F → Δ(N) is the same thing as a co-cone fromF toN.)
Therefore, the definitions of limits and colimits can then be restated in the form:
Like all universal constructions, the formation of limits and colimits is functorial in nature. In other words, if every diagram of shapeJ has a limit inC (forJ small) there exists alimit functor
which assigns each diagram its limit and eachnatural transformation η :F →G the unique morphism lim η : limF → limG commuting with the corresponding universal cones. This functor isright adjoint to the diagonal functor Δ :C →CJ.This adjunction gives a bijection between the set of all morphisms fromN to limF and the set of all cones fromN toF
which is natural in the variablesN andF. The counit of this adjunction is simply the universal cone from limF toF. If the index categoryJ isconnected (and nonempty) then the unit of the adjunction is an isomorphism so that lim is a left inverse of Δ. This fails ifJ is not connected. For example, ifJ is a discrete category, the components of the unit are thediagonal morphisms δ :N →NJ.
Dually, if every diagram of shapeJ has a colimit inC (forJ small) there exists acolimit functor
which assigns each diagram its colimit. This functor isleft adjoint to the diagonal functor Δ :C →CJ, and one has a natural isomorphism
The unit of this adjunction is the universal cocone fromF to colimF. IfJ is connected (and nonempty) then the counit is an isomorphism, so that colim is a left inverse of Δ.
Note that both the limit and the colimit functors arecovariant functors.
One can useHom functors to relate limits and colimits in a categoryC to limits inSet, thecategory of sets. This follows, in part, from the fact the covariant Hom functor Hom(N, –) :C →Setpreserves all limits inC. By duality, the contravariant Hom functor must take colimits to limits.
If a diagramF :J →C has a limit inC, denoted by limF, there is acanonical isomorphism
which is natural in the variableN. Here the functor Hom(N,F–) is the composition of the Hom functor Hom(N, –) withF. This isomorphism is the unique one which respects the limiting cones.
One can use the above relationship to define the limit ofF inC. The first step is to observe that the limit of the functor Hom(N,F–) can be identified with the set of all cones fromN toF:
The limiting cone is given by the family of maps πX : Cone(N,F) → Hom(N,FX) whereπX(ψ) =ψX. If one is given an objectL ofC together with anatural isomorphismΦ : Hom(L, –) → Cone(–,F), the objectL will be a limit ofF with the limiting cone given byΦL(idL). In fancy language, this amounts to saying that a limit ofF is arepresentation of the functor Cone(–,F) :C →Set.
Dually, if a diagramF :J →C has a colimit inC, denoted colimF, there is a unique canonical isomorphism
which is natural in the variableN and respects the colimiting cones. Identifying the limit of Hom(F–,N) with the set Cocone(F,N), this relationship can be used to define the colimit of the diagramF as a representation of the functor Cocone(F, –).
LetI be a finite category andJ be a smallfiltered category. For anybifunctor
there is anatural isomorphism
In words, filtered colimits inSet commute with finite limits. It also holds that small colimits commute with small limits.[2]
IfF :J →C is a diagram inC andG :C →D is afunctor then by composition (recall that a diagram is just a functor) one obtains a diagramGF :J →D. A natural question is then:
A functorG :C →D induces a map from Cone(F) to Cone(GF): ifΨ is a cone fromN toF thenGΨ is a cone fromGN toGF. The functorG is said topreserve the limits ofF if (GL,Gφ) is a limit ofGF whenever (L,φ) is a limit ofF. (Note that if the limit ofF does not exist, thenGvacuously preserves the limits ofF.)
A functorG is said topreserve all limits of shapeJ if it preserves the limits of all diagramsF :J →C. For example, one can say thatG preserves products, equalizers, pullbacks, etc. Acontinuous functor is one that preserves allsmall limits.
One can make analogous definitions for colimits. For instance, a functorG preserves the colimits ofF ifG(L,φ) is a colimit ofGF whenever (L,φ) is a colimit ofF. Acocontinuous functor is one that preserves allsmall colimits.
IfC is acomplete category, then, by the above existence theorem for limits, a functorG :C →D is continuous if and only if it preserves (small) products and equalizers. Dually,G is cocontinuous if and only if it preserves (small) coproducts and coequalizers.
An important property ofadjoint functors is that every right adjoint functor is continuous and every left adjoint functor is cocontinuous. Since adjoint functors exist in abundance, this gives numerous examples of continuous and cocontinuous functors.
For a given diagramF :J →C and functorG :C →D, if bothF andGF have specified limits there is a unique canonical morphism
which respects the corresponding limit cones. The functorG preserves the limits ofF if and only if this map is an isomorphism. If the categoriesC andD have all limits of shapeJ then lim is a functor and the morphisms τF form the components of anatural transformation
The functorG preserves all limits of shapeJ if and only if τ is a natural isomorphism. In this sense, the functorG can be said tocommute with limits (up to a canonical natural isomorphism).
Preservation of limits and colimits is a concept that only applies tocovariant functors. Forcontravariant functors the corresponding notions would be a functor that takes colimits to limits, or one that takes limits to colimits.
A functorG :C →D is said tolift limits for a diagramF :J →C if whenever (L,φ) is a limit ofGF there exists a limit (L′,φ′) ofF such thatG(L′,φ′) = (L,φ). A functorGlifts limits of shapeJ if it lifts limits for all diagrams of shapeJ. One can therefore talk about lifting products, equalizers, pullbacks, etc. Finally, one says thatGlifts limits if it lifts all limits. There are dual definitions for the lifting of colimits.
A functorGlifts limits uniquely for a diagramF if there is a unique preimage cone (L′,φ′) such that (L′,φ′) is a limit ofF andG(L′,φ′) = (L,φ). One can show thatG lifts limits uniquely if and only if it lifts limits and isamnestic.
Lifting of limits is clearly related to preservation of limits. IfG lifts limits for a diagramF andGF has a limit, thenF also has a limit andG preserves the limits ofF. It follows that:
The dual statements for colimits are equally valid.
LetF :J →C be a diagram. A functorG :C →D is said to
Dually, one can define creation and reflection of colimits.
The following statements are easily seen to be equivalent:
There are examples of functors which lift limits uniquely but neither create nor reflect them.
Older terminology referred to limits as "inverse limits" or "projective limits", and to colimits as "direct limits" or "inductive limits". This has been the source of a lot of confusion.
There are several ways to remember the modern terminology. First of all,
are types of colimits, whereas
are types of limits. Second, the prefix "co" implies "first variable of the". Terms like "cohomology" and "cofibration" all have a slightly stronger association with the first variable, i.e., the contravariant variable, of the bifunctor.