I’ve written this post mainly because a friend of mine asked me what my master’s dissertation was about, and anyone who knows me well can predict that I didn’t just say “Oh, it’s this really complicated thing called Topos Theory. You’ll never understand it.” and left it at that. I started one of my usual inspired and passionate monologues, and, since her own area of interest (lacanian psychoanalysis, I presume…) has lead her into excursions through mathematics and its philosophy, she became curious and asked me for some references. I was going to suggest these,
http://plato.stanford.edu/entries/category-theory/
http://en.wikipedia.org/wiki/Category_theory
but I realised that they weren’t very appropriate for the non mathematically initiated. Too many examples with groups and abstract topological spaces… And so I thought: I’ve read TONS of introductory material on this matter, maybe it’s time I write my own.
A Brief History of Cats
Mathematicians usually work with one type of structure or class of objects, and most mathematical areas tend to become excessively technical, narrow, closed in on themselves and boring. One of the first mathematicians whose work opposed this was Évariste Galois who, in the 19th century and still in his teens, figured out that to find a formula that gives you the roots of a polynomial equation (like Bhaskara’s does for the quadratic) you must study the possible symmetries of such roots. In order to do that, he defined groups: mathematical structures that generalize the notion of symmetry. So he moved from polynomials to groups – from one type of mathematical object to another. This modus operandi is still active today. In order to understand geometric objects we associate them with algebraic objects and vice-versa. One can count how many “holes” a geometric object has (a sphere has zero, a doughnut, one), or one can take a polynomial and analyse the geometric object that corresponds to its set of zeros (in one dimension they will usually be just a finite number of points, but with more variables we can draw circles and lines). This motivation has lead to the development of areas know as Algebraic Topology, which associates rigid groups to the ever flexible topological spaces; and Algebraic Geometry, which goes the other way round, associating geometric objects to sets of polynomials.
Category Theory originally arose out of the necessity to better understand such associations between structures so different in nature occurring in Algebraic Topology. In 1945 Samuel Eilenberg and Saunders Mac Lane published “General Theory of Natural Equivalences”, the first paper in which Categories where fully defined. Later on, Eilenberg published (along with Norman Steenrod) a book called Foundations of Algebraic Topology, where categories where used to axiomatize homology theories.
A decade later Alexander Grothendieck, in my opinion the greatest mathematician of the last half of the 20th century, turned his attention (due to Jean-Paul Serre’s influence) away from Functional Analysis and towards Algebraic Geometry. There, he realized that the most important problems could only be solved if they where correctly stated in the appropriate generality, and thus he appealed to the power of the categorical language, rewriting almost all Algebraic Geometry in category-theoretical terms and basically revolutionising the field.
In the 60′s William Lawvere was trying to put continuum mechanics in a solid mathematical basis, and inspired by the aforementioned cases, also turned to Category Theory. But in doing so his project became more ambitious, and he set out to put all mathematics in a categorical basis using, in a first and not fully satisfactory attempt, the category of all categories. I find quite remarkable that it was in Grothendieck’s work that he found the final solution to this problem.
Grothendieck, trying to generalize the notion of space, defined the categories known as toposes (plural for topos). These categories have such a rich structure that we can do almost all mathematics in them, and even define formal languages, with their own notions of truth and falsehood. A notion of topos is thus the axiomatization of a mathematical universe. The usual mathematics is done is the universe of sets. But if we regard infinity as philosophically problematic we can do mathematics in a finitary universe. Some have also argued that the law of excluded middle (either something is true or something is false, no in between) is also philosophicaly problematic, and so one does mathematics in an intuitionistic universe. All of these are toposes. And just as after the discovery of non-euclidean geometries we no longer talk about “the” geometry, in a topos-theoretical approach we no longer talk about “the” mathematical universe.
Category Theory has also been used in Physics and occupies a central role in Theoretical Computer Science.
But What Is a Category?
Well, enough with the historical approach, let’s hand-waveingly define things. Category Theory axiomatizes the notion of function and of composition of functions, so we say that a category consists of a bunch o things called arrows, as in

these arrows have a source (A) and a target (B), and if there’s another arrow

we can align them
and create another arrow

This is what is called a composition. (At this point, you are probably wondering why the hell
and not
. Well, worst than stupidity, is canonical stupidity.) This operation is subjected to the following rule, called associativity:

in other words, the order we do things doesn’t matter.
Besides being able to compose arrows, we also have arrows that do nothing, which we call identities. Every arrow has two identities as in

and composing with them nothing happens:

That’s basically it.
Now, any mathematician can (easily) see that every major area of mathematics is a category. In Set Theory the arrows are functions, in Topology they are continuous functions, in Group Theory homomorphisms, in Linear Algebra they are linear transformations, in Differentiable Geometry they’re smooth maps, and so on… But what’s important is that we shifted from focusing on the objects to focusing on the functions, the ways in which we transform the objects. This is basically the category-theoretical perspective: it’s the functions that matter.
I’ll leave at this, since I’m afraid I can’t go into any more details without asking too much of the mathematicaly-uneducated reader. To finish of, a rather prophetic quote of Jean Dieudonné:
“… [M]athematics is about to go through a second revolution at this very moment. This is the one which is in a way completing the work of the first revolution, namely, which is releasing mathematics from the far too narrow conditions by ‘set’; it is the theory of categories and functors, for which estimation of its range or perception of its consequences is still too early…”
Posted in Uncategorized