Charted varieties, and smooth base change from a valuation ring to its fraction field
Lib.Cohomology.SmoothBaseChange.lean
Reading
Upstream documentation written by Claude
From local charts to whole varieties, for cohomology computed on test rings.
New.Variety.algToBaseChange,New.Variety.isBijective_algToBaseChange: the cohomology of the base changeY_Aon all test rings agrees with that ofYon tests overA(New.Variety.TestOver).New.Variety.ComparedTheory.mem_of_isClosedClass_of_isCharting: a class of functors governed byNew.Variety.ComparedTheory.IsFiniteLerayHirschthat contains the point contains every functor charted by pieces étale over tori (New.Variety.IsCharting).
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Variety.isTestCohomEquiv_baseChangeTransition: letAbe a valuation ring of an algebraic closureΩofℚ, of residue characteristicp ≠ ℓ, and letYbe charted; then the modℓcohomology ofY_Aand ofY_Ωagree.
D.IsFiniteLerayHirsch N says that the cohomology of N with locally constant ZMod ℓ
coefficients is finite and computes that of the theory D. The functor
relFreeAb (offClosedFibre X) is ℤ[X] / ℤ[U], where U consists of the points over the tests in
which the maximal ideal of A generates the unit ideal.
Notions from other files:
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.IsClosedClass: A closed class P of functors D → Ab: (a) P contains every zero functor N (written𝟙 N = 0); (b) for a short exact sequence 0 → X₁ → X₂ → X₃ → 0 with X₁ in P, the middle term X₂ is in P exactly when the quotient X₃ is.New.Variety.geomPoints: The functor of points of the base changeX ×_R Ωof a schemeXoverR.
Relation to the literature
Known result: Smooth base change, with restriction to the generic fibre bijective on cohomology. Here it is proved for schemes that are covered by finitely many pieces étale over tori and are not assumed proper. The base is the valuation ring of a place above p of an algebraic closure of Q, the coefficients are the constant F_ℓ with ℓ invertible, and the result is deduced from proper base change and duality on products of projective lines. Source: Artin, SGA 4 Exp. XV 2.1, XVI 1.2 (1973); Stacks Project Tag 0EYQ; for the route through the class of the diagonal, Zavyalov, Poincaré duality in abstract 6-functor formalisms (arXiv 2301.03821) and Li-Reinecke-Zavyalov (arXiv 2410.08200).
Declarations
lemma isTestCohomEquiv_baseChangeTransition [ThePrime ℓ] {A : ClosurePlace} {p : ℕ} [Fact p.Prime] (hp : A.valuation p < 1) (hℓ : IsUnit (ℓ : A)) [Algebra R A] (Y : Over (Spec R)) [IsCharted Y R] : IsTestCohomEquiv ⟨ZMod ℓ⟩ (Y
Import route to Main
Lib.Cohomology.SmoothBaseChange → Lib.Shimura.CongruenceRelation.EichlerShimura (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)