RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Derived completeness, adic approximation of comparisons and completed base change

Lib.PadicComparison.Completion.lean

Open interactive viewer Raw Lean source · Pinned source

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 n is Extⁿ(N, F) in the category AbFunctor C of functors C ⥤ Ab. New.Variety.moduleCoeff Φ is a module-valued functor Φ (act a is multiplication by a on it, push N q n is the map on Hⁿ induced by q, and a • x on Hⁿ is push 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

Rest of upstream introduction

Main definitions and results

  • New.Variety.IsDerivedComplete: derived π-completeness, the bijectivity of New.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 modulo a is 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 if S ⊗ Θ → X is so modulo p. The cohomology of N must commute with flat base change. W must be a discrete valuation ring with uniformiser p, and S must be flat over W. The lemma also needs completeness and no p-torsion of W, S and every value of Θ and X, and finite rank of Hⁿ(N, Θ) for each n where the kernel of the map on Hⁿ 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.

Pinned source lines

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)

X Reddit Email LinkedIn