Size: Small, Large, Locally Small
The objects of Set do not form a set, and pretending otherwise reproduces the classical paradoxes. Classes make the small/large distinction precise, with locally small and essentially small as the intermediate notions.
╌╌╌╌
Every category met so far has been described with the deliberately vague word
collection
: a collection of objects, a collection of arrows. The vagueness has
a reason. For most of the categories that matter (,
, ), the objects are too numerous to form a set, and
a theory that ignored the difference would inherit the paradoxes that set theory
spent the early twentieth century escaping. The distinction matters concretely at
the
adjoint functor theorems,
where a size hypothesis is what makes a construction go through.
Set-theoretic assumptions
Leinster's approach to foundations is to list the properties the category of sets is expected to have, rather than to build sets from a membership relation. The inventory, each item a fact about arrows:1
- Initial and terminal objects. admits exactly one function to any set; a one-element set admits exactly one function from any set. Elements are recovered as arrows: a function is precisely an element of .
- Products and sums. Any family has a product (families of elements) and a sum (disjoint union).
- Function sets. For sets there is a set of functions ; the arithmetic notation is earned, since and .
- Subsets and the two-element set. Subsets of correspond one-to-one with functions ; the powerset is .
- Equalizers and quotients. exists for any parallel pair, and any equivalence relation has a quotient whose projection has a universal factorization property.
- Natural numbers. with and successor supports unique recursive definitions.
- Choice. Every surjection has a section.
None of these is a theorem; with no prior definition of set
there is nothing
to prove them from. They are the interface that the rest of mathematics
programs against, and each clause is a statement about the category rather than about membership.
Cardinality and Cantor's theorem
Comparison of sizes is defined through arrows as well. Write when an injection exists; the expression has no standalone meaning. Identities and composites of injections make reflexive and transitive, and the substance is the antisymmetry-up-to-isomorphism:
We write (same cardinality
) for , and for
with . The central theorem:
Immediately, there is no biggest set: powerset always climbs strictly. And with one more step, no set-indexed family of sets is exhaustive:
Small, large, locally small
The word for a collection that may be too big to be a set is class; the usage here is informal but disciplined. All sets are classes; a class is small if it is a set and large otherwise. The proposition above says precisely that the class of isomorphism classes of sets is large. The crucial asymmetry:4
The classification of the standard examples:
| Category | Small? | Locally small? | Why |
|---|---|---|---|
| a monoid, a poset, any finite category | yes | yes | arrows form a set by construction |
| no | yes | functions form the set ; objects form a proper class | |
| , , , | no | yes | homomorphisms are a subclass of the function set |
| (small categories) | no | yes | small categories form a proper class |
| (all categories) | no | no | functors between large categories can form a proper class |
Local smallness is why the hom-functors can honestly take values in : for a locally small , each is an object of , and the Yoneda machinery built on hom-functors quietly assumes it. Many authors fold local smallness into the definition of category for exactly this reason.
Essential smallness
Smallness is not invariant under equivalence: a category equivalent to a small one may have a proper class of objects, all redundantly isomorphic. The robust notion quotients that redundancy:
The category of finite sets has a proper class of objects, but every finite set is isomorphic to some , so it is equivalent to a small category with objects indexed by . In an essentially small category the class of isomorphism classes of objects is small (equivalences induce bijections on isomorphism classes), and this gives the clean impossibility results:
The same strategy — show the category has at least as many non-isomorphic objects as there are sets — handles the algebraic cases. For : given any set-indexed family of vector spaces, let where is the forgetful functor; the free space contains as a basis, so for every , and . Neither , , , nor is essentially small, by the same free-object argument.
Where the distinction matters
Three concrete places where ignoring the distinction produces error or nonsense.
- Self-membership. If the objects of formed a set , then would be a candidate element of itself, and Cantor's theorem applied to against the family of all sets yields a set bigger than every set — a contradiction of exactly the Russell type. The objects of form a proper class, and Cantor's theorem speaks only about sets.
- Hom-functors need targets. is a functor into only when is locally small. For a category with large hom-classes the representable machinery must be rebuilt against a bigger universe.
- Limits over large diagrams. A category with products indexed by a proper class collapses: a classical argument shows any such category is a preorder. The completeness notions of the limits module are therefore always small completeness — all limits over small diagrams — and the solution-set condition in the adjoint functor theorem exists precisely to tame a large construction by a small amount of data.
Some treatments avoid classes by positing a hierarchy of universes: each
universe is a set large enough to contain all ordinary
mathematics, with every
universe an element of a bigger one. Small
then means
in the chosen universe,
and becomes a legitimate object one
level up. The bookkeeping is different; the discipline it enforces is the
same.6
Historical remarks
Leinster closes his interlude with intellectual history that explains why
category theory treats what are the elements really?
as a malformed
question.7
Cantor created set theory in the late nineteenth century and proved, among much else, that infinity comes in different sizes. The axiomatizers who followed (Zermelo, Fraenkel, and others, arriving at ZFC) took sets and membership as the primitive notions. That choice has consequences that sit oddly with mathematical practice:
- Everything is a set. In ZFC, is a set, is a set, and the number is officially : an encoding, like a file format, that nobody intends literally.
- Types are erased. Because everything is a set, the question
is ?
is grammatical, and even has an answer, one that depends on the encoding conventions and means nothing. Working mathematics has an instinctive type discipline (a number is not a function is not a group), and membership-based foundations discard it. - Membership is global. Any two sets can be intersected, so
does the cyclic group of order 10 meet ?
is a legitimate ZFC question. Its answer is again encoding-dependent noise.
The categorical alternative takes sets and functions (with composition) as primitive, exactly the inventory of assumptions listed above. One popular categorical axiomatization can be summarized in ten clauses (composition is associative and unital; there are terminal and empty sets; functions are determined by their effect on elements; products, function sets, inverse images, powersets-via-, natural numbers, and sections of surjections exist). Nothing in the list mentions a general notion of category; the axioms speak directly about sets and functions, so there is no circularity in founding categories on sets so axiomatized. The approach preserves types (asking whether an element of a group equals an open set of a space is ungrammatical, as it should be), and every meaningful theorem of Cantor's theory survives.
Category theory gets inside an object by probing it with arrows, never by inspecting members. An element of is an arrow ; a subset of is an arrow ; a variable element is any arrow into . The membership relation is not denied; it is reconstructed as composition, at which point it stops being primitive and becomes one construction among many. The next module specifies every basic construction of mathematics — products, quotients, function spaces, free objects — purely by the pattern of arrows around it.
Footnotes
- Leinster, Basic Category Theory, §3.1 — the properties of sets and functions taken as assumptions: initial/terminal objects, products, sums, function sets, subsets via , equalizers, quotients with their universal property, natural numbers, and choice; and the discussion of their status as an interface rather than theorems. ↩
- Leinster, §3.2, Theorems 3.2.1–3.2.2 and Corollary 3.2.3 with Exercises 3.2.12–3.2.13 — the injection preorder, Cantor–Bernstein, Cantor's theorem via the diagonal subset, and the nonexistence of a biggest set. ↩
- Leinster, §3.2, Proposition 3.2.4 — for any set-indexed family of sets, the powerset of the sum is isomorphic to none of them. ↩
- Leinster, §3.2 — classes, small and large, the definitions of small, locally small, and essentially small categories, with Examples 3.2.5–3.2.7 and Definition 3.2.10 ( versus ). ↩
- Leinster, §3.2, Propositions 3.2.8 and Example 3.2.9, Exercise 3.2.14 — is not essentially small, and the free-functor argument extending the result to , , , , and . ↩
- Grothendieck universes: see https://en.wikipedia.org/wiki/Grothendieck_universe for the axiomatization and its use as an alternative to proper classes. ↩
- Leinster, §3.3 — Cantor's theory and its reception, types, the ZFC axiomatization and its encoding artifacts, the function-based (categorical) axiomatization of sets in ten informal clauses, and the non-circularity footnote for readers raised on ZFC. ↩
╌╌ END ╌╌