The primitive comparison theorem and finiteness of p-adic cohomology
Lib.PadicComparison.Primitive.ComparisonTheorem.lean
Reading
Upstream documentation written by Claude
This file concerns a proper scheme
YoverRthat is charted over an algebraic closureΩofℚ(New.Variety.IsCharted). A p-adic test is a product of valuation rings overO_C, the integers ofℂ_p, andO^♭is the tilt ofO_C. The primitive comparison theorem compares the modpcohomology ofY, tensored withO^♭, with the cohomology of its points in p-adic tests with tilted coefficients.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.finite_and_primitive_comparison: letYbe proper overRand charted overΩ, and assumeIsAcyclicOnPerfect (moduleCoeff (tensorCoeff M)). ThenY_Ωhas flat base change and finite modpcohomology, and the comparison map is bijective.New.Variety.finite_padic_cohomology: the cohomology with coefficientsℤ_pis finitely generated; henceNew.Variety.ellAdicCohom R Ω n, which isℚ_p ⊗this module, is finite-dimensional atY.New.Variety.ellAdicCohom.continuous_galoisAction: the Galois actionNew.Variety.ellAdicCohom.galoisActionis continuous, tested on a vector and a linear map toQ̄_p ^ N. Modulop ^ ka class is defined over finitely many elements ofΩ, so it is fixed by an open subgroup.
Notions from other files:
New.Variety.genericTestOver: The functor sending a p-adic test with ring R to R[1/p], a test over Ω with algebra structure through Ω → ℂ_p.New.Variety.primitiveMap: The natural map O^♭ ⊗ LC(Spec S[1/p], 𝔽_p) → S^♭ on p-adic tests S, with LC the locally constant functions; its source isNew.Variety.oFlatLocConst.New.Variety.HasFlatBaseChangeN: M ⊗ Hⁿ(N, Φ) → Hⁿ(N, M ⊗ Φ) is bijective for flat M.New.Variety.testPoints: For R → O_C, the functor sending an R-scheme X to the functor S ↦ X(S) of its points over R in p-adic tests.New.Variety.H:H N F nis Extⁿ(N, F) among functors to abelian groups; forN = freeAb X = ℤ[X]it is the cohomology Hⁿ(X, F).testIncl ⋙ XrestrictsXto test rings.
Relation to the literature
Known result: Finiteness and Galois continuity of p-adic étale cohomology. The result is stated for cohomology on test rings, not identified with étale cohomology, of proper schemes charted over an algebraic closure of Q, with constant coefficients, where integral coefficients are the Witt vectors of the mod p functions. Finiteness is lifted from finiteness modulo p, which comes from the primitive comparison. Source: SGA 4, Exp. XIV (Artin), finiteness for proper morphisms; Scholze 2013 Thm 1.1; by duality, Zavyalov arXiv 2301.03821 Appl. 1.3.4.
See also Lib.PadicComparison.HodgeTate.PeriodMap.
Declarations
lemma ellAdicCohom.continuous_galoisAction (n : ℕ) (K : Type*) [Field K] [Algebra K Ω] [Algebra R K] [IsScalarTower R K Ω] [G : IsProGalois Gal(Ω/K) K Ω] (x : (ellAdicCohom R Ω n).obj (Opposite.op Y)) {N : ℕ} (l : ellAdicCohom R Ω n ⟨Y⟩ →ₗ[ℚ_[p]] Fin N → PadicAlgCl p) : Continuous fun g : Gal(Ω/K) ↦ l (galoisAction R Ω Gal(Ω/K) Y n g x)
Import route to Main
Lib.PadicComparison.Primitive.ComparisonTheorem → Lib.PadicComparison.HodgeTate.PeriodMap (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)