grh-compacta Lean artifact read back into mathematics

Lean source

Lib.PadicComparison.HodgeTate.GaloisTwist

Lib/PadicComparison/HodgeTate/GaloisTwist.lean · 116 lines · 12 declarations

Its 12 declarations
Lib/PadicComparison/HodgeTate/GaloisTwist.lean · all 116 lines
import Lib.PadicComparison.HodgeTate.HodgeTateMap/-! Part of: Hodge–Tate map from Hodge cohomology to p-adic étale cohomology (known result; seeLib.PadicComparison.HodgeTate.HodgeTateVectors).This file: For smooth spaces, forgetting first-order lifts of points preserves cohomology. Galoistwist of p-adic tests scales μ by the cyclotomic character, preserves contraction class. -/noncomputable sectionopen CategoryTheory Function TrivSqZeroExt Pi thickeningOver EtaleChart HodgeTatePair TotalH  Comparison DirectSum Idealvariable {p k} [Field k] [EmbeddedInQpBar p k]/-- Restriction along B_{S,M} → T, from the cohomology of N(T) on p-adic tests S to that ofN(B_{S,M}) on pairs (S,M), is bijective in all degrees. -/def PairRestrictBijective N := (Comparison.restrict toTest genericCoeff).IsBijective (N :=  genericOver ⋙ N) (Functor.whiskerRight toGeneric N)lemma PairRestrictBijective.injective_restrictToPairs {N n} (H : PairRestrictBijective N) :  Injective (@restrictToPairs p k _ _ N n) := (of_injective _).comp (H n).1/-- If restriction along B_{S,M} → T = S[1/p] is bijective on the cohomology of N(`PairRestrictBijective`), then for x ∈ Hdg^q(N) the class λ_h(x) is the restriction(`restrictToPairs`) of a class of degree q + h on p-adic tests. -/lemma PairRestrictBijective.exists_hodgeTateMap_eq {N q} (H : PairRestrictBijective N) h (x :  HodgeH N q) : ∃ ξ, hodgeTateMap h x = restrictToPairs (n := q + h) ξ := (h.rec ⟨_, rfl⟩ fun _ ⟨_,  e⟩ ↦ ⟨_, by erw [contractionPow, e, comp_of]; omega⟩ : ∃ y, contractionPow h = .of _ h y).elim  fun _ _ ↦ ((H _).2 _).imp (by aesop (add simp [hodgeTateMap, restrictToPairs, comp_of]))lemma HodgeTatePair.existsUnique_hom (A D : HodgeTatePair) f (v : _ → _) : ∃! g : A ⟶ D,  (∀ i, g.2 (single i 1) = v i) ∧ g.1 = f := ⟨⟨f, semilinearOfBasis _ v⟩, by simp,  fun ⟨_, _⟩ ⟨_, rfl⟩ ↦ congrArg _ ((basisFun ..).ext (by simpa))⟩lemma HodgeTatePair.isSquareZero_toGeneric A : IsSquareZero (toGeneric A) :=  ⟨((exact_mulMu_proj ..).1 · |>.elim (⟨⟨⟨·, _, 0⟩, ·⟩, rfl⟩)), by  rw [pow_two, eq_bot_iff, mul_le]; rintro ⟨⟨_, ⟨⟩⟩, h⟩ ⟨⟩ ⟨⟨_, ⟨⟩⟩, g⟩ ⟨⟩  exact Subtype.ext    (ext ((pow_two _).ge.trans A.test.ker_thickeningProj_sq.le (mul_mem_mul h g)) (inr_mul_inr ..))⟩/-- For a field k mapping to Q̄_p, if every field-valued point of X lies in a chart with étalecoordinates, then ℤ[X] satisfies `PairRestrictBijective`. -/lemma IsChartCovered.pairRestrictBijective {n X} [h : IsChartCovered n X] : PairRestrictBijective  (freeAb X) := have a := hasPartitions_periodAlg _ exists_periodAlg_iso_genericAlg.choose  have d := isLocallyEverything_of_open_cover (Θ := 𝟭 _)    (h.1 · · · |>.elim (⟨_, ·.isOpenSub, ·, le_iSup locus _⟩))  ((Comparison.of ..).isBijective_congr (p :=    ((iSup locus).whisker genericOver).ι) (((iSup locus).whisker _).fromPreimage_ι  (Functor.whiskerRight toGeneric X)).symm (hasZariskiDescent_genericOver (𝟭 _) a (d.whisker    _)).isCohomEquiv ((hasZariskiDescent_genericOver _ ⟨fun A ↦ (a.1 _ · · · |>.elim fun d ⟨f, a, b,    c⟩ ↦ ⟨_, (A.existsUnique_hom ⟨d, _⟩ f (0, single · 1)).exists.imp fun | l, ⟨_, rfl⟩ => ⟨a, fun D    u hu ↦ (b _ _ hu).elim fun g _ _ ↦ (existsUnique_hom ⟨d, _⟩ _ g (u.2 <| single · 1)).imp fun _ ↦    .imp (fun _ ↦ (existsUnique_hom ..).unique (by simpa [*]) ⟨fun _ ↦ rfl, rfl⟩) (by aesop), c⟩⟩),    fun _ _ ↦ a.2 _ _⟩ (d.whisker _)).preimage _).isCohomEquiv).2 (HasUnivPoints.isBijective (byhave m := @X.map_comp_applyrintro c ⟨_, _, ⟨_, ⟨a, ⟨⟩⟩, ⟨⟩⟩, ⟨ζ⟩, ⟨⟩⟩obtain ⟨s, ⟨⟨⟩, hx⟩, -⟩ := etale_polyEval_iff.1 a.etale _ (isSquareZero_toGeneric ⟨c, _⟩) ζ  (⟨⟨_, _, single · 1⟩, ((exact_mulMu_proj ..).1 _).choose_spec⟩) (by tauto)refine ⟨_, ⟨_, le_iSup locus a _ ⟨_, m s ..⟩⟩, 𝟙 c, by simp; exact Subtype.ext (m ..).symm,  fun D ⟨x, _⟩ f h ↦ ?_, by simpa using! bijective_id⟩have h := (m ..).trans congr($h.symm.1)obtain ⟨⟨ψ : _ ⟶ _⟩, ⟨⟩⟩ := a.isOpenSub.mem_of_isSquareZero _ D.isSquareZero_toGeneric x ⟨_, h⟩have h := a.eq_comp_of_map_point_eq _ hchoose t e using fun r ↦ ((exact_mulMu_proj ..).2.2 ((ψ r).1.1 - _)).1 (by  erw [map_sub, proj.naturality_apply, (s r).2, (ψ _).2, congr($h r), sub_self])refine (existsUnique_congr fun g ↦ ?_).1  (existsUnique_hom _ _ f (Function.prod t (ψ · |>.1.2.2) ∘ a.coordinate))erw [and_congr_left_iff, Subtype.ext_iff, ← (m ..).congr_left, (a.injective _).eq_iff]refine fun | rfl => .trans (forall_congr' fun i ↦ ?_) ⟨a.lift_unique D.isSquareZero_toGeneric  h, by bound⟩erw [Prod.ext_iff, ← (exact_mulMu_proj ..).2.1.eq_iff, e, eq_sub_iff_add_eq', Subtype.ext_iff,  Prod.ext_iff, Prod.ext_iff, and_iff_right congr($h _), AlgHom.comp_apply, hx]; rfl))open PadicTest MulSemiringAction AddCommGrpCatseal exteriorMap contractionlemma PadicTest.structMap_twist {p} [ThePrime p] (g : Gp p) c z : (twist g c).structMap z =  c.structMap (g • z) := congr($(IsLocalization.ringHom_ext (k := .comp _ (toRingHom ..))  (.powers (p : OC)) (by ext; exact structMap_coe .. ▸ (c.structMap_coe _).symm)) z)variable (g : Gp p) (c : PadicTest)lemma thickeningOver.mulMu_twist (t : c.GenericRing) : mulMu c t = mulMu (.twist g c)    (c.structMap (algebraMap _ (PadicAlgCl p) (cyclotomicGp g⁻¹).1) * t) := by  obtain ⟨⟨x, rfl⟩, a, h⟩ := c.thetaGeneric_spec.1 t, Lift.mu_sq_dvd_smul_mu_sub g⁻¹  have e a : algebraMap Ainf c.Thickening (g • a) = algebraMap _ (c.twist g).Thickening a := congr(    algebraMap (WittVector p c.TiltRing)    _ $(by ext; exact (congrArg _ (pow_one _)).trans (tiltMap_comp    ..).symm)); rw [mulMu_thickeningProj, inv_smul_eq_iff.1 (eq_add_of_sub_eq' h), e]  erw [← c.uniqueLift.1.1.2, mulMu_proj_mul, mulMu_thickeningProj, AlgHom.commutes]  simp [Algebra.smul_def, ← IsScalarTower.algebraMap_apply]  rw [(ker_thickeningProj_sq _).le (Ideal.pow_mem_pow (thetaGeneric_mu _) 2)]; simp; apply mul_assoc/-- For g in G_p, the morphism from `genericCoeff` composed with the twist of structure maps byg to `genericCoeff` that is the identity on each R[1/p]. -/def twistGenericCoeff {p} [ThePrime p] (g : Gp p) :  PadicTest.twist g ⋙ genericCoeff ⟶ genericCoeff := .mk (ofHom <| .id <| ULift ·.GenericRing)/-- For g in the Galois group of Q̄_p/ℚ_p, the endofunctor of `HodgeTatePair` twisting thestructure map of the underlying test by g and keeping all other data. -/def HodgeTatePair.galTwist : HodgeTatePair ⥤ HodgeTatePair := .mk (⟨_, ·.rank⟩) fun f ↦  ⟨(PadicTest.twist g).map f.1, f.2⟩/-- The identity of ⋀_T(T^n), T = S[1/p], at each pair (S, n), as a natural map from Λ =`HodgeTatePair.formCoeff` to Λ precomposed with the twist by g. -/def HodgeTatePair.twistForms : formCoeff ⟶ galTwist g ⋙ formCoeff := .mk fun X ↦  ofHom (.id (ULift (ExteriorAlgebra X.test.GenericRing (_ → X.test.GenericRing))))lemma HodgeTatePair.contractionPow_galTwist h :  pullbackAlong (twistForms g) (TotalH.comp (.map (restrictAlong (galTwist g)) (contractionPow h))  (.homClass (toTest.whiskerLeft (twistGenericCoeff g)))) = contractionPow h := by  induction' h with _ H; erw [map_homClass, homClass_comp_homClass_comp, ← homClass_comp]; rfl  rw [contractionPow, map_comp_assoc, Cocycle.map_cohomClass_restrict,    ← comp_assoc_of_sq (contractionCocycle.cohomClass_naturality ..), H]  tauto