RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Tensoring degree-two classes; cohomology theories with ℓ-torsion coefficients

Lib.Cohomology.TorsionTheories.lean

Open interactive viewer Raw Lean source · Pinned source

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 over X is computed on the category of elements of X. 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

Rest of upstream introduction

Main definitions and results

  • New.Variety.IsTensorClass, New.Variety.exists_isTensorClass: a family of classes that extends S ⊗ ξ from functors S with flat values to all functors, and its existence.
  • New.Variety.hasUniversalPoints_elements, New.Variety.isBijective_relFreeAb_tautologicalSection, New.Variety.sliceEquiv: cohomology of a space over X is computed on the category of elements of X (New.Variety.elementsProj).
  • New.Variety.InvertsPrime, New.Variety.TestOver: a local absolutely integrally closed ring A in which ℓ is invertible, and the category of test rings over A.
  • New.Variety.TorsionCoeff, New.Variety.Theory: coefficients with Zariski descent, and theories, where classes also extend from closed loci. New.Variety.Theory.locallyConstant is 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 along g underlie a theory Θ; hence every class on the constant functor ℤ with coefficients in a TorsionCoeff 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 of F is a flat ℤ-module.
  • New.Variety.restrictAlong φ, New.Variety.freeAb: the functor N ↦ N ∘ φ, and the functor sending a set-valued functor Y to ℤ[Y], the free abelian group on Y(A) at each A.
  • New.Variety.relFreeAb U, New.Variety.abCoker α: the functor ℤ[V]/ℤ[U] for U ⊆ 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'; it IsBijective along α : 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 ⊆ Y is dense for F if, for every point h_A → Y, the inclusion of the preimage of U induces bijections on Ext with coefficients F; F has Zariski descent if every U that contains Y near each maximal ideal (New.Variety.IsZariskiLocallyTop) is dense for F.

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.

Pinned source lines

Declarations

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)

X Reddit Email LinkedIn