Limits and Colimits/Equalizers and Pullbacks

Lesson 4.21,722 words

Equalizers and Pullbacks

The equalizer of a parallel pair is the universal arrow that makes the two composites agree; the pullback of a cospan is the universal commutative square. In Set they are solution sets and fibered products, every equalizer is monic, monics are stable under pullback, and products plus equalizers together generate all limits.

╌╌╌╌

The general limit over a shape category specializes, on the two smallest non-discrete shapes, to the two most common constructions in the subject. Over the parallel-pair shape the limit is an equalizer, the categorical form of the solutions of an equation; over the corner shape it is a pullback, the categorical form of pairs that agree downstairs. Together with products they generate every limit there is: a category with products and equalizers is complete.

Forks and equalizers

Fix a parallel pair , two arrows sharing a source and a target. An arrow makes the pair equal if . The data of with is called a fork.1 Many arrows may make a pair equal; the equalizer is the universal one.

The equalizer fork. Any arrow f that makes the parallel pair agree factors through i by a unique mediating arrow.

In the shape-category picture, a cone over the diagram consists of legs and with and ; the second leg is determined by the first, so a cone is a fork, and the limit is the equalizer.2

Equalizers in concrete categories

  • . The equalizer of is the solution set with the inclusion . Any making the pair equal lands inside pointwise, and corestricting it is the unique mediating map.3
  • . The same set , given the subspace topology from . The subspace topology is the smallest making the inclusion continuous, and that is what makes the mediating map continuous.
  • . For a homomorphism , the fork (against the trivial homomorphism) is an equalizer: kernels are equalizers. More generally the equalizer of is the subgroup .
  • . The equalizer of linear maps is with its inclusion, since exactly when .4

Combining equalizers with products expresses any system of simultaneous equations. Given a family of pairs in , the common solution set is the equalizer of the induced pair . The same reduction of a limit to a product cut down by equations underlies the completeness theorem below.

Equalizers are monic

The converse fails in general, and the gap has a name: a monic that arises as an equalizer of some pair is a regular monic. In and every monic is regular; in the regular monics are the subspace embeddings, while an injective continuous map onto a subset with a finer-than-subspace topology is monic but not regular.5 The equalizer is best read as the categorical notion of an embedded subobject cut out by equations.

Pullbacks

A cospan consists of two arrows and into a common target.

The pullback square with its universal property: any commutative square over the same cospan factors through P by a unique corner arrow.

A cone over the corner-shaped diagram has three legs, but the leg into is determined by either of the other two, so a cone is the same thing as a commutative square over the cospan; the pullback is the universal one.6 When is a terminal object the commutativity condition is vacuous and the pullback degenerates to the product : products are pullbacks over .

Pullbacks in Set

In the pullback of always exists and has an explicit description:

with and : the subset of the product on which the two routes to agree. Two familiar constructions are special cases.7

  • Inverse images. Given and a subset , the square formed by , the restriction , and the inclusions into and is a pullback. Preimage is pullback along the inclusion.
  • Intersections. For subsets , the square of inclusions with in the corner is a pullback; it is the previous case with itself an inclusion.
Pullback in Set: the fibered product collects the pairs that map to the same point of Z, one fiber at a time.

The same formula computes pullbacks in , , and , with the structure carried along componentwise: the fibered product of groups is a subgroup of the direct product, and in the set takes the subspace topology from the product. A worked topological pullback appears in computing limits in concrete categories.

Barr and Wells read the pullback computationally: if a deterministic, terminating program fragment is an arrow on states, and a postcondition is a subset , then the pullback of along is the weakest precondition guaranteeing . For and postcondition , the pullback is .8

Monomorphisms through the limit lens

Pullbacks detect and preserve monics.

Unwound, the square is a pullback exactly when every pair with arises from a unique arrow equalizing both projections, which forces . Any functor that preserves limits therefore preserves monics, since it preserves this square. The forgetful functors and preserve limits, so monic homomorphisms coincide with the injective ones.

The set-level version of this lemma is the fact that the preimage of a subset is a subset. It makes subobject of a notion stable under change of base, which is the starting point for the subobject calculus in topos theory.

The pasting lemma

Pullback squares compose sideways, and the composition law has a partial converse.

Two pullback squares pasted along a common edge. With the right square a pullback, the left square and the outer rectangle stand or fall together.

One direction says pullbacks paste: stacking a pullback of a pullback gives a pullback of the composite. The other says pullbacks cancel from the right: if the composite rectangle and the right square are both pullbacks, the left square is forced to be one. The lemma is used constantly, for instance to show that pulling back a composite monic factorization behaves well, and its dual form holds verbatim for pushouts.

Generating all limits

Products handle discrete data; equalizers impose equations. Every limit is these two steps performed once each.

The construction mirrors the formula. Given , form two products, one over the nodes and one over the edges of the shape, and the parallel pair between them whose components compare apply then project with project at the target:

where the -component of one map is and of the other is . The equalizer selects exactly the tuples whose coordinates are compatible with every edge of the diagram, which is the cone condition. Pullbacks in particular can be built this way, and there are two companion generation results in the same spirit:

HaveGetConstruction
products + equalizersall limitsequalizer inside a product
binary products + + equalizersfinite limitssame, finitely
pullbacks + finite limitsproducts as pullbacks over , equalizers from pullbacks

The third row is Barr and Wells' variant: with a terminal object, the product is the pullback of , and equalizers can then be extracted from pullbacks of pairing maps, so pullbacks and a terminal object already give finite completeness.13

Every limit factors through the generic construction: a product of the nodes, a product of the edge-targets, and an equalizer selecting the compatible families.

To verify that a category is complete or finitely complete, exhibit products and equalizers and stop. That is how , , , and were shown complete under cones and limits, how compact Hausdorff spaces inherit completeness from Tychonoff's theorem plus closed-subset equalizers, and how finite limits in reduce to direct sums, the zero space, and kernels. Reversing every arrow turns these constructions into the dual ones: coequalizers and pushouts.

Footnotes

  1. Leinster, Basic Category Theory, §5.1 — forks and Definition 5.1.11 of the equalizer.
  2. Leinster, Basic Category Theory, §5.1, Examples 5.1.21(b) — a cone on a parallel pair is a fork, so the limit of shape is the equalizer.
  3. Simmons, An Introduction to Category Theory, §2.6, Definition 2.6.2 and Example 2.6.5 — equalizers defined by the mediating property, and the solution-set equalizer in .
  4. Leinster, Basic Category Theory, §5.1, Examples 5.1.12–5.1.15 — equalizers in , , (kernels), and .
  5. Leinster, Basic Category Theory, §5.2, Exercise 5.2.25 — split, regular, and plain monics; regularity in and its failure in .
  6. Leinster, Basic Category Theory, §5.1, Definition 5.1.16 and Examples 5.1.21(c) — pullbacks and their identification as limits of shape ; the fibered-product terminology and the product-over- remark.
  7. Leinster, Basic Category Theory, §5.1, Examples 5.1.17 — pullbacks in : the fibered product, inverse images, and intersections.
  8. Barr & Wells, Category Theory for Computing Science, §9.3.5 — weakest preconditions as pullbacks of postcondition subobjects along the program arrow.
  9. Leinster, Basic Category Theory, §5.1, Lemma 5.1.32 — is monic iff the identity-identity square over is a pullback.
  10. Barr & Wells, Category Theory for Computing Science, §9.3.4 — a pullback of a monic is monic; also Leinster, Exercise 5.1.42, and Simmons, Exercise 2.7.4.
  11. Simmons, An Introduction to Category Theory, §2.7, Exercise 2.7.3 — the two-cell pasting result for pullbacks; also Leinster, Exercise 5.1.35.
  12. Leinster, Basic Category Theory, §5.1, Proposition 5.1.26 and the discussion following it — building arbitrary limits from products and equalizers via the two comparison maps.
  13. Barr & Wells, Category Theory for Computing Science, §9.3.7 — a category with a terminal object and all pullbacks has all finite limits; Leinster, Exercise 5.1.39.

╌╌ END ╌╌