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 \mathcal{F} and \mathcal{G} be two sheaves of sets (respectively abelian groups, rings, etc.) on X. A
morphism \varphi:\mathcal{F}\to \mathcal{G} consists of a morphism \varphi_U:\mathcal{F}(U)\to \mathcal{G}(U) of sets (respectively abelian groups, rings, etc.) for each open set U of X, subject to the condition that this morphism is compatible with restrictions. In other words, for every open subset V of an open set U, the following diagram is
commutative. \begin{array}{rcl} \mathcal{F}(U) & \xrightarrow{\quad\varphi_U\quad} & \mathcal{G}(U)\\ r^{U}_{V}\Biggl\downarrow & & \Biggl\downarrow {r'}^{U}_{V}\\ \mathcal{F}(V) & \xrightarrow[{\quad\varphi_V\quad}]{} & \mathcal{G}(V) \end{array} For example, taking the derivative gives a morphism of sheaves on \R, \frac{\mathrm{d}}{\mathrm{d}x}\colon\mathcal O^n_{\R} \to \mathcal O^{n-1}_{\R}. Indeed, given an (n-times continuously differentiable) function f : U \to \R (with U in \R open), the restriction (to a smaller open subset V) of its derivative equals the derivative of f|_V. With this notion of morphism, sheaves of sets (respectively abelian groups, rings, etc.) on a fixed topological space X form a
category. The general categorical notions of
mono-,
epi- and
isomorphisms can therefore be applied to sheaves. In fact, from the point of view of category theory, the category of sheaves over a (small) category C with values in another category D is a full subcategory of the category of
presheaves over C with values in D, which is simply the category D^{C^{\text{op}}} of contravariant functors from C to D with natural transformations between them as morphisms: the notion of morphism defined above can simply be stated as \varphi being a natural transformation between the two sheaves seen as functors. A morphism \varphi\colon \mathcal{F}\rightarrow \mathcal{G} of sheaves on X is an isomorphism (respectively monomorphism) if and only if for every open set U \subseteq X, we have an isomorphism \mathcal{F}(U) \approx \mathcal{G}(U) which is natural with respect to the restriction maps. 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 \varphi_U \colon \mathcal{F}(U)\rightarrow \mathcal{G}(U) 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 \mathcal{F}_x of a sheaf \mathcal{F} captures the properties of a sheaf "around" a point x\in X, 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 \mathcal{F}_x = \varinjlim_{U\ni x} \mathcal{F}(U), the
direct limit being over all open subsets of X containing the given point x. In other words, an element of the stalk is given by a section over some open neighborhood of x, and two such sections are considered equivalent if their restrictions agree on a smaller neighborhood. The natural morphism \mathcal{F}(U)\to \mathcal{F}_x takes a section s in \mathcal{F}(U) to its
germ s_x at x. 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 \mathcal F(X) on the whole space X, typically carry less information. For example, for a
compact complex manifold X, the global sections of the sheaf of holomorphic functions are just \C, since any holomorphic function X \to \C is constant by
Liouville's theorem. The idea that the sheaf a\mathcal{F} is the best possible approximation to \mathcal{F} by a sheaf is made precise using the following
universal property: there is a natural morphism of presheaves i\colon \mathcal{F}\to a\mathcal{F} so that for any sheaf \mathcal{G} and any morphism of presheaves f\colon \mathcal{F}\to \mathcal{G}, there is a unique morphism of sheaves \tilde f \colon a\mathcal{F} \rightarrow \mathcal{G} such that f = \tilde f i. In fact, a is the left
adjoint functor to the inclusion functor (or
forgetful functor) from the category of sheaves to the category of presheaves, and i 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 K is a
subsheaf of a sheaf F of abelian groups, then the
quotient sheaf Q is the sheaf associated to the presheaf U \mapsto F(U)/K(U); in other words, the quotient sheaf fits into an exact sequence of sheaves of abelian groups; 0 \to K \to F \to Q \to 0. (this is also called a
sheaf extension.) Let F,G be sheaves of abelian groups. The set \operatorname{Hom}(F, G) of morphisms of sheaves from F to G forms an abelian group (by the abelian group structure of G). The
sheaf hom of F and G, denoted by, \mathcal{Hom}(F, G) is the sheaf of abelian groups U \mapsto \operatorname{Hom}(F|_U, G|_U) where F|_U is the sheaf on U given by (F|_U)(V) = F(V) (note sheafification is not needed here). The direct sum of F and G is the sheaf given by U \mapsto F(U) \oplus G(U) , and the tensor product of F and G is the sheaf associated to the presheaf U \mapsto F(U) \otimes G(U). All of these operations extend to
sheaves of modules over a
sheaf of rings A; the above is the special case when A is the
constant sheaf \underline{\mathbf{Z}}.
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 f:X\to Y between two topological spaces, pushforward and pullback relate sheaves on X to those on Y and vice versa.
Direct image The pushforward (also known as
direct image) of a sheaf \mathcal{F} on X is the sheaf defined by (f_* \mathcal F)(V) = \mathcal F(f^{-1}(V)). Here V is an open subset of Y, so that its preimage is open in X by the continuity of f. This construction recovers the skyscraper sheaf S_x mentioned above: S_x = i_* (S) where i: \{x\} \to X is the inclusion, and S is regarded as a sheaf on the
singleton by S(\{*\})=S, S(\emptyset) = \emptyset. For a map between
locally compact spaces, the
direct image with compact support is a subsheaf of the direct image. By definition, (f_! \mathcal F)(V) consists of those s \in \mathcal F(f^{-1}(V)) whose
support is mapped
properly. If f is proper itself, then f_! \mathcal F = f_* \mathcal F, but in general they disagree.
Inverse image The pullback or
inverse image goes the other way: it produces a sheaf on X, denoted f^{-1} \mathcal G out of a sheaf \mathcal G on Y. If f is the inclusion of an open subset, then the inverse image is just a restriction, i.e., it is given by (f^{-1} \mathcal G)(U) = \mathcal G(U) for an open U in X. A sheaf \mathcal{F} (on some space X) is called
locally constant if X= \bigcup_{i \in I} U_i by some open subsets U_i such that the restriction of \mathcal F to all these open subsets is constant. On a wide range of topological spaces X, such sheaves are
equivalent to
representations of the
fundamental group \pi_1(X). For general maps f, the definition of f^{-1} \mathcal G 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 i is as above: \mathcal G_x = i^{-1}\mathcal{G}(\{x\}). More generally, stalks satisfy (f^{-1} \mathcal G)_x = \mathcal G_{f(x)}.
Extension by zero For the inclusion j : U \to X of an open subset, the
extension by zero j_! \mathcal F (pronounced "j lower
shriek of F") of a sheaf \mathcal F of abelian groups on U is the sheafification of the presheaf defined by V \mapsto \begin{cases} \mathcal F(V) &\textrm{if}\ V \subseteq U \\ 0 & \textrm{otherwise.} \end{cases} For a sheaf \mathcal G on X, this construction is in a sense complementary to i_*, where i : X \setminus U \to X is the inclusion of the complement of U: More generally, if A \subset X is a
locally closed subset, then there exists an open U of X containing A such that A is closed in U. Let f : A \to U and j : U \to X be the natural inclusions. Then the
extension by zero of a sheaf \mathcal F on A is defined by j_! f_* F. Due to its nice behavior on stalks, the extension by zero functor is useful for reducing sheaf-theoretic questions on X to ones on the strata of a
stratification, i.e., a decomposition of X into smaller, locally closed subsets. == Complements ==