Cohomology of functors as Ext: test rings, points, functoriality, coefficients
Lib.Cohomology.Etale.Basic.lean
Reading
Upstream documentation written by Claude
Fix a category
Cof test objects and a coefficient functorF : C ⥤ Ab. A space is a functorY : C ⥤ Type 1, and its cohomology isNew.Variety.H N F n = Extⁿ(N, F)withN = ℤ[Y], computed in the categoryNew.Variety.AbFunctor Cof functorsC ⥤ Ab. HereH.mapis pull-back inNandH.pushis push-forward inF. In the main caseCis the category of test rings, a scheme is replaced by its functor of points, andFsendsAto the locally constant functionsSpec A → Λfor an abelian groupΛ. The file proves stability properties of test rings, formal functoriality ofHand the additive Yoneda lemma, and it fixes vocabulary for fixed point formulas and congruence relations with Frobenius.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.H N F n = Extⁿ(N, F)andNew.Variety.freeAb(the functorY ↦ ℤ[Y]), with pull-backNew.Variety.H.mapinNand push-forwardNew.Variety.H.pushinF.New.Variety.IsCohomEquiv F α:αis bijective on allExtⁿ(-, F).New.Variety.IsCohomDense F U: the subfunctorUgives such an equivalence over every pointNew.Variety.pointMap y.New.Variety.IsTest,New.Variety.TestRing: test rings and their category. A test ring is reduced and absolutely integrally closed, and divisibility in it is total after a partition by an idempotent.New.Variety.locConstCoeff,New.Variety.TestCohomology.map: the coefficients A ↦ {locally constant Spec A → Λ} on test rings, and pull-back on cohomology.New.Variety.IsTest.pi,New.Variety.IsTest.localization,New.Variety.IsTest.quotient: products, localisations and quotients by radical ideals of test rings are test rings.New.Variety.H.dimension_shift_induction: induction on classes by dimension shifting. Identities between maps ofExtgroups are checked in degree zero and on connecting maps.
Notions from other files:
New.Variety.IsAbsIntegrallyClosed: A is absolutely integrally closed: every monic polynomial over A of positive degree has a root in A.
Relation to the literature
Known; see Lib.Cohomology.Etale.FilteredLimits and Lib.Cohomology.WoodsHole for sources.
Declarations
lemma H.dimension_shift_induction {P : ∀ {F : AbFunctor C} {n : ℕ}, H N F n → Prop} (h₀ : ∀ (F : AbFunctor C) (f : N ⟶ F), P (F
Import route to Main
Lib.Cohomology.Etale.Basic → Lib.PadicComparison.Descent.TestCategory (pinned import) → Lib.Adelic.AutomorphicForms.PAdicGauge (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)