## Topologies as Categories

Okay, so we’ve defined a topology on a set . But we also love categories, so we want to see this in terms of categories. And, indeed, every topology is a category!

First, remember that the collection of subsets of , like the collection of subobjects on an object in any category, is partially ordered by inclusion. And since every partially ordered set is a category, so is the collection of subsets of .

In fact, it’s a lattice, since we can use union and intersection as our join and meet, respectively. When we say that a poset has pairwise least upper bounds it’s the same as saying when we consider it as a category it has finite coproducts, and similarly pairwise greatest lower bounds are the same as finite products. But here we can actually take the union or intersection of *any* collection of subsets and get a subset, so we have *all* products and coproducts. In the language of posets, we have a “complete lattice”.

So now we want to talk about topologies. A topology is just a collection of the subsets that’s closed under finite intersections and arbitrary unions. We can use the same order (inclusion of subsets) to make a topology into a partially-ordered set. In the language of posets, the requirements are that we have a sublattice (finite meets and joins, along with the same top and bottom element) with arbitrary meets — the topology contains the least upper bound of any collection of its elements.

And now we translate the partial order language into category theory. A topology is a subcategory of the category of subsets of with finite products and all coproducts. That is, we have an arrow from the object to the object if and only if as subsets of . Given any finite collection of objects we have their product , and given any collection of objects we have their coproduct . In particular we have the empty product — the terminal object — and we have the empty coproduct — the initial object . And all the arrows in our category just tell us how various open sets sit inside other open sets. Neat!

So – I assume you’re doing this for some more intricate reason than just the sheer love for categories. This is the category we want functors from in order to define presheaves and sheaves, isn’t it?

Comment by Mikael Johansson | November 9, 2007 |

There are sort of three answers here. On one hand, I’m doing it because I love the categories. On the other hand, this is the first step on the road to topoi. On the

thirdhand, there should be some more-than-formal relation between limit (of nets) and limit (of functors). This I don’t really know, but it has to be there.Comment by John Armstrong | November 9, 2007 |

John —

Look into the theory of locales for the answer to the relationship of the limits. A good source is the text “Categorical Foundations” in the Encyclopedia of Mathematics series.

— Marc

Comment by Marceau | November 10, 2007 |

John –

this being the first step on the road to topoi also means this is the first step on the road to sheaves? (just reraising that first question ;)

Comment by Mikael Johansson | November 10, 2007 |

Yes, I thought that what I’d said counted as an affirmative, if slightly veiled, answer to your question.

Comment by John Armstrong | November 10, 2007 |

Thanks for letting me reaffirm my lack of knowledge in some of the cool parts of modern mathematics! ;)

Comment by Mikael Johansson | November 10, 2007 |

[…] in Category Theory, Topology at 2:54 am by saij This is just cool! Okay, so we’ve defined a topology on a set . But we also love categories, so we want to see this […]

Pingback by Every Topology is a Category! « The Lyceum Mathematikoi | November 26, 2007 |

[…] course we also want to consider the categorical perspective. What does a continuous map give us in terms of the topology? It’s a functor from the […]

Pingback by Continuous Maps « The Unapologetic Mathematician | February 22, 2011 |