# Sheaf (mathematics)

__: Tool to track locally defined data attached to the open sets of a topological space__

**Short description**

In mathematics, a **sheaf** (pl.: **sheaves**) is a tool for systematically tracking data (such as sets, abelian groups, rings) attached to the open sets of a topological space and defined locally with regard to them. For example, for each open set, the data could be the ring of continuous functions defined on that open set. Such data are well behaved in that they can be restricted to smaller open sets, and also the data assigned to an open set are equivalent to all collections of compatible data assigned to collections of smaller open sets covering the original open set (intuitively, every datum is the sum of its constituent data).

The field of mathematics that studies sheaves is called **sheaf theory**.

Sheaves are understood conceptually as general and abstract objects. Their correct definition is rather technical. They are specifically defined as **sheaves of sets** or as **sheaves of rings**, for example, depending on the type of data assigned to the open sets.

There are also maps (or morphisms) from one sheaf to another; sheaves (of a specific type, such as sheaves of abelian groups) with their morphisms on a fixed topological space form a category. On the other hand, to each continuous map there is associated both a direct image functor, taking sheaves and their morphisms on the domain to sheaves and morphisms on the codomain, and an inverse image functor operating in the opposite direction. These functors, and certain variants of them, are essential parts of sheaf theory.

Due to their general nature and versatility, sheaves have several applications in topology and especially in algebraic and differential geometry. First, geometric structures such as that of a differentiable manifold or a scheme can be expressed in terms of a sheaf of rings on the space. In such contexts, several geometric constructions such as vector bundles or divisors are naturally specified in terms of sheaves. Second, sheaves provide the framework for a very general cohomology theory, which encompasses also the "usual" topological cohomology theories such as singular cohomology. Especially in algebraic geometry and the theory of complex manifolds, sheaf cohomology provides a powerful link between topological and geometric properties of spaces. Sheaves also provide the basis for the theory of *D*-modules, which provide applications to the theory of differential equations. In addition, generalisations of sheaves to more general settings than topological spaces, such as Grothendieck topology, have provided applications to mathematical logic and to number theory.

## Definitions and examples

In many mathematical branches, several structures defined on a topological space [math]\displaystyle{ X }[/math] (e.g., a differentiable manifold) can be naturally *localised* or *restricted* to open subsets [math]\displaystyle{ U \subset X }[/math]: typical examples include continuous real-valued or complex-valued functions, [math]\displaystyle{ n }[/math]-times differentiable (real-valued or complex-valued) functions, bounded real-valued functions, vector fields, and sections of any vector bundle on the space. The ability to restrict data to smaller open subsets gives rise to the concept of presheaves. Roughly speaking, sheaves are then those presheaves, where local data can be glued to global data.

### Presheaves

Let [math]\displaystyle{ X }[/math] be a topological space. A *presheaf [math]\displaystyle{ F }[/math] of sets* on [math]\displaystyle{ X }[/math] consists of the following data:

- For each open set [math]\displaystyle{ U }[/math] of [math]\displaystyle{ X }[/math], there exists a set [math]\displaystyle{ F(U) }[/math]. This set is also denoted [math]\displaystyle{ \Gamma(U, F) }[/math]. The elements in this set are called the
*sections*of [math]\displaystyle{ F }[/math] over [math]\displaystyle{ U }[/math]. The sections of [math]\displaystyle{ F }[/math] over [math]\displaystyle{ X }[/math] are called the*global sections*of [math]\displaystyle{ F }[/math]. - For each inclusion of open sets [math]\displaystyle{ V \subseteq U }[/math], a function [math]\displaystyle{ \operatorname{res}_{V, U} \colon F(U) \rightarrow F(V) }[/math]. In view of many of the examples below, the morphisms [math]\displaystyle{ \text{res}_{V,U} }[/math] are called
*restriction morphisms*. If [math]\displaystyle{ s \in F(U) }[/math], then its restriction [math]\displaystyle{ \text{res}_{V,U}(s) }[/math] is often denoted [math]\displaystyle{ s|_V }[/math] by analogy with restriction of functions.

The restriction morphisms are required to satisfy two additional (functorial) properties:

- For every open set [math]\displaystyle{ U }[/math] of [math]\displaystyle{ X }[/math], the restriction morphism [math]\displaystyle{ \operatorname{res}_{U, U} \colon F(U) \rightarrow F(U) }[/math] is the identity morphism on [math]\displaystyle{ F(U) }[/math].
- If we have three open sets [math]\displaystyle{ W \subseteq V \subseteq U }[/math], then the composite [math]\displaystyle{ \text{res}_{W,V}\circ\text{res}_{V,U}=\text{res}_{W,U} }[/math]

Informally, the second axiom says it does not matter whether we restrict to *W* in one step or restrict first to *V*, then to *W*. A concise functorial reformulation of this definition is given further below.

Many examples of presheaves come from different classes of functions: to any *[math]\displaystyle{ U }[/math]*, one can assign the set [math]\displaystyle{ C^0(U) }[/math] of continuous real-valued functions on *[math]\displaystyle{ U }[/math]*. The restriction maps are then just given by restricting a continuous function on *[math]\displaystyle{ U }[/math]* to a smaller open subset *[math]\displaystyle{ V }[/math]*, which again is a continuous function. The two presheaf axioms are immediately checked, thereby giving an example of a presheaf. This can be extended to a sheaf of holomorphic functions [math]\displaystyle{ \mathcal{H}(-) }[/math] and a sheaf of smooth functions [math]\displaystyle{ C^\infty(-) }[/math].

Another common class of examples is assigning to [math]\displaystyle{ U }[/math] the set of constant real-valued functions on [math]\displaystyle{ U }[/math]. This presheaf is called the *constant presheaf* associated to [math]\displaystyle{ \mathbb{R} }[/math] and is denoted [math]\displaystyle{ \underline{\mathbb{R}}^{psh} }[/math].

### Sheaves

Given a presheaf, a natural question to ask is to what extent its sections over an open set *[math]\displaystyle{ U }[/math]* are specified by their restrictions to open subsets of [math]\displaystyle{ U }[/math]. A *sheaf* is a presheaf whose sections are, in a technical sense, uniquely determined by their restrictions.

Axiomatically, a *sheaf* is a presheaf that satisfies both of the following axioms:

- (
*Locality*) Suppose [math]\displaystyle{ U }[/math] is an open set, [math]\displaystyle{ \{ U_i \}_{i \in I} }[/math] is an open cover of [math]\displaystyle{ U }[/math] with [math]\displaystyle{ U_i \subseteq U }[/math] for all [math]\displaystyle{ i \in I }[/math], and [math]\displaystyle{ s, t \in F(U) }[/math] are sections. If [math]\displaystyle{ s|_{ U_i} = t|_{ U_i} }[/math] for all [math]\displaystyle{ i \in I }[/math], then [math]\displaystyle{ s = t }[/math]. - (
*Gluing*) Suppose [math]\displaystyle{ U }[/math] is an open set, [math]\displaystyle{ \{ U_i \}_{i \in I} }[/math] is an open cover of [math]\displaystyle{ U }[/math] with [math]\displaystyle{ U_i \subseteq U }[/math] for all [math]\displaystyle{ i \in I }[/math], and [math]\displaystyle{ \{ s_i \in F(U_i) \}_{i \in I} }[/math] is a family of sections. If all pairs of sections agree on the overlap of their domains, that is, if [math]\displaystyle{ s_i|_{U_i\cap U_j} = s_j|_{U_i \cap U_j} }[/math] for all [math]\displaystyle{ i, j \in I }[/math], then there exists a section [math]\displaystyle{ s \in F(U) }[/math] such that [math]\displaystyle{ s|_{U_i} = s_i }[/math] for all [math]\displaystyle{ i \in I }[/math].^{[1]}

In both of these axioms, the hypothesis on the open cover is equivalent to the assumption that [math]\displaystyle{ \bigcup_{i \in I} U_i = U }[/math].

The section *[math]\displaystyle{ s }[/math]* whose existence is guaranteed by axiom 2 is called the *gluing*, *concatenation*, or *collation* of the sections *s*_{i}. By axiom 1 it is unique. Sections *[math]\displaystyle{ s_i }[/math]* and *[math]\displaystyle{ s_j }[/math]* satisfying the agreement precondition of axiom 2 are often called *compatible*; thus axioms 1 and 2 together state that *any collection of pairwise compatible sections can be uniquely glued together*. A *separated presheaf*, or *monopresheaf*, is a presheaf satisfying axiom 1.^{[2]}

The presheaf consisting of continuous functions mentioned above is a sheaf. This assertion reduces to checking that, given continuous functions [math]\displaystyle{ f_i : U_i \to \R }[/math] which agree on the intersections [math]\displaystyle{ U_i \cap U_j }[/math], there is a unique continuous function [math]\displaystyle{ f: U \to \R }[/math] whose restriction equals the [math]\displaystyle{ f_i }[/math]. By contrast, the constant presheaf is usually *not* a sheaf as it fails to satisfy the locality axiom on the empty set (this is explained in more detail at constant sheaf).

Presheaves and sheaves are typically denoted by capital letters, [math]\displaystyle{ F }[/math] being particularly common, presumably for the French word for sheaf, *faisceau*. Use of calligraphic letters such as [math]\displaystyle{ \mathcal{F} }[/math] is also common.

It can be shown that to specify a sheaf, it is enough to specify its restriction to the open sets of a basis for the topology of the underlying space. Moreover, it can also be shown that it is enough to verify the sheaf axioms above relative to the open sets of a covering. This observation is used to construct another example which is crucial in algebraic geometry, namely quasi-coherent sheaves. Here the topological space in question is the spectrum of a commutative ring [math]\displaystyle{ R }[/math], whose points are the prime ideals [math]\displaystyle{ p }[/math] in [math]\displaystyle{ R }[/math]. The open sets [math]\displaystyle{ D_f := \{ p \subset R, f \notin p\} }[/math] form a basis for the Zariski topology on this space. Given an [math]\displaystyle{ R }[/math]-module [math]\displaystyle{ M }[/math], there is a sheaf, denoted by [math]\displaystyle{ \tilde M }[/math] on the Spec [math]\displaystyle{ R }[/math], that satisfies

- [math]\displaystyle{ \tilde M(D_f) := M[1/f], }[/math] the localization of [math]\displaystyle{ M }[/math] at [math]\displaystyle{ f }[/math].

There is another characterization of sheaves that is equivalent to the previously discussed. A presheaf [math]\displaystyle{ \mathcal{F} }[/math] is a sheaf if and only if for any open [math]\displaystyle{ U }[/math] and any open cover [math]\displaystyle{ (U_a) }[/math] of [math]\displaystyle{ U }[/math], [math]\displaystyle{ \mathcal{F}(U) }[/math] is the fibre product [math]\displaystyle{ \mathcal{F}(U)\cong\mathcal{F}(U_a)\times_{\mathcal{F}(U_a\cap U_b)}\mathcal{F}(U_b) }[/math]. This characterization is useful in construction of sheaves, for example, if [math]\displaystyle{ \mathcal{F},\mathcal{G} }[/math] are abelian sheaves, then the kernel of sheaves morphism [math]\displaystyle{ \mathcal{F}\to\mathcal{G} }[/math] is a sheaf, since projective limits commutes with projective limits. On the other hand, the cokernel is not always a sheaf because inductive limit not necessarily commutes with projective limits. One of the way to fix this is to consider Noetherian topological spaces; every open sets are compact so that the cokernel is a sheaf, since finite projective limits commutes with inductive limits.

### Further examples

#### Sheaf of sections of a continuous map

Any continuous map [math]\displaystyle{ f:Y\to X }[/math] of topological spaces determines a sheaf [math]\displaystyle{ \Gamma(Y/X) }[/math] on [math]\displaystyle{ X }[/math] by setting

- [math]\displaystyle{ \Gamma(Y/X)(U) = \{s: U \to Y, f \circ s = \operatorname{id}_U\}. }[/math]

Any such [math]\displaystyle{ s }[/math] is commonly called a section of *[math]\displaystyle{ f }[/math]*, and this example is the reason why the elements in [math]\displaystyle{ F(U) }[/math] are generally called sections. This construction is especially important when [math]\displaystyle{ f }[/math] is the projection of a fiber bundle onto its base space. For example, the sheaves of smooth functions are the sheaves of sections of the trivial bundle. Another example: the sheaf of sections of

- [math]\displaystyle{ \C \stackrel{\exp} \to \C\setminus \{0\} }[/math]

is the sheaf which assigns to any *[math]\displaystyle{ U }[/math]* the set of branches of the complex logarithm on *[math]\displaystyle{ U }[/math]*.

Given a point [math]\displaystyle{ x }[/math] and an abelian group [math]\displaystyle{ S }[/math], the skyscraper sheaf [math]\displaystyle{ S_x }[/math] is defined as follows: if [math]\displaystyle{ U }[/math] is an open set containing [math]\displaystyle{ x }[/math], then [math]\displaystyle{ S_x(U)=S }[/math]. If [math]\displaystyle{ U }[/math] does not contain [math]\displaystyle{ x }[/math], then [math]\displaystyle{ S_x(U)=0 }[/math], the trivial group. The restriction maps are either the identity on [math]\displaystyle{ S }[/math], if both open sets contain [math]\displaystyle{ x }[/math], or the zero map otherwise.

#### Sheaves on manifolds

On an [math]\displaystyle{ n }[/math]-dimensional [math]\displaystyle{ C^k }[/math]-manifold [math]\displaystyle{ M }[/math], there are a number of important sheaves, such as the sheaf of [math]\displaystyle{ j }[/math]-times continuously differentiable functions [math]\displaystyle{ \mathcal{O}^j_M }[/math] (with [math]\displaystyle{ j \leq k }[/math]). Its sections on some open [math]\displaystyle{ U }[/math] are the [math]\displaystyle{ C^j }[/math]-functions [math]\displaystyle{ U \to \R }[/math]. For [math]\displaystyle{ j = k }[/math], this sheaf is called the *structure sheaf* and is denoted [math]\displaystyle{ \mathcal{O}_M }[/math]. The nonzero [math]\displaystyle{ C^k }[/math] functions also form a sheaf, denoted [math]\displaystyle{ \mathcal{O}_X^\times }[/math]. Differential forms (of degree [math]\displaystyle{ p }[/math]) also form a sheaf [math]\displaystyle{ \Omega^p_M }[/math]. In all these examples, the restriction morphisms are given by restricting functions or forms.

The assignment sending [math]\displaystyle{ U }[/math] to the compactly supported functions on [math]\displaystyle{ U }[/math] is not a sheaf, since there is, in general, no way to preserve this property by passing to a smaller open subset. Instead, this forms a cosheaf, a dual concept where the restriction maps go in the opposite direction than with sheaves.^{[3]} However, taking the dual of these vector spaces does give a sheaf, the sheaf of distributions.

#### Presheaves that are not sheaves

In addition to the constant presheaf mentioned above, which is usually not a sheaf, there are further examples of presheaves that are not sheaves:

- Let [math]\displaystyle{ X }[/math] be the two-point topological space [math]\displaystyle{ \{x,y\} }[/math] with the discrete topology. Define a presheaf [math]\displaystyle{ F }[/math] as follows: [math]\displaystyle{ F(\varnothing) = \{\varnothing\},\ F(\{x\}) = \R,\ F(\{y\}) = \R,\ F(\{x, y\}) = \R\times\R\times\R }[/math]The restriction map [math]\displaystyle{ F(\{x, y\}) \to F(\{x\}) }[/math] is the projection of [math]\displaystyle{ \R \times\R\times\R }[/math] onto its first coordinate, and the restriction map [math]\displaystyle{ F(\{x, y\}) \to F(\{y\}) }[/math] is the projection of [math]\displaystyle{ \R \times\R\times\R }[/math] onto its second coordinate. [math]\displaystyle{ F }[/math] is a presheaf that is not separated: a global section is determined by three numbers, but the values of that section over [math]\displaystyle{ \{x\} }[/math] and [math]\displaystyle{ \{y\} }[/math] determine only two of those numbers. So while we can glue any two sections over [math]\displaystyle{ \{x\} }[/math] and [math]\displaystyle{ \{y\} }[/math], we cannot glue them uniquely.
- Let [math]\displaystyle{ X = \R }[/math] be the real line, and let [math]\displaystyle{ F(U) }[/math] be the set of bounded continuous functions on [math]\displaystyle{ U }[/math]. This is not a sheaf because it is not always possible to glue. For example, let [math]\displaystyle{ U_i }[/math] be the set of all [math]\displaystyle{ x }[/math] such that [math]\displaystyle{ |x|\lt i }[/math]. The identity function [math]\displaystyle{ f(x)=x }[/math] is bounded on each [math]\displaystyle{ U_i }[/math]. Consequently, we get a section [math]\displaystyle{ s_i }[/math] on [math]\displaystyle{ U_i }[/math]. However, these sections do not glue, because the function [math]\displaystyle{ f }[/math] is not bounded on the real line. Consequently [math]\displaystyle{ F }[/math] is a presheaf, but not a sheaf. In fact, [math]\displaystyle{ F }[/math] is separated because it is a sub-presheaf of the sheaf of continuous functions.

### Motivating sheaves from complex analytic spaces and algebraic geometry

One of the historical motivations for sheaves have come from studying complex manifolds,^{[4]} complex analytic geometry,^{[5]} and scheme theory from algebraic geometry. This is because in all of the previous cases, we consider a topological space [math]\displaystyle{ X }[/math] together with a structure sheaf [math]\displaystyle{ \mathcal{O} }[/math] giving it the structure of a complex manifold, complex analytic space, or scheme. This perspective of equipping a topological space with a sheaf is essential to the theory of locally ringed spaces (see below).

#### Technical challenges with complex manifolds

One of the main historical motivations for introducing sheaves was constructing a device which keeps track of holomorphic functions on complex manifolds. For example, on a compact complex manifold [math]\displaystyle{ X }[/math] (like complex projective space or the vanishing locus in projective space of a homogeneous polynomial), the *only* holomorphic functions

[math]\displaystyle{ f:X \to \C }[/math]

are the constant functions.^{[6]}^{[7]} This means there exist two compact complex manifolds [math]\displaystyle{ X,X' }[/math] which are not isomorphic, but nevertheless their rings of global holomorphic functions, denoted [math]\displaystyle{ \mathcal{H}(X), \mathcal{H}(X') }[/math], are isomorphic. Contrast this with smooth manifolds where every manifold [math]\displaystyle{ M }[/math] can be embedded inside some [math]\displaystyle{ \R^n }[/math], hence its ring of smooth functions [math]\displaystyle{ C^\infty(M) }[/math] comes from restricting the smooth functions from [math]\displaystyle{ C^\infty(\R^n) }[/math]. Another complexity when considering the ring of holomorphic functions on a complex manifold [math]\displaystyle{ X }[/math] is given a small enough open set [math]\displaystyle{ U \subset X }[/math], the holomorphic functions will be isomorphic to [math]\displaystyle{ \mathcal{H}(U) \cong \mathcal{H}(\C^n) }[/math]. Sheaves are a direct tool for dealing with this complexity since they make it possible to keep track of the holomorphic structure on the underlying topological space of [math]\displaystyle{ X }[/math] on arbitrary open subsets [math]\displaystyle{ U \subset X }[/math]. This means as [math]\displaystyle{ U }[/math] becomes more complex topologically, the ring [math]\displaystyle{ \mathcal{H}(U) }[/math] can be expressed from gluing the [math]\displaystyle{ \mathcal{H}(U_i) }[/math]. Note that sometimes this sheaf is denoted [math]\displaystyle{ \mathcal{O}(-) }[/math] or just [math]\displaystyle{ \mathcal{O} }[/math], or even [math]\displaystyle{ \mathcal{O}_X }[/math] when we want to emphasize the space the structure sheaf is associated to.

#### Tracking submanifolds with sheaves

Another common example of sheaves can be constructed by considering a complex submanifold [math]\displaystyle{ Y \hookrightarrow X }[/math]. There is an associated sheaf [math]\displaystyle{ \mathcal{O}_Y }[/math] which takes an open subset [math]\displaystyle{ U \subset X }[/math] and gives the ring of holomorphic functions on [math]\displaystyle{ U \cap Y }[/math]. This kind of formalism was found to be extremely powerful and motivates a lot of homological algebra such as sheaf cohomology since an intersection theory can be built using these kinds of sheaves from the Serre intersection formula.

## Operations with sheaves

### Morphisms

Morphisms of sheaves are, roughly speaking, analogous to functions between them. In contrast to a function between sets, which is simply an assignment of outputs to inputs, morphisms of sheaves are also required to be compatible with the local-global structures of the underlying sheaves. This idea is made precise in the following definition.

Let [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math] be two sheaves of sets (resp. abelian groups, rings, etc.) on [math]\displaystyle{ X }[/math]. A *morphism* [math]\displaystyle{ \varphi:F\to G }[/math] consists of a morphism [math]\displaystyle{ \varphi_U:F(U)\to G(U) }[/math] of sets (resp. abelian groups, rings, etc.) for each open set [math]\displaystyle{ U }[/math] of [math]\displaystyle{ X }[/math], subject to the condition that this morphism is compatible with restrictions. In other words, for every open subset [math]\displaystyle{ V }[/math] of an open set [math]\displaystyle{ U }[/math], the following diagram is commutative.

- [math]\displaystyle{ \begin{array}{rcl} F(U) & \xrightarrow{\quad\varphi_U\quad} & G(U)\\ r_{V,U}\Biggl\downarrow & & \Biggl\downarrow r'_{V,U}\\ F(V) & \xrightarrow[{\quad\varphi_V\quad}]{} & G(V) \end{array} }[/math]

For example, taking the derivative gives a morphism of sheaves on [math]\displaystyle{ \R }[/math]: [math]\displaystyle{ \mathcal O^n_{\R} \to \mathcal O^{n-1}_{\R}. }[/math] Indeed, given an ([math]\displaystyle{ n }[/math]-times continuously differentiable) function [math]\displaystyle{ f : U \to \R }[/math] (with [math]\displaystyle{ U }[/math] in [math]\displaystyle{ \R }[/math] open), the restriction (to a smaller open subset [math]\displaystyle{ V }[/math]) of its derivative equals the derivative of [math]\displaystyle{ f|_V }[/math].

With this notion of morphism, sheaves of sets (resp. abelian groups, rings, etc.) on a fixed topological space [math]\displaystyle{ X }[/math] form a category. The general categorical notions of mono-, epi- and isomorphisms can therefore be applied to sheaves.

A morphism [math]\displaystyle{ \varphi\colon F\rightarrow G }[/math] of sheaves on [math]\displaystyle{ X }[/math] is an isomorphism (resp. monomorphism) if and only if there exists an open cover [math]\displaystyle{ \{U_\alpha\} }[/math] of [math]\displaystyle{ X }[/math] such that [math]\displaystyle{ \varphi|_{U_\alpha}\colon F(U_\alpha)\rightarrow G(U_\alpha) }[/math] are isomorphisms (resp. injective morphisms) of sets (resp. abelian groups, rings, etc.) for all [math]\displaystyle{ \alpha }[/math]. These statements give examples of how to work with sheaves using local information, but it's important to note that we cannot check if a morphism of sheaves is an epimorphism in the same manner. Indeed the statement that maps on the level of open sets [math]\displaystyle{ \varphi_U \colon F(U)\rightarrow G(U) }[/math] are not always surjective for epimorphisms of sheaves is equivalent to non-exactness of the global sections functor — or equivalently, to non-triviality of sheaf cohomology.

### Stalks of a sheaf

The *stalk* [math]\displaystyle{ \mathcal{F}_x }[/math] of a sheaf [math]\displaystyle{ \mathcal{F} }[/math] captures the properties of a sheaf "around" a point [math]\displaystyle{ x\in X }[/math], generalizing the germs of functions.
Here, "around" means that, conceptually speaking, one looks at smaller and smaller neighborhoods of the point. Of course, no single neighborhood will be small enough, which requires considering a limit of some sort. More precisely, the stalk is defined by

- [math]\displaystyle{ \mathcal{F}_x = \varinjlim_{U\ni x} \mathcal{F}(U), }[/math]

the direct limit being over all open subsets of [math]\displaystyle{ X }[/math] containing the given point [math]\displaystyle{ x }[/math]. In other words, an element of the stalk is given by a section over some open neighborhood of [math]\displaystyle{ x }[/math], and two such sections are considered equivalent if their restrictions agree on a smaller neighborhood.

The natural morphism [math]\displaystyle{ F(U)\to F_x }[/math] takes a section [math]\displaystyle{ x }[/math] in [math]\displaystyle{ F(U) }[/math] to its *germ* at [math]\displaystyle{ x }[/math]. This generalises the usual definition of a germ.

In many situations, knowing the stalks of a sheaf is enough to control the sheaf itself. For example, whether or not a morphism of sheaves is a monomorphism, epimorphism, or isomorphism can be tested on the stalks. In this sense, a sheaf is determined by its stalks, which are a local data. By contrast, the *global* information present in a sheaf, i.e., the *global sections*, i.e., the sections [math]\displaystyle{ \mathcal F(X) }[/math] on the whole space [math]\displaystyle{ X }[/math], typically carry less information. For example, for a compact complex manifold [math]\displaystyle{ X }[/math], the global sections of the sheaf of holomorphic functions are just [math]\displaystyle{ \C }[/math], since any holomorphic function

- [math]\displaystyle{ X \to \C }[/math]

is constant by Liouville's theorem.^{[6]}

### Turning a presheaf into a sheaf

It is frequently useful to take the data contained in a presheaf and to express it as a sheaf. It turns out that there is a best possible way to do this. It takes a presheaf [math]\displaystyle{ F }[/math] and produces a new sheaf [math]\displaystyle{ aF }[/math] called the *sheafification* or *sheaf associated to the presheaf* [math]\displaystyle{ F }[/math]. For example, the sheafification of the constant presheaf (see above) is called the *constant sheaf*. Despite its name, its sections are *locally* constant functions.

The sheaf [math]\displaystyle{ aF }[/math] can be constructed using the étalé space of [math]\displaystyle{ F }[/math], namely as the sheaf of sections of the map

- [math]\displaystyle{ \mathrm{Spe}(F) \to X. }[/math]

Another construction of the sheaf [math]\displaystyle{ aF }[/math] proceeds by means of a functor [math]\displaystyle{ L }[/math] from presheaves to presheaves that gradually improves the properties of a presheaf: for any presheaf [math]\displaystyle{ F }[/math], [math]\displaystyle{ LF }[/math] is a separated presheaf, and for any separated presheaf [math]\displaystyle{ F }[/math], [math]\displaystyle{ LF }[/math] is a sheaf. The associated sheaf [math]\displaystyle{ aF }[/math] is given by [math]\displaystyle{ LLF }[/math].^{[8]}

The idea that the sheaf [math]\displaystyle{ aF }[/math] is the best possible approximation to [math]\displaystyle{ F }[/math] by a sheaf is made precise using the following universal property: there is a natural morphism of presheaves [math]\displaystyle{ i\colon F\to aF }[/math] so that for any sheaf [math]\displaystyle{ G }[/math] and any morphism of presheaves [math]\displaystyle{ f\colon F\to G }[/math], there is a unique morphism of sheaves [math]\displaystyle{ \tilde f \colon aF \rightarrow G }[/math] such that [math]\displaystyle{ f = \tilde f i }[/math]. In fact [math]\displaystyle{ a }[/math] is the left adjoint functor to the inclusion functor (or forgetful functor) from the category of sheaves to the category of presheaves, and [math]\displaystyle{ i }[/math] is the unit of the adjunction. In this way, the category of sheaves turns into a Giraud subcategory of presheaves. This categorical situation is the reason why the sheafification functor appears in constructing cokernels of sheaf morphisms or tensor products of sheaves, but not for kernels, say.

### Subsheaves, quotient sheaves

If [math]\displaystyle{ K }[/math] is a subsheaf of a sheaf [math]\displaystyle{ F }[/math] of abelian groups, then the **quotient sheaf** [math]\displaystyle{ Q }[/math] is the sheaf associated to the presheaf [math]\displaystyle{ U \mapsto F(U)/K(U) }[/math]; in other words, the quotient sheaf fits into an exact sequence of sheaves of abelian groups;

- [math]\displaystyle{ 0 \to K \to F \to Q \to 0. }[/math]

(this is also called a sheaf extension.)

Let [math]\displaystyle{ F,G }[/math] be sheaves of abelian groups. The set [math]\displaystyle{ \operatorname{Hom}(F, G) }[/math] of morphisms of sheaves from [math]\displaystyle{ F }[/math] to [math]\displaystyle{ G }[/math] forms an abelian group (by the abelian group structure of [math]\displaystyle{ G }[/math]). The **sheaf hom** of [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math], denoted by,

- [math]\displaystyle{ \mathcal{Hom}(F, G) }[/math]

is the sheaf of abelian groups [math]\displaystyle{ U \mapsto \operatorname{Hom}(F|_U, G|_U) }[/math] where [math]\displaystyle{ F|_U }[/math] is the sheaf on [math]\displaystyle{ U }[/math] given by [math]\displaystyle{ (F|_U)(V) = F(V) }[/math] (note sheafification is not needed here). The direct sum of [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math] is the sheaf given by [math]\displaystyle{ U \mapsto F(U) \oplus G(U) }[/math], and the tensor product of [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math] is the sheaf associated to the presheaf [math]\displaystyle{ U \mapsto F(U) \otimes G(U) }[/math].

All of these operations extend to sheaves of modules over a sheaf of rings [math]\displaystyle{ A }[/math]; the above is the special case when [math]\displaystyle{ A }[/math] is the constant sheaf [math]\displaystyle{ \underline{\mathbf{Z}} }[/math].

### Basic functoriality

Since the data of a (pre-)sheaf depends on the open subsets of the base space, sheaves on different topological spaces are unrelated to each other in the sense that there are no morphisms between them. However, given a continuous map [math]\displaystyle{ f:X\to Y }[/math] between two topological spaces, pushforward and pullback relate sheaves on [math]\displaystyle{ X }[/math] to those on [math]\displaystyle{ Y }[/math] and vice versa.

#### Direct image

The pushforward (also known as direct image) of a sheaf [math]\displaystyle{ \mathcal{F} }[/math] on [math]\displaystyle{ X }[/math] is the sheaf defined by

- [math]\displaystyle{ (f_* \mathcal F)(V) = \mathcal F(f^{-1}(V)). }[/math]

Here [math]\displaystyle{ V }[/math] is an open subset of [math]\displaystyle{ Y }[/math], so that its preimage is open in [math]\displaystyle{ X }[/math] by the continuity of [math]\displaystyle{ f }[/math]. This construction recovers the skyscraper sheaf [math]\displaystyle{ S_x }[/math] mentioned above:

- [math]\displaystyle{ S_x = i_* (S) }[/math]

where [math]\displaystyle{ i: \{x\} \to X }[/math] is the inclusion, and [math]\displaystyle{ S }[/math] is regarded as a sheaf on the singleton (by [math]\displaystyle{ S(\{*\})=S, S(\emptyset) = \emptyset }[/math].

For a map between locally compact spaces, the direct image with compact support is a subsheaf of the direct image.^{[9]} By definition, [math]\displaystyle{ (f_! \mathcal F)(V) }[/math] consists of those [math]\displaystyle{ f \in \mathcal F(f^{-1}(V)) }[/math] whose support is proper map over [math]\displaystyle{ V }[/math]. If [math]\displaystyle{ f }[/math] is proper itself, then [math]\displaystyle{ f_! \mathcal F = f_* \mathcal F }[/math], but in general they disagree.

#### Inverse image

The pullback or inverse image goes the other way: it produces a sheaf on [math]\displaystyle{ X }[/math], denoted [math]\displaystyle{ f^{-1} \mathcal G }[/math] out of a sheaf [math]\displaystyle{ \mathcal G }[/math] on [math]\displaystyle{ Y }[/math]. If [math]\displaystyle{ f }[/math] is the inclusion of an open subset, then the inverse image is just a restriction, i.e., it is given by [math]\displaystyle{ (f^{-1} \mathcal G)(U) = \mathcal G(U) }[/math] for an open [math]\displaystyle{ U }[/math] in [math]\displaystyle{ X }[/math]. A sheaf [math]\displaystyle{ F }[/math] (on some space [math]\displaystyle{ X }[/math]) is called locally constant if [math]\displaystyle{ X= \bigcup_{i \in I} U_i }[/math] by some open subsets [math]\displaystyle{ U_i }[/math] such that the restriction of [math]\displaystyle{ F }[/math] to all these open subsets is constant. On a wide range of topological spaces [math]\displaystyle{ X }[/math], such sheaves are equivalent to representations of the fundamental group [math]\displaystyle{ \pi_1(X) }[/math].

For general maps [math]\displaystyle{ f }[/math], the definition of [math]\displaystyle{ f^{-1} \mathcal G }[/math] is more involved; it is detailed at inverse image functor. The stalk is an essential special case of the pullback in view of a natural identification, where [math]\displaystyle{ i }[/math] is as above:

- [math]\displaystyle{ \mathcal G_x = i^{-1}\mathcal{G}(\{x\}). }[/math]

More generally, stalks satisfy [math]\displaystyle{ (f^{-1} \mathcal G)_x = \mathcal G_{f(x)} }[/math].

#### Extension by zero

For the inclusion [math]\displaystyle{ j : U \to X }[/math] of an open subset, the extension by zero of a sheaf of abelian groups on [math]\displaystyle{ U }[/math] is defined as

- [math]\displaystyle{ (j_! \mathcal F)(V) = \mathcal F(V) }[/math] if [math]\displaystyle{ V \subset U }[/math] and [math]\displaystyle{ (j_! \mathcal F)(V) = 0 }[/math] otherwise.

For a sheaf [math]\displaystyle{ \mathcal G }[/math] on [math]\displaystyle{ X }[/math], this construction is in a sense complementary to [math]\displaystyle{ i_* }[/math], where [math]\displaystyle{ i }[/math] is the inclusion of the complement of [math]\displaystyle{ U }[/math]:

- [math]\displaystyle{ (j_! j^* \mathcal G)_x = \mathcal G_x }[/math] for [math]\displaystyle{ x }[/math] in [math]\displaystyle{ U }[/math], and the stalk is zero otherwise, while
- [math]\displaystyle{ (i_* i^* \mathcal G)_x = 0 }[/math] for [math]\displaystyle{ x }[/math] in [math]\displaystyle{ U }[/math], and equals [math]\displaystyle{ \mathcal G_x }[/math] otherwise.

These functors are therefore useful in reducing sheaf-theoretic questions on [math]\displaystyle{ X }[/math] to ones on the strata of a stratification, i.e., a decomposition of [math]\displaystyle{ X }[/math] into smaller, locally closed subsets.

## Complements

### Sheaves in more general categories

In addition to (pre-)sheaves as introduced above, where [math]\displaystyle{ \mathcal F(U) }[/math] is merely a set, it is in many cases important to keep track of additional structure on these sections. For example, the sections of the sheaf of continuous functions naturally form a real vector space, and restriction is a linear map between these vector spaces.

Presheaves with values in an arbitrary category [math]\displaystyle{ C }[/math] are defined by first considering the category of open sets on [math]\displaystyle{ X }[/math] to be the posetal category [math]\displaystyle{ O(X) }[/math] whose objects are the open sets of [math]\displaystyle{ X }[/math] and whose morphisms are inclusions. Then a [math]\displaystyle{ C }[/math]-valued presheaf on [math]\displaystyle{ X }[/math] is the same as a contravariant functor from [math]\displaystyle{ O(X) }[/math] to [math]\displaystyle{ C }[/math]. Morphisms in this category of functors, also known as natural transformations, are the same as the morphisms defined above, as can be seen by unraveling the definitions.

If the target category [math]\displaystyle{ C }[/math] admits all limits, a [math]\displaystyle{ C }[/math]-valued presheaf is a sheaf if the following diagram is an equalizer for every open cover
[math]\displaystyle{ \mathcal{U} = \{U_i\}_{i \in I} }[/math] of any open set *[math]\displaystyle{ U }[/math]*:

- [math]\displaystyle{ F(U) \rightarrow \prod_{i} F(U_i) {{{} \atop \longrightarrow}\atop{\longrightarrow \atop {}}} \prod_{i, j} F(U_i \cap U_j). }[/math]

Here the first map is the product of the restriction maps

- [math]\displaystyle{ \operatorname{res}_{U_i, U} \colon F(U) \rightarrow F(U_i) }[/math]

and the pair of arrows the products of the two sets of restrictions

- [math]\displaystyle{ \operatorname{res}_{U_i \cap U_j, U_i} \colon F(U_i) \rightarrow F(U_i \cap U_j) }[/math]

and

- [math]\displaystyle{ \operatorname{res}_{U_i \cap U_j, U_j} \colon F(U_j) \rightarrow F(U_i \cap U_j). }[/math]

If [math]\displaystyle{ C }[/math] is an abelian category, this condition can also be rephrased by requiring that there is an exact sequence

- [math]\displaystyle{ 0 \to F(U) \to \prod_i F(U_i) \xrightarrow{\operatorname{res}_{U_i \cap U_j, U_i} - \operatorname{res}_{U_i \cap U_j, U_j}} \prod_{i,j} F(U_i \cap U_j). }[/math]

A particular case of this sheaf condition occurs for [math]\displaystyle{ U }[/math] being the empty set, and the index set [math]\displaystyle{ I }[/math] also being empty. In this case, the sheaf condition requires [math]\displaystyle{ \mathcal F(\emptyset) }[/math] to be the terminal object in [math]\displaystyle{ C }[/math].

### Ringed spaces and sheaves of modules

In several geometrical disciplines, including algebraic geometry and differential geometry, the spaces come along with a natural sheaf of rings, often called the structure sheaf and denoted by [math]\displaystyle{ \mathcal{O}_X }[/math]. Such a pair [math]\displaystyle{ (X, \mathcal O_X) }[/math] is called a *ringed space*. Many types of spaces can be defined as certain types of ringed spaces. Commonly, all the stalks [math]\displaystyle{ \mathcal O_{X, x} }[/math] of the structure sheaf are local rings, in which case the pair is called a *locally ringed space*.

For example, an [math]\displaystyle{ n }[/math]-dimensional [math]\displaystyle{ C^k }[/math] manifold [math]\displaystyle{ M }[/math] is a locally ringed space whose structure sheaf consists of [math]\displaystyle{ C^k }[/math]-functions on the open subsets of [math]\displaystyle{ M }[/math]. The property of being a *locally* ringed space translates into the fact that such a function, which is nonzero at a point [math]\displaystyle{ x }[/math], is also non-zero on a sufficiently small open neighborhood of [math]\displaystyle{ x }[/math]. Some authors actually *define* real (or complex) manifolds to be locally ringed spaces that are locally isomorphic to the pair consisting of an open subset of [math]\displaystyle{ \R^n }[/math] (resp. [math]\displaystyle{ \C^n }[/math]) together with the sheaf of [math]\displaystyle{ C^k }[/math] (resp. holomorphic) functions.^{[10]} Similarly, schemes, the foundational notion of spaces in algebraic geometry, are locally ringed spaces that are locally isomorphic to the spectrum of a ring.

Given a ringed space, a *sheaf of modules* is a sheaf [math]\displaystyle{ \mathcal{M} }[/math] such that on every open set [math]\displaystyle{ U }[/math] of [math]\displaystyle{ X }[/math], [math]\displaystyle{ \mathcal{M}(U) }[/math] is an [math]\displaystyle{ \mathcal{O}_X(U) }[/math]-module and for every inclusion of open sets [math]\displaystyle{ V\subseteq U }[/math], the restriction map [math]\displaystyle{ \mathcal{M}(U) \to \mathcal{M}(V) }[/math] is compatible with the restriction map [math]\displaystyle{ \mathcal{O}(U) \to \mathcal{O}(V) }[/math]: the restriction of *fs* is the restriction of [math]\displaystyle{ f }[/math] times that of [math]\displaystyle{ s }[/math] for any [math]\displaystyle{ f }[/math] in [math]\displaystyle{ \mathcal{O}(U) }[/math] and [math]\displaystyle{ s }[/math] in [math]\displaystyle{ \mathcal{M}(U) }[/math].

Most important geometric objects are sheaves of modules. For example, there is a one-to-one correspondence between vector bundles and locally free sheaves of [math]\displaystyle{ \mathcal{O}_X }[/math]-modules. This paradigm applies to real vector bundles, complex vector bundles, or vector bundles in algebraic geometry (where [math]\displaystyle{ \mathcal O }[/math] consists of smooth functions, holomorphic functions, or regular functions, respectively). Sheaves of solutions to differential equations are [math]\displaystyle{ D }[/math]-modules, that is, modules over the sheaf of differential operators. On any topological space, modules over the constant sheaf [math]\displaystyle{ \underline{\mathbf{Z}} }[/math] are the same as sheaves of abelian groups in the sense above.

There is a different inverse image functor for sheaves of modules over sheaves of rings. This functor is usually denoted [math]\displaystyle{ f^* }[/math] and it is distinct from [math]\displaystyle{ f^{-1} }[/math]. See inverse image functor.

#### Finiteness conditions for sheaves of modules

Finiteness conditions for module over commutative rings give rise to similar finiteness conditions for sheaves of modules: [math]\displaystyle{ \mathcal{M} }[/math] is called *finitely generated* (resp. *finitely presented*) if, for every point [math]\displaystyle{ x }[/math] of [math]\displaystyle{ X }[/math], there exists an open neighborhood [math]\displaystyle{ U }[/math] of [math]\displaystyle{ x }[/math], a natural number [math]\displaystyle{ n }[/math] (possibly depending on [math]\displaystyle{ U }[/math]), and a surjective morphism of sheaves [math]\displaystyle{ \mathcal{O}_X^n|_U \to \mathcal{M}|_U }[/math] (respectively, in addition a natural number [math]\displaystyle{ m }[/math], and an exact sequence [math]\displaystyle{ \mathcal{O}_X^m|_U \to \mathcal{O}_X^n|_U \to \mathcal{M}|_U \to 0 }[/math].) Paralleling the notion of a coherent module, [math]\displaystyle{ \mathcal{M} }[/math] is called a *coherent sheaf* if it is of finite type and if, for every open set [math]\displaystyle{ U }[/math] and every morphism of sheaves [math]\displaystyle{ \phi : \mathcal{O}_X^n \to \mathcal{M} }[/math] (not necessarily surjective), the kernel of [math]\displaystyle{ \phi }[/math] is of finite type. [math]\displaystyle{ \mathcal{O}_X }[/math] is *coherent* if it is coherent as a module over itself. Like for modules, coherence is in general a strictly stronger condition than finite presentation. The Oka coherence theorem states that the sheaf of holomorphic functions on a complex manifold is coherent.

### The étalé space of a sheaf

In the examples above it was noted that some sheaves occur naturally as sheaves of sections. In fact, all sheaves of sets can be represented as sheaves of sections of a topological space called the *étalé space*, from the French word étalé [etale], meaning roughly "spread out". If [math]\displaystyle{ F \in \text{Sh}(X) }[/math] is a sheaf over [math]\displaystyle{ X }[/math], then the **étalé space** (sometimes called the **étale space**) of [math]\displaystyle{ F }[/math] is a topological space [math]\displaystyle{ E }[/math] together with a local homeomorphism [math]\displaystyle{ \pi: E \to X }[/math] such that the sheaf of sections [math]\displaystyle{ \Gamma(\pi, -) }[/math] of [math]\displaystyle{ \pi }[/math] is [math]\displaystyle{ F }[/math]. The space *[math]\displaystyle{ E }[/math]* is usually very strange, and even if the sheaf *[math]\displaystyle{ F }[/math]* arises from a natural topological situation, *[math]\displaystyle{ E }[/math]* may not have any clear topological interpretation. For example, if *[math]\displaystyle{ F }[/math]* is the sheaf of sections of a continuous function [math]\displaystyle{ f: Y \to X }[/math], then [math]\displaystyle{ E=Y }[/math] if and only if [math]\displaystyle{ f }[/math] is a local homeomorphism.

The étalé space *[math]\displaystyle{ E }[/math]* is constructed from the stalks of *[math]\displaystyle{ F }[/math]* over *[math]\displaystyle{ X }[/math]*. As a set, it is their disjoint union and *[math]\displaystyle{ \pi }[/math]* is the obvious map that takes the value [math]\displaystyle{ x }[/math] on the stalk of [math]\displaystyle{ F }[/math] over [math]\displaystyle{ x \in X }[/math]. The topology of *[math]\displaystyle{ E }[/math]* is defined as follows. For each element [math]\displaystyle{ s \in F(U) }[/math] and each [math]\displaystyle{ x \in U }[/math], we get a germ of [math]\displaystyle{ s }[/math] at [math]\displaystyle{ x }[/math], denoted [math]\displaystyle{ [s]_x }[/math] or [math]\displaystyle{ s_x }[/math]. These germs determine points of *[math]\displaystyle{ E }[/math]*. For any [math]\displaystyle{ U }[/math] and [math]\displaystyle{ s \in F(U) }[/math], the union of these points (for all [math]\displaystyle{ x \in U }[/math]) is declared to be open in *[math]\displaystyle{ E }[/math]*. Notice that each stalk has the discrete topology as subspace topology. Two morphisms between sheaves determine a continuous map of the corresponding étalé spaces that is compatible with the projection maps (in the sense that every germ is mapped to a germ over the same point). This makes the construction into a functor.

The construction above determines an equivalence of categories between the category of sheaves of sets on *[math]\displaystyle{ X }[/math]* and the category of étalé spaces over *[math]\displaystyle{ X }[/math]*. The construction of an étalé space can also be applied to a presheaf, in which case the sheaf of sections of the étalé space recovers the sheaf associated to the given presheaf.

This construction makes all sheaves into representable functors on certain categories of topological spaces. As above, let *[math]\displaystyle{ F }[/math]* be a sheaf on *[math]\displaystyle{ X }[/math]*, let *[math]\displaystyle{ E }[/math]* be its étalé space, and let [math]\displaystyle{ \pi:E \to X }[/math] be the natural projection. Consider the overcategory [math]\displaystyle{ \text{Top}/X }[/math] of topological spaces over [math]\displaystyle{ X }[/math], that is, the category of topological spaces together with fixed continuous maps to [math]\displaystyle{ X }[/math]. Every object of this category is a continuous map [math]\displaystyle{ f:Y\to X }[/math], and a morphism from [math]\displaystyle{ Y\to X }[/math] to [math]\displaystyle{ Z\to X }[/math] is a continuous map [math]\displaystyle{ Y\to Z }[/math] that commutes with the two maps to [math]\displaystyle{ X }[/math]. There is a functor

[math]\displaystyle{ \Gamma:\text{Top}/X \to \text{Sets} }[/math]

sending an object [math]\displaystyle{ f:Y\to X }[/math] to [math]\displaystyle{ f^{-1} F(Y) }[/math]. For example, if [math]\displaystyle{ i: U \hookrightarrow X }[/math] is the inclusion of an open subset, then

[math]\displaystyle{ \Gamma(i) = f^{-1} F(U) = F(U) = \Gamma(F, U) }[/math]

and for the inclusion of a point [math]\displaystyle{ i : \{x\}\hookrightarrow X }[/math], then

[math]\displaystyle{ \Gamma(i) = f^{-1} F(\{x\}) = F|_x }[/math]

is the stalk of [math]\displaystyle{ F }[/math] at [math]\displaystyle{ x }[/math]. There is a natural isomorphism

[math]\displaystyle{ (f^{-1}F)(Y) \cong \operatorname{Hom}_{\mathbf{Top}/X}(f, \pi) }[/math],

which shows that [math]\displaystyle{ \pi: E \to X }[/math] (for the étalé space) represents the functor [math]\displaystyle{ \Gamma }[/math].

*[math]\displaystyle{ E }[/math]* is constructed so that the projection map *[math]\displaystyle{ \pi }[/math]* is a covering map. In algebraic geometry, the natural analog of a covering map is called an étale morphism. Despite its similarity to "étalé", the word étale [etal] has a different meaning in French. It is possible to turn [math]\displaystyle{ E }[/math] into a scheme and *[math]\displaystyle{ \pi }[/math]* into a morphism of schemes in such a way that *[math]\displaystyle{ \pi }[/math]* retains the same universal property, but *[math]\displaystyle{ \pi }[/math]* is *not* in general an étale morphism because it is not quasi-finite. It is, however, formally étale.

The definition of sheaves by étalé spaces is older than the definition given earlier in the article. It is still common in some areas of mathematics such as mathematical analysis.

## Sheaf cohomology

In contexts where the open set [math]\displaystyle{ U }[/math] is fixed, and the sheaf is regarded as a variable, the set [math]\displaystyle{ F(U) }[/math] is also often denoted [math]\displaystyle{ \Gamma(U, F). }[/math]

As was noted above, this functor does not preserve epimorphisms. Instead, an epimorphism of sheaves [math]\displaystyle{ \mathcal F \to \mathcal G }[/math] is a map with the following property: for any section [math]\displaystyle{ g \in \mathcal G(U) }[/math] there is a covering [math]\displaystyle{ \mathcal{U} = \{U_i\}_{i \in I} }[/math] where

[math]\displaystyle{ U = \bigcup_{i \in I} U_i }[/math]

of open subsets, such that the restriction [math]\displaystyle{ g|_{U_i} }[/math] are in the image of [math]\displaystyle{ \mathcal F(U_i) }[/math]. However, [math]\displaystyle{ g }[/math] itself need not be in the image of [math]\displaystyle{ \mathcal F(U) }[/math]. A concrete example of this phenomenon is the exponential map

- [math]\displaystyle{ \mathcal O \stackrel{\exp} \to \mathcal O^\times }[/math]

between the sheaf of holomorphic functions and non-zero holomorphic functions. This map is an epimorphism, which amounts to saying that any non-zero holomorphic function [math]\displaystyle{ g }[/math] (on some open subset in [math]\displaystyle{ \C }[/math], say), admits a complex logarithm *locally*, i.e., after restricting [math]\displaystyle{ g }[/math] to appropriate open subsets. However, [math]\displaystyle{ g }[/math] need not have a logarithm globally.

Sheaf cohomology captures this phenomenon. More precisely, for an exact sequence of sheaves of abelian groups

- [math]\displaystyle{ 0 \to \mathcal F_1 \to \mathcal F_2 \to \mathcal F_3 \to 0, }[/math]

(i.e., an epimorphism [math]\displaystyle{ \mathcal F_2 \to \mathcal F_3 }[/math] whose kernel is [math]\displaystyle{ \mathcal F_1 }[/math]), there is a long exact sequence[math]\displaystyle{ 0 \to \Gamma(U, \mathcal F_1) \to \Gamma(U, \mathcal F_2) \to \Gamma(U, \mathcal F_3) \to H^1(U, \mathcal F_1) \to H^1(U, \mathcal F_2) \to H^1(U, \mathcal F_3) \to H^2(U, \mathcal F_1) \to \dots }[/math]By means of this sequence, the first cohomology group [math]\displaystyle{ H^1(U, \mathcal F_1) }[/math] is a measure for the non-surjectivity of the map between sections of [math]\displaystyle{ \mathcal F_2 }[/math] and [math]\displaystyle{ \mathcal F_3 }[/math].

There are several different ways of constructing sheaf cohomology. (Grothendieck 1957) introduced them by defining sheaf cohomology as the derived functor of [math]\displaystyle{ \Gamma }[/math]. This method is theoretically satisfactory, but, being based on injective resolutions, of little use in concrete computations. Godement resolutions are another general, but practically inaccessible approach.

### Computing sheaf cohomology

Especially in the context of sheaves on manifolds, sheaf cohomology can often be computed using resolutions by soft sheaves, fine sheaves, and flabby sheaves (also known as * flasque sheaves* from the French

*flasque*meaning flabby). For example, a partition of unity argument shows that the sheaf of smooth functions on a manifold is soft. The higher cohomology groups [math]\displaystyle{ H^i(U, \mathcal F) }[/math] for [math]\displaystyle{ i \gt 0 }[/math] vanish for soft sheaves, which gives a way of computing cohomology of other sheaves. For example, the de Rham complex is a resolution of the constant sheaf [math]\displaystyle{ \underline{\mathbf{R}} }[/math] on any smooth manifold, so the sheaf cohomology of [math]\displaystyle{ \underline{\mathbf{R}} }[/math] is equal to its de Rham cohomology.

A different approach is by Čech cohomology. Čech cohomology was the first cohomology theory developed for sheaves and it is well-suited to concrete calculations, such as computing the coherent sheaf cohomology of complex projective space [math]\displaystyle{ \mathbb{P}^n }[/math].^{[11]} It relates sections on open subsets of the space to cohomology classes on the space. In most cases, Čech cohomology computes the same cohomology groups as the derived functor cohomology. However, for some pathological spaces, Čech cohomology will give the correct [math]\displaystyle{ H^1 }[/math] but incorrect higher cohomology groups. To get around this, Jean-Louis Verdier developed hypercoverings. Hypercoverings not only give the correct higher cohomology groups but also allow the open subsets mentioned above to be replaced by certain morphisms from another space. This flexibility is necessary in some applications, such as the construction of Pierre Deligne's mixed Hodge structures.

Many other coherent sheaf cohomology groups are found using an embedding [math]\displaystyle{ i:X \hookrightarrow Y }[/math] of a space [math]\displaystyle{ X }[/math] into a space with known cohomology, such as [math]\displaystyle{ \mathbb{P}^n }[/math], or some weighted projective space. In this way, the known sheaf cohomology groups on these ambient spaces can be related to the sheaves [math]\displaystyle{ i_*\mathcal{F} }[/math], giving [math]\displaystyle{ H^i(Y,i_*\mathcal{F}) \cong H^i(X,\mathcal{F}) }[/math]. For example, computing the coherent sheaf cohomology of projective plane curves is easily found. One big theorem in this space is the Hodge decomposition found using a spectral sequence associated to sheaf cohomology groups, proved by Deligne.^{[12]}^{[13]} Essentially, the [math]\displaystyle{ E_1 }[/math]-page with terms

[math]\displaystyle{ E_1^{p,q} = H^p(X,\Omega^q_X) }[/math]

the sheaf cohomology of a smooth projective variety [math]\displaystyle{ X }[/math], degenerates, meaning [math]\displaystyle{ E_1 = E_\infty }[/math]. This gives the canonical Hodge structure on the cohomology groups [math]\displaystyle{ H^k(X,\mathbb{C}) }[/math]. It was later found these cohomology groups can be easily explicitly computed using Griffiths residues. See Jacobian ideal. These kinds of theorems lead to one of the deepest theorems about the cohomology of algebraic varieties, the decomposition theorem, paving the path for Mixed Hodge modules.

Another clean approach to the computation of some cohomology groups is the Borel–Bott–Weil theorem, which identifies the cohomology groups of some line bundles on flag manifolds with irreducible representations of Lie groups. This theorem can be used, for example, to easily compute the cohomology groups of all line bundles on projective space and grassmann manifolds.

In many cases there is a duality theory for sheaves that generalizes Poincaré duality. See Grothendieck duality and Verdier duality.

### Derived categories of sheaves

The derived category of the category of sheaves of, say, abelian groups on some space *X*, denoted here as [math]\displaystyle{ D(X) }[/math], is the conceptual haven for sheaf cohomology, by virtue of the following relation:

- [math]\displaystyle{ H^n(X, \mathcal F) = \operatorname{Hom}_{D(X)}(\mathbf Z, \mathcal F[n]). }[/math]

The adjunction between [math]\displaystyle{ f^{-1} }[/math], which is the left adjoint of [math]\displaystyle{ f_* }[/math] (already on the level of sheaves of abelian groups) gives rise to an adjunction

- [math]\displaystyle{ f^{-1} : D(Y) \rightleftarrows D(X) : R f_* }[/math] (for [math]\displaystyle{ f: X \to Y }[/math]),

where [math]\displaystyle{ Rf_* }[/math] is the derived functor. This latter functor encompasses the notion of sheaf cohomology since [math]\displaystyle{ H^n(X, \mathcal F) = R^n f_* \mathcal F }[/math] for [math]\displaystyle{ f: X \to \{*\} }[/math].

Image functors for sheaves |
---|

direct image f_{∗} |

inverse image f^{∗} |

direct image with compact support f_{!} |

exceptional inverse image Rf^{!} |

[math]\displaystyle{ f^* \leftrightarrows f_* }[/math] |

[math]\displaystyle{ (R)f_! \leftrightarrows (R)f^! }[/math] |

Base change theorems |

Like [math]\displaystyle{ f_* }[/math], the direct image with compact support [math]\displaystyle{ f_! }[/math] can also be derived. By virtue of the following isomorphism [math]\displaystyle{ R f_! F }[/math] parametrizes the cohomology with compact support of the fibers of [math]\displaystyle{ f }[/math]:

- [math]\displaystyle{ (R^i f_! F)_y = H^i_c(f^{-1}(y), F). }[/math]
^{[14]}

This isomorphism is an example of a base change theorem. There is another adjunction

- [math]\displaystyle{ Rf_! : D(X) \rightleftarrows D(Y) : f^!. }[/math]

Unlike all the functors considered above, the twisted (or exceptional) inverse image functor [math]\displaystyle{ f^! }[/math] is in general only defined on the level of derived categories, i.e., the functor is not obtained as the derived functor of some functor between abelian categories. If [math]\displaystyle{ f: X \to \{*\} }[/math] and *X* is a smooth orientable manifold of dimension *n*, then

- [math]\displaystyle{ f^! \underline \mathbf R \cong \underline \mathbf R [n]. }[/math]
^{[15]}

This computation, and the compatibility of the functors with duality (see Verdier duality) can be used to obtain a high-brow explanation of Poincaré duality. In the context of quasi-coherent sheaves on schemes, there is a similar duality known as coherent duality.

Perverse sheaves are certain objects in [math]\displaystyle{ D(X) }[/math], i.e., complexes of sheaves (but not in general sheaves proper). They are an important tool to study the geometry of singularities.^{[16]}

#### Derived categories of coherent sheaves and the Grothendieck group

Another important application of derived categories of sheaves is with the derived category of coherent sheaves on a scheme [math]\displaystyle{ X }[/math] denoted [math]\displaystyle{ D_{Coh}(X) }[/math]. This was used by Grothendieck in his development of intersection theory^{[17]} using derived categories and K-theory, that the intersection product of subschemes [math]\displaystyle{ Y_1, Y_2 }[/math] is represented in K-theory as

[math]\displaystyle{ [Y_1]\cdot[Y_2] = [\mathcal{O}_{Y_1}\otimes_{\mathcal{O}_X}^{\mathbf{L}}\mathcal{O}_{Y_2}] \in K(\text{Coh(X)}) }[/math]

where [math]\displaystyle{ \mathcal{O}_{Y_i} }[/math] are coherent sheaves defined by the [math]\displaystyle{ \mathcal{O}_X }[/math]-modules given by their structure sheaves.

## Sites and topoi

André Weil's Weil conjectures stated that there was a cohomology theory for algebraic varieties over finite fields that would give an analogue of the Riemann hypothesis. The cohomology of a complex manifold can be defined as the sheaf cohomology of the locally constant sheaf [math]\displaystyle{ \underline{\mathbf{C}} }[/math] in the Euclidean topology, which suggests defining a Weil cohomology theory in positive characteristic as the sheaf cohomology of a constant sheaf. But the only classical topology on such a variety is the Zariski topology, and the Zariski topology has very few open sets, so few that the cohomology of any Zariski-constant sheaf on an irreducible variety vanishes (except in degree zero). Alexandre Grothendieck solved this problem by introducing Grothendieck topologies, which axiomatize the notion of *covering*. Grothendieck's insight was that the definition of a sheaf depends only on the open sets of a topological space, not on the individual points. Once he had axiomatized the notion of covering, open sets could be replaced by other objects. A presheaf takes each one of these objects to data, just as before, and a sheaf is a presheaf that satisfies the gluing axiom with respect to our new notion of covering. This allowed Grothendieck to define étale cohomology and ℓ-adic cohomology, which eventually were used to prove the Weil conjectures.

A category with a Grothendieck topology is called a *site*. A category of sheaves on a site is called a *topos* or a *Grothendieck topos*. The notion of a topos was later abstracted by William Lawvere and Miles Tierney to define an elementary topos, which has connections to mathematical logic.

## History

The first origins of **sheaf theory** are hard to pin down – they may be co-extensive with the idea of analytic continuation^{[clarification needed]}. It took about 15 years for a recognisable, free-standing theory of sheaves to emerge from the foundational work on cohomology.

- 1936 Eduard Čech introduces the
*nerve*construction, for associating a simplicial complex to an open covering. - 1938 Hassler Whitney gives a 'modern' definition of cohomology, summarizing the work since J. W. Alexander and Kolmogorov first defined
*cochains*. - 1943 Norman Steenrod publishes on homology
*with local coefficients*.^{[18]} - 1945 Jean Leray publishes work carried out as a prisoner of war, motivated by proving fixed-point theorems for application to PDE theory; it is the start of sheaf theory and spectral sequences.
^{[19]} - 1947 Henri Cartan reproves the de Rham theorem by sheaf methods, in correspondence with André Weil (see De Rham–Weil theorem). Leray gives a sheaf definition in his courses via closed sets (the later
*carapaces*). - 1948 The Cartan seminar writes up sheaf theory for the first time.
- 1950 The "second edition" sheaf theory from the Cartan seminar: the sheaf space (
*espace étalé*) definition is used, with stalkwise structure. Supports are introduced, and cohomology with supports. Continuous mappings give rise to spectral sequences. At the same time Kiyoshi Oka introduces an idea (adjacent to that) of a sheaf of ideals, in several complex variables. - 1951 The Cartan seminar proves theorems A and B, based on Oka's work.
- 1953 The finiteness theorem for coherent sheaves in the analytic theory is proved by Cartan and Jean-Pierre Serre,
^{[20]}as is Serre duality. - 1954 Serre's paper
*Faisceaux algébriques cohérents*^{[21]}(published in 1955) introduces sheaves into algebraic geometry. These ideas are immediately exploited by Friedrich Hirzebruch, who writes a major 1956 book on topological methods. - 1955 Alexander Grothendieck in lectures in
*Kansas*defines abelian category and*presheaf*, and by using injective resolutions allows direct use of sheaf cohomology on all topological spaces, as derived functors. - 1956 Oscar Zariski's report
*Algebraic sheaf theory*^{[22]} - 1957 Grothendieck's
*Tohoku*paper^{[23]}rewrites homological algebra; he proves Grothendieck duality (i.e., Serre duality for possibly singular algebraic varieties). - 1957 onwards: Grothendieck extends sheaf theory in line with the needs of algebraic geometry, introducing: schemes and general sheaves on them, local cohomology, derived categories (with Verdier), and Grothendieck topologies. There emerges also his influential schematic idea of 'six operations' in homological algebra.
- 1958 Roger Godement's book on sheaf theory is published. At around this time Mikio Sato proposes his hyperfunctions, which will turn out to have sheaf-theoretic nature.

At this point sheaves had become a mainstream part of mathematics, with use by no means restricted to algebraic topology. It was later discovered that the logic in categories of sheaves is intuitionistic logic (this observation is now often referred to as Kripke–Joyal semantics, but probably should be attributed to a number of authors).

## See also

- Coherent sheaf
- Gerbe
- Stack (mathematics)
- Sheaf of spectra
- Perverse sheaf
- Presheaf of spaces
- Constructible sheaf
- De Rham's theorem

## Notes

- ↑ Eisenbud, David; Harris, Joe (6 April 2006),
*The Geometry of Schemes*, GTM, New York, NY: Springer, pp. 11–18, ISBN 978-0-387-22639-2 - ↑ Tennison, B. R. (1975),
*Sheaf theory*,*Cambridge University Press* - ↑ (Bredon 1997)
- ↑ Demailly, Jean-Pierre. "Complex Analytic and Differential Geometry". https://www-fourier.ujf-grenoble.fr/~demailly/manuscripts/agbook.pdf.
- ↑ Cartan, Henri. "Variétés analytiques complexes et cohomologie". http://www.inp.nsk.su/~silagadz/Cartan.pdf.
- ↑
^{6.0}^{6.1}"differential geometry - Holomorphic functions on a complex compact manifold are only constants". https://math.stackexchange.com/questions/881742/holomorphic-functions-on-a-complex-compact-manifold-are-only-constants. - ↑ Hawley, Newton S. (1950). "A Theorem on Compact Complex Manifolds".
*Annals of Mathematics***52**(3): 637–641. doi:10.2307/1969438. - ↑ SGA 4 II 3.0.5
- ↑ (Iversen 1986)
- ↑ (Ramanan 2005)
- ↑ Hartshorne (1977), Theorem III.5.1.
- ↑ Deligne, Pierre (1971). "Théorie de Hodge : II" (in en).
*Publications Mathématiques de l'IHÉS***40**: 5–57. doi:10.1007/BF02684692. http://www.numdam.org/item/?id=PMIHES_1971__40__5_0. - ↑ Deligne, Pierre (1974). "Théorie de Hodge : III" (in en).
*Publications Mathématiques de l'IHÉS***44**: 5–77. doi:10.1007/BF02685881. http://www.numdam.org/item/PMIHES_1974__44__5_0/. - ↑ (Iversen 1986)
- ↑ (Kashiwara Schapira)
- ↑ (de Cataldo Migliorini)
- ↑ Grothendieck. "Formalisme des intersections sur les schema algebriques propres". http://library.msri.org/books/sga/sga/6/6t_519.html.
- ↑ Steenrod, N. E. (1943). "Homology with Local Coefficients".
*Annals of Mathematics***44**(4): 610–627. doi:10.2307/1969099. - ↑ Dieudonné, Jean (1989).
*A history of algebraic and differential topology 1900–1960*. Birkhäuser. pp. 123–141. ISBN 978-0-8176-3388-2. - ↑ Cartan, Henri; Serre, Jean-Pierre (1953). "Un théorème de finitude concernant les variétés analytiques compactes".
*Comptes Rendus Hebdomadaires des Séances de l'Académie des Sciences de Paris***237**: 128–130. https://gallica.bnf.fr/ark:/12148/bpt6k3189t/f128.item. - ↑ Serre, Jean-Pierre (1955), "Faisceaux algébriques cohérents",
*Annals of Mathematics*, Second Series**61**(2): 197–278, doi:10.2307/1969915, ISSN 0003-486X, http://www.mat.uniroma1.it/people/arbarello/FAC.pdf - ↑ Zariski, Oscar (1956), "Scientific report on the second summer institute, several complex variables. Part III. Algebraic sheaf theory",
*Bulletin of the American Mathematical Society***62**(2): 117–141, doi:10.1090/S0002-9904-1956-10018-9, ISSN 0002-9904 - ↑ Grothendieck, Alexander (1957), "Sur quelques points d'algèbre homologique",
*The Tohoku Mathematical Journal*, Second Series**9**(2): 119–221, doi:10.2748/tmj/1178244839, ISSN 0040-8735

## References

- Bredon, Glen E. (1997),
*Sheaf theory*, Graduate Texts in Mathematics,**170**(2nd ed.), Springer-Verlag, ISBN 978-0-387-94905-5 (oriented towards conventional topological applications) - de Cataldo, Andrea Mark; Migliorini, Luca (2010). "What is a perverse sheaf?".
*Notices of the American Mathematical Society***57**(5): 632–4. Bibcode: 2010arXiv1004.2983D. http://www.ams.org/notices/201005/rtx100500632p.pdf. - Godement, Roger (2006),
*Topologie algébrique et théorie des faisceaux*, Paris: Hermann, ISBN 2705612521 - Grothendieck, Alexander (1957), "Sur quelques points d'algèbre homologique",
*The Tohoku Mathematical Journal*, Second Series**9**(2): 119–221, doi:10.2748/tmj/1178244839, ISSN 0040-8735 - Hirzebruch, Friedrich (1995),
*Topological methods in algebraic geometry*, Classics in Mathematics, Springer-Verlag, ISBN 978-3-540-58663-0 (updated edition of a classic using enough sheaf theory to show its power) - Iversen, Birger (1986),
*Cohomology of sheaves*, Universitext, Springer, doi:10.1007/978-3-642-82783-9, ISBN 3-540-16389-1 - Kashiwara, Masaki; Schapira, Pierre (1994),
*Sheaves on manifolds*, Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences],**292**, Springer-Verlag, ISBN 978-3-540-51861-7 (advanced techniques such as the derived category and vanishing cycles on the most reasonable spaces) - Mac Lane, Saunders; Moerdijk, Ieke (1994),
*Sheaves in Geometry and Logic: A First Introduction to Topos Theory*, Universitext, Springer-Verlag, ISBN 978-0-387-97710-2 (category theory and toposes emphasised) - Martin, William T.; Chern, Shiing-Shen; Zariski, Oscar (1956), "Scientific report on the Second Summer Institute, several complex variables",
*Bulletin of the American Mathematical Society***62**(2): 79–141, doi:10.1090/S0002-9904-1956-10013-X, ISSN 0002-9904 - Ramanan, S. (2005),
*Global calculus*, Graduate Studies in Mathematics,**65**, American Mathematical Society, doi:10.1090/gsm/065, ISBN 0-8218-3702-8 - Seebach, J. Arthur; Seebach, Linda A.; Steen, Lynn A. (1970), "What is a Sheaf",
*American Mathematical Monthly***77**(7): 681–703, doi:10.1080/00029890.1970.11992563 - Serre, Jean-Pierre (1955), "Faisceaux algébriques cohérents",
*Annals of Mathematics*, Second Series**61**(2): 197–278, doi:10.2307/1969915, ISSN 0003-486X, http://www.mat.uniroma1.it/people/arbarello/FAC.pdf - Swan, Richard G. (1964),
*The Theory of Sheaves*, Chicago lectures in mathematics (3 ed.), University of Chicago Press, ISBN 9780226783291 (concise lecture notes) - Tennison, Barry R. (1975),
*Sheaf theory*, London Mathematical Society Lecture Note Series,**20**,*Cambridge University Press*, ISBN 978-0-521-20784-3, https://books.google.com/books?id=JOglpKIw6kIC (pedagogic treatment) - Rosiak, Daniel (2022).
*Sheaf theory through examples*. Cambridge, Massachusetts. doi:10.7551/mitpress/12581.001.0001. ISBN 978-0-262-37042-4. OCLC 1333708310. https://direct.mit.edu/books/oa-monograph/5460/Sheaf-Theory-through-Examples. (introductory book with open access)

Original source: https://en.wikipedia.org/wiki/Sheaf (mathematics).
Read more |