Docsity

Category Theory: Lecture Notes for Math 614, Study notes of Mathematics

Toggle sidebar
bg1
Math 614: Lecture notes
Sep 7, 2007
The topic for today is category theory. Categories are fundamental for
understanding mathematics, and we will use several concepts from it crucially
in this course, especially that of the adjoint functor.
Definition 1. Acategory Cconsists of the following data:
•A class Ob(C), called the objects of C.
•For each pair X, Y ∈Ob(C), a set HomC(X, Y ) (also denoted Mor(X, Y )
or Hom(X, Y ) if Cis understood), called the morphisms from Xto Y.
If f∈HomC(X, Y ), an alternative notation is f:X→Yor Xf
−→ Y.
•For every triple X, Y, Z ∈Ob(C), a set map
7 HomC(Y, Z )×HomC(X, Y )◦
−→ HomC(X, Z )
called composition. (If g:Y→Zand f:X→Y, write gf or
g◦f:X→Z.)
satisfying the axioms:
1. Hom(X, Y )∩Hom(X0, Y 0) = ∅unless X=X0and Y=Y0.
2. For each X∈Ob C, there is an identity morphism 1X∈Hom(X, X ),
such that for any Y, Z ∈Ob C,f∈Hom(Y, X ), and g∈Hom(X, Z),
we have 1X◦f=fand g◦1X=g.
3. Associativity of composition: (h◦g)◦f=h◦(g◦f) whenever the
compositions make sense.
Moreover, f:X→Yis an isomorphism if there is some g:Y→Xsuch
that g◦f= 1Xand f◦g= 1Y.
1
pf3
pf4
pf5

Partial preview of the text

Download Category Theory: Lecture Notes for Math 614 and more Study notes Mathematics in PDF only on Docsity!

Math 614: Lecture notes

Sep 7, 2007

The topic for today is category theory. Categories are fundamental for understanding mathematics, and we will use several concepts from it crucially in this course, especially that of the adjoint functor.

Definition 1. A category C consists of the following data:

  • A class Ob(C ), called the objects of C.
  • For each pair X, Y ∈ Ob(C ), a set HomC (X, Y ) (also denoted Mor(X, Y ) or Hom(X, Y ) if C is understood), called the morphisms from X to Y. If f ∈ HomC (X, Y ), an alternative notation is f : X → Y or X f −→ Y.
  • For every triple X, Y, Z ∈ Ob(C ), a set map

7 HomC (Y, Z) × HomC (X, Y ) ◦ −→ HomC (X, Z)

called composition. (If g : Y → Z and f : X → Y , write gf or g ◦ f : X → Z.)

satisfying the axioms:

  1. Hom(X, Y ) ∩ Hom(X′, Y ′) = ∅ unless X = X′^ and Y = Y ′.
  2. For each X ∈ Ob C , there is an identity morphism (^1) X ∈ Hom(X, X), such that for any Y, Z ∈ Ob C , f ∈ Hom(Y, X), and g ∈ Hom(X, Z), we have 1X ◦ f = f and g ◦ (^1) X = g.
  3. Associativity of composition: (h ◦ g) ◦ f = h ◦ (g ◦ f ) whenever the compositions make sense.

Moreover, f : X → Y is an isomorphism if there is some g : Y → X such that g ◦ f = 1X and f ◦ g = 1Y.

Examples of categories

  1. Set
    • Objects = all sets.
    • Morphisms: HomSet(X, Y ) = all set functions from X to Y.
    • Composition = ordinary composition of functions^1

Note that an isomorphism in the category of sets is just any bijection.

  1. CRng
    • Objects = Commutatitve rings with unity (i.e. what we usually just call rings)
    • Morphisms = ring homomorphisms
  2. For a fixed ring R, (^) RMod:
    • Objects = R-modules.
    • Morphisms = R-module homomorphisms (also called R-linear maps). We write HomR(M, N ) := HomRMod(M, N ).
  3. For a fixed ring A, (^) AAlg:
    • Objects = A-algebras. By definition, an A-algebra is a ring R together with a fixed ring homomorphism αR : A → R, which in practice is usually omitted from the notation.
    • HomAAlg(R, S) := A-algebra homomorphisms from R to S. By definition, an A-algebra homomorphism from R to S is a map f : R → S such that f ◦ αR = αS.
  4. Group
    • Objects = groups
    • Morphisms = group homomorphisms
  5. Ab: abelian groups. (^1) In categories which have a forgetful functor to the category of sets (see below), com-

position will be ordinary composition of set functions unless otherwise noted.

  1. For any category C , the opposite category C op^ is defined as follows:
    • Ob(C op) := Ob C.
    • For any pair X, Y ∈ Ob(C ), HomC op^ (X, Y ) := HomC (Y, X). That is, all arrows are reversed.
    • Composition in C op^ is the reverse of composition in C. That is, g ◦C op^ f := f ◦C g.
  2. For any pair C , D of categories, the product category C × D is defined as follows:
    • Ob(C ×D) := Ob(C )×Ob(D). That is, an object is a pair (C, D), where C ∈ Ob(C ) and D ∈ Ob(D).
    • HomC ×D ((C, D), (C′, D′)) := HomC (C, C′) × HomD (D, D′).
    • Composition is defined component-wise: (g, g′) ◦ (f, f ′) := (g ◦ f, g′^ ◦ f ′).

For any set S and any S-indexed set of categories {Cs | s ∈ S}, one can similarly define the product category

s∈S Cs.^ If^ C^ =^ Cs^ for all s ∈ S, we also write C S^.

Definition 2. For categories C , D, a (covariant) functor 3 F : C → D consists of a function F : Ob C → Ob D, and for every pair X, Y ∈ Ob C a function F : HomC (X, Y ) → HomD (F (X), F (Y )), such that F (1X ) = 1F (X) for all X ∈ Ob C , and that whenever the composition g ◦ f in C makes sense, we have F (g ◦ f ) = F (g) ◦ F (f ). A contravariant functor F : C → D is a covariant functor F : C → Dop.

Examples of functors

  1. For any category C , the identity functor (^1) C : C → C is defined to be the identity map on objects and morphism sets of C.
  2. Abelianization F : Group → Ab. For a group G, F (G) := G/[G, G]. For a group homomorphism f : G → H, from group theory we know that there is an induced homomorphism f˜ : G/[G, G] → H/[H, H] of abelian groups. Set F (f ) := f˜. Then F is a functor. (^3) If it is unspecified whether a functor is covariant or contravariant, typically assume it is covariant.
  1. For any two functors F : C → D and G : D → E (covariant or contravariant), the composition G ◦ F : C → E is a functor if we set (G ◦ F )(C) := G(F (C)) on objects and (G ◦ F )(f ) := G(F (f )) on morphisms. If F and G are both covariant or both contravariant, then G ◦ F is covariant. If one is covariant and one contravariant, then the composition is contravariant.
  2. Forgetful funtors: If C is a category whose objects have underlying sets and whose mor- phisms are underlying set maps (e.g. Group, Ab, CRng, Top, (^) AAlg, or (^) RMod), then there is a forgetful functor U : C → Set, which sends each object to its underlying set and each morphism to its underlying set map. Note that in the same way, there are also sequences of “for- getful functors” (^) RAlg → CRng → Ab and (^) RAlg → (^) RMod → Ab → Group. In general, a forgetful functor is a functor U : D → C such that the objects and/or morphisms of D have strictly more algebraic structure than those of C , and U is the map which corresponds to removing the ”extra” structure from the objects and morphisms.
  3. Diagonal functors: If C is a category, the diagonal functor ∆ : C → C × C is defined on objects by ∆(C) := (C, C) and on morphisms by ∆(f ) = (f, f ). If S is a set, one can similarly define the diagonal functor C → C S^.
  4. The prime spectrum functor – Spec : CRng → Topop. We will next define a functor which is of particular importance to com- mutative ring theory. It will take some development (see below):

Spec as a contravariant functor

Thus far, we have defined Spec R as the set of prime ideals of R. There is, however, a useful way to define a topology on it.

Topology of Spec

Fix the ring R for the moment, and set X := Spec(R). For any ideal I ⊆ R, define V (I) := {p ∈ Spec R | p ⊇ I}. Then set σX := {V (I) | I ⊆

functor, because the inverse image of a maximal ideal is often not maximal. (e.g. for the injective ring map Z → Q, 0 is maximal in Q but not in Z.) However, as we shall see later, if k is a field and R, S are both finitely generated k-algebras, the inverse image of a maximal ideal of S is always a maximal ideal of R, and indeed Ω does give a contravariant functor from the category of finitely generated k-algebras to the category of topological spaces. This fact is basic to the interaction between commutative algebra and classical algebraic geometry.