5. Naturality

5.1Fully Faithful Functors

定义 5.1.1. Let and be locally small categories. Let be a functor and for every objects of consider the mapThen is called:

(1)

faithful if for every objects of the map is injective.

(2)

full if for every objects of the map is surjective.

(3)

fully faithful if it is full and faithful, that is, for every objects of the map is bijective.

定义 5.1.2. Let be a category with the class of objects and the class of arrows . By a subcategory of we mean a collection of some objects and some arrows closed under taking composition, under taking domains and codomains, and under taking identity. Hence there is a functor called the inclusion functor.

By a full subcategory of we mean a collection of some objects of together with all the arrows between them. Hence the inclusion functor is fully faithful in this case.

例 5.1.3. (1) The inclusion functor is fully faithful, where is the category of finite sets and functions. Note that the mapis bijective. The category is a full subcategory of .

(2) The forgetful functor is defined on objects (groups) of by the underlying set of , and on arrows (group homomorphisms) in by the underlying function . Then is faithful, but not full. Note that for every groups and , the mapis injective, but not surjective. If were surjective, then for every function , there would exist a group homomorphism such that , which is false. For instance, any function between two groups which does not preserve the identity element cannot be a group homomorphism.

(3) The inclusion functor is clearly faithful, but not full. Note that there are non-unitary homomorphisms in between unitary rings, and thus they are not arrows in . For instance, if is any unitary ring, then , but (the trivial function is a non-unitary homomorphisms in ), hence the mapcannot be surjective. The category is a subcategory of , but not a full subcategory.

(4) Let and be monoids, and view them as categories with one object. Note that a functor between monoid categories is just a monoid homomorphism. Moreover, a faithful functor is the same as an injective monoid homomorphism, while a full functor is the same as a surjective monoid homomorphism. These offer immediate examples of functors having both, one or none of the properties of being faithful or full. For instance, every surjective monoid homomorphism which is not injective gives an example of a full functor which is not faithful.

(5) Let and be locally small categories, and let be an object of . The constant functor determined by is defined on objects by , and on arrows by . In general, the constant functor is neither faithful, nor full (if and have each at least two arrows).

引理 5.1.4. Let be a fully faithful functor. Then is “essentially injective” on objects in the sense that implies .

证明. Let be an isomorphism. Consider . Since is fully faithful, there are (unique) arrows such that and such that . We have , which implies that , because is fully faithful. Similarly, we have . Hence is an isomorphism. Thus, is essentially injective on objects.

注 5.1.5. (1) A fully faithful functor need not be injective on objects. For instance, let be a category with two objects and , and two non-trivial morphisms and such that and , and let be a category with one object and one morphism . Then the functor given by and is fully faithful, but it is not injective on objects.

(2) A fully faithful functor need not be “essentially surjective” on objects in the sense that for every object of , there is some object of such that . For instance, the inclusion functor is fully faithful, but not essentially surjective on objects.

定义 5.1.6. Let be a locally small category. An object of is called a:

(1)

generator of if the covariant functor Set is faithful.

(2)

cogenerator of if the contravariant functor Set is faithful.

命题 5.1.7. Let be a locally small category, and let be an object of . Then:

(1)

is a generator of if and only if for every arrows in with , there is an arrow in such that .

(2)

is a cogenerator of if and only if for every arrows in with , there is an arrow in such that .

证明. (1) The object is a generator of if and only if the functor is faithful if and only if for every arrows in with , we have if and only if for every arrows in with , there is an arrow in such that if and only if for every arrows in with , there is an arrow in such that .

例 5.1.8. (1) The terminal object is a generator of . Recall that is any single element set, say . Let be sets and functions such that . Then there is such that . We look for a function such that . We have if and only if . Just take . Actually, by a similar reasoning, it is easy to see that any non-empty set is a generator of .

Every set with is a cogenerator of . Let . Let be sets and functions such that . Then there is such that , and thus . We look for a function such that . We have if and only if there is such that . We may define by and for every . In particular, and . Hence is a cogenerator of by the dual of Proposition 5.1.7.

(2) The field is a generator of the category . We show that the covariant functor is faithful. We claim thatTo this end, define by , and by , where is given by . Then and are -linear maps. We have for every , hence . Also, we have for every , hence . Therefore, is a -isomorphism. Now it is clear that for every -vector spaces and , the mapis injective, hence is faithful. Hence is a generator of .

One may also show that is a cogenerator of the category .

5.2Naturality

例 5.2.1. Let be a category with binary products. For every objects of we have an isomorphism . This is an isomorphism regardless of what objects are. For every arrow in , we have the following commutative diagram

where and are isomorphisms. In fact, we have an isomorphism between “constructions”:Actually, this is an “isomorphism of functors”.

定义 5.2.2. Let be functors. By a natural transformation between and , denoted by , we mean a family of arrows in such that for every arrow in we have the following commutative diagram

hence . Here is called the component of at .

例 5.2.3. Let be the category . Consider the functor defined on objects of by , and on arrows in by . Also, consider the functor defined on objects of by , and on arrows in by .

Define a “twist” natural transformation whose component at an object of isThen for every arrow in consider the following diagram:

The diagram is commutative, because we have:for every . Hence is a natural transformation. Here all are bijections (isomorphisms in ).

命题 5.2.4. Let be functors. Let and be natural transformations. Then the family of arrows in defines a natural transformation, denoted by and called the composite of the natural transformations and .

证明. For every arrow in consider the following diagram:

Since and are natural transformations, the two squares are commutative. Then the outer rectangle is also commutative. Hence the family of arrows in defines a natural transformation .

定义 5.2.5. Let and be categories. The functor category is defined by:

objects: the (covariant) functors

arrows: the natural transformations between functors from to

composition: the composite of natural transformations

identity arrow: for every object of , the identity arrow is the natural transformation with components for every object of .

定义 5.2.6. A natural isomorphism is a natural transformation which is an isomorphism in . We denote a natural isomorphism between functors by .

命题 5.2.7. A natural transformation is a natural isomorphism if and only if each component is an isomorphism.

证明. Let be a natural transformation between two functors .

Suppose that is a natural isomorphism. Then it has an inverse . Hence and . Then for every object of , we have and , which imply that is an isomorphism.

Conversely, suppose that each component is an isomorphism. For every object of define . Let us show that this defines a natural transformation . To this end, let be an arrow in . We show that the following diagram is commutative:

Since is a natural transformation, we have the commutative diagram:

Then , which implies that , that is, . Hence the first square is commutative, and thus is a natural transformation. For every object of we have and . Hence and . This shows that is a natural isomorphism.

例 5.2.8. The twist natural transformation from Example 5.2.3 is a natural isomorphism.

例 5.2.9. Consider the category of real vector spaces and -linear maps. For a real vector space denote , which is called the dual space of .

Let be an -linear map. Then it induces a dual -linear map defined by . Hence we obtain a contravariant functor

We define a natural transformation , where for every , we have defined by and for every .

Let us first show that each is an arrow in the category , that is, an -linear map. Let and . For every , we havewhence we have . It follows that:Hence each is an -linear map. One may show that is a -isomorphism if and only if is finite-dimensional.

Now we check the commutativity of the following diagram:

Let . We have and . For every we have , hence . It follows that . This shows that is a natural transformation.

5.3Equivalence of Categories

例 5.3.1. Let be the category of finite ordinal numbers, whose objects are the sets , where and , and the arrows are the functions between these sets. For each finite set we select an ordinal that is its cardinal and an isomorphism . Then for each function between finite sets, we have a function by completing the square

In this way, we obtain a functor . In fact, all the above maps are in . We have the inclusion functor . For every finite set we have an isomorphism and the above commutative square implies that . Hence we have a natural isomorphismbetween the functors . Also, we haveThis is because, for any finite ordinal , , and we can assume that we take , so that also . Note that the two categories are very similar, but they are not the same, and not even isomorphic.

The above example is an equivalence of categories in the following sense.

定义 5.3.2. An isomorphism of categories consists of a pair of functors and such that and .

An equivalence of categories consists of a pair of functors and , and a pair of natural isomorphisms and . Here and are called pseudo-inverses and we write .

A duality between categories and is an equivalence between and the opposite category of .

例 5.3.3. (1) Two poset categories are equivalent if and only if the posets are isomorphic.

(2) Let be a set and let be the poset category of the poset , where is the power set of , which consists of all subsets of . Recall that the only arrows are given by the inclusions. We show that there is an isomorphism of categories between and its opposite category . This also shows that there is a duality between and itself.

Let be the functor defined on objects of by (set difference) and on arrows (inclusions) by . The latter is an arrow in , because is an arrow in , being the inclusion, because is an inclusion.

Also, let be the functor defined on objects by and on arrows by . The latter is an arrow in , being inclusion, because is an inclusion as is an arrow in .

It is easy to see that for every object of and for every arrow (inclusion) in . Hence . Also, one shows that . Therefore, the categories and are isomorphic.

注 5.3.4. (1) The equivalence of categories is the more relevant out of the two concepts, the isomorphism of categories being too restrictive.

(2) Every isomorphism of categories is an equivalence of categories, but not conversely. In Example 5.3.1 we have seen that we have an equivalence of categories given by the above functors and . But , hence the functors and do not define an isomorphism of categories.

A useful practical characterization of equivalences of categories is the following one.

定理 5.3.5. Let be a functor. Then the following are equivalent:

(1)

is (part of) an equivalence of categories.

(2)

is fully faithful, essentially injective on objects and essentially surjective on objects.

(3)

is fully faithful and essentially surjective on objects.

证明. (1) (2) Suppose that is an equivalence of categories. Then there is a functor and natural isomorphisms and . Then for every object of , is an isomorphism, and for every arrow in we have the following commutative diagram:

We show that is faithful. Let be arrows in such that . Then , whence . Using the above commutative square for and , we have , whence , because is an isomorphism. Hence is faithful.

We show that is full. Let be an arrow in . We haveDenote . Then , hence the diagram

is commutative. By this diagram and the first diagram, we must have . Since is faithful, we deduce that . Hence is full.

Note that is essentially injective on objects by Lemma 5.1.4.

Finally, for every object of we have by using the isomorphism . Hence is essentially surjective on objects.

(2) (3) This is clear.

(3) (1) Suppose that is fully faithful and essentially surjective on objects. Then for every object of we may choose an object of (unique up to isomorphism by Lemma 5.1.4) such that . Hence to every object of we may associate an object (unique up to isomorphism) and an arrow which is an isomorphism.

Let be an arrow in . Consider the arrow . Since is fully faithful, there is a unique arrow such that . Then we define . Let us show that this assignment yields a functor. Let and be arrows in . Then there are unique arrows and such that and . It follows that:Thus the arrow associated to is , that is, . Then we have , which implies , because is faithful. Also, . This implies that , because is faithful. Hence is a functor.

We have , hence the following diagram is commutative:

This shows that we have a natural transformation , which is a natural isomorphism, because each component is an isomorphism.

In order to construct a natural transformation , for every object of consider the isomorphism . Then . Since is fully faithful, there is a unique arrow such that , and a unique arrow such that . We havewhich implies that , because is faithful. Similarly, one has . Hence each is an isomorphism.

We show that is a natural transformation. Let be an arrow in . Since is a natural transformation, we have the following commutative diagram:

It follows that . Since is faithful, we have . Then the following diagram is commutative:

Hence is a natural transformation, which is a natural isomorphism, because each component is an isomorphism.

Hence is an equivalence of categories.

We have a similar result for isomorphisms of categories.

定理 5.3.6. Let be a functor. Then the following are equivalent:

(1)

is (part of) an isomorphism of categories.

(2)

is fully faithful, injective on objects and surjective on objects.

证明. We give a direct proof, which is a simplification of the proof for equivalence of categories.

(1) (2) Suppose that is an isomorphism of categories. Then there is a functor such that and . If are arrows in such that , then , whence . Hence is faithful. If is an arrow in , then . Hence is full. If are objects of such that , then , whence . Hence is injective on objects. If is an object of , then . Hence is surjective on objects.

(2) (1) Suppose that is fully faithful, injective on objects and surjective on objects. Then for every object of we have an object of such that . If is another object of such that , then we have , which implies that , because is injective on objects. Hence to every object of we may associate a unique object . Now let be an arrow in . Then . Since is fully faithful, there is a unique arrow such that . Then we define . Let us show that defines a functor. Let and be arrows in . Then there are unique arrows and such that and . It follows that . Thus the arrow associated to is , that is, . Then we have , which implies , because is faithful. Also, . This implies that , because is faithful. Hence is a functor.

Finally, we have for every arrow in , and for every arrow in . Hence is an isomorphism of categories.

例 5.3.7. (1) Let be a category with two objects and , and two non-trivial morphisms and such that and , and let be a category with one object and one morphism . Then the functor given by and is fully faithful and essentially surjective on objects. Hence it is an equivalence of categories, but it is not an isomorphism of categories.

(2) Let the forgetful functor. Let us show that is a faithful functor, which is essentially surjective on objects, but it is not full.

Recall that a -linear map between two -vector spaces is a group homomorphism between the underlying abelian groups which respects the scalar multiplication. So two distinct -linear maps should already be distinct as group homomorphisms of underlying groups and respect the scalar multiplication. Hence is faithful.

Given the field and an abelian group , one may define the trivial -vector space on by taking for every . Then , which shows that is essentially surjective on objects.

Note that the endomorphism ring of the canonical -vector space is isomorphic to . But in general the endomorphism ring of the underlying abelian group is not isomorphic to (e.g., take . Hence is not full.

例 5.3.8. Let be the category of non-zero finite-dimensional -vector spaces and -linear maps. Note that is a full subcategory of the category . Consider also the category defined as follows:

objects: the non-zero natural numbers

arrows: the matrices in for

composition: the multiplication of matrices

identity arrow: the identity matrix

We show that there is an equivalence of categories between and .

Let be defined on objects of by , and on arrows by , where and are some fixed bases of and respectively. In this way we obtain a functor .

We show that is faithful. Let be arrows in , that is, -linear maps, such that . Then . But -linear maps are determined by their matrices, hence . Thus, is faithful.

We show that is full. Let , that is, an arrow in for some . Consider a -linear map such that . Then . Thus, is full.

We show that is essentially surjective on objects. Let , that is, an object in . Consider the object of . Then . Thus, is essentially surjective on objects.

Therefore, is an equivalence of categories by Theorem 5.3.6. Note that is not an isomorphism of categories.