## 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.

[...] kinds of morphisms, subobjects, and quotient objects Last week I was using the word “invertible” as if it was perfectly clear. Well, it should be, more or [...]

Pingback by Special kinds of morphisms, subobjects, and quotient objects « The Unapologetic Mathematician | May 29, 2007 |

[...] Remember the category with one object and its identity morphism. We draw it as , taking the identity as given. Let’s also consider a category with two objects and two non-identity morphisms, one going in either direction: . Call the objects and , and the four arrows , , , , where goes from to . Then we have and . That is, the two non-identity arrows are inverses to each other, and the two objects are thus isomorphic. [...]

Pingback by Equivalence of categories « The Unapologetic Mathematician | May 30, 2007 |

[...] initial object of an ordinal number considered as a category is the least element of the [...]

Pingback by Initial and Terminal Objects « The Unapologetic Mathematician | June 10, 2007 |

[...] category I’m interested in is the ordinal . Remember that this consists of the objects and , with one non-identity arrow . We can make this [...]

Pingback by An example of an enriched category « The Unapologetic Mathematician | August 15, 2007 |

“we require that every “full subcategory” of \mathcal{P} have an “initial object””

Every non-empty full subcategory probably?

Comment by nikita | December 20, 2007 |

Ah, yes.. Of course you’re right.

Comment by John Armstrong | December 20, 2007 |