Sheaves, Presheaves, and Sheaf Cohomology

⚡ Key Takeaways

One-line statement: A sheaf is a presheaf of local data that can be uniquely glued from compatible local pieces; sheaf cohomology measures the obstruction to passing from local to global solutions.

Key result in words: The global sections functor Γ(X,−)\Gamma(X,-) is left exact but generally not exact; its right derived functors Hi(X,F)H^i(X,\mathcal{F}) quantify the failure, and they reconcile the local-to-global principle that underlies modern geometry.

Where it applies: Algebraic geometry, complex/differential geometry, algebraic topology, number theory, mathematical physics (gauge theory, string theory), and any setting requiring local-global comparison.

Who/when: Jean Leray (1945, prison camp), refined by Henri Cartan, Jean-Pierre Serre, and Alexander Grothendieck (1950s–1960s).

💡 The Core Insight

Local data + a consistency condition = a global object, up to a measurable obstruction. Presheaves record local data; the sheaf axioms enforce that this data behaves like functions (uniquely determined and freely gluable). Whenever you try to lift a local solution to a global one — a logarithm, a section of a line bundle, a primitive of a closed form — the failure is organized into a graded abelian group H∙(X,F)H^\bullet(X,\mathcal{F}). Cohomology is the bookkeeping device for everything that is locally trivial but globally non-trivial.

Formal Statement

DefinitionPresheaf

Let XX be a topological space and Open(X)\mathbf{Open}(X) the category whose objects are open sets and whose morphisms are inclusions. A presheaf of abelian groups is a contravariant functor

1
F:Open(X)op⟶Ab.\quad \mathcal{F}:\mathbf{Open}(X)^{\mathrm{op}}\longrightarrow \mathbf{Ab}.

Derivation hint: A contravariant functor reverses arrows; an inclusion V↪UV\hookrightarrow U yields the restriction ρVU:F(U)→F(V)\rho^U_V:\mathcal{F}(U)\to\mathcal{F}(V). Concretely F\mathcal{F} assigns to each open UU an abelian group F(U)\mathcal{F}(U) (the sections over UU, written Γ(U,F)\Gamma(U,\mathcal{F})) and to each inclusion V⊆UV\subseteq U a homomorphism ρVU\rho^U_V such that

2
ρUU=idF(U),ρWV∘ρVU=ρWU  (W⊆V⊆U).\quad \rho^U_U=\mathrm{id}_{\mathcal{F}(U)},\qquad \rho^V_W\circ\rho^U_V=\rho^U_W \ \ (W\subseteq V\subseteq U).

Derivation hint: These are precisely the functor identity and composition axioms transcribed for inclusions. We write s∣V:=ρVU(s)s|_V:=\rho^U_V(s) for s∈F(U)s\in\mathcal{F}(U).

DefinitionSheaf

A presheaf F\mathcal{F} is a sheaf if for every open UU and every open cover U=⋃i∈IUiU=\bigcup_{i\in I}U_i:

(Separation / Identity) If s,t∈F(U)s,t\in\mathcal{F}(U) satisfy s∣Ui=t∣Uis|_{U_i}=t|_{U_i} for all ii, then s=ts=t.

(Gluing / Locality) Given si∈F(Ui)s_i\in\mathcal{F}(U_i) with si∣Ui∩Uj=sj∣Ui∩Ujs_i|_{U_i\cap U_j}=s_j|_{U_i\cap U_j} for all i,ji,j, there exists s∈F(U)s\in\mathcal{F}(U) with s∣Ui=sis|_{U_i}=s_i. Equivalently, the following sequence is exact (an equalizer) for every open cover:

3
0→F(U)→ res ∏iF(Ui)\xrightrightarrows[ β ] α ∏i,jF(Ui∩Uj),\quad 0\to\mathcal{F}(U)\xrightarrow{\ \mathrm{res}\ }\prod_{i}\mathcal{F}(U_i)\xrightrightarrows[\ \beta\ ]{\ \alpha\ }\prod_{i,j}\mathcal{F}(U_i\cap U_j),

where α(si)ij=si∣Uij\alpha(s_i)_{ij}=s_i|_{U_{ij}} and β(si)ij=sj∣Uij\beta(s_i)_{ij}=s_j|_{U_{ij}}, with Uij:=Ui∩UjU_{ij}:=U_i\cap U_j.

Derivation hint: Injectivity of res\mathrm{res} encodes separation; equality α=β\alpha=\beta on the image plus surjectivity onto the equalizer encodes gluing.

DefinitionStalk and Sheafification

The stalk of F\mathcal{F} at x∈Xx\in X is the filtered colimit over open neighborhoods U∋xU\ni x:

4
Fx:=⁡U∋xF(U),\quad \mathcal{F}_x:=\varinjlim_{U\ni x}\mathcal{F}(U),

whose elements are germs [s]x[s]_x. The sheafification F+\mathcal{F}^+ is the unique sheaf equipped with θ:F→F+\theta:\mathcal{F}\to\mathcal{F}^+ inducing isomorphisms on all stalks and universal among morphisms from F\mathcal{F} to sheaves.

Derivation hint: Stalks are computed pointwise as germs; sheafification is the left adjoint to the inclusion Sh(X)↪PSh(X)\mathbf{Sh}(X)\hookrightarrow\mathbf{PSh}(X), so it is determined by a universal property.

TheoremExistence of Sheaf Cohomology

The category Sh(X,Ab)\mathbf{Sh}(X,\mathbf{Ab}) of sheaves of abelian groups is an abelian category with enough injectives. The global sections functor Γ(X,−):Sh(X,Ab)→Ab\Gamma(X,-):\mathbf{Sh}(X,\mathbf{Ab})\to\mathbf{Ab} is left exact. Its right derived functors

5
Hi(X,F):=RiΓ(X,F)=Hi(Γ(X,I∙)),\quad H^i(X,\mathcal{F}):=R^i\Gamma(X,\mathcal{F})=H^i\big(\Gamma(X,\mathcal{I}^\bullet)\big),

computed from any injective resolution 0→F→I0→I1→⋯0\to\mathcal{F}\to\mathcal{I}^0\to\mathcal{I}^1\to\cdots, are well-defined up to canonical isomorphism, with H0(X,F)=Γ(X,F)H^0(X,\mathcal{F})=\Gamma(X,\mathcal{F}).

Derivation hint: Enough injectives lets every F\mathcal{F} embed in an injective resolution; left exactness of Γ\Gamma guarantees H0=ΓH^0=\Gamma; derived functor independence of resolution is the standard homological algebra comparison theorem.

TheoremLong Exact Sequence

A short exact sequence of sheaves 0→F′→F→F′′→00\to\mathcal{F}'\to\mathcal{F}\to\mathcal{F}''\to 0 induces a natural long exact sequence

6
0→H0(X,F′)→H0(X,F)→H0(X,F′′)→δH1(X,F′)→⋯\quad 0\to H^0(X,\mathcal{F}')\to H^0(X,\mathcal{F})\to H^0(X,\mathcal{F}'')\xrightarrow{\delta} H^1(X,\mathcal{F}')\to\cdots
7
⋯→Hi(X,F′)→Hi(X,F)→Hi(X,F′′)→δHi+1(X,F′)→⋯\quad \cdots\to H^i(X,\mathcal{F}')\to H^i(X,\mathcal{F})\to H^i(X,\mathcal{F}'')\xrightarrow{\delta} H^{i+1}(X,\mathcal{F}')\to\cdots

Derivation hint: A short exact sequence of complexes (via injective resolutions and the horseshoe lemma) yields the snake-lemma connecting maps δ\delta. The connecting map δ\delta is precisely the local-to-global obstruction: an element of H0(X,F′′)H^0(X,\mathcal{F}'') is a global section that lifts locally to F\mathcal{F}; δ\delta measures whether it lifts globally.

Why It Holds / Derivation

proof[Sheaf cohomology is well-defined and computable via acyclic resolutions] Step 1 — Abelian structure. Kernels and cokernels in Sh(X)\mathbf{Sh}(X) are computed stalkwise. The kernel presheaf U↦ker⁡(F(U)→G(U))U\mapsto\ker(\mathcal{F}(U)\to\mathcal{G}(U)) is already a sheaf, but the cokernel presheaf need not be; one sheafifies it. Since sheafification is exact (it preserves stalks and stalkwise exactness), Sh(X)\mathbf{Sh}(X) is abelian.

Step 2 — Enough injectives. For each xx, choose an injective abelian group IxI_x containing Fx\mathcal{F}_x. Form the Godement / skyscraper sheaf

8
I=∏x∈X(ix)∗ Ix,(ix)∗Ix(U)={Ixx∈U0x∉U.\quad \mathcal{I}=\prod_{x\in X}(i_x)_*\,I_x,\qquad (i_x)_*I_x(U)=\begin{cases} I_x & x\in U\\ 0 & x\notin U\end{cases}.

Derivation hint: A product of injective skyscraper sheaves is injective because Hom(G,(ix)∗Ix)≅Hom(Gx,Ix)\mathrm{Hom}(\mathcal{G},(i_x)_*I_x)\cong\mathrm{Hom}(\mathcal{G}_x,I_x), which is exact in G\mathcal{G} since IxI_x is injective and the stalk functor is exact. The natural map F↪I\mathcal{F}\hookrightarrow\mathcal{I} is injective on stalks, hence a monomorphism; iterating produces an injective resolution.

Step 3 — Left exactness of Γ\Gamma. Applying Γ(X,−)\Gamma(X,-) to 0→F′→F→F′′0\to\mathcal{F}'\to\mathcal{F}\to\mathcal{F}'' preserves kernels because a global section killed in F\mathcal{F} is killed in F′\mathcal{F}' stalkwise, hence is zero by the separation axiom. Right exactness fails: a global section of F′′\mathcal{F}'' need not lift globally.

Step 4 — Acyclic resolutions suffice. A sheaf A\mathcal{A} is Γ\Gamma-acyclic if Hi(X,A)=0H^i(X,\mathcal{A})=0 for i>0i>0. Flasque (flabby), soft, and fine sheaves are acyclic. By the comparison theorem of homological algebra, any acyclic resolution 0→F→A∙0\to\mathcal{F}\to\mathcal{A}^\bullet computes the same cohomology:

9
Hi(X,F)≅Hi(Γ(X,A∙)).\quad H^i(X,\mathcal{F})\cong H^i\big(\Gamma(X,\mathcal{A}^\bullet)\big).

Derivation hint: An acyclic resolution maps to an injective resolution by a chain map unique up to homotopy; applying Γ\Gamma and using H>0(Aj)=0H^{>0}(\mathcal{A}^j)=0 shows the induced map on cohomology is an isomorphism via a dimension-shifting induction.

Step 5 — Flasque sheaves are acyclic. A flasque sheaf has surjective restriction maps F(X)→F(U)\mathcal{F}(X)\to\mathcal{F}(U). If 0→F→G→H→00\to\mathcal{F}\to\mathcal{G}\to\mathcal{H}\to 0 with F\mathcal{F} flasque, then Γ\Gamma stays exact (sections lift because restrictions are surjective), and one shows by induction that H>0=0H^{>0}=0. ■\blacksquare

mathematician · Jean Leray | 1906–1998

Leray invented sheaves, the spectral sequence, and the notion of cohomology with supports while a prisoner of war (1940–1945) at Oflag XVII-A in Austria. To avoid being put to work on military applications of his fluid-dynamics expertise, he reinvented himself as a topologist. His lectures, smuggled out and published in 1945–1946, introduced faisceaux (sheaves) as a tool to track how local cohomological data varies. Henri Cartan's Paris seminar (1948–1951) reorganized the theory into its modern stalk-and-section form; Serre's FAC (1955) and Grothendieck's Tôhoku paper (1957) recast everything in the language of derived functors and abelian categories.

Building Intuition

🧠 Intuition

Think of a presheaf as data attached to regions, and a sheaf as data that behaves like functions: you can chop a function up over a cover and reassemble it uniquely. The classic failure of gluing — and hence the birth of cohomology — is the logarithm. On any small disk in C×\mathbb{C}^\times you can define log⁡z\log z; these local logs agree on overlaps up to a constant 2πik2\pi i k, but no global continuous log⁡\log exists on the punctured plane. That obstruction is a class in H1H^1. The hierarchy of cohomology degrees has a memorable reading:

  • H0H^0: global solutions that actually exist (e.g., global sections, locally constant functions).
  • H1H^1: first obstruction to gluing — torsors, line bundles, extensions, the failure of "locally solvable ⇒\Rightarrow globally solvable."
  • H≥2H^{\ge 2}: higher coherence obstructions — gerbes, deformation obstructions, secondary glueing data.

A sheaf is fine or soft when it has partitions of unity (true for smooth functions): then any local data can be averaged into global data, and all higher cohomology vanishes. Cohomology is thus a measure of the rigidity of the sheaf against being smoothed away.

Figure
Local sections over a cover failing to glue: the genesis of H1H^1. Local logarithms (gold) agree on overlaps up to a period, but no global branch exists on the annulus.
Čech 1-cocycle on a cover of the annulus U₀ U₁ U₂ log z on U₀ log z + 2πi on U₁∩U₂ g₀₁=g₁₂=0 g₂₀=2πi ≠ coboundary [g] ∈ H¹(X, ℤ) ≅ ℤ

Worked Examples

ExampleČech cohomology of the circle S1S^1 with the constant sheaf Z‾\underline{\mathbb{Z}}

Given: X=S1X=S^1, sheaf Z‾\underline{\mathbb{Z}} of locally constant integer-valued functions. Cover S1S^1 by two connected arcs U0,U1U_0,U_1 whose intersection U0∩U1U_0\cap U_1 is two disjoint arcs A⊔BA\sqcup B.

Step 1 — Sections. Z‾(U0)=Z\underline{\mathbb{Z}}(U_0)=\mathbb{Z}, Z‾(U1)=Z\underline{\mathbb{Z}}(U_1)=\mathbb{Z} (each arc connected), and Z‾(U0∩U1)=Z⊕Z\underline{\mathbb{Z}}(U_0\cap U_1)=\mathbb{Z}\oplus\mathbb{Z} (two components).

Step 2 — Čech complex.

0→Z⊕Z→ d0 Z⊕Z→0,d0(a,b)=(a−b, a−b).0\to \mathbb{Z}\oplus\mathbb{Z}\xrightarrow{\ d^0\ }\mathbb{Z}\oplus\mathbb{Z}\to 0,\qquad d^0(a,b)=(a-b,\ a-b).

Step 3 — H0H^0. ker⁡d0={(a,b):a=b}≅Z\ker d^0=\{(a,b):a=b\}\cong\mathbb{Z}. ✓ (Connected space: one global constant.)

Step 4 — H1H^1. coker d0=(Z⊕Z)/{(t,t)}≅Z\mathrm{coker}\,d^0=(\mathbb{Z}\oplus\mathbb{Z})/\{(t,t)\}\cong\mathbb{Z} via (x,y)↦x−y(x,y)\mapsto x-y.

Answer:

 H0(S1,Z‾)=Z,H1(S1,Z‾)=Z,H≥2=0 \boxed{\ H^0(S^1,\underline{\mathbb{Z}})=\mathbb{Z},\quad H^1(S^1,\underline{\mathbb{Z}})=\mathbb{Z},\quad H^{\ge2}=0\ }

matching singular cohomology H∙(S1)H^\bullet(S^1). The generator of H1H^1 is the "winding" cocycle.

ExampleCohomology of O(d)\mathcal{O}(d) on P1\mathbb{P}^1 over a field kk

Given: Line bundles O(d)\mathcal{O}(d) on Pk1=U0∪U1\mathbb{P}^1_k=U_0\cup U_1 with affine charts U0=Spec k[t]U_0=\mathrm{Spec}\,k[t], U1=Spec k[t−1]U_1=\mathrm{Spec}\,k[t^{-1}], t=x1/x0t=x_1/x_0.

Step 1 — Sections. Global sections of O(d)\mathcal{O}(d) are degree-dd homogeneous polynomials in x0,x1x_0,x_1:

H0(P1,O(d))={k d+1d≥00d<0.H^0(\mathbb{P}^1,\mathcal{O}(d))=\begin{cases}k^{\,d+1} & d\ge 0\\ 0 & d<0.\end{cases}

Step 2 — Čech on two charts. With O(d)(U0)=k[t]\mathcal{O}(d)(U_0)=k[t], O(d)(U1)=k[t−1]\mathcal{O}(d)(U_1)=k[t^{-1}], O(d)(U01)=k[t,t−1]\mathcal{O}(d)(U_{01})=k[t,t^{-1}],

H1=k[t,t−1] tdk[t]+k[t−1] (after twisting by td).H^1=\frac{k[t,t^{-1}]}{\,t^{d}k[t]+k[t^{-1}]\,}\quad(\text{after twisting by }t^{d}).

Step 3 — Count. The quotient is spanned by Laurent monomials t−1,t−2,…,td+1t^{-1},t^{-2},\dots,t^{d+1}, giving dimension −d−1-d-1 when d≤−2d\le -2.

Answer:

 dim⁡H0=max⁡(d+1,0),dim⁡H1=max⁡(−d−1,0) \boxed{\ \dim H^0=\max(d+1,0),\qquad \dim H^1=\max(-d-1,0)\ }

This satisfies Serre duality H1(O(d))≅H0(O(−2−d))∨H^1(\mathcal{O}(d))\cong H^0(\mathcal{O}(-2-d))^\vee (note KP1=O(−2)K_{\mathbb{P}^1}=\mathcal{O}(-2)), and Euler characteristic χ(O(d))=d+1\chi(\mathcal{O}(d))=d+1, consistent with Riemann–Roch on genus 00.

Common Misconceptions

⚠️ Common mistake

A presheaf cokernel is not a sheaf. If ϕ:F→G\phi:\mathcal{F}\to\mathcal{G} is a sheaf morphism, the presheaf U↦coker(F(U)→G(U))U\mapsto\mathrm{coker}(\mathcal{F}(U)\to\mathcal{G}(U)) generally violates gluing; the sheaf cokernel is its sheafification. Consequently, ϕ\phi can be surjective as a sheaf map (surjective on all stalks) while Γ(X,ϕ)\Gamma(X,\phi) is not surjective — this is exactly what H1H^1 detects.

Sheaf cohomology is not always the topology of XX. Hi(X,F)H^i(X,\mathcal{F}) depends on both XX and F\mathcal{F}. The constant sheaf recovers singular cohomology only for sufficiently nice (e.g. locally contractible) spaces; coherent sheaves on a scheme see algebraic, not topological, structure.

Čech ≠\ne derived functor cohomology in general. They agree on paracompact spaces (Leray's theorem with acyclic covers) and for quasi-coherent sheaves on separated schemes (affine covers), but Čech cohomology can differ on pathological spaces. Always check the cover is acyclic (a Leray cover) before trusting Čech computations.

CounterexampleConstant presheaf is not a sheaf

Let XX be a space with two points (or any disconnected open set) and define the constant presheaf F(U)=Z\mathcal{F}(U)=\mathbb{Z} for all nonempty UU, with identity restriction maps. Take U=U1⊔U2U=U_1\sqcup U_2 disconnected. Sections 1∈F(U1)1\in\mathcal{F}(U_1) and 2∈F(U2)2\in\mathcal{F}(U_2) trivially agree on the empty overlap, but there is no element of F(U)=Z\mathcal{F}(U)=\mathbb{Z} restricting to both. Gluing fails. The sheafification is the locally constant sheaf Z‾\underline{\mathbb{Z}} with Z‾(U)=Z#{components of U}\underline{\mathbb{Z}}(U)=\mathbb{Z}^{\#\{\text{components of }U\}}. This single example explains why H0H^0 counts connected components.

Connections

connection

Sheaf cohomology is the keystone linking many theories:

  • <a class="wiki-link" href="/wiki/de-rham-cohomology">De Rham Cohomology</a>: The Poincaré lemma makes the de Rham complex 0→R‾→Ω0→Ω1→⋯0\to\underline{\mathbb{R}}\to\Omega^0\to\Omega^1\to\cdots a fine (hence acyclic) resolution of the constant sheaf, so HdRi(M)≅Hi(M,R‾)H^i_{\mathrm{dR}}(M)\cong H^i(M,\underline{\mathbb{R}}) — the de Rham theorem.
  • <span class="wiki-link-missing">Dolbeault Cohomology</span>: For a complex manifold, the ∂ˉ\bar\partial-Poincaré lemma gives Hq(X,Ωp)≅H∂ˉp,q(X)H^q(X,\Omega^p)\cong H^{p,q}_{\bar\partial}(X).
  • <span class="wiki-link-missing">Čech Cohomology</span>: A combinatorial model agreeing with derived cohomology on Leray covers; the bridge is the Čech-to-derived spectral sequence.
  • <span class="wiki-link-missing">Singular Cohomology</span>: Equals H∙(X,Z‾)H^\bullet(X,\underline{\mathbb{Z}}) on locally contractible spaces.
  • <span class="wiki-link-missing">Grothendieck Topology</span>: Replaces open covers by abstract covering families, yielding sheaves on a site and étale cohomology.
  • <span class="wiki-link-missing">Spectral Sequences</span>: The Leray spectral sequence Hp(Y,Rqf∗F)⇒Hp+q(X,F)H^p(Y,R^q f_*\mathcal{F})\Rightarrow H^{p+q}(X,\mathcal{F}) computes cohomology through a continuous map f:X→Yf:X\to Y.
  • <span class="wiki-link-missing">Derived Categories</span>: The natural home of RΓR\Gamma, where sheaf cohomology becomes hyper-derived functor cohomology.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1945–1946 — Jean Leray, recently freed from an Oflag POW camp, publishes the first definition of faisceaux and spectral sequences in the Comptes Rendus and his Collège de France course.
- 1948–1951 — Henri Cartan's Paris seminar (Séminaire Cartan) systematizes sheaves via stalks and sections; the étale-space definition and the gluing axioms take modern form.
- 1953 — Cartan & Eilenberg's Homological Algebra provides the derived-functor language soon applied to sheaves.
- 1955 — Jean-Pierre Serre's FAC (Faisceaux Algébriques Cohérents) introduces coherent sheaves and their cohomology into algebraic geometry, proving finiteness and vanishing theorems.
- 1956 — Hirzebruch uses sheaf cohomology to prove the Riemann–Roch–Hirzebruch theorem.
- 1957 — Alexander Grothendieck's Tôhoku paper recasts sheaf cohomology as derived functors in abelian categories (axiom AB5, enough injectives), removing all reliance on covers.
- 1958–1964 — Grothendieck and the SGA seminars introduce Grothendieck topologies, sites, topoi, and étale cohomology, aiming at the Weil conjectures.
- 1973 — Pierre Deligne completes the proof of the Weil conjectures using ℓ\ell-adic étale cohomology.
- 1990s–present — Derived/triangulated categories, perverse sheaves (BBD), and persistent sheaf cohomology in applied topology extend the framework.

Subtleties & Limits

open-problem

Hodge conjecture (Clay Millennium Problem). On a smooth projective complex variety, are all rational (p,p)(p,p)-Hodge classes in H2p(X,Q)H^{2p}(X,\mathbb{Q}) algebraic (i.e., combinations of cohomology classes of subvarieties)? This is fundamentally a question about which sheaf-cohomological classes arise geometrically. Still open in general.

Standard conjectures (Grothendieck). A web of conjectures about algebraic cycles and motives that would unify the various Weil cohomology theories (de Rham, ℓ\ell-adic, crystalline) into a universal motivic cohomology; largely open.

Computational limits. While HiH^i of coherent sheaves on projective space is algorithmically computable (Gröbner bases, Macaulay2), cohomology of arbitrary sheaves on general spaces is uncomputable; even for nice cases, vanishing theorems beyond Kodaira (e.g. effective bounds, characteristic-pp failures of Kodaira vanishing à la Raynaud) remain delicate.

Non-abelian cohomology. H1(X,G‾)H^1(X,\underline{G}) for non-abelian GG classifies torsors but is only a pointed set; a satisfactory general H≥2H^{\ge 2} (higher gerbes, ∞\infty-stacks) is an active area where the "right" definitions are still being negotiated in derived/higher categorical frameworks.

See Also

De Rham Cohomology · Čech Cohomology · Dolbeault Cohomology · Schemes and Coherent Sheaves · Étale Cohomology · Spectral Sequences · Derived Categories · Serre Duality · Riemann–Roch Theorem · Grothendieck Topology · Hodge Theory