4. Limits and Colimits
4.1Subobjects
定义 4.1.1. Let be an object of a category . A subobject of is a monomorphism .
Given two subobjects and , we define an arrow as an arrow such that , that is, the following diagram is commutative:
In this way, we obtain a category whose objects are subobjects of a given object and whose arrows are defined as above. We denote this category by .
Suppose that there is an arrow such that . We also have . Then , which implies , because is a monomorphism. Hence there is a unique arrow between two subobjects.
We may view as a poset category. We define the following relation between the objects of :
We say that and are equivalent, and denote it by , if they are isomorphic as subobjects, that is, and . This means that there are arrows and such that and . It follows that , which implies that , because is a monomorphism. Similarly, one has . Hence is an isomorphism and . This shows that equivalent subobjects have isomorphic domains.
We sometimes abuse notation and language by calling the subobject when the monomorphism is clear.
It is convenient to pass from the poset to the poset obtained by factoring out the equivalence relation “”. In this way, a subobject is an equivalence class of monomorphisms under mutual inclusion.
If , then the arrow such that is also a monomorphism, hence is a subobject of . In this way we have a functordefined by composition by . Note that the composite of monomorphisms is also a monomorphism.
4.2Pullbacks
定义 4.2.1. Let be a category and let
be arrows in (that is, a cospan). A pullback (or fibered product or cartesian square) of and consists of arrows in
(that is, a span) such that with the following universal mapping property: given any object and any arrows and in such that , there is a unique arrow such that and , hence the following diagram is commutative:
A pullback of arrows and in is denoted by or .
DuallMy, we define pushouts.
定义 4.2.2. Let be a category and let
be arrows in (that is, a span). A pushout (or fibered coproduct or cocartesian square) of and consists of arrows in
(that is, a cospan) such that with the following universal mapping property: given any object and any arrows and in such that , there is a unique arrow such that and , hence the following diagram is commutative:
A pushout of arrows and in is denoted by or .
定理 4.2.3. Let be a category with binary products and equalizers. Consider the arrows and and the following diagram
where , are the canonical projections of the product , is an equalizer of and , and and . Then is a pullback of and .
证明. Since is an equalizer of and we have . It follows that .
Now let be an object and and arrows in such that . We look for a unique arrow such that and , that is, the following diagram is commutative:
Consider the following diagram
By universal mapping property of the product , there is a unique arrow such that and .
We have . Now consider the following diagram
By universal mapping property of the equalizer , there is a unique arrow such that . Then we have and .
Dually, we have the following theorem.
定理 4.2.4. Let be a category with binary coproducts and coequalizers. Consider the arrows and and the following diagram
where , are the canonical injections of the coproduct , is a coequalizer of and , and and . Then is a pushout of and .
定义 4.2.5. We say that a category has pullbacks if every arrows and have a pullback. Dually, we say that a category has pushouts if every arrows and have a pushout.
推论 4.2.6. If a category has binary products and equalizers, then it has pullbacks. Dually, if a category has binary coproducts and coequalizers, then it has pushouts.
例 4.2.7. Let us see that the converses in the above corollary do not hold in general. Let be a non-trivial group. View it as a category with one object , with the elements of as the arrows and the composition given by the product of elements (recall monoid category). This category has pullbacks and pushouts have pullback and pushout given by and ), but it does not have (binary) products, (binary) coproducts, equalizers or coequalizers.
Next we present some examples of pullbacks and pushouts in certain categories.
The Category
(1) Pullbacks. Let and be functions. We construct their pullback by using binary products and equalizers, as described above. Using the above notation, is an equalizer of and , where and are the canonical projections defined by and . By the construction of an equalizer in Set we haveand is the inclusion function. By Theorem 4.2.3, is a pullback of and , where and are given by
Now let us analyze a particular pullback in . Let be a function, and the inclusion function. Consider the inverse image of through , that is,Also, define by , and let be the inclusion function. Let us show that is a pullback of and .
If , then , and thus . We have . Now let and be functions such that . Define by . Since , we have , and thus is well defined. Then we have . Also, for every we havehence .
For uniqueness, suppose that there is also a function such that and . Then we have , hence , because is a monomorphism.
(2) Pushouts. Let and be functions. We construct their pushout by using binary coproducts and coequalizers, as described above. Consider the coproduct of and , namely , where is the disjoint union of and , and and are the canonical injections defined by and . Consider the functions . As in the construction of a coequalizer in , consider the relation , whose graph contains all pairs for which there is such that and . Let be the smallest equivalence relation on containing . Consider the partition and the function defined by . Then we know that is a coequalizer of and . Let and . Then is a pushout of and by Theorem 4.2.4.
Poset Categories
Let be a lattice, which may be viewed as a poset category. The pullback of a pair of arrows and is , where and are the unique arrows having the given domains and codomains. Note that it coincides with the product of and !
The pushout of a pair of arrows and is , where and are the unique arrows having the given domains and codomains. Note that it coincides with the coproduct of and !
If a poset is not a lattice, two elements of might not have a pullback or a pushout.
例 4.2.8. The category has pullbacks and pushouts, while poset categories may not have pullbacks and pushouts.
4.3Properties of Pullbacks
One may prove the following property.
命题 4.3.1. Consider the following commutative diagram in a category:
in which the right square is a pullback. Then the left square is a pullback if and only if the outer rectangle is a pullback.
定理 4.3.2. A category has finite products and equalizers if and only if has pullbacks and terminal object.
证明. Assume that has finite products and equalizers. Then we have seen that has pullbacks. Also, note that the empty product is the terminal object.
Conversely, assume that has pullbacks and terminal object, denoted by . Let and be objects of . Then there are unique arrows and . Consider their pullback
We show that is a product of and . Let and be arrows in . We have . Since is a terminal object, we must have . By universal mapping property of the pullback there is a unique arrow such that and . This shows that is a product of and .
Now let be arrows in . Consider the arrows and . Consider their pullback
We show that is an equalizer of and . We have , whence . Now let be an object and an arrow in such that . It follows thatBy universal mapping property of the pullback there is a unique arrow such that and .
Dually, we have the following theorem.
定理 4.3.3. A category has finite coproducts and coequalizers if and only if has pushouts and initial object.
4.4Limits
定义 4.4.1. Let and be categories. A diagram of type in is a functor . We write the objects of by etc. and we call the index category. We denote the values of the functor in the form etc.
A cone to a diagram consists of an object of and a family of arrows in , one for each object such that for every arrow in , the following triangle is commutative:
A morphism of cones (or arrow of cones) is an arrow in from to making the following triangles commutative :
In this way we obtain a category with:
• | objects: the cones to |
• | arrows: the morphisms of cones to |
• | composition: composition of arrows in , compatible with commutative triangles |
• | identity arrow: the identity morphism of a cone |
注 4.4.2. We are here thinking of the diagram as a “picture of in ”. A cone to such a diagram is then imagined as a many-sided pyramid over the “base” , and a morphism of cones is an arrow between the apexes of such pyramids.
定义 4.4.3. A limit for a diagram is a terminal object in . A finite limit is a limit for a diagram on a finite index category .
命题 4.4.4. The limit is uniquely determined up to isomorphism.
注 4.4.5. Detailing the definition, the limit of a diagram has the following universal mapping property: given any cone to , there is a unique arrow such that for all we have . Thus, the limiting cone can be thought of as the “closest” cone to the diagram , and indeed any other cone comes from it just by composing with an arrow at the vertex, namely .
例 4.4.6. (1) Let be the category with two objects, denoted 1 and 2 , and no nonidentity arrow:
A diagram on is a functor , which takes the objects , into objects , .
A cone to is an object together with arrows and . Hence it is a span as follows:
A limit for is a terminal object in , that is, for every cone to (span)there is a unique morphism between the two cones, that is, there is a unique arrow in such that and .
(2) Let be the category having two objects, denoted and , and two non-identity arrows as follows:
A diagram on is a functor , which takes an object into an object for , and the arrows into arrows .
A cone to is an object together with arrows and such that the following diagram is commutative:
hence and , and thus .
A limit for is a terminal object in , that is,
For every object and arrow in , there is a unique arrow such that .
Hence the limit is an equalizer of and .
(3) Let . Then is a terminal object.
(4) A limit on the following finite category will be a pullback:
注 4.4.7. Products, equalizers, terminal objects and pullbacks are all examples of finite limits.
注 4.4.8. Dually, one may define the notion of colimit, which will be a limit in the opposite category. A colimit will be denoted by . The colimit is uniquely determined up to an isomorphism. Coproducts, coequalizers, initial objects and pushouts are all examples of finite colimits.
One may get the following property and its dual.
定理 4.4.9. A category has all finite limits if and only if it has finite products and equalizers (if and only if it has pullbacks and a terminal object).
定理 4.4.10. A category has all finite colimits if and only if it has finite coproducts and coequalizers (if and only if it has pushouts and an initial object).
4.5Preservation of Limits
定义 4.5.1. A covariant functor is said to preserve limits of type if whenever is a limit for a diagram , is a limit for a diagram .
Briefly, we write
One has the following results.
定理 4.5.2. Let be a locally small category and let be an object of . Then the covariant representable functor preserves all limits, that is,
定理 4.5.3. Let be a locally small category and let be an object of . Then the contravariant representable functor maps all colimits to limits, that is,