I’m teaching an introduction to topos theory this quarter, loosely based on Mac Lane and Moerdijk’s Sheaves in Geometry and Logic.
I’m teaching one and a half hours each week for 10 weeks, so we probably won’t make it far very through this 629-page book. I may continue for the next quarter, but still, to make good progress I’ll have to do various things.
First, I’ll assume basic knowledge of category theory, a lot of which is explained in the Categorical Preliminaries and Chapter 1 of this book. I’ll start in with Chapter 2. Feel free to ask questions!
Second, I’ll skip a lot of proofs and focus on stating definitions and theorems, and explaining what they mean and why they’re interesting.
These notes to myself will be compressed versions of what I will later write on the whiteboard.
Topos theory emerged from Grothendieck’s work on algebraic geometry; he developed it as part of his plan to prove the Weil Conjectures. It was really just one of many linked innovations in algebraic geometry that emerged from the French school, and it makes the most sense if you examine the whole package. Unfortunately algebraic geometry takes a long time to explain! But later Lawvere and Tierney realized that topos theory could serve as a grand generalization of logic and set theory. This logical approach is more self-contained, and easier to explain, but also a bit more dry—at least to me. I will try to steer a middle course, and the title Sheaves in Geometry and Logic shows that Mac Lane and Moerdijk were trying to do this too.
The basic idea of algebraic geometry is to associate to a space the commutative ring of functions on that space, and study the geometry and topology of this space using that ring. For example, if is a compact Hausdorff space there’s a ring consisting of all continuous real-valued functions on and you can recover from this ring. But algebraic geometers often deal with situations where there aren’t enough everywhere-defined functions (of the sort they want to consider) on a space. For example, the only analytic functions on the Riemann sphere are constant functions. That’s not good enough! Most analytic functions on the Riemann sphere have poles, and are only defined away from these poles. (I’m giving an example from complex analysis, in hopes that more people will get what I’m talking about, but there are plenty of purely algebraic examples.)
This forced algebraic geometers to invent ‘sheaves’, around 1945 or so. The idea of a sheaf is that instead of only considering functions defined everywhere, we look at functions defined on open sets.
So, let be a topological space and let be the collection of open subsets of This is a poset with inclusion as the partial ordering, and thus it is a category. A presheaf is a functor
So, a sheaf assigns to each open set a set It allows us to restrict an element of to any smaller open set and a couple of axioms hold, which are encoded in the word ‘functor’. Note the ‘op’: that’s what lets us restrict elements of to smaller open sets.
The example to keep in mind is where consists of functions on (that is, functions of the sort we want to consider, such as continuous or smooth or analytic functions). However, other examples are important too.
In many of these examples something nice happens. First, suppose we have and an open cover of by open sets Then we can restrict to getting something we can call We can then further restrict this to And by the definition of presheaf, we have
In other words, if we take a guy in and restrict it to a bunch of open sets covering the resulting guys agree on the overlaps Check that this follows from the definition of functor and some other facts!
This is true for any presheaf. A presheaf is a sheaf if we can start the other way around, with a bunch of guys that agree on overlaps:
and get a unique that restricts to all these guys:
Note this definition secretly has two clauses: I’m saying that in this situation exists and is unique. If we have uniqueness but not necessarily existence, we say our presheaf is a separated presheaf.
The point of a sheaf is that you can tell if something is in by examining it locally. These examples explain what I mean:
Puzzle. Let and for each open set take to be the set of continuous real-valued functions on Show that with the usual concept of restriction of functions, is a presheaf and in fact a sheaf.
Puzzle. Let and for each open set take to be the set of bounded continuous real-valued functions on Show that with the usual concept of restriction of functions, is a separated presheaf but not a sheaf.
The problem is that a function can be bounded on each open set in an open cover of yet not bounded on You can tell if a function is continuous by examining it locally, but you can’t tell if its bounded!
So, in a sense that should gradually become clear, sheaves are about ‘local truth’.
The category of sheaves on a space
There’s a category of presheaves on any topological space Since a presheaf on is a functor
a morphism between presheaves is a natural transformation between such functors.
Remember, if and are categories, we use to stand for the category where the objects are functors from to and the morphisms are natural transformations. This is called a functor category.
So, a category of presheaves is just an example of a functor category, and the category of presheaves on is called
But this name is rather ungainly, so we make an abbreviation
Then the category of presheaves on is called
Sheaves are subtler, but we define morphisms of sheaves the exact same way. Every sheaf has an underlying presheaf, so we define a morphism between sheaves to be a morphism between their underlying presheaves. This gives the category of sheaves on which we call
By how we’ve set things up, is a full subcategory of
Now, what Grothendieck realized is that acts a whole lot like the category of sets. For example, in the category of sets we can define ‘commutative rings’, but we can copy the definition in and get ‘sheaves of commutative rings’, and so on. The point is that we’re copying ordinary math, but doing it locally, in a topological space.
Lawvere and Tierney clarified what was going on here by inventing the concept of ‘elementary topos’. I’ll throw the definition at you now and explain all the pieces in future classes:
Definition. An elementary topos, or topos for short, is a category with finite limits and colimits, exponentials and a subobject classifier.
I hope you know limits and colimits, since that’s the kind of basic category theory definition I’m assuming. Given two objects and in a category, their exponential is an object that acts like the thing of all maps from to I’ll give the actual definition later. A subobject classifier is, roughly, an object that generalizes the usual set of truth values
Namely, subobjects of any object are in one-to-one correspondence with morphisms from to which serve as ‘characteristic functions’. Again, this is just a sketch: I’ll give the actual definition later, or you can click on the link and read it now.
The point is that an elementary topos has enough bells and whistles that we can ‘do mathematics inside it’. It’s like an alternative universe, a variant of our usual category of sets and functions, where mathematicians can live. But beware: in general, the kind of mathematics we do in an elementary topos is finitistic mathematics using intuitionistic logic.
You see, the category of finite sets is an elementary topos, so you can’t expect to have ‘infinite objects’ like the set of natural numbers in an elementary topos—unless you decree that you want them (which people often do).
Also, we will see that while is a Boolean algebra, the subobject classifier of an elementary topos need only be a ‘Heyting algebra’: a generalization of a Boolean algebra in which the law of excluded middle fails. This is actually not weird: it’s connected to the fact that a category of sheaves lets us reason ‘locally’. For example, we don’t just care if two functions are equal or not, we care if they’re equal or not in each open set. So we need a subtler form of logic than classical Boolean logic.
There’s a lot more to say, and I’m just sketching out the territory now, but one of the first big theorems we’re aiming for is this:
Theorem. For any topological space is an elementary topos.
The topos of sheaves remembers a lot about the topological space that it came from… so a topos can also be seen as a way of talking about a space! This is even true for elementary topoi that aren’t topoi of sheaves on an actual space. So, topos theory is more than a generalization of set theory. It’s also, in a different way, a generalization of topology.
You’ll notice that sheaves on were defined starting with the poset of open sets of In fact, to define them we never used anything about except this poset! This suggests that we could define sheaves more generally starting from any poset.
And that’s true—but Grothendieck went further: he defined sheaves starting from any category, as long as that category was equipped with some extra structure saying when a bunch of morphisms serve to ‘cover’ the object This extra data is called a ‘coverage’ or more often (rather confusingly) a ‘Grothendieck topology’. A category equipped with a Grothendieck topology is called a ‘site’.
So, Grothendieck figured out how to talk about the category of sheaves on any site He did this before Lawvere and Tierney came along, and this was his definition of a topos. So, nowadays we say a category of sheaves on a site is a Grothendieck topos. However:
Theorem. Any Grothendieck topos is an elementary topos.
So, Lawvere and Tierney’s approach subsumes Grothendieck’s, in a sense. Not every elementary topos is a Grothendieck topos, though! For example, the category of finite sets is an elementary topos but not a Grothendieck topos. (It’s not big enough: any Grothendieck topos has, not just finite limits and colimits, but all small limits and colimits.) So both concepts of topos are important and still used. But when I say just ‘topos’, I’ll mean ‘elementary topos’.
Why did Grothendieck bother to generalize the concept of sheaves from sheaves on a topological space to sheaves on a site? He wasn’t just doing it for fun: it was a crucial step in his attempt to prove the Weil Conjectures!
Basically, when you’re dealing with spaces that algebraic geometers like—say, algebraic varieties—there aren’t enough open sets to do everything we want, so we need to use covering spaces as a generalization of open covers. So, instead of defining sheaves using the poset of open subsets of our space Grothendieck needed to use the category of covering spaces of
That’s the rough idea, anyway.
As you probably know if you’re reading this, category theory is all about the morphisms. This is true not just within a category, but between them. The point of topos theory is not just to study one topos, but many. We don’t want merely to do mathematics in alternative universes: we want to be able to translate mathematics from one alternative universe to another!
So, what are the morphisms between topoi?
First, if you have a continuous map between topological spaces, you can take the ‘direct image’ of a presheaf on to get a presheaf on Here’s how this works.
The inverse image of any open set is open, so we get an inverse image map
sending each open set to the open set
Given a presheaf on we define its direct image to be the presheaf on given by
Note the double reversal here: maps points in to points in but open sets in give open sets in and then presheaves on give presheaves on
Of course we need to check that it works:
Puzzle. Show that is a presheaf. That is, explain how we can restrict an element of to any open set contained in and check that we get a presheaf this way.
In fact it works very nicely:
Puzzle. Show that taking direct images gives a functor from the category of presheaves on to the category of presheaves on
Puzzle. Show that if is a sheaf on its direct image is a sheaf on
The upshot of all this is that a continuous map between topological spaces
gives a functor between sheaf categories
And this functor turns out to be very nice! This is another big theorem we aim to prove later:
Theorem. If is a continuous map between topological spaces, the functor
has a left adjoint
that preserves finite limits.
This left adjoint is called the inverse image map. Note that because has a left adjoint, it is a right adjoint, so it preserves limits. Because is a left adjoint, it preserves colimits. The fact that preserves finite limits is extra gravy on top of an already nice situation!
We bundle all this niceness into a definition:
Definition. A functor between topoi is a geometric morphism if it has a left adjoint that preserves finite limits.
And this is the most important kind of morphism between topoi. It’s not a very obvious definition, but it’s extracted straight from what happens in examples.
To wrap up, I should add that people usually call the pair consisting of and its left adjoint a geometric morphism. A functor has at most one adjoint, up to natural isomorphism, so my definition is at least tolerable. But I’ll probably switch to the standard one when we get serious about geometric morphisms.
And we will eventually see that geometric morphisms let us translate mathematics from one alternative universe to another!
If this seemed like too much too soon, fear not, I’ll go over it again and actually define a lot of the concepts I merely sketched, like ‘exponentials’, ‘subobject classifier’, ‘Heyting algebra’, ‘Grothendieck topology’, and ‘Grothendieck topos’. I just wanted to get a lot of the main concepts on the table quickly. You should do the puzzles to see if you understand what I wanted you to understand. Unless I made a mistake, all of these are straightforward definition-pushing if you’re comfortable with some basic category theory.
For more background on topos theory I highly recommend this:
• Colin McLarty, The uses and abuses of the history of topos theory.
Abstract. The view that toposes originated as generalized set theory is a figment of set theoretically educated common sense. This false history obstructs understanding of category theory and especially of categorical foundations for mathematics. Problems in geometry, topology, and related algebra led to categories and toposes. Elementary toposes arose when Lawvere’s interest in the foundations of physics and Tierney’s in the foundations of topology led both to study Grothendieck’s foundations for algebraic geometry. I end with remarks on a categorical view of the history of set theory, including a false history plausible from that point of view that would make it helpful to introduce toposes as a generalization from set theory.
There’s also a lot of background material in the book for this course:
The series so far:
• Part 1: sheaves, elementary topoi, Grothendieck topoi and geometric morphisms.
• Part 2: turning presheaves into bundles and vice versa; turning sheaves into etale spaces and vice versa.
• Part 3: sheafification; the adjunction between presheaves and bundles.
• Part 4: direct and inverse images of sheaves.
• Part 5: why presheaf categories are elementary topoi: colimits and limits in presheaf categories.
• Part 6: why presheaf categories are elementary topoi: cartesian closed categories and why presheaf categories are cartesian closed.
• Part 7: why presheaf categories are elementary topoi: subobjects and subobject classifiers, and why presheaf categories have a subobject classifier.
• Part 8: an example: the topos of time-dependent sets, and its subobject classifier.