Module 5: Universal Constructions I: Limits

Universal constructions are the way category theory specifies objects by what they must do rather than how they are built. This module covers limits — the categorical generalization of intersection, conjunction, and constraint satisfaction. You will find that SQL joins, type unification in a type inference engine, and version control merges are all instances of the same universal construction: the pullback. The key insight is that the universal property guarantees uniqueness up to unique isomorphism — there is no choice, no ambiguity, no hyperparameter.

Learning Objectives

  • Define a diagram, a cone over a diagram, and a limit as a terminal cone.
  • Compute products, pullbacks, equalizers, and terminal objects as special cases of limits.
  • Identify SQL natural joins as pullbacks in the category of sets and functions.
  • Identify type unification in a type inference algorithm as a pullback.
  • Prove that any two limits of the same diagram are uniquely isomorphic, using the universal property.
  • Construct limits explicitly in the categories Set, Graph, and Pos.

Materials

Key Concepts

Central Concepts from Prerequisites