Relative chains ℤ[V]/ℤ[U]: local isomorphisms, transfer, excision and gluing
Lib.Cohomology.Etale.RelativeChains.lean
Reading
Upstream documentation written by Claude
This file provides tools for computing the groups Ext^n(N, F) (
New.Variety.H) of functors from a category C to abelian groups. For a subfunctor U of a set-valued functor V,New.Variety.relFreeAb Uis the quotient ℤ[V]/ℤ[U] of free abelian groups (New.Variety.freeAb). Its Ext^n into F is the relative cohomology H^n(V, U). A map is an equivalence for F (New.Variety.IsCohomEquiv) if it is bijective on all Ext^n(·, F). A subfunctor U of Y is dense (New.Variety.IsCohomDense) if over every point h_A → Y its preimage gives an equivalence; with these notions the file proves vanishing for locally zero functors, transfer, excision and gluing of relative classes over finite covers.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.cohomology_eq_zero_of_locallyZero,New.Variety.isCohomEquiv_of_locallyZero: a functor whose sections all die on dense sieves has no cohomology, so a map with such a kernel and cokernel is an equivalence.New.Variety.exists_transfer_map: the transfer attached to finitely many locally permuted maps (New.Variety.permutedPairs: the pairs on which they are permuted).New.Variety.relFreeAb.shortExact_triple,New.Variety.relFreeAb.isCohomEquiv_of_le,New.Variety.relFreeAb.excision: the exact sequence of a monomorphism, invariance under enlarging U′ to U when U′ is dense in U, and excision.New.Variety.relFreeAb.exists_glued_class: in the lowest degree where it may be nonzero, relative cohomology glues over a finite cover (a Mayer–Vietoris induction).New.Variety.relFreeAb.prod: the map of pairs that gives exterior products of relative classes.
Notions from other files:
New.Variety.isCohomEquiv_iff_subsingleton,New.Variety.isCohomEquiv_quotient_of_acyclic: for 0 → X₁ → X₂ → X₃ → 0 short exact, X₁ → X₂ is an equivalence for F exactly when all Ext^n(X₃, F) vanish, and X₂ → X₃ is one when all Ext^n(X₁, F) vanish.New.Variety.pointMap: The map h_A → Y from h_A = Hom(A,−) corresponding to a point y of Y(A) by the Yoneda lemma.
Relation to the literature
Known; see Lib.Cohomology.Etale.FilteredLimits for sources.
Declarations
lemma relFreeAb.exists_glued_class {r : ℕ} {F : AbFunctor C} {d : ℕ} (S : Set (Subfunctor V)) (hS : InfClosed S) (h_vanish : ∀ A ∈ S, ∀ n < d, Subsingleton (H (relFreeAb (U.preimage A.ι)) F n)) (W : Fin r → Subfunctor V) (hW : ∀ i : Fin r, W i ∈ S) (hd : IsCohomDense F (iSup W ⊔ U)) (x : ∀ i : Fin r, H (relFreeAb (U.preimage (W i).ι)) F d) (hx : ∀ i j : Fin r, H.map F (restrict U inf_le_left) d (x i) = H.map F (restrict U inf_le_right) d (x j)) : ∃ y : H (relFreeAb U) F d, ∀ i : Fin r, H.map F (map (W i).ι le_rfl) d y = x i
Import route to Main
Lib.Cohomology.Etale.RelativeChains → Lib.Cohomology.TorsionTheories (pinned import) → Lib.PadicComparison.Primitive.PeriodCoefficients (pinned import) → Lib.PadicComparison.Crystalline.ComparisonMap (pinned import) → Lib.PadicComparison.CrystallineFrobenius (pinned import) → Lib.Shimura.Eigenspace (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)