Tensoring degree-two classes; cohomology theories with ℓ-torsion coefficients
Lib.Cohomology.TorsionTheories.lean
Reading
Upstream documentation written by Claude
The file works in categories of functors to abelian groups. First, a class in
Ext² (N, K)between functors with flat values is restricted along any functor and tensored with any abelian-group-valued functor, compatibly (New.Variety.exists_isTensorClass). Then the cohomology of a space overXis computed on the category of elements ofX. Last, the file treats cohomology theories withℓ-torsion coefficients on categories over the test rings, families of ideals, and the theory of locally constant functions.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.IsTensorClass,New.Variety.exists_isTensorClass: a family of classes that extendsS ⊗ ξfrom functorsSwith flat values to all functors, and its existence.New.Variety.hasUniversalPoints_elements,New.Variety.isBijective_relFreeAb_tautologicalSection,New.Variety.sliceEquiv: cohomology of a space overXis computed on the category of elements ofX(New.Variety.elementsProj).New.Variety.InvertsPrime,New.Variety.TestOver: a local absolutely integrally closed ringAin whichℓis invertible, and the category of test rings overA.New.Variety.TorsionCoeff,New.Variety.Theory: coefficients with Zariski descent, and theories, where classes also extend from closed loci.New.Variety.Theory.locallyConstantis the theory of locally constant functions.New.Variety.IdealFamily,New.Variety.Theory.onZeros: a compatible family of ideals, and the coefficient that sees only the locus where it is zero.New.Variety.IdealFamily.isCohomEquiv_constToZeros,New.Variety.TorsionCoeff.pullbackAlong_oneLocConst_surjective: the map fromℤ/ℓrelative to the locus where the ideal is the unit ideal to the locally constant functions on the zero locus is an equivalence for coefficients with Zariski descent, provided the locally constant functions alonggunderlie a theoryΘ; hence every class on the constant functorℤwith coefficients in aTorsionCoeff g(killed byℓ, with Zariski descent) comes from one on the locally constant functions toℤ/ℓ.
Notions from other files:
New.Variety.HasFlatValues F: every value ofFis a flatℤ-module.New.Variety.restrictAlong φ,New.Variety.freeAb: the functorN ↦ N ∘ φ, and the functor sending a set-valued functorYtoℤ[Y], the free abelian group onY(A)at eachA.New.Variety.relFreeAb U,New.Variety.abCoker α: the functorℤ[V]/ℤ[U]forU ⊆ V, whose Ext groups are the relative cohomology of(V, U); the cokernel ofα, formed objectwise.New.Variety.IsTest: a test ring A is reduced and absolutely integrally closed, and any a, b ∈ A admit an idempotent e with a ∣ eb and b ∣ (1 − e)a.New.Variety.Comparison: a functor φ : C' → C with a map F∘φ → F'; itIsBijectivealong α : N' → N∘φ if Ext^n(N, F) → Ext^n(N', F') is bijective for all n.HasUniversalPoints u, a sufficient condition: the fibres of u over points are representable, with the same coefficients.New.Variety.IsCohomDense,New.Variety.HasZariskiDescent:U ⊆ Yis dense forFif, for every pointh_A → Y, the inclusion of the preimage ofUinduces bijections on Ext with coefficientsF;Fhas Zariski descent if everyUthat containsYnear each maximal ideal (New.Variety.IsZariskiLocallyTop) is dense forF.
Relation to the literature
Known result: Cup product with a degree-two class and closed supports, for mod-ℓ cohomology as Ext. Only the formal set-up is given, for Ext on test rings. It consists of ℓ-torsion coefficient theories with closed supports cut out by families of ideals, and a degree-two class between flat functors tensored with every functor. No Chern class, Künneth formula, Gysin map or Poincaré duality is stated here. Source: for the setting, Milne, Étale Cohomology, Ch. VI.
See also Lib.Cohomology.Etale.FilteredLimits and Lib.PadicComparison.Duality.GoodPairs.
Declarations
lemma TorsionCoeff.pullbackAlong_oneLocConst_surjective : Surjective (pullbackAlong (G
Import route to Main
Lib.Cohomology.TorsionTheories → 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)