Derived completeness, adic approximation of comparisons and completed base change
Lib.PadicComparison.Completion.lean
Reading
Upstream documentation written by Claude
This file shows that comparison maps of cohomology are bijective, by reduction modulo a scalar and successive approximation.
New.Variety.H N F nisExtⁿ(N, F)in the categoryAbFunctor Cof functorsC ⥤ Ab.New.Variety.moduleCoeff Φis a module-valued functorΦ(act ais multiplication byaon it,push N q nis the map onHⁿinduced byq, anda • xonHⁿispush N (act a) n x), read as such a functor of coefficients.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.IsDerivedComplete: derived π-completeness, the bijectivity ofNew.shiftDiff πon sequences. It passes to powersι → X, to retracts up to a power of π, to cohomology (New.Variety.IsDerivedComplete.cohomology) and, in finite rank, to base change (New.Variety.IsDerivedComplete.baseChange).New.Variety.Comparison.IsBijective.of_mod: a comparison of complete cohomology groups that is bijective moduloais bijective.New.Variety.IsCompletionBijective,New.Variety.moduleCompletionIso: linear maps that are bijective on p-adic completions, and the p-adic completion of an algebra, as a module.New.Variety.HasFlatBaseChange.isBijective_of_isReductionMod:Hⁿ(N, S ⊗ Θ) → Hⁿ(N, X)is bijective ifS ⊗ Θ → Xis so modulo p. The cohomology ofNmust commute with flat base change.Wmust be a discrete valuation ring with uniformiser p, andSmust be flat overW. The lemma also needs completeness and no p-torsion ofW,Sand every value ofΘandX, and finite rank ofHⁿ(N, Θ)for each n where the kernel of the map onHⁿis p-divisible.
Notions from other files:
New.shiftDiff: The operator (x_j) ↦ (x_j − π x_{j+1}) on sequences in a module.New.Variety.Comparison.IsBijective: For a functor φ: C' → C, a map β: F∘φ → F' and α: N' → N∘φ, the map Ext^n(N, F) → Ext^n(N', F') is bijective for every n.New.Variety.IsReductionMod: The map f is surjective, and f(x) = 0 exactly when x is a multiple m·y of m.New.Variety.HasFlatBaseChange: a functor N to abelian groups has it if M ⊗_S Hⁿ(N, Φ) → Hⁿ(N, M ⊗_S Φ) is bijective for all n, all functors Φ to S-modules and all S-flat M.New.Variety.Comparison.restrict: The cohomological comparison datum along a functor φ: C' → C from an abelian-group-valued functor N to N∘φ, with identity coefficient map.
Relation to the literature
Known result: Derived completeness for a principal ideal, covering Nakayama, finiteness and completed base change. Only modules and Ext groups are treated, and completeness is defined as bijectivity of x_n - a x_(n+1) on sequences. Base change is proved for modules of finite rank over a discrete valuation ring, with bounded torsion shown by hand. Source: Stacks Project 091N, 091P, 0G1U, 09BA, 0CQY; B. Bhatt, Torsion completions are bounded, JPAA (2019); L. Positselski, Contraadjusted modules, contramodules, and reduced cotorsion modules, arXiv 1605.03934.
Declarations
lemma HasFlatBaseChange.isBijective_of_isReductionMod [ThePrime p] [IsDomain W] [IsDiscreteValuationRing W] [Module.Flat W S] {Θ : C ⥤ CommAlg W} {X : C ⥤ CommAlg S} (hN : HasFlatBaseChange N) (hW : IsCompleteTorsionFree W) (hS : IsCompleteTorsionFree S) (hΘ : ∀ A : C, IsCompleteTorsionFree (Θ.obj A)) (hp : Irreducible (p : W)) (j : 𝟭 C ⋙ asModules Θ ⋙ tensorWith S S ⟶ asModules X) (h_rank : ∀ n : ℕ, IsSMulDivisible (pullₗ j (𝟙 N) n).ker (p : S) → Module.rank W (H N (moduleCoeff (asModules Θ)) n) < Cardinal.aleph0) (hX : ∀ A : C, IsCompleteTorsionFree (X.obj A)) -- `j` is bijective mod `p`: it carries a reduction mod `p` back to a reduction mod `p` (hj : ∀ (A : C) {Y : Type} [AddCommGroup Y] (q : X.obj A →+ Y), IsReductionMod p q → IsReductionMod p (q ∘ j.app A)) : (ofModuleHom (𝟭 C) j).IsBijective (𝟙 N)
Import route to Main
Lib.PadicComparison.Completion → Lib.PadicComparison.Crystalline.DividedPowerEnvelope (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)