Category Theory
Objects, morphisms, and universal constructions — the mathematics of mathematical structure.
Primitives: Object and Morphism
Category theory reduces all of mathematics to two irreducible primitives:
- Object — a node, a “thing” with no internal structure visible to the theory
- Morphism (arrow) — a directed relationship between objects:
The fundamental insight is that structure lives entirely in the arrows. What an object is does not matter; what matters is how morphisms compose through it.
The Hierarchy of Forms
Category theory is itself organized in a three-level hierarchy of form:
| Level | What varies | What is preserved |
|---|---|---|
| Category | objects and morphisms | composition law |
| Functor | maps one category to another | identity and composition |
| Natural transformation | maps between functors | functoriality |
This is “the equation of morphism” — the form of a relationship between forms.
Notable categorical forms:
- Morphism — the irreducible directed relationship
- Functor — a structure-preserving map between categories
- Adjunction — the canonical form of a “best approximation” between two worlds
Axioms and Universal Constructions
A category is defined by exactly two laws:
- Identity — for every object , a morphism such that and .
- Associativity — whenever compositions are defined.
Functors
A functor must satisfy:
The Yoneda Lemma
The deepest theorem derivable from the axioms alone:
An object is completely determined by the morphisms into and out of it — identity is relational, not intrinsic.
Universal Properties
All standard constructions — products, coproducts, limits, colimits — are defined purely by their morphism-relationships, not by what they “contain.” The adjunction captures the universal notion of optimal translation between two categories.
Procedures
Category theory’s algorithmic content is largely in verification and construction — checking that maps respect structure, and building universal objects.
Verifying a Functor
Given a proposed map :
- Check each object maps to an object .
- Check each morphism maps to .
- Verify — identity preserved.
- Verify — composition preserved.
Finding Limits and Colimits
- Fix a diagram — a functor from a small index category.
- Define cones (commuting triangles converging to a tip) over the diagram.
- The limit is the terminal cone — the most economical object from which the whole diagram factors.
Adjoint Functors
The adjunction is established by finding a natural bijection:
Adjunctions are ubiquitous: free/forgetful, product/diagonal, suspension/loop space.
Category as a System
A category is a dynamical system of structure: a collection of objects (the stock) connected by morphisms (the flows), governed by two laws that enforce a stable equilibrium.
- Objects (stocks) — stable nodes; their “identity” is entirely their position in the web of arrows.
- Morphisms (flows) — directed transformations between objects; the system’s transactions.
- Composition (the process) — the mechanism by which flows chain: routes through an intermediate object.
- Identity morphisms (the balancing loop) — every object has a self-loop that leaves any incoming or outgoing flow unchanged.
Functors are system-level transformations: maps that transport an entire category to another while preserving the connectivity structure. A functor that forgets structure (the forgetful functor) and one that builds it freely (the free functor) form an adjoint pair — a feedback relationship between two systems.
Natural transformations are the equilibria between functors: a systematic family of morphisms that interpolate between two ways of transporting one category into another, without disturbing the relational fabric.
Connections
Category theory is the language that unifies mathematics: abstract algebra is the study of algebraic categories, topology becomes the study of continuous functors, and logic connects via topos theory. Functors formalize the “same shape” intuition between different fields. Adjunctions appear wherever there is a natural pair of inverse-like operations.