Cohomology of sheaves of modules on a scheme #
Mathlib defines the cohomology CategoryTheory.Sheaf.H of an abelian sheaf on a site as an
Ext group from the constant sheaf ℤ. This file applies that construction to the underlying
abelian sheaf of an 𝒪_X-module and packages the result in the scheme-module API.
For a scheme X and M : X.Modules, the main declarations are:
Scheme.Modules.Cohomology M i, the groupHⁱ(X, M);Scheme.Modules.cohomologyFunctor X i, functoriality in the coefficient sheaf;Scheme.Modules.cohomologyZeroEquiv, the canonical equivalenceH⁰(X, M) ≃+ Γ(M, ⊤)with global sections;Scheme.Modules.cohomologyOn M n U, the cohomologyHⁿ(U, M)of an open subset,Scheme.Modules.cohomologyOnResits restriction maps, andScheme.Modules.cohomologyOnTopIsothe identification ofHⁿ(⊤, M)withHⁿ(X, M).
The construction is stated for every sheaf of modules, which is the natural generality of sheaf
cohomology. In particular it applies to finitely presented sheaves through their underlying
objects, and hence supplies the Hⁱ(X, ℱ) used for coherent sheaves in
TauCetiRoadmap/JacobianChallenge/README.md, Layer B. Finite-dimensionality for proper schemes,
vanishing on curves, and the comparison with Čech cohomology remain later Layer B work.
No formalization is vendored. The definitions reuse Mathlib's Sheaf.H, Sheaf.functorH,
Sheaf.H.equiv₀ and Sheaf.H', and the comparison at the terminal open subset is
TauCeti/CategoryTheory/Sites/SheafCohomology/Terminal.lean.
The ith cohomology group Hⁱ(X, M) of a sheaf of modules on a scheme.
This is sheaf cohomology on the small Zariski site of X, obtained by forgetting the
𝒪_X-module structure and applying Mathlib's CategoryTheory.Sheaf.H.
Equations
Instances For
Degree-i cohomology as an additive functor from sheaves of modules to abelian groups.
Equations
Instances For
Degreewise scheme-module cohomology preserves addition and zero morphisms.
Zeroth cohomology is canonically equivalent to the group of global sections.
Naturality in the coefficient sheaf follows from CategoryTheory.Sheaf.H.equiv₀_naturality
and CategoryTheory.Sheaf.H.equiv₀_symm_naturality, applied to isTerminalTop and the
underlying sheaf morphism.
Equations
Instances For
The degree-zero cohomology equivalence is natural in the coefficient sheaf.
The cohomology Hⁿ(U, M) of an open subset U of a scheme X with coefficients in a sheaf
of modules M, as an abelian group.
This is CategoryTheory.Sheaf.H' applied to the underlying abelian sheaf of M. At U = ⊤ it
agrees with Scheme.Modules.Cohomology, by Scheme.Modules.cohomologyOnTopIso.
Equations
Instances For
Restriction in cohomology along an inclusion of open subsets.
Equations
Instances For
The cohomology of the whole space is the cohomology of the scheme.