Overview
A sheaf describes mathematical data that can be specified locally and reconstructed uniquely when the local specifications agree. Continuous functions are the basic model: functions on overlapping open sets combine into one function precisely when their values match on the overlap. Sheaves extend this organization to algebraic data whose sections need not be ordinary functions with a single fixed codomain.
Prerequisites
Know topological spaces, open covers, and restriction of functions. The initial definition uses sets; groups, rings, and modules can be added afterward. A stalk uses germs, meaning that two sections are identified if they agree on some sufficiently small neighborhood of a chosen point.
Definition and conventions
A presheaf on a topological space assigns a set to each open and a restriction map whenever . Restrictions satisfy and . Elements of are sections over .
It is a sheaf if, for every open cover , sections satisfying
come from a unique with . The empty cover is included; it forces to be a singleton. A sheaf of abelian groups has group-valued sections and homomorphic restrictions, with the same gluing condition on underlying sets. Ring and module sheaves are defined similarly.
Intuition
The axiom has two parts. Uniqueness says sections are determined locally. Existence says compatible local data are sufficient. A presheaf can satisfy one part and fail the other. In particular, a global restriction such as boundedness may obstruct gluing even when the data are genuine functions and local agreement is unambiguous.
Examples and non-examples
For any topological space , let be the continuous real-valued functions on , with ordinary restrictions. Compatible functions define a function point by point. Its continuity follows because the inverse image of an open set is the union of its open inverse images on the covering sets. This proves both existence and, by pointwise equality, uniqueness.
Now let consist only of bounded continuous real-valued functions. This is a presheaf, but generally not a sheaf. On , cover by for positive integers . Each is bounded on , and the functions agree on overlaps. Their only possible glued function is , which is unbounded on . The failure is existence, despite uniqueness holding.
For a set , the constant sheaf assigns locally constant maps . It does not require every section on a disconnected open set to have one global value. On two disjoint nonempty opens, independent constant values glue. By contrast, the presheaf assigning to every nonempty open with identity restrictions, and a singleton to the empty open, fails gluing on a two-point discrete space when has at least two elements.
Important properties
The stalk consists of germs of sections near , or equivalently the direct limit over open neighborhoods of . Equality of germs is stronger than equality of point values: two continuous functions can agree at without agreeing on any neighborhood.
A morphism is a family of maps on sections commuting with restrictions. For sheaves of sets on the same topological space, it is an isomorphism exactly when every stalk map is bijective. Proof sketch: stalk surjectivity supplies local lifts of any target section. Stalk injectivity makes those lifts agree after shrinking around each point, hence on overlaps by uniqueness. The sheaf axiom glues them into a unique inverse image. Merely having abstractly isomorphic stalk sets, without a compatible morphism, is not this criterion.
Connections and further reading
A scheme carries a sheaf of rings recording regular functions, while sheaf cohomology measures failures of global exactness. See Stacks, Section 6.7 for gluing and Li, Appendix B.1 for stalks and algebra-valued sheaves.