Categories and functors

Similar documents
3. Categories and Functors We recall the definition of a category: Definition 3.1. A category C is the data of two collections. The first collection

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths.

Category Theory. Categories. Definition.

COMMUTATIVE ALGEBRA LECTURE 1: SOME CATEGORY THEORY

EXAMPLES AND EXERCISES IN BASIC CATEGORY THEORY

Algebraic Geometry

1 Categorical Background

Assume the left square is a pushout. Then the right square is a pushout if and only if the big rectangle is.

1 Introduction. 2 Categories. Mitchell Faulk June 22, 2014 Equivalence of Categories for Affine Varieties

Representable presheaves

Lecture 17: Invertible Topological Quantum Field Theories

Groupoid Representation Theory

The Universal Coefficient Theorem

A TALE OF TWO FUNCTORS. Marc Culler. 1. Hom and Tensor

Operads. Spencer Liang. March 10, 2015

Symbol Index Group GermAnal Ring AbMonoid

which is a group homomorphism, such that if W V U, then

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity.

OPERAD BIMODULE CHARACTERIZATION OF ENRICHMENT. V2

Category Theory. Travis Dirle. December 12, 2017

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

Algebraic Geometry Spring 2009

Category Theory (UMV/TK/07)

Adjunctions! Everywhere!

Universal Properties

arxiv:math/ v1 [math.at] 6 Oct 2004

LECTURE 1: SOME GENERALITIES; 1 DIMENSIONAL EXAMPLES

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 9: SCHEMES AND THEIR MODULES.

Direct Limits. Mathematics 683, Fall 2013

Topological aspects of restriction categories

ABSTRACT DIFFERENTIAL GEOMETRY VIA SHEAF THEORY

TCC Homological Algebra: Assignment #3 (Solutions)

Enriched Categories. Stephen Fitz

Homology and Cohomology of Stacks (Lecture 7)

IND-COHERENT SHEAVES AND SERRE DUALITY II. 1. Introduction

48 CHAPTER 2. COMPUTATIONAL METHODS

LECTURE 3: RELATIVE SINGULAR HOMOLOGY

C2.7: CATEGORY THEORY

and this makes M into an R-module by (1.2). 2

CONTINUITY. 1. Continuity 1.1. Preserving limits and colimits. Suppose that F : J C and R: C D are functors. Consider the limit diagrams.

Lectures on Homological Algebra. Weizhe Zheng

Algebraic Geometry Spring 2009

Adjoints, naturality, exactness, small Yoneda lemma. 1. Hom(X, ) is left exact

are additive in each variable. Explicitly, the condition on composition means that given a diagram

Introduction to Restriction Categories

The Adjoint Functor Theorem.

Serre A -functors. Oleksandr Manzyuk. joint work with Volodymyr Lyubashenko. math.ct/ Notation. 1. Preliminaries on A -categories

GALOIS CATEGORIES MELISSA LYNN

Commutative Algebra Lecture 3: Lattices and Categories (Sept. 13, 2013)

Cartesian Closed Topological Categories and Tensor Products

OVERVIEW OF SPECTRA. Contents

Algebraic Geometry Spring 2009

SECTION 2: THE COMPACT-OPEN TOPOLOGY AND LOOP SPACES

A duality on simplicial complexes

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 3

Pushouts, Pullbacks and Their Properties

EXT, TOR AND THE UCT

Algebraic Geometry Spring 2009

LOCAL VS GLOBAL DEFINITION OF THE FUSION TENSOR PRODUCT

From Wikipedia, the free encyclopedia

IndCoh Seminar: Ind-coherent sheaves I

1. Introduction. Let C be a Waldhausen category (the precise definition

Lie Algebra Cohomology

Representations of quivers

Quillen cohomology and Hochschild cohomology

Some remarks on Frobenius and Lefschetz in étale cohomology

MATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA 23

COHOMOLOGY AND DIFFERENTIAL SCHEMES. 1. Schemes

Category Theory 1 Categories and functors

Formal Homotopy Quantum Field Theories and 2-groups.

Math 210B. Profinite group cohomology

COURSE NOTES: HOMOLOGICAL ALGEBRA

Theory of Categories 1. Notes M. Grandis Laurea e Laurea Magistrale in Matematica, Genova.

Elementary (ha-ha) Aspects of Topos Theory

A GLIMPSE OF ALGEBRAIC K-THEORY: Eric M. Friedlander

The Ordinary RO(C 2 )-graded Cohomology of a Point

RTG Mini-Course Perspectives in Geometry Series

Morita Equivalence. Eamon Quinlan

ON THE HOMOTOPY THEORY OF ENRICHED CATEGORIES

Supercategories. Urs July 5, Odd flows and supercategories 4. 4 Braided monoidal supercategories 7

MATH 101A: ALGEBRA I PART C: TENSOR PRODUCT AND MULTILINEAR ALGEBRA. This is the title page for the notes on tensor products and multilinear algebra.

3. The Sheaf of Regular Functions

LECTURE X: KOSZUL DUALITY

Dual Adjunctions Between Algebras and Coalgebras

Derived Morita theory and Hochschild Homology and Cohomology of DG Categories

Math 535a Homework 5

Endomorphism Rings of Abelian Varieties and their Representations

ALGEBRAIC K-THEORY HANDOUT 5: K 0 OF SCHEMES, THE LOCALIZATION SEQUENCE FOR G 0.

Boolean Algebras, Boolean Rings and Stone s Representation Theorem

POSTNIKOV EXTENSIONS OF RING SPECTRA

Categories and Modules

An introduction to Yoneda structures

DESCENT THEORY (JOE RABINOFF S EXPOSITION)

1. Algebraic vector bundles. Affine Varieties

p,q H (X), H (Y ) ), where the index p has the same meaning as the

Spectral sequences. 1 Homological spectral sequences. J.T. Lyczak, January 2016

sset(x, Y ) n = sset(x [n], Y ).

58 CHAPTER 2. COMPUTATIONAL METHODS

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

Transcription:

Lecture 1 Categories and functors Definition 1.1 A category A consists of a collection ob(a) (whose elements are called the objects of A) for each A, B ob(a), a collection A(A, B) (whose elements are called the maps or morphisms or arrows from A to B) for each A, B, C ob(a), a function (called composition) A(B, C) A(A, B) A(A, C), (g, f) g f for each A ob(a), an element 1 A A(A, A) (the identity on A) satisfying associativity: (h g) f = h (g f) for all A, B, C, D ob(a), f A(A, B), g A(B, C), and h A(C, D) unit laws: f 1 A = f = 1 B f for all A, B ob(a) and f A(A, B). Notation 1.2 We often write: A A to mean A ob(a) f : A B or A f B to mean f A(A, B) gf to mean g f. People often write A(A, B) as Hom A (A, B) or Hom(A, B). Remarks 1.3 a. Loosely, a category is a system of objects and arrows in which any string of arrows A 0 f 1 f n A n gives rise to precisely one arrow A 0 A n. When n = 2, this is composition; when n = 0, it is the formation of identities; when n = 3, the precisely one part implies the associativity law; and when n = 0, it implies the unit laws. 7

b. I will say as little as you let me about set theory. It suffices to make a naive distinction between small and large collections, which can be interpreted as meaning sets and proper classes respectively. A category A is locally small if A(A, B) is a small collection for each A and B. (Many authors build locally small into their definition of category.) A category A is small if it is locally small and the collection ob(a) is small. c. A harmless convention is that A(A, B) A(A, B ) = unless A = A and B = B. If f A(A, B), the domain of f is A and the codomain of f is B. The most obvious examples of categories come under the banner categories of mathematical structures. Example 1.4 There is a category Set in which the objects are sets and the maps are functions. Similarly: Top is topological spaces and continuous maps Gp is groups and homomorphisms Ab is abelian groups and homomorphisms k-mod is (left) k-modules and homomorphisms, for any ring k. Example 1.5 There is an obvious notion of subcategory. For instance, there is a subcategory of Ab consisting of all abelian groups with between 50 and 60 elements and all surjective homomorphisms between them. A map f : A B in a category is an isomorphism if there exists f : B A satisfying f f = 1 A and ff = 1 B. There is at most one such f (exercise), so we may write f = f 1 and call it the inverse of f. We also call A and B isomorphic and write A = B. The next examples are categories as mathematical structures. Example 1.6 A (partial) order on a set A is a binary relation on A that is reflexive, transitive, and antisymmetric (a b a implies a = b). Examples: A = R and has the usual meaning; A is the set of subsets of some fixed set and is ; A = N and a b means a b. An ordered set (A, ) can be regarded as a category A in which each hom-set A(a, b) has at most one element. The objects of A are the elements of A, and there is an arrow a b if and only if a b. It doesn t matter what you call this arrow; you can think of it as the assertion that a b. This example shows that the maps in a category need not be remotely like maps in the sense of functions. 8

Example 1.7 A monoid is a set equipped with an associative binary operation and a two-sided unit (e.g. (N, +, 0)). A small category with precisely one object is the same thing as a monoid. For if the object is called, say, then such a category consists of a single hom-set A(, ) together with an associative binary operation (composition) and a two-sided unit (the identity on ). Example 1.8 In particular, a group is the same thing as a one-object small category in which every arrow is an isomorphism. Example 1.9 A groupoid is a category in which every arrow is an isomorphism. Every topological space X has a fundamental groupoid Π 1 (X), whose objects are the points of X and whose arrows x y are the homotopy classes of paths from x to y. Digression 1.10 You might have noticed that in many categories A, the sets A(A, B) carry extra structure. For instance, if A = k-mod then they are abelian groups, and if A is a suitable category of spaces then they carry a topology. Such things are called enriched categories. Homological algebra works with abelian categories. An Ab-category is a category in which each A(A, B) has the structure of an abelian group and composition is bilinear. An additive category is an Ab-category satisfying further conditions. An abelian category is an additive category satisfying further conditions still, enabling one to define and manipulate exact sequences inside the category. The basic example is k-mod where k is a commutative ring. Definition 1.11 Let A and B be categories. A functor F : A B consists of a function ob(a) ob(b), A F A for each A, A ob(a), a function such that A(A, A ) B(F A, F A ), f F f F (f f) = F f F f for all A f A f A in A 9

F 1 A = 1 F A for all A A. Loosely, a functor A B is something that associates to every object A of A an object F A of B and to every string of arrows A 0 f 1 f n A n in A precisely one arrow F A 0 F A n. When n = 1 this says what the (F f)s are; when n = 2 and n = 0 it implies that F preserves composition and identities. Example 1.12 Forgetful functors (an informal term) are functors that forget structure or properties. For instance, there is a functor Gp Set sending every group to its underlying set; it forgets the group structure and that homomorphisms are homomorphisms. There is a forgetful functor Ab Gp, which might also be called an inclusion; it forgets the property of being abelian. Example 1.13 In the other direction, free functors add in structure or properties freely. For instance, there is a functor Set Gp that forms the free group on each set, and a functor F : Gp Ab that sends each group to its largest abelian quotient: F (X) is X ab = X/[X, X], the abelianization of X. Example 1.14 Any monoid M (e.g. a group) can be regarded as a oneobject category (1.7). A functor M Set is just a set with a left A-action. Similarly, a functor from A k-mod is a k-linear representation of A. Some functors reverse the direction of arrows: an arrow A f A in A gives rise to an arrow F A F f F A in B. This can be made precise as follows. Given a category A, the opposite or dual category A op is defined by ob(a op ) = ob(a) and A op (A, A) = A(A, A ); composition and identities are as in A, but reversed. A functor A op B (or equivalently, A B op ) is called a contravariant functor; ordinary functors are sometimes called covariant, for emphasis. Example 1.15 Taking duals defines a functor Vect op k Vect k, V V, where Vect k is the category of vector spaces over a field k. 10

Example 1.16 Homology defines a functor H : Top GrAb = (graded abelian groups); cohomology defines a functor H : Top op GrAb. Example 1.17 Fix a topological space X. The set Open(X) of open subsets of X can be ordered by inclusion, and so forms a category (1.6). A functor Open(X) op Set is called a presheaf (of sets) on X. Concretely, a presheaf on X consists of a set F (U) for each open set U, and, for each pair U U of open sets, a function F (U) F (U ), satisfying some axioms. Example: F (U) is the set of continuous maps U R, and the functions F (U) F (U ) are given by restriction. More generally, a presheaf on a category A is a functor A op Set. Functors are the structure-preserving maps of categories; they can be composed, so there is a (large) category Cat consisting of small categories and functors. Informally, there is also a (huge) category CAT consisting of all categories and functors. In the next lecture we ll see that there is a further notion of map between functors. Exercises 1.18 There is a category Toph whose objects are topological spaces and whose arrows X Y are homotopy classes of continuous maps from X to Y. What would you need to know about homotopy in order to prove that this is a category? What does it mean for two objects of Toph to be isomorphic? 1.19 Two categories A and B are isomorphic, written A = B, if they are isomorphic as objects of CAT. Prove that any group, regarded as a oneobject category, is isomorphic to its opposite. Find a monoid not isomorphic to its opposite. 1.20 Prove that functors preserve isomorphism. 11