-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlims.tex
3109 lines (2834 loc) · 85.3 KB
/
lims.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% Basic Category Theory
% Tom Leinster <[email protected]>
%
% Copyright (c) Tom Leinster 2014-2016
%
% Chapter 5: Limits
%
\chapter{Limits}
\label{ch:lims}
Limits, and the dual concept, colimits, provide our third approach to the
idea of universal property.
Adjointness is about the relationships \emph{between} categories.
Representability is a property of \emph{set-valued} functors. Limits are
about what goes on \emph{inside} a category.
The concept of limit unifies many familiar constructions in mathematics.
Whenever you meet a method for taking some objects and maps in a category
and constructing a new object out of them, there is a good chance that you
are looking at either a limit or a colimit. For instance, in group theory,
we can take a homomorphism between two groups and form its kernel, which
is a new group. This construction is an example of a limit in the category
of groups. Or, we might take two natural numbers and form their lowest
common multiple. This is an example of a colimit in the poset of natural
numbers, ordered by divisibility.
\section{Limits: definition and examples}
\label{sec:lims-basics}
The definition of limit is very general. We build up to it by first
examining some particularly useful types of limit: products, equalizers,
and pullbacks.
\minihead{Products}
Let $X$ and $Y$ be sets. The familiar cartesian product%
%
\index{set!category of sets!products in}
%
$X \times Y$ is characterized by the property that an element of $X \times
Y$ is an element of $X$ together with an element of $Y$. Since elements
are just maps from $1$, this says that a map $1 \to X \times Y$ amounts to
a map $1 \to X$ together with a map $1 \to Y$.
A little thought reveals that the same is true when $1$ is replaced
throughout by any set $A$ whatsoever. (In other words, a generalized
element of $X \times Y$ of shape $A$ amounts to a generalized element of
$X$ of shape $A$ together with a generalized element of $Y$ of shape $A$.)
The bijection between
\[
\text{maps } A \to X \times Y
\]
and
\[
\text{pairs of maps } (A \to X,\ A \to Y)
\]
is given by composing with the projection maps
\[
\begin{array}{ccccc}
X &\otby{p_1} &X \times Y &\toby{p_2} &Y \\
x &\mapsfrom &(x, y) &\mapsto &y.
\end{array}
\]
This suggests the following definition.
\begin{defn}
\label{defn:bin-prod}
Let $\cat{A}$ be a category and $X, Y \in \cat{A}$. A \demph{product}%
%
\index{product}
%
of $X$ and $Y$ consists of an object $P$ and maps
\[
\xymatrix{
&P \ar[ld]_{p_1} \ar[rd]^{p_2} & \\
X & &Y
}
\]
with the property that for all objects and maps
%
\begin{equation}
\label{eq:bin-prod-cone}
\begin{array}{c}
\xymatrix{
&A \ar[ld]_{f_1} \ar[rd]^{f_2} & \\
X & &Y
}
\end{array}
\end{equation}
%
in $\cat{A}$, there exists a unique map $\bar{f}\from A \to P$ such that
%
\begin{equation}
\label{eq:bin-prod-lim}
\begin{array}{c}
\xymatrix{
&A \ar[ldd]_{f_1} \ar@{.>}[d]|{\bar{f}\vphantom{\bar{\bar{f}}}}
\ar[rdd]^{f_2}& \\
&P \ar[ld]^{p_1} \ar[rd]_{p_2} & \\
X & &Y
}
\end{array}
\end{equation}
%
commutes. The maps $p_1$ and $p_2$ are called the \demph{projections}.%
%
\index{projection}
%
\end{defn}
\begin{remarks}
\label{rmks:prod}
\begin{enumerate}[(b)]
\item
\label{rmks:prod:exist}
Products do not always exist. For example, if $\cat{A}$ is the discrete
two-object category
\[
\fbox{$X\bullet$ \hspace*{2em} $\bullet Y$}
\]
then $X$ and $Y$ do not have a product. But when objects $X$ and $Y$ of a
category do have a product, it is unique%
%
\index{product!uniqueness of}
%
up to isomorphism. (This can be proved directly, much as in
Lemma~\ref{lemma:init-unique}. It also follows from
Corollary~\ref{cor:lims-unique}.) This justifies talking about \emph{the}
product of $X$ and $Y$.
\item
Strictly speaking, the product consists of the object $P$ \emph{together
with} the projections $p_1$ and $p_2$. But informally,%
%
\index{product!informal usage}
%
we often refer to $P$ alone as the product of $X$ and $Y$. We write $P$ as
$X \times Y$.%
%
\ntn{prod-gen}
%
\end{enumerate}
\end{remarks}
\begin{example}
\label{eg:sets}
Any two sets $X$ and $Y$ have a product%
%
\index{set!category of sets!products in}
%
in $\Set$. It is the usual cartesian product $X \times Y$, equipped with
the usual projection maps $p_1$ and $p_2$.
Let us check that this really is a product in the sense of
Definition~\ref{defn:bin-prod}. Take sets and functions as in
diagram~\eqref{eq:bin-prod-cone}. Define $\bar{f}\from A \to X \times Y$
by $\bar{f}(a) = (f_1(a), f_2(a))$. Then $p_i \of \bar{f} = f_i$ for $i =
1, 2$; that is, diagram~\eqref{eq:bin-prod-lim} commutes with $P = X \times
Y$. Moreover, this is the \emph{only} map making
diagram~\eqref{eq:bin-prod-lim} commute. For suppose that $\hat{f}\from A
\to X \times Y$, in place of $\bar{f}$, also makes~\eqref{eq:bin-prod-lim}
commute. Let $a \in A$, and write $\hat{f}(a)$ as $(x, y)$. Then
\[
f_1(a) = p_1(\hat{f}(a)) = p_1(x, y) = x,
\]
and similarly, $f_2(a) = y$. Hence $\hat{f}(a) = (f_1(a), f_2(a)) =
\bar{f}(a)$ for all $a \in A$, giving $\hat{f} = \bar{f}$, as required.
\end{example}
In general, in any category, the map $\bar{f}$ of
diagram~\eqref{eq:bin-prod-lim} is usually written as $(f_1, f_2)$.
\begin{example}
\label{eg:prod-spaces}
In the category of topological spaces, any two objects $X$ and $Y$ have a
product.%
%
\index{topological space!category of topological spaces!products in}
%
It is the set $X \times Y$ equipped with the product topology and the
standard projection maps. The product topology is deliberately designed so
that a function
\[
\begin{array}{ccc}
A &\to &X \times Y \\
t &\mapsto &(x(t), y(t))
\end{array}
\]
is continuous if and only if it is continuous in each coordinate (that is to
say, both functions
\[
t \mapsto x(t),
\qquad
t \mapsto y(t)
\]
are continuous). This holds for any space $A$, but the idea is perhaps at
its most intuitively appealing when $A = \reals$ and we think of $t$ as a
time parameter.
A closely related statement is that the product topology is the smallest
topology on $X \times Y$ for which the projections are continuous. Here
`smallest' means that for any other topology $\mathcal{T}$ on $X \times Y$
such that $p_1$ and $p_2$ are continuous, every subset of $X \times Y$ open
in the product topology is also open in $\mathcal{T}$. Thus, to define the
product topology, we declare just enough sets to be open that the
projections are continuous.
\end{example}
\begin{example}
\label{eg:prod-vs}
Now let $X$ and $Y$ be vector spaces. We can form their direct sum,%
%
\index{vector space!direct sum of vector spaces}%
\index{vector space!category of vector spaces!products in}
%
$X \oplus Y$,%
%
\ntn{direct-sum}
%
whose elements can be written as either $(x, y)$ or $x + y$ (with $x \in
X$ and $y \in Y$), according to taste. There are linear projection maps
\[
\xymatrix{
&X \oplus Y \ar[ld]_{p_1} \ar[rd]^{p_2} & \\
X & &Y
}
%
\qquad
%
\xymatrix{
&(x, y) \ar@{|->}[ld] \ar@{|->}[rd] & \\
x & &y.
}
\]
It can be shown that $X \oplus Y$, together with $p_1$ and $p_2$, is the
product of $X$ and $Y$ in the category of vector spaces
(Exercise~\ref{ex:prod-vs}).
\end{example}
\begin{examples}[Elements of ordered sets]
\label{eg:prod-order}
%
\index{ordered set!product in|(}
%
\begin{enumerate}[(b)]
\item
Let $x, y \in \reals$. Their minimum $\min\{x, y\}$ satisfies
\[
\min\{x, y\} \leq x,
\qquad
\min\{x, y\} \leq y
%
\index{minimum}
%
\]
and has the further property that whenever $a \in \reals$ with
\[
a \leq x,
\qquad
a \leq y,
\]
we have $a \leq \min\{x, y\}$. This means exactly that when the poset
$(\reals, \mathord{\leq})$ is viewed as a category, the product of $x, y
\in \reals$ is $\min\{x, y\}$. The definition of product simplifies when
interpreted in a poset, since all diagrams commute.
\item
Fix a set $S$. Let $X, Y \in \pset(S)$.%
%
\index{power!set}
%
Then $X \cap Y$%
%
\index{intersection}
%
satisfies
\[
X \cap Y \sub X,
\qquad
X \cap Y \sub Y
\]
and has the further property that whenever $A \in \pset(S)$ with
\[
A \sub X,
\qquad
A \sub Y,
\]
we have $A \sub X \cap Y$. This means that $X \cap Y$ is the product of
$X$ and $Y$ in the poset $(\pset(S), \mathord{\sub})$ regarded as a
category.
\item
Let $x, y \in \nat$. Their greatest%
%
\index{greatest common divisor}
%
common divisor $\gcd(x, y)$ satisfies
\[
\gcd(x, y) \divides x,
\qquad
\gcd(x, y) \divides y
\]
(it's a common divisor!)\ and has the further property that whenever $a \in
\nat$ with
\[
a \divides x,
\qquad
a \divides y,
\]
we have $a \divides \gcd(x, y)$. This means that $\gcd(x, y)$ is the
product of $x$ and $y$ in the poset $(\nat, \mathord{\mid})$ regarded as a
category.
\end{enumerate}
Generally, let $(A, \mathord{\leq})$ be a poset and $x, y \in A$. A
\demph{lower%
%
\index{lower bound}
%
bound} for $x$ and $y$ is an element $a \in A$ such that $a
\leq x$ and $a \leq y$. A \demph{greatest%
%
\index{greatest lower bound}
%
lower bound} or \demph{meet}%
%
\index{meet}
%
of $x$ and $y$ is a lower bound $z$ for $x$ and $y$ with the further
property that whenever $a$ is a lower bound for $x$ and $y$, we have $a
\leq z$.
When a poset is regarded as a category, meets are exactly products. They do
not always exist, but when they do, they are unique. The meet of $x$ and $y$
is usually written as $x \meet y$%
%
\ntn{meet}
%
rather than $x \times y$. Thus, in the three examples above,
\[
x \meet y = \min\{x, y\},
\qquad
X \meet Y = X \cap Y,
\qquad
x \meet y = \gcd(x, y),
\]
the second example being the origin of the notation.%
%
\index{ordered set!product in|)}
%
\end{examples}
We have been discussing products $X \times Y$ of \emph{two} objects,
so-called \demph{binary%
%
\index{product!binary}
%
products}. But there is no reason to stick to two. We can just as well
talk about products $X \times Y \times Z$ of three objects, or of
infinitely many objects. The definition changes in the most obvious way:
\begin{defn}
\label{defn:gen-prod}
Let $\cat{A}$ be a category, $I$ a set, and $(X_i)_{i \in I}$ a family of
objects of $\cat{A}$. A \demph{product}%
%
\index{product}
%
of $(X_i)_{i \in I}$ consists of an object $P$ and a family of maps
\[
\Bigl(P \toby{p_i} X_i\Bigr)_{i \in I}
\]
with the property that for all objects $A$ and families of maps
%
\begin{equation}
\label{eq:gen-prod-cone}
\Bigl(A \toby{f_i} X_i\Bigr)_{i \in I}
\end{equation}
%
there exists a unique map $\bar{f}\from A \to P$ such that $p_i \of \bar{f} =
f_i$ for all $i \in I$.
\end{defn}
Remarks~\ref{rmks:prod} apply equally to this definition. When the product
$P$ exists, we write $P$ as $\prod_{i \in I} X_i$%
%
\ntn{prod-fam-gen}
%
and the map $\bar{f}$ as $(f_i)_{i \in I}$.%
%
\ntn{map-to-prod}
%
We call the maps $f_i$ the \demph{components}%
%
\index{component!map into product@of map into product}
%
of the map $(f_i)_{i \in I}$. Taking $I$ to be a two-element set, we
recover the special case of binary products.
\begin{example}
In ordered sets, the extension from binary to arbitrary products works in
the obvious way: given an ordered set $(A, \mathord{\leq})$, a
\demph{lower%
%
\index{lower bound}
%
bound} for a family $(x_i)_{i \in I}$ of elements is an element $a \in A$
such that $a \leq x_i$ for all $i$, and a \demph{greatest%
%
\index{greatest lower bound}
%
lower bound} or \demph{meet}%
%
\index{meet}
%
of the family is a lower bound greater than any other, written as $\Meet_{i
\in I} x_i$.%
%
\ntn{Meet}
%
These are the products in $(A, \mathord{\leq})$.
For example, in $\reals$ with its usual ordering, the meet of a family
$(x_i)_{i \in I}$ is $\inf\{x_i \such i \in I\}$%
%
\index{infimum}
%
(and one exists if and only if the other does).
\end{example}
\begin{example}
\label{eg:arb-prods-terminal}
What happens to the definition of product when the indexing set $I$ is
empty?%
%
\index{product!empty}
%
Let $\cat{A}$ be a category. In general, an $I$-indexed family
$(X_i)_{i \in I}$ of objects of $\cat{A}$ is a function $I \to
\ob(\cat{A})$. When $I$ is empty, there is exactly one such function. In
other words, there is exactly one family $(X_i)_{i \in \emptyset}$, the
\demph{empty%
%
\index{empty family}%
\index{family!empty}
%
family}. Similarly, when $I$ is empty, there is exactly one
family~\eqref{eq:gen-prod-cone} for any given object $A$.
A product of the empty family therefore consists of an object $P$ of $\cat{A}$
such that for each object $A$ of $\cat{A}$, there exists a unique map
$\bar{f}\from A \to P$. (The condition `$p_i \of \bar{f} = f_i$ for all $i
\in I$' holds trivially.) In other words, a product of the empty family is
exactly a terminal%
%
\index{object!terminal}
%
object.
We have been writing $1$%
%
\ntn{terminal}
%
for terminal objects, which was justified by the fact that in categories
such as $\Set$, $\Tp$, $\Ring$ and $\Grp$, the terminal object has one%
%
\index{set!one-element}
%
element. But we have just seen that the terminal object is the product of
no things, which in the context of elementary arithmetic%
%
\index{arithmetic}
%
is the number $1$. This is a second, related, reason for the notation.
\end{example}
\begin{example}
Take an object $X$ of a category $\cat{A}$, and a set $I$. There is a
constant family $(X)_{i \in I}$. Its product $\prod_{i \in I} X$, if it
exists, is written as $X^I$%
%
\ntn{power-of-obj}
%
and called a \demph{power}%
%
\index{power}
%
of $X$.
We met powers in $\Set$ in Section~\ref{sec:Set-properties}. When $X$ is a
set, $X^I$ is the set of functions from $I$ to $X$, also written as
$\Set(I, X)$.
\end{example}
\minihead{Equalizers}
To define our second type of limit, we need a preliminary piece of
terminology: a \demph{fork}%
%
\index{fork}
%
in a category consists of objects and maps
%
\begin{equation}
\label{eq:fork}
\xymatrix{
A \ar[r]^f &
X \ar@<.5ex>[r]^s \ar@<-.5ex>[r]_t &
Y
}
\end{equation}
%
such that $sf = tf$.
\begin{defn}
\label{defn:equalizer}
Let $\cat{A}$ be a category and let $\parpairi{X}{Y}{s}{t}$ be objects and
maps in $\cat{A}$. An \demph{equalizer}%
%
\index{equalizer}
%
of $s$ and $t$ is an object $E$ together with a map $E \toby{i} X$ such
that
\[
\xymatrix{
E \ar[r]^i &
X \ar@<.5ex>[r]^s \ar@<-.5ex>[r]_t &
Y
}
\]
is a fork, and with the property that for any fork~\eqref{eq:fork},
there exists a unique map $\bar{f}\from A \to E$ such that
%
\begin{equation}
\label{eq:equalizer-whole}
\begin{array}{c}
\xymatrix{
A \ar@{.>}[d]_{\bar{f}} \ar[rd]^f & \\
E \ar[r]_i &X
}
\end{array}
\end{equation}
%
commutes.
\end{defn}
Remarks~\ref{rmks:prod} on products apply to equalizers too.
\begin{example}
\label{eg:equalizers-Set}
We have already met equalizers%
%
\index{set!category of sets!equalizers in}%
\index{equalizer!sets@of sets}
%
in $\Set$ (Section~\ref{sec:Set-properties}). They really are equalizers
in the sense of Definition~\ref{defn:equalizer}. Indeed, take sets and
functions $\parpairi{X}{Y}{s}{t}$\!, write
\[
E = \{ x \in X \such s(x) = t(x) \},
\]
and write $i\from E \to X$ for the inclusion. Then $s i = t i$, so we have
a fork, and one can check that it is universal among all forks on $s$ and
$t$.
An equalizer describes the set of solutions of a single equation, but by
combining equalizers with products, we can also describe the solution-set
of any system of simultaneous%
%
\index{simultaneous equations}
%
equations. Take a set $\Lambda$ and a family
\[
\biggl(
\parpair{X}{Y_\lambda}{s_\lambda}{t_\lambda}
\biggr)_{\lambda \in \Lambda}
\]
of pairs of maps in $\Set$. Then the solution-set
\[
\{
x \in X
\such
s_\lambda(x) = t_\lambda(x) \text{ for all } \lambda \in \Lambda
\}
\]
is the equalizer of the functions
\[
\xymatrix@C+1em{
X
\ar@<.5ex>[r]^-{(s_\lambda)_{\lambda \in \Lambda}}
\ar@<-.5ex>[r]_-{(t_\lambda)_{\lambda \in \Lambda}} &
\raisebox{-4.2ex}{$\displaystyle \prod_{\lambda \in \Lambda} Y_\lambda$}
}
\]
(using the notation introduced after Definition~\ref{defn:gen-prod}). To
see this, observe that for $x \in X$,
%
\begin{align*}
(s_\lambda)_{\lambda \in \Lambda}(x) =
(t_\lambda)_{\lambda \in \Lambda}(x) &
\iff
\bigl(s_\lambda(x)\bigr)_{\lambda \in \Lambda} =
\bigl(t_\lambda(x)\bigr)_{\lambda \in \Lambda} \\
&
\iff
s_\lambda(x) = t_\lambda(x) \text{ for all } \lambda \in \Lambda,
\end{align*}
%
as required.
\end{example}
\begin{example}
Take continuous maps $\parpairi{X}{Y}{s}{t}$ between topological\linebreak
spaces. We can form their equalizer%
%
\index{topological space!category of topological spaces!equalizers in}
%
$E$ in the category of sets, with inclusion map $i\from E \to X$, say.
Since $E$ is a subset of the space $X$, it acquires the subspace%
%
\index{topological space!subspace of}
%
topology from $X$, and $i$ is then continuous. This space $E$, together
with $i$, is the equalizer of $s$ and $t$.
Showing this amounts to showing that for any fork~\eqref{eq:fork} in
$\Tp$, the induced function $\bar{f}$ is continuous. This follows from
the definition of the subspace topology, which is the smallest topology
such that the inclusion map is continuous. Compare the remarks on products
in Example~\ref{eg:prod-spaces}.
\end{example}
\begin{example}
Let $\theta\from G \to H$ be a homomorphism of groups. As in
Example~\ref{eg:univ-kernel}, the homomorphism $\theta$ gives rise to a fork
\[
\xymatrix{
\ker\theta\ \ar@{^{(}->}[r]^-\iota &
G \ar@<.5ex>[r]^\theta \ar@<-.5ex>[r]_\epsln &
H
}
%
\index{kernel}
%
\]
where $\iota$ is the inclusion and $\epsln$ is the trivial homomorphism.
This is an equalizer%
%
\index{group!category of groups!equalizers in}
%
in $\Grp$. Showing this amounts to showing that the map that we have been
calling $\bar{f}$ is a homomorphism, which is left to the reader.
Thus, kernels are a special case of equalizers.
\end{example}
\begin{example}
\label{eg:eq-vect}
Let $\parpairi{V}{W}{s}{t}$ be linear maps between vector spaces.\linebreak
There is a linear map $t - s \from V \to W$, and the equalizer%
%
\index{vector space!category of vector spaces!equalizers in}
%
of $s$ and $t$ in the category of vector spaces is the space $\ker(t - s)$%
%
\index{kernel}
%
together with the inclusion map $\ker(t - s) \incl V$.
\end{example}
\minihead{Pullbacks}
We explore one more type of limit before formulating the general
definition.
\begin{defn}
\label{defn:pb}
Let $\cat{A}$ be a category, and take objects and maps
%
\begin{equation}
\label{eq:pb-corner}
\begin{array}{c}
\xymatrix{
&Y \ar[d]^t \\
X \ar[r]_s &Z
}
\end{array}
\end{equation}
%
in $\cat{A}$. A \demph{pullback}%
%
\index{pullback}
%
of this diagram is an object $P \in \cat{A}$ together with maps $p_1\from P
\to X$ and $p_2\from P \to Y$ such that
%
\begin{equation}
\label{eq:pb}
\begin{array}{c}
\xymatrix{
P \ar[r]^{p_2} \ar[d]_{p_1} &
Y \ar[d]^t \\
X \ar[r]_s &
Z
}
\end{array}
\end{equation}
%
commutes, and with the property that for any commutative square
%
\begin{equation}
\label{eq:pb-cone}
\begin{array}{c}
\xymatrix{
A \ar[r]^{f_2} \ar[d]_{f_1} &
Y \ar[d]^t \\
X \ar[r]_s &
Z
}
\end{array}
\end{equation}
%
in $\cat{A}$, there is a unique map $\bar{f}\from A \to P$ such that
%
\begin{equation}
\label{eq:pb-whole}
\begin{array}{c}
\xymatrix{
A \ar@/^/[rrd]^{f_2} \ar@{.>}[rd]|{\bar{f}} \ar@/_/[rdd]_{f_1}&
& \\
&
P \ar[r]^{p_2} \ar[d]_{p_1} &
Y \ar[d]^t \\
&
X \ar[r]_s &Z
}
\end{array}
\end{equation}
%
commutes. (For~\eqref{eq:pb-whole} to commute means only that $p_1 \bar{f}
= f_1$ and $p_2 \bar{f} = f_2$, since the commutativity of the square is
already given.)
\end{defn}
Again, Remarks~\ref{rmks:prod} apply.
We call~\eqref{eq:pb} a \demph{pullback%
%
\index{pullback!square}
%
square}. Another name for pullback is \demph{fibred%
%
\index{fibred product}
%
product}. This name is partially explained by the following fact: when $Z$
is a terminal object (and $s$ and $t$ are the only maps they can possibly
be), a pullback of the diagram~\eqref{eq:pb-corner} is simply a product%
%
\index{product!pullback@as pullback}
%
of $X$ and $Y$.
\begin{examples}[Pullbacks in $\Set$]
\label{egs:pb-sets}
The pullback of a diagram~\eqref{eq:pb-corner} in $\Set$ is
\[
P = \{ (x, y) \in X \times Y \such s(x) = t(y) \}
\]
with projections $p_1$ and $p_2$ given by $p_1(x, y) = x$ and $p_2(x, y) =
y$.
Although you might not be familiar with general pullbacks in $\Set$, there are
at least two instances that you are likely to have met.
%
\begin{enumerate}[(b)]
\item
\label{eg:pb-sets-inv}
A basic construction with sets and functions is the formation of inverse%
%
\index{inverse!image!pullback@as pullback}
%
images. They are an instance of pullbacks. Indeed, given a function
$f\from X \to Y$ and a subset $Y' \sub Y$, we obtain a new set, the inverse
image
\[
f^{-1}Y'
=
\{ x \in X \such f(x) \in Y' \} \sub X,
\]
and a new function,
\[
\begin{array}{cccc}
f'\from &f^{-1} Y' &\to &Y' \\
&x &\mapsto &f(x).
\end{array}
\]
We also have the inclusion functions $j\from Y' \incl Y$ and $i\from f^{-1}Y'
\incl X$. Putting everything together gives a commutative square
%
\begin{equation}
\label{eq:pb-inv}
\begin{array}{c}
\xymatrix@M+.5ex{
f^{-1}Y' \ar[r]^{f'} \ar@{^{(}->}[d]_i &
Y' \ar@{^{(}->}[d]^j \\
X \ar[r]_f &
Y.
}
\end{array}
\end{equation}
%
The data we started with was the lower-right part of this square ($X$, $Y$,
$Y'$, $f$ and $j$), and from it we constructed the rest of the square
($f^{-1} Y'$, $f'$ and $i$).
The square~\eqref{eq:pb-inv} is a pullback. Let us verify this in detail.
Take any commutative square
\[
\xymatrix@M+.5ex{
A \ar[r]^h \ar[d]_g &
Y' \ar@{^{(}->}[d]^j \\
X \ar[r]_f &
Y.
}
\]
We must show that there is a unique map $k\from A \to f^{-1}Y'$ such that
\[
\xymatrix@M+.5ex{
A \ar@/^/[rrd]^h \ar@{.>}[rd]|k \ar@/_/[rdd]_g & & \\
&
f^{-1}Y' \ar[r]_-{f'} \ar@{^{(}->}[d]^-i &
Y' \ar@{^{(}->}[d]^j \\
&
X \ar[r]_f &Y
}
\]
commutes. For uniqueness, let $k$ be a map making the diagram commute.
Then for all $a \in A$, we have $i(k(a)) = g(a)$, that is, $k(a) = g(a)$,
and this determines $k$ uniquely. For existence, first note that for all
$a \in A$ we have $f(g(a)) = j(h(a)) \in Y'$, so $g(a) \in f^{-1}Y'$.
Hence we may define $k\from A \to f^{-1} Y'$ by $k(a) = g(a)$ for all $a
\in A$. Then for all $a \in A$, we have $i(k(a)) = k(a) = g(a)$ and
\[
f'(k(a)) = f(k(a)) = f(g(a)) = j(h(a)) = h(a).
\]
Hence $i \of k = g$ and $f' \of k = h$, as required.
\item
Intersection%
%
\index{intersection!pullback@as pullback}
%
of subsets provides another example of pullbacks. Indeed, let $X$ and $Y$
be subsets of a set $Z$. Then
\[
\xymatrix@M+.5ex{
X \cap Y \ar@{^{(}->}[r] \ar@{^{(}->}[d] &
Y \ar@{^{(}->}[d] \\
X \ar@{^{(}->}[r] &
Z
}
\]
%
is a pullback square, where all the arrows are inclusions of subsets.
In fact, this is a special case of~\bref{eg:pb-sets-inv}, since $X \cap Y$ is
the inverse image of $Y \sub Z$ under the inclusion map $X \incl Z$.
\end{enumerate}
\end{examples}
In the situation of Example~\ref{egs:pb-sets}\bref{eg:pb-sets-inv}, where we
have a map $f\from X \to Y$ and a subset $Y'$ of $Y$, people sometimes say
that $f^{-1}Y'$ is obtained by `pulling $Y'$ back' along $f$: hence the name.
\minihead{The definition of limit}
We have now looked at three constructions: products, equalizers and
pullbacks. They clearly have something in common. Each starts with some
objects and (in the case of equalizers and pullbacks) some maps between
them. In each, we aim to construct a new object together with some maps
from it to the original objects, with a universal property.
Let us analyse this more closely. What is the starting data in each
construction? For (binary) products, it is a pair of objects
%
\begin{equation}
\label{eq:prod-data}
X \hspace*{3em} Y.
\end{equation}
%
For equalizers, it is a diagram
%
\begin{equation}
\label{eq:eq-data}
\parpair{X}{Y.}{s}{t}
\end{equation}
%
For pullbacks, it is a diagram
%
\begin{equation}
\label{eq:pb-data}
\begin{array}{c}
\xymatrix{
&Y \ar[d]^t \\
X \ar[r]_s &Z.
}
\end{array}
\end{equation}
In Definition~\ref{defn:gen-elt}, we met the notion of generalized%
%
\index{element!generalized}
%
element, and we saw there that the `figures' in a geometric object can often
be described by maps into it. For instance, a curve in a topological space
$A$ can be thought of as a map $\reals \to A$. Similarly, an object of a
category $\cat{A}$ amounts to a functor $D\from \One \to \cat{A}$; think of
$\One = \fbox{$\bullet$}$ as an unlabelled object and $D$ as labelling it
with the name of an object of $\cat{A}$. And similarly again, a map in a
category $\cat{A}$ is a functor $\Two \to \cat{A}$, where $\Two =
\fbox{$\bullet \to \bullet$}$.%
%
\ntn{Two}
%
(Here $\Two$ is the category with two objects, say $0$ and $1$, with one
map $0 \to 1$, and with no other maps except for identities.) Finally, if
we take $\scat{I}$ to be one of the categories
%
\begin{equation}
\label{eq:lim-shapes}
\scat{T} =
\fbox{$\bullet \hspace*{2.5em} \bullet$}\ ,
%
\quad
%
\scat{E} =
\fbox{$\parpair{\bullet}{\bullet}{}{}$}
%
\quad
%
\text{or}
%
\quad
%
\scat{P} =
\fbox{%
$\begin{array}{c}
\xymatrix{
&\bullet \ar[d] \\
\bullet \ar[r] &\bullet
}
\end{array}$}
\end{equation}
%
then a functor $\scat{I} \to \cat{A}$ consists of data~\eqref{eq:prod-data},
\eqref{eq:eq-data} or~\eqref{eq:pb-data} in $\cat{A}$, respectively.
We have just begun to use the convention that one typeface ($\scat{A}$,
$\scat{B}$,%
%
\ntn{small-cat-face}
%
$\scat{C}$, \ldots) denotes small%
%
\index{small}%
\index{category!small}
%
categories, and another ($\cat{A}$, $\cat{B}$,%
%
\ntn{arb-cat-face}
%
$\cat{C}$, \ldots) denotes arbitrary categories. Although not strictly
necessary, this convention is helpful, since small categories and arbitrary
categories often play different roles in the theory.
\begin{defn}
\label{defn:diagram}
Let $\cat{A}$ be a category and $\scat{I}$ a small category. A functor
$\scat{I} \to \cat{A}$ is called a \demph{diagram}%
%
\index{diagram}
%
in $\cat{A}$ of \demph{shape}%
%
\index{shape!diagram@of diagram}
%
$\scat{I}$.