Dense subfunctors, Mayer–Vietoris and partitions along idempotents
Lib.Cohomology.Etale.DenseSubfunctors.lean
Reading
Upstream documentation written by Claude
This file studies the cohomology Hⁿ(Y) = Extⁿ(ℤ[Y], F) of a set-valued functor Y on a category C with coefficients in a functor F : C → Ab, where ℤ[Y] =
New.Variety.freeAbY. A map is an equivalence for F (New.Variety.IsCohomEquiv) if it induces bijections on all Extⁿ(-, F). A subfunctor U of Y is dense (New.Variety.IsCohomDense) if, over every point h_A → Y with h_A = Hom(A,−), the inclusion of the preimage of U is an equivalence. The Mayer–Vietoris sequence, the calculus of dense subfunctors and closed classes of functors are used to cut functors into pieces.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
When ι attaches commutative rings to objects and New.Variety.HasPartitions ι F holds, partitions
along idempotents are dense. Locally constant coefficients on test rings satisfy
New.Variety.HasPartitions.
Main definitions and results
New.Variety.mayer_vietoris_shortExact: 0 → ℤ[U ∩ V] → ℤ[U] ⊕ ℤ[V] → ℤ[U ∪ V] → 0 is short exact.New.Variety.IsCohomDense.isCohomEquiv: the inclusion of a dense subfunctor is an equivalence.New.Variety.IsClosedClass.freeAb_iSup: if a closed class contains ℤ[V] for all V in a set of subfunctors closed under intersection, it contains ℤ[-] of their finite unions (Mayer–Vietoris).New.Variety.HasPartitions.isCohomDense_partition: for an idempotente, the maps that killeor1 - eare dense.New.Variety.HasPartitions.hasZariskiDescent: Zariski descent for ringsκthat receive an injective map fromι, when any two elements ofκare comparable for divisibility after a cut along an idempotent ofι.New.Variety.IsCohomDense.isCohomEquiv_of_fromPreimage: a map is an equivalence if it is one over a dense subfunctor.
Notions from other files:
New.Variety.freeAb: The functor sending a set-valued functor Y to ℤ[Y], whose value at A is the free abelian group on Y(A).New.Variety.IsClosedClass: a class of functors C → Ab that contains every zero functor and, for a short exact sequence whose first term lies in it, contains the middle term exactly when it contains the last.New.Variety.HasPartitions: Each idempotent e ≠ 1 of ι(A) has aNew.Variety.IsQuotientByElemA → B, and ι(A) ≅ ι(B₁) × ι(B₂) via maps A → B₁, B₂ implies F(A) ≅ F(B₁) × F(B₂).
Relation to the literature
Known; see Lib.Cohomology.Etale.FilteredLimits for sources.
Declarations
lemma IsCohomDense.isCohomEquiv_of_fromPreimage {u : X ⟶ Y} (hd : IsCohomDense F W) (h : IsCohomEquiv F (freeAb.map (W.fromPreimage u))) : IsCohomEquiv F (freeAb.map u)
Import route to Main
Lib.Cohomology.Etale.DenseSubfunctors → Lib.General.Geometry.EtaleCharts (pinned import) → Lib.General.Geometry.PointsOfProperSchemes (pinned import) → Lib.Shimura.AbelianScheme.TangentCoordinates (pinned import) → Lib.Shimura.Uniformisation.HolomorphicFamilies (pinned import) → New.Derivatives.Vacuum.TightFrames (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)