Cardinals and Ordinals as Categories
We can import all of what we’ve said about cardinal numbers and ordinal numbers into categories.
For cardinals, it’s actually not that interesting. Remember that every cardinal number is just an equivalence class of sets under bijection. So, given a cardinal number we can choose a representative set and turn it into a category
. We let
and just give every object its identity morphism — there are no other morphisms at all in this category. We call this sort of thing a “discrete category”.
For ordinal numbers it gets a little more interesting. First, remember that a preorder is a category with objects the elements of the preorder, one morphism from to
if
, and no morphisms otherwise.
It turns out that (small) categories like this are exactly the preorders. Let be a small category with a set of objects
and no more than one morphism between any two objects. We define a preorder relation
by saying
if
is nonempty. The existence of identities shows that
, and the composition shows that if
and
then
, so this really is a preorder.
If now we require that no morphism (other than the identity) has an inverse, we get a partial order. Indeed, if and
then we have arrows
and
. We compose these to get
and
. These must be the respective identities because there’s only the one arrow from any object to itself. But we’re also requiring that no non-identity morphism be invertible, so
has to be the same object as
.
Now we add to this that for every distinct pair of objects either or
is nonempty. They can’t both be — that would lead to an inverse — but we insist that one of them is. Here we have total orders, where either
or
.
Finally, a technical condition I haven’t completely defined (but I will soon): we require that every nonempty “full subcategory” of have an “initial object”. This is the translation of the “well-ordered” criterion into the language of categories. Categories satisfying all of these conditions are the same as well-ordered sets.
Okay, that got a bit out there. We can turn back from the theory and actually get our hands on some finite ordinals. Remember that every finite ordinal number is determined up to isomorphism by its cardinality, so we just need to give definititions suitable for each natural number.
We define the category to have no objects and no morphisms. Easy.
We define the category to have a single object and its identity morphism. If we take the identity morphisms as given we can draw it like this:
.
We define the category to have two objects and their identity morphisms as well as an arrow from one object to the other (but not another arrow back the other way). Again taking identities as given we get
.
Things start to get interesting at . This category has three objects and three (non-identity) morphisms. We can draw it like this:
The composite of the horizontal and vertical arrows is the diagonal arrow.
Try now for yourself drawing out the next few ordinal numbers as categories. Most people get by without thinking of them too much, but it’s helpful to have them at hand for certain purposes. In fact, we’ve already used !
Now to be sure that this does eventually cover all natural numbers. We can take our to be the category
. Then for a successor “function” we can take any category and add a new object, its identity morphism, and a morphism from every old object to the new one. With a little thought this is the translation into categories of the proof that well-ordered finite sets give a model of the natural numbers, and the same proof holds true here.