p-adic tests: tilts, Fontaine's map, covers by tests and flat base change
Lib.PadicComparison.Descent.TestCovers.lean
Reading
Upstream documentation written by Claude
A cell is a p-complete, absolutely integrally closed valuation ring in which p is neither zero nor a unit. A p-adic test c is a non-empty product S =
c.ProdRingof cells over O_C. Its tilt is S♭ =c.TiltRing. ξ generates the kernel of Fontaine's map θ : W(S♭) → S, and π =New.Variety.pFlatis ξ mod p. The file computes the tilt and the kernel of θ for tests. For perfect b, it identifies algebra maps b → S♭ with algebra maps O_C ⊗ W(b) → S (wittFunctorsends b to W(b) over A_inf, andalgBaseChange OCis O_C ⊗_{A_inf} –), so tilting is fully faithful on tests. It also produces cells over primes and covers by tests, and proves flat base change for ℤ[Y∘ι], for ι full, faithful and with covering points, when Y is affinely covered.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.PadicTest.tiltPiEquiv,New.Variety.PadicTest.isPerfectTorsionFree_tilt: S♭ is the product of the tilts of the cells; it is perfect and has no π-torsion.New.Variety.PadicTest.ker_theta: the kernel of Fontaine's θ : W(S♭) → S is generated by ξ.New.Variety.PadicTest.thetaIso: O_C ⊗_{A_inf} W(S♭) ≅ S, naturally in the test.New.Variety.homTiltIso: for perfectb, algebra mapsb → c.TiltRingcorrespond to algebra mapsO_C ⊗ W(b) → c.ProdRingbyf ↦ θ ∘ W(f), naturally in the testc.New.Variety.hasCoveringPoints_padic: if an algebra has a point in some test, then all its points in tests factor through a single point.New.Variety.IsAffinelyCovered.hasFlatBaseChange,New.Variety.hasFlatBaseChange_of_iso_reprBy: ℤ[Y∘ι] has flat base change (New.Variety.HasFlatBaseChange: its base change maps are bijective in all degrees) for affinely covered Y, when ι is full, faithful and has covering points. ℤ[Y] has flat base change for Y isomorphic to the points of an O_C-algebra.
Notions from other files:
New.OC: The ring of integers O_C of the field C_p of p-adic complex numbers.New.Variety.PadicTest.algFunctor: The functor from p-adic tests to commutative O_C-algebras sending a test to its product ring S with its structure map;reprBy Bis the functor of points R ↦ (algebra maps B → R), andSigma Fis the type of pairs (c, point ofF c).New.Variety.freeAb: The functor sending a set-valued functor Y to Z[Y], whose value at A is the free abelian group on Y(A).New.Variety.IsAffinelyCovered:Xis separated and, after restriction alongι, covered by one affine: there are ak-algebraBand a pointyofX(B)such that, for every objectc, each point ofX(ι c)is the image ofyunder some mapB → ι c.
Relation to the literature
Known result: Tilting and untilting for products of perfectoid valuation rings over O_C. Only products of p-complete absolutely integrally closed valuation rings over O_C are treated, and such a ring is recovered from the Witt vectors of its tilt. Tilting is fully faithful, and maps from a perfect algebra to the tilt are maps from its untilt. Source: B. Bhatt, M. Morrow, P. Scholze, Integral p-adic Hodge theory, Publ. Math. IHES 128 (2018), Lemma 3.10; P. Scholze, Perfectoid spaces, Publ. Math. IHES 116 (2012), Theorem 5.2.
See also Lib.PadicComparison.Descent.AlmostDescent and Lib.Cohomology.Etale.FilteredLimits.
Declarations
lemma hasFlatBaseChange_of_iso_reprBy {B : CommAlg OC} {Y : PadicTest ⥤ Type 1} (e : algFunctor ⋙ reprBy B ≅ Y) : HasFlatBaseChange (freeAb Y)
Import route to Main
Lib.PadicComparison.Descent.TestCovers → Lib.PadicComparison.HodgeTate.GenericFibre (pinned import) → 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)