For anyone who has done a bit of work in modern geometry (primarily the notion of a (smooth) manifold), we want objects to be “locally” trivial, or easy to study. The global structure might be this crazy awesome geometric shape, but locally it’s going to look like boring old or something like that. How much it’s supposed to “look like” depends on what you want to study. For example, a smooth manifold is a set together with an atlas of “smooth” charts, such that for any point , there is an open neighborhood of that is diffeomorphic to an open subset of .

The idea is that although the global structure of some object might be hard to study, local behavior should be easy. Think of looking at say… a torus (doughnut). For any point on the torus, if you look close enough, it looks pretty much flat. Even though the global shape is decidedly not flat.

Think now of something like a smooth function on a smooth manifold , say . We don’t really have to define everywhere, we just have to know that behaves smoothly with respect to the atlas of . That is, for any point , there is a neighborhood , and chart , such that is a smooth, real-valued function.

Most people don’t go this deep down the rabbit hole, but there is a unifying principle behind extending local data to global data. This is given by the notion of a “sheaf.” Most of the time, people first encounter these things in an algebraic geometry or algebraic topology class, in the context of “cohomology with local coefficients” which are usually abelian groups or something similar.

First, presheaves (of abelian groups) on a topological space . A presheaf on constists of the data of:

- For every open set , an abelian group .
- For every inclusion of open sets , a “restriction” homomorphism .
- , the trivial group.

A sheaf is all this, subject to a nice “gluing” condition. That is:

- For every open set and open cover of , if is such that for all , then .
- For every open set and open cover of , if are sections such that for all we have , then there exists a section such that for all .

Note here that the former condition implies that the section in the latter condition is unique.

That was a bit of a mouthful. So complicated a definition. I don’t really like this way of defining it, but it’s okay.

Let’s start again. Let be a topological space, and make the category **X** whose objects are the open sets of and morphisms are those induced by the obvious poset structure. Then a presheaf of abelian groups is just a functor . Simple!

is a sheaf if, for every open set and cover ,

is an equalizer diagram.

So now we have sheaves. What are the maps? Well, the sheaves are just functors, so the obvious choice is that they’re natural transformations of functors. Hence, we have a category of sheaves! Denote this by if the sheaves have values in a category **C**.

**Why should I care?**

tends to retain a lot of the structure of the category **C**. The most encountered example is that is an abelian category whenever **C** is (I’ll revisit these neat abelian categories in a later post. They basically “behave like abelian groups” enough for us to do homological algebra.). The example I want to pursue is that is a topos whenever **C** is (I’ll DEFINITELY do a post on these things later).

They come up everywhere in geometry. Smooth function on a smooth manifold? Sheaf. Continous functions on a topological space? Sheaf. Measurable functions on a a measure space? Sheaf. Regular functions on a variety? Sheaf.

I’m still learning this stuff, and I’m continually amazed at how pervasive the idea is. Turns out that you can also define sheaves on a category by giving a the category a certain “topology” called a “Grothendieck topology.”

Wherever there is the study of local vs. global behavior, there is sheaf theory. Even in physics now, where one studies the structure of “quantum events” via covers of boolean reference frames, or where “locality and contextuality” is the cohomology of sheaves. So. Fucking. Cool.

Until next time.