3. Duality
3.1The Duality Principle
In the formal definition of a category there are objects , arrows and four operations given by which satisfy the following seven axioms:
• | . |
• | . |
• | . |
• | . |
• | . |
• | . |
• | . |
Of course, the operation “” is only defined when .
Given any sentence in the elementary language of category theory, we can form the “dual statement” by making the following replacements: for , for , for . It is easy to see that then will also be a well-formed sentence. Next, suppose we have shown a sentence to entail one , that is,without using any of the category axioms, then clearlysince the substituted terms are treated as mere undefined constants. But now observe that the axioms for category theory (CT) are themselves “self-dual” in the sense that we have .
Therefore we have the following formal duality principle.
命题 3.1.1 (Formal duality). For any sentence in the language of category theory (CT) if follows from the axioms of categories, then its dual also follows, i.e.,
Now assume that holds for any category . Then holds for any opposite category . Hence holds in for any category .
Therefore we have the following conceptual form of the duality principle.
命题 3.1.2 (Conceptual duality). For any statement about categories, if holds for all categories, then holds for all categories.
3.2Coproducts
定义 3.2.1. Let be a category and let and be objects of . A coproduct of and in is just the product of and in the opposite category . This means an object and arrows and , called canonical injections, satisfying the following universal mapping property: given any diagram of the formthere is a unique arrow such thatthat is, the following diagram is commutative:
We denote the coproduct of and by . Sometimes is also denoted by or .
注 3.2.2. Sometimes (especially in the so-called additive categories), similarly to the case of products, the canonical injections and are also denoted by and respectively. The unique arrow such that and is also denoted byThen equalities involving compositions of arrows such as and may be rewritten in terms of matrix multiplications as and .
注 3.2.3. Note that the canonical injections and need not be monomorphisms. Just consider the example with the canonical projections from products in the opposite category.
命题 3.2.4. The coproduct is unique up to an isomorphism.
More generally, one may define a coproduct of an arbitrary family of objects of a category, which is again unique up to an isomorphism.
定义 3.2.5. A coproduct of a family of objects of a category consists of an object , also denoted by or , and a family of arrows, where for every , satisfying the following universal mapping property: given any object of and any family of arrows, where for every , there is a unique arrow such that for every .
Next we present some examples of coproducts in certain categories.
The Category
The coproduct of two sets and is , whereis the disjoint union of and is the function defined by , and is the function defined by .
Let be a set and let and be functions. We look for a unique function such that the following diagram is commutative:
that is, and . These equalities are equivalent to and for every and , and furthermore, and for every and . Note that is uniquely determined by this definition.
The construction of a coproduct may be easily generalized to an arbitrary family of sets.
The Category
The coproduct of two abelian groups and is , where is the group homomorphism defined by , and is the group homomorphism defined by .
Note that is a group with respect to the operation defined by
Let be an abelian group and let and be group homomorphisms. We look for a unique group homomorphism such that the following diagram is commutative:
that is, and . These equalities are equivalent to and for every and , and furthermore, and for every and . Note that a group homomorphism is uniquely determined by this definition, because we havefor every and . One checks that the map defined as above is really a group homomorphism.
The construction of a coproduct may be generalized to an arbitrary family of abelian groups, but in a slightly different manner. For a family of abelian groups, we denoteNote that if is a finite set, then we have .
The coproduct of the family of abelian groups is , where for every is the group homomorphism defined by with the properties that and for every with .
Poset Categories
Let be a lattice. Hence every two elements of have a supremum (i.e., smallest upper bound). Since is a poset, we may view it as a poset category. Recall that its objects are the elements of , while an arrow does exists if and only if , where .
The coproduct of two elements is , where and are the unique arrows having the given domains and codomains.
Let and let and be arrows. This means that and . We look for a unique arrow such that the following diagram is commutative:
This means that . But this is true, because is an upper bound of and , while is the smallest upper bound of and .
Note that if a poset is not a lattice, two elements of might not have a coproduct.
The construction of a coproduct may be easily generalized to an arbitrary family of elements, when is a complete lattice, that is, every family of elements of has an infimum and a supremum.
Categories with Coproducts
定义 3.2.6. A category is said to have (binary) coproducts if any family of (two) objects of has a coproduct.
例 3.2.7. We have seen that and have (binary) coproducts, while poset categories may not have coproducts.
Consider the coproducts and . Let and . By universal mapping property of the product there is a unique arrow such that the following diagram is commutative:
that is, and . We define .
One may prove the following result.
命题 3.2.8. Let be a category with binary coproducts. Then we have a covariant functor defined byfor every object of , andfor every arrow from with and .
One may show the following associativity property by using universal mapping property of the coproduct.
命题 3.2.9.
where are objects of .
One may show the following property.
命题 3.2.10. Let be a locally small category with binary coproducts. Then for every object of , the contravariant functor preserves binary coproducts, that is, for every , there is a bijection (i.e., isomorphism in ):
3.3Equalizers
定义 3.3.1. Let be a category and let be arrows in . An equalizer of and consists of a pair , where is an object of and is an arrow in such that and it has the following universal mapping property: given any object and any arrow in such that , there is a unique arrow in such that .
命题 3.3.2. An equalizer is uniquely determined up to an isomorphism.
命题 3.3.3. Any equalizer is a monomorphism.
The Category
The equalizer of two functions in is the pair , whereand is the inclusion function.
For every we havehence .
Now let be a function such that . We look for a function such that . This equality is equivalent to for every , that is, for every . Note that , because . Also, the equality uniquely determines . Hence is an equalizer of .
The Category
The equalizer of two -linear maps in is the pair , whereand is the inclusion -linear map.
As in the category , we have . Also, for every -linear map such that , there is a unique function such that . This equality is equivalent to for every , that is, for every .
Let us show that is a -linear map. Let and . Then we haveHence is a -linear map.
In this category the equalizer of two -linear maps is in fact a kernel of some -linear map, namelyOn the other hand, the kernel of a -linear map is the equalizer of some -linear maps, namely
is the equalizer of the -linear map and the zero -linear map .
Monoid Categories
Let be a monoid. Recall that it may be viewed as a monoid category, where the single object is , the arrows are the elements of and the composition is the multiplication of the elements of . An equalizer of two elements is an element with and for every such that there is such that . If is a non-trivial group, then with do not have an equalizer, because there is no such that .
定义 3.3.4. We say that a category has equalizers if every arrows have an equalizer.
例 3.3.5. The categories and have equalizers, but monoid categories may not have equalizers.
3.4Coequalizer
定义 3.4.1. Let be a category and let be arrows in . A coequalizer of and consists of a pair , where is an object of and is an arrow in such that and it has the following universal mapping property: given any object and any arrow in such that , there is a unique arrow in such that .
命题 3.4.2. A coequalizer is uniquely determined up to an isomorphism.
命题 3.4.3. Any coequalizer is an epimorphism.
The Category
Let be function. Then the homogeneous relation with the graphis called the kernel of . Note that the kernel of is an equivalence relation on .
The following theorem will be useful.
定理 3.4.4 (Factorization theorem by a surjection). Let be a function and let be a surjective function such that . Then there is a unique function such that .
Let be functions. We define a relation byLet be the smallest equivalence relation on containing . Then we may consider the partitionof . Consider the function defined by . Note that the kernel of the function is
We show that is a coequalizer of and .
For every , we have , which implies that . It follows thathence .
Now let be a function such that . We show that(the kernel of the function ). Let . Then there is a finite number of elements such that and for every , we have either or . We may assume that , because otherwise we may proceed inductively. Since , there is such that and . Then we havehence . Thus, we have . Using the factorization theorem of the function by the surjective function , there is a unique function such that .
The Category
The following theorem will be useful.
定理 3.4.5 (Factorization Theorem by an Epimorphism). Let be a homomorphism of abelian groups, and let be an epimorphism of abelian groups with . Then there exists a unique homomorphism of abelian groups such that , that is, the following diagram is commutative:
证明. Let . Since is an epimorphism, there exists such that . If there exists such that , then we have . It follows that , hence . Then , hence .
It follows that we can define the function by , where is uniquely determined as above. We have for every . Hence .
We show that is a homomorphism of abelian groups. Let . Then there exist such that and . Hence and . We haveIt follows thatThus is a homomorphism of abelian groups.
Let and be abelian groups and let be group homomorphisms. Since is a subgroup of , we may consider the factor groupwhere the operation is defined byThe factor group is also called a cokernel of the group homomorphism , and we denote it by .
Consider the group homomorphism defined by . We have .
We show that is a coequalizer of and .
For every we have , hence . Then for every we havehence .
Now let be an abelian group and let be a group homomorphism such that . We show that . To this end, let . Then for some . It follows thathence . Thus we have . Using the factorization theorem for the group homomorphism by the epimorphism , there is a unique group homomorphism such that .
In this category the coequalizer of two group homomorphisms is in fact the cokernel of some group homomorphism, namelyOn the other hand, the cokernel of a group homomorphism is the coequalizer of some group homomorphism, namelyis the coequalizer of the group homomorphism and the zero group homomorphism .
Monoid Categories
Let be a monoid, which may be viewed as a monoid category. A coequalizer of two elements is an element with and for every such that there is such that . If is a non-trivial group, then with do not have a coequalizer, because there is no such that .
定义 3.4.6. We say that a category has coequalizers if every arrows have a coequalizer.
例 3.4.7. The categories and have coequalizers, while monoid categories may not have coequalizers.