“Category” and “Functor” and Talked About Universal Mapping Properties

“Category” and “Functor” and Talked About Universal Mapping Properties

CHAPTER XI CATEGORIES 1. Category theory We have used the terms “category” and “functor” and talked about universal mapping properties. We are now ready to discuss the general abstract theory behind these concepts. A category C consists of the following: (a) a class obj(C) called the objects of C; (b) for each ordered pair (a, b) with a and b in obj(C), a set homC (a, b) called the morphisms from a to b; (c) for each ordered triple (a, b, c) from obj(C), a binary operation homC(a, b) × homC (b, c) → homC (a, c) called composition and denoted (f,g) → gf. If f ∈ homC (a, b), then a is called the domain of f and b is called the codomain of f, and we write f : a → b to summarize these facts. In addition, we require the following rules to hold: 0 0 0 0 (i) The sets homC (a, b)andhomC (a ,b) are disjoint unless (a, b)=(a,b). (ii) For f ∈ homC (a, b),g ∈homC (b, c),h∈homC (c, d)wehave h(gf)=(hg)f. (iii) For each a in obj(C) there is an element ida ∈ homC (a, a) such that fida = f for each f with codomain a and idag = g for each g with domain a. We have seen many examples of categories: the category of sets and mappings of sets, the category of groups and group homomorphisms, the category of rings and ring homomorphisms, the category of left (or right) modules over a given ring A and module homomorphisms, etc. The general concept of category generalizes all of these examples, but it is in fact much more powerful, as we shall see below. The class obj(C) is useful for discussing the category, but the union of the sets homC(a, b) —the collection of all morphisms in the category—is really the basic structure under consideration. We could have defined a category as a class of elements called morphisms with a partially defined law of composition which is associative where defined and for which certain special kinds of left and right identities exist. obj(C)could then be chosen to be the class of these identities. Note that we have used the terms “class” and “set” in the above discussion. The reason for this is that classical set theory is not quite adequate to do general category theory since one wants to consider things like the category of “all” groups, and such things are not acceptable sets in the classical theory. In classical set theory, it is easy to produce paradoxes by considering “large sets”, so the designers of that theory put in various restrictions to avoid those paradoxes. This was done in a way which which was a bit too restrictive for category theory. We shall leave such questions to category theorists and not generally concern ourselves with such issues in this course. Note, however, once two objects a and b are fixed, homC (a, b) is supposed to be a set in the classical sense. In each of the above examples of categories, the objects were themselves sets and the morphisms were maps between these sets. Although this is often the case, it need not be true in every case. We give two examples. Typeset by AMS-TEX 107 108 XI. CATEGORIES 1. Let C be a monoid. Let obj(C) consist of a single object, say the identity 1 of C. Then every domain and codomain is this one object and composition must always be defined. Let homC(1, 1) = C and let composition in the category C be the given binary operation in the monoid C. Since there is only one object, only one identity is needed and clearly id1 = 1. In this example, the object does not have an internal structure as a set with the morphisms being set maps. 2. Let Ω be a partially ordered set with an order relation a ≤ b. We make Ω into a category by letting Ω the set of objects and by letting homΩ(a, b) consist of a single element (say the pair (a, b) to be definite) if a ≤ b and letting it be empty otherwise. If hom(a, b)andhom(b, c) are nonempty, that means that a ≤ b and b ≤ c whence a ≤ c by transitivity. If f is the unique element of hom(a, b)andgis the unique element of hom(b, c), we define gf to be the unique element of hom(a, c). It is easy to see that this operation is associative. The unique element of hom(a, a) (which is nonempty since a ≤ a)isida. Thus it would seem that the proofs in general category theory cannot rely on any interpretation of objects in a cateogory as sets and morphisms in the category as ordinary mappings between sets. In fact, there are representation theorems in category theory which say that subject to suitable hypotheses, we may reinterpret a category as a subcategory of the category of sets and act as though the objects had elements. Be this as it may, it is really counter to the philosophy of category theory to work with elements. Let C be a category. A morphism f in C is called an isomorphism if it is invertible, i.e., if there is a g in C with dom(g)=cod(f)=b, cod(g)=dom(f)=aand gf = ida,fg = idb. A morphism f in C is called a monomorphism (or injection) if fg1 = fg2 ⇒ g1 = g2 whenever dom(f)=cod(g1)=cod(g2)anddom(g1)=dom(g2). f is called an epimorphism (or surjection) if g1f = g2f ⇒ g1 = g2 whenever cod(f)=dom(g1)=dom(g2)andcod(g1)=cod(g2). It is easy to see that in any category C every isomorphism is a bijection (.e., both a monomorphism and epimorphism). In the category of sets and many other categories, every bijection is an isomorphism. However, that is not true in every category. For example, let C be the category with one object the closed interval [0, 1] and with the morphisms being continuous bijections (in the set theoretic sense) f :[0,1] → [0, 1] which are differentiable on the open interval (0, 1). Every morphism f in C is both a monomorphism and an epimorphism in the categorical sense—see below—but there are certainly such maps without differentialbe inverses, and those would not be isomorphisms. If C is a category, the dual category C0 is the category with the same objects and morphisms as C, but for each morphism f, the domain of f in C0 is defined to be the codomain of f in C, the codomain of f in 0 C0 is defined to be the domain of f in C, and the composition gf in C is defined to be the result of the composition fg in C. In general, for any diagram in the category C, there is a corresponding diagram in the category C0 obtained by reversing all the arrows. Clearly, (C0)0 = C. Let C and D be categories. A covariant functor F : C → D is a function which associates to each object a in obj(C) an object F (a)inobj(D) and to each morphism f : a → b in C a morphism F (f):F(a)→F(b) such that (i) F (gf)=F(g)F(f) whenever the composition gf is defined and, (ii) F (ida)=idF (a) for each object a in obj(C). Recalling that the definition of category can be recast without the objects, one is better off thinking of a functor of being a function which preserves the law of composition when defined and also preserves identities. A contravariant functor F : C → D is defined to be a covariant functor F : C0 → D. (We use the same notation!) Then F (gf)=F(f)F(g) whenever gf is defined in C. A simple but useful functor is the forgetful functor which, for each category whose objects are sets and morphisms are maps between sets, associates with an object a in the cateogry its underlying set |a| and with a morphism f the underlying set map |f| : |a|→|b|. Proposition. In the category of sets, a morphism f is mono in the categorical sense if and only if it is one-to-one, and it is epi in the categorical sense if and only if it is onto. For the category of groups, the 1. CATEGORY THEORY 109 category of abelian groups, and the category of left (right) A-modules over a fixed ring A, a morphism f is mono (epi) if and only if |f| is mono (epi). Proof. The first part is not too hard. If f is one-to-one then fg1 = fg2 ⇒ g1 = g2 since f(g1(x)) = f(g2(x)) ⇒ g1(x)=g2(x) for every x ∈ dom(g1)=dom(g2). Conversely, let f be a monomorphism and suppose f(x)=f(y). Let {·} be any set with a single element and define g1(·)=xand g2(·)=y.Sincefg1 = fg2, we may conclude that g1 = g2, i.e., x = y. Similar arguments work for epimorphisms. Consider the categories referred to in the statement of the Proposition. If |f| is a mono (epi) in the category of sets, it follows easily that f is a mono (epi) in the desired category by functorality and the fact that |g1| = |g2|⇒g1 =g2 for those categories. Conversely, we need to show for these categories that the forgetful functor preserves monos (epis). That is fairly easy for the category of abelian groups or modules over a ring, but the category of (possibly nonabelian) groups presents some problems.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us