import Lib.Cohomology.Etale.EllAdicCohomology import Lib.PadicComparison.Primitive.PeriodCoefficients /-! # The primitive comparison with period coefficients The primitive comparison, passed from coefficients modulo `p` to period coefficients. For a `p`-adic test `c` with ring `R`, let `L` be the ring of locally constant `𝔽_p`-valued functions on `Spec R[1/p]` (for a test ring `A`, the same ring on `Spec A`; a `p`-adic test gives `A = R[1/p]`). `New.Variety.primitiveMap` is the natural map of `Oβ™­`-algebras from `Oβ™­ βŠ— L` to the tilt `Rβ™­`; on `1 βŠ— L` it restricts to `locConstToTilt : L β†’ Rβ™­`, `β„“ ↦ primitiveMap (1 βŠ— β„“)`. Let `S` be an `A_inf`-algebra and `K` an `S`-algebra, and let `Ξ¨` be isomorphic (by `ΞΈ`) to the period coefficients `c ↦ K βŠ— (S βŠ— W(Rβ™­))^`, where `^` is `p`-adic completion. * `New.Variety.primitivePeriodMap`: the natural map `K βŠ— W(L) β†’ Ξ¨` induced by `New.Variety.primitiveMap`. * `New.Variety.primitivePeriodMap_isBijective`: this map is bijective on cohomology under several conditions. `S` and `K` form a period ring pair, and `K` is flat over `S`. `N` and `N'` have flat base change. The cohomology of `N` with coefficients `β„€_p` is finite over `β„€_[p]`. The map that `New.Variety.primitiveMap` induces on the coefficients `b ↦ b βŠ— (Oβ™­ βŠ— S) βŠ— π”ͺ` is bijective on cohomology. * `New.Variety.exists_primitive_period_comparison`: the same, in existential form. Notions from other files: * `New.Variety.CoeffCompBijective Ξ² Ξ± F`: the comparison of cohomology groups along `Ξ²` and `Ξ±` is bijective in every degree for the coefficients `F`. * `New.Variety.HasFlatBaseChange N`: the cohomology of `N` commutes with flat extension of the coefficients. * `New.Variety.IsPeriodRingPair`: `S` is `p`-torsion-free and `p`-complete, `p` divides the image of `ΞΎ` in `S`, and `Ο„` is a unit in `K`. * `New.Variety.almostCoeff`: for an `Oβ™­`-module `N`, the functor `b ↦ b βŠ— N βŠ— π”ͺ` on `Oβ™­`-algebras, `π”ͺ` the maximal ideal of `Oβ™­`. * `New.Variety.oFlatLocConst`: the functor from test rings to `Oβ™­`-algebras sending `A` to `Oβ™­ βŠ—_{𝔽_p} LC(A)`, `LC(A)` the locally constant functions `Spec A β†’ 𝔽_p`. * `New.Variety.ellAdicCoeff`: the coefficient `β„€_β„“` (here `β„“ = p`): a test ring `A` goes to the Witt vectors of the ring of locally constant functions `Spec A β†’ 𝔽_β„“`. ## Relation to the literature Known; see `Lib.PadicComparison.HodgeTate.PeriodMap` for sources. -/ namespace New.Variety open CategoryTheory TensorProduct Functor Period PadicTest AlgebraTensorModule WittVector PadicInt ZMod Comparison variable {p : β„•} [ThePrime p] {S : Type} [CommRing S] [Algebra Ainf S] [Algebra β„€_[p] S] [IsScalarTower β„€_[p] Ainf S] (b : Type*) [CommRing b] [Algebra (ZMod p) b] (K : Type) [CommRing K] [Algebra S K] [Module.Flat S K] [Algebra β„€_[p] K] [IsScalarTower β„€_[p] S K] {Ξ¨ : PadicTest β₯€ ModuleCat K} (ΞΈ : asModules (tilt β‹™ periodAlg S) β‹™ tensorWith K K β‰… Ξ¨) /-- An `𝔽_p`-algebra `b` is a `β„€_[p]`-algebra through reduction modulo `p`. -/ noncomputable local instance : Algebra β„€_[p] b := .compHom _ (constantCoeff.comp (fromPadicInt p)) local instance : IsScalarTower β„€_[p] (ZMod p) b := .of_compHom .. /-- Let `q` and `Ο€` be additive maps on `X` with kernel the multiples of `m`, and `q` onto. If `Ο€ ∘ j` is a reduction modulo `m` (onto, with kernel the multiples of `m`), then so is `q ∘ j`. -/ lemma IsReductionMod.comp_of_exact_of_comp {W X Y Z : Type*} [SMul β„• W] [AddCommGroup X] [AddCommGroup Y] [AddCommGroup Z] {m : β„•} {q : X β†’+ Y} {Ο€ : X β†’+ Z} {j : W β†’ X} (hq : IsReductionMod m q) (hΟ€ : Function.Exact (fun x : X ↦ m β€’ x) Ο€) (hj : IsReductionMod m (Ο€ ∘ j)) : IsReductionMod m (q ∘ j) := by obtain ⟨hq_surj, hq_ker⟩ := hq obtain ⟨hj_surj, hj_ker⟩ := hj -- `q` and `Ο€` have the same kernel, the multiples of `m`. have h_ker (x : X) : q x = 0 ↔ Ο€ x = 0 := (hq_ker x).trans (hΟ€ x).symm refine ⟨fun y ↦ ?_, fun w ↦ (h_ker (j w)).trans (hj_ker w)⟩ -- Write `y = q x`. Some `w` has `Ο€ (j w) = Ο€ x`, so `q` kills `j w - x` too. obtain ⟨x, rfl⟩ := hq_surj y obtain ⟨w, hw : Ο€ (j w) = Ο€ x⟩ := hj_surj (Ο€ x) have h_diff : q (j w - x) = 0 := (h_ker _).mpr (by simp [hw]) exact ⟨w, by simpa [sub_eq_zero] using h_diff⟩ variable (p) in /-- The functor from test rings to `β„€_[p]`-algebras sending `A` to `W(L)`, where `L` is the ring of locally constant functions `Spec A β†’ 𝔽_p`. -/ noncomputable abbrev wittLocConst : TestRing β₯€ CommAlg β„€_[p] := (testIncl β‹™ locConstAlg) β‹™ wittFunctor β„€_[p] variable (S) in /-- For a test ring `A`, with `L` the ring of locally constant functions `Spec A β†’ 𝔽_p`, the `β„€_[p]`-algebra map `W(L) β†’ W(Oβ™­ βŠ— L) β†’ S βŠ—_{A_inf} W(Oβ™­ βŠ— L)`, `w ↦ 1 βŠ— W(1 βŠ— –)(w)`. -/ noncomputable def wittIncludeRight (A : TestRing) : (wittLocConst p).obj A →ₐ[β„€_[p]] (oFlatLocConst β‹™ wittFunctor β‹™ algBaseChange S β‹™ restrictAlg β„€_[p] S).obj A := by open Algebra.TensorProduct in refine ⟨includeRight.toRingHom.comp (map includeRight.toRingHom), fun z ↦ ?_⟩ -- Compare Witt coordinates, which come from `ZMod p`. have h_coord : WittVector.map includeRight.toRingHom (algebraMap β„€_[p] ((wittLocConst p).obj A) z) = algebraMap Ainf ((oFlatLocConst β‹™ wittFunctor).obj A) (algebraMap β„€_[p] Ainf z) := WittVector.ext fun _ ↦ (includeRight.commutes _).trans (congrArg _ (cast_id p _)) refine .trans (congrArg (tmul _ 1) h_coord) ?_ -- `z` reaches `S` through `A_inf`. exact (includeRight.commutes _).trans (congrArg (fun s : S ↦ s βŠ—β‚œ 1) (IsScalarTower.algebraMap_apply β„€_[p] Ainf S z)).symm variable (S) in /-- The `S`-algebra map `S βŠ—_{β„€_p} W(L) β†’ S βŠ—_{A_inf} W(Oβ™­ βŠ— L)`, natural in the test ring: the extension of `wittIncludeRight` to `S`-algebras, its transpose under base change to `S`. -/ noncomputable def wittLocConstBaseChange : wittLocConst p β‹™ algBaseChange S ⟢ oFlatLocConst β‹™ wittFunctor β‹™ algBaseChange S := (baseChangeTranspose (wittLocConst p) (oFlatLocConst β‹™ wittFunctor β‹™ algBaseChange S)).symm (.mk fun A ↦ ConcreteCategory.ofHom (wittIncludeRight S A)) variable (S) in /-- The map `S βŠ—_{β„€_p} W(L) β†’ (S βŠ—_{A_inf} W(Oβ™­ βŠ— L))^` of `S`-modules, where `^` is the `p`-adic completion: `wittLocConstBaseChange` followed by the map to the completion. -/ noncomputable def wittLocConstToPeriodAlg : asModules (wittLocConst p) β‹™ tensorWith S S ⟢ asModules (oFlatLocConst β‹™ periodAlg S) := whiskerRight (wittLocConstBaseChange S ≫ whiskerLeft (oFlatLocConst β‹™ wittFunctor β‹™ algBaseChange S) (algCompletion.of S p)) (asModules (𝟭 (CommAlg S))) variable (p S) in /-- The isomorphism `K βŠ—_{β„€_p} W(L) β‰… K βŠ—_S (S βŠ—_{β„€_p} W(L))`, natural in the test ring. -/ noncomputable def wittLocConstCancelIso : asModules (wittLocConst p) β‹™ tensorWith K K β‰… (asModules (wittLocConst p) β‹™ tensorWith S S) β‹™ tensorWith K K := NatIso.ofComponents (fun A ↦ (cancelBaseChange β„€_[p] S K K ((wittLocConst p).obj A)).symm.toModuleIso) fun _ ↦ ModuleCat.hom_ext (tmul_ext fun _ _ ↦ rfl) variable (S) in /-- The image `1 βŠ— w` of a Witt vector `w ∈ W(B)` in the `p`-adic completion of `S βŠ— W(B)`. -/ noncomputable abbrev wittToPeriodAlg (B : CommAlg OFlat) (w : WittVector p B) : (periodAlg S).obj B := AdicCompletion.of (Ideal.span {(p : S βŠ—[Ainf] wittFunctor.obj B)}) (S βŠ—[Ainf] wittFunctor.obj B) (1 βŠ—β‚œ w) /-- Let `ΞΈ` be an isomorphism from the functor `c ↦ K βŠ— (S βŠ— W(Rβ™­))^` to `Ξ¨`, where `R` is the ring of the test `c` and `^` is the `p`-adic completion. This is the natural map from `K βŠ— W(L)` to `Ξ¨`, where `L` is the ring of locally constant `𝔽_p`-valued functions on `Spec R[1/p]`. It is the composite `K βŠ— W(L) β‰… K βŠ— (S βŠ— W(L)) β†’ K βŠ— (S βŠ— W(Oβ™­ βŠ— L))^ β†’ K βŠ— (S βŠ— W(Rβ™­))^ β‰… Ξ¨ c`, the third map induced by `primitiveMap`. -/ noncomputable def primitivePeriodMap : genericTest β‹™ asModules (wittLocConst p) β‹™ tensorWith K K ⟢ Ξ¨ := whiskerLeft genericTest ((wittLocConstCancelIso p S K).hom ≫ whiskerRight (wittLocConstToPeriodAlg S) (tensorWith K K)) ≫ whiskerRight primitiveMap (asModules (periodAlg S) β‹™ tensorWith K K) ≫ ΞΈ.hom omit [Module.Flat S K] in /-- `primitivePeriodMap K ΞΈ` sends `a βŠ— x` to `ΞΈ (a βŠ— 1 βŠ— x')`, where `x'` is the image of `x` under the map of Witt vectors induced by `locConstToTilt`, and `1 βŠ— x'` is taken in the completion (`wittToPeriodAlg`). -/ lemma primitivePeriodMap_app_tmul (c : PadicTest) (a : K) (x : (wittLocConst p).obj (genericTest.obj c)) : (primitivePeriodMap K ΞΈ).app c (a βŠ—β‚œ x) = ΞΈ.hom.app c (a βŠ—β‚œ wittToPeriodAlg S (tilt.obj c) (WittVector.map (locConstToTilt.app c).hom.toRingHom x)) := by refine congrArg (fun y ↦ ΞΈ.hom.app c (a βŠ—β‚œ y)) ((adicMap_algebraMap ..).trans (congrArg _ ?_)) exact congrArgβ‚‚ (tmul _) (mul_one 1) (ext fun _ ↦ one_smul OFlat _) /-- For every test ring `A`, the `Oβ™­`-algebra `Oβ™­ βŠ—_{𝔽_p} LC(A)` is perfect, and `pFlat` (the class of `ΞΎ` modulo `p`) is a non-zero-divisor on it. -/ lemma isPerfectTorsionFree_oFlatLocConst (A : TestRing) : IsPerfectTorsionFree (oFlatLocConst.obj A) := by -- A tensor product over `𝔽_p` of the perfect rings `Oβ™­` and `LC(A)` is perfect. refine ⟨perfectRing_tensor (ZMod.natCast_self p) ⟨.of _ OFlat, inferInstance⟩ ⟨_, perfectRing_locConstAlg _⟩, ?_⟩ -- `Oβ™­ βŠ— LC(A)` is torsion-free over the domain `Oβ™­`, and `pFlat β‰  0`. exact .of_ne_zero (M := _ βŠ— _) pFlat_ne_zero /-- Let `S` be an `A_inf`-algebra, `A` a test ring and `L` the ring of locally constant functions `Spec A β†’ 𝔽_p`. The map `S βŠ— W(L) β†’ S βŠ— W(Oβ™­ βŠ— L)` (`wittLocConstBaseChange`) is bijective modulo `p`: followed by a reduction `q` modulo `p` of the target (`IsReductionMod p q`: `q` onto, with kernel the multiples of `p`), it is a reduction modulo `p` of the source. -/ lemma IsReductionMod.comp_wittLocConstBaseChange {p : β„•} [ThePrime p] {S : Type} [CommRing S] [Algebra Ainf S] [Algebra β„€_[p] S] [IsScalarTower β„€_[p] Ainf S] (A : TestRing) {Y : Type} [AddCommGroup Y] {q : (oFlatLocConst β‹™ wittFunctor β‹™ algBaseChange S).obj A β†’+ Y} (hq : IsReductionMod p q) : IsReductionMod p (q ∘ (wittLocConstBaseChange S).app A) := by -- The zeroth Witt coordinates reduce the source to `S βŠ— B` and the target to `S βŠ— (Oβ™­ βŠ— B)`, -- where `B` is the ring of locally constant functions; the isomorphism `E` identifies the two. have h_perfect : PerfectRing (oFlatLocConst.obj A) p := (isPerfectTorsionFree_oFlatLocConst A).1 let B : CommAlg (ZMod p) := locConstAlg.obj A.obj -- `g` takes the zeroth Witt coordinate. let g : (wittLocConst p).obj A →ₐ[β„€_[p]] B := ⟨constantCoeff, fun _ ↦ congrArg (algebraMap _ _) (cast_id p _)⟩ let f : Ainf β†’β‚—[Ainf] OFlat := Algebra.linearMap Ainf OFlat have h_tower : IsScalarTower β„€_[p] Ainf OFlat := .of_compHom .. have h_compatible : CompatibleSMul β„€_[p] (ZMod p) OFlat B := .of_algebraMap_surjective _ _ (ringHom_surjective _) have h_source : IsReductionMod p (g.toLinearMap.lTensor S) := (isReductionMod_constantCoeff_and_isCompleteTorsionFree (ZMod p) _).left.lTensor have h_target : IsReductionMod p ((wittConstCoeff (oFlatLocConst.obj A)).lTensor S) := (isReductionMod_constantCoeff_and_isCompleteTorsionFree OFlat _).left.lTensor -- `A_inf βŠ— B = Oβ™­ βŠ— B` over `β„€_[p]`, because `p` kills `B` and `f` is reduction modulo `p`. have hf_bij : Function.Bijective (rTensor β„€_[p] B f) := (isReductionMod_constantCoeff_and_isCompleteTorsionFree OFlat _).left.bijective_rTensor (f.restrictScalars β„€_[p]) (ZModModule.char_nsmul_eq_zero p) let E : S βŠ—[β„€_[p]] B ≃ₗ[S] S βŠ—[Ainf] (OFlat βŠ—[ZMod p] B) := (cancelBaseChange β„€_[p] Ainf S S B).symm β‰ͺ≫ₗ congr (.refl S S) (.ofBijective (rTensor β„€_[p] B f) hf_bij β‰ͺ≫ₗ equivOfCompatibleSMul (ZMod p) β„€_[p] Ainf OFlat B) -- The map followed by the reduction of the target is the reduction of the source followed by `E`. have h_square : (wittConstCoeff (oFlatLocConst.obj A)).baseChange S βˆ˜β‚— ((wittLocConstBaseChange S).app A).hom.toLinearMap = E.toLinearMap βˆ˜β‚— g.toLinearMap.baseChange S := by refine ext fun a x ↦ ?_ -- On `a βŠ— x` both sides are pure tensors `s βŠ— (t βŠ— u)`; compare the factors. change _ βŠ—β‚œ (_ βŠ—β‚œ _) = _ βŠ—β‚œ (_ βŠ—β‚œ _) congr 1 Β· simp Β· congr 1 simp [f] -- `baseChange S` and `lTensor S` are the same function. have h_comp : (wittConstCoeff (oFlatLocConst.obj A)).lTensor S ∘ (wittLocConstBaseChange S).app A = E ∘ g.toLinearMap.lTensor S := congrArg DFunLike.coe h_square exact hq.comp_of_exact_of_comp (Ο€ := ((wittConstCoeff (oFlatLocConst.obj A)).lTensor S).toAddMonoidHom) h_target.right (by rw [LinearMap.toAddMonoidHom_coe, h_comp] exact ⟨E.surjective.comp h_source.left, fun x ↦ E.map_eq_zero_iff.trans (h_source.right x)⟩) /-- The primitive comparison with period coefficients. Let `p` be a prime, `(S, K)` a period ring pair (`S` an `A_inf`-algebra, `K` a flat `S`-algebra), `ΞΈ` an isomorphism from `c ↦ K βŠ— (S βŠ— W(Rβ™­))^` to `Ξ¨ : PadicTest β₯€ ModuleCat K`, and `Ξ± : N' ⟢ genericTest β‹™ N` the map that compares cohomology over `p`-adic tests with cohomology over test rings. Suppose that `N` and `N'` have flat base change, that each `H N ellAdicCoeff n` (the `n`-th cohomology of `N` with coefficients `β„€_p`) is finite over `β„€_[p]`, and that `primitiveMap` is bijective on cohomology along `Ξ±` for the coefficients `almostCoeff (Oβ™­ βŠ— S)` (`CoeffCompBijective`). Then `primitivePeriodMap K ΞΈ`, viewed by `ofModuleHom genericTest` as a map of coefficients, is bijective on cohomology along `Ξ±`, in every degree. -/ lemma primitivePeriodMap_isBijective {p : β„•} [ThePrime p] {S : Type} [CommRing S] [Algebra Ainf S] [Algebra β„€_[p] S] [IsScalarTower β„€_[p] Ainf S] (K : Type) [CommRing K] [Algebra S K] [Module.Flat S K] [Algebra β„€_[p] K] [IsScalarTower β„€_[p] S K] {Ξ¨ : PadicTest β₯€ ModuleCat K} (ΞΈ : asModules (tilt β‹™ periodAlg S) β‹™ tensorWith K K β‰… Ξ¨) (hS : IsPeriodRingPair p S K) {N : AbFunctor TestRing} {N' : AbFunctor PadicTest} {Ξ± : N' ⟢ genericTest β‹™ N} (hN : HasFlatBaseChange N) (hN' : HasFlatBaseChange N') (h_finite : βˆ€ n : β„•, Module.Finite β„€_[p] (H N ellAdicCoeff n)) (h_primitive : CoeffCompBijective primitiveMap Ξ± (almostCoeff (OFlat βŠ—[Ainf] S))) : (ofModuleHom genericTest (primitivePeriodMap K ΞΈ)).IsBijective Ξ± := by -- The map is the composite of the isomorphism `wittLocConstCancelIso`, of -- `wittLocConstToPeriodAlg`, of the map induced by `primitiveMap`, and of `ΞΈ`. The second is -- bijective on cohomology because it is bijective modulo `p` and the cohomology is finite, the -- third by the hypothesis on `primitiveMap`. -- `S` is torsion-free over `β„€_[p]`: a nonzero `t = u p ^ v` divides a power of `p`. have h_dvd_pow {t : β„€_[p]} (ht : t β‰  0) : t ∣ (p : β„€_[p]) ^ t.valuation := (unitCoeff_spec ht).dvd.trans (Units.mul_left_dvd.mpr dvd_rfl) have h_torsionFree : Module.IsTorsionFree β„€_[p] S := isTorsionFree_of_dvd_pow hS.isSMulRegular_natCast fun ht ↦ ⟨_, h_dvd_pow ht⟩ have h_padic : IsCompleteTorsionFree β„€_[p] := { regular := .of_ne_zero NeZero.out complete := by rw [← maximalIdeal_eq_span_p] infer_instance } have h_witt (A : TestRing) : IsCompleteTorsionFree ((wittLocConst p).obj A) := isCompleteTorsionFree_wittVector (ZMod p) (locConstAlg.obj A.obj) have h_period (A : TestRing) : IsCompleteTorsionFree ((oFlatLocConst β‹™ periodAlg S).obj A) := isCompleteTorsionFree_completion (isSMulRegular_tensor_witt hS.regular (isPerfectTorsionFree_oFlatLocConst A)) have h_mod (A : TestRing) {Y : Type} [AddCommGroup Y] (q : (asModules (oFlatLocConst β‹™ periodAlg S)).obj A β†’+ Y) (hq : IsReductionMod p q) : IsReductionMod p (q ∘ (wittLocConstToPeriodAlg S).app A) := (IsReductionMod.comp_algebraMap hq).comp_wittLocConstBaseChange A -- The cohomology with coefficients `β„€_p` has finite rank, by `h_finite`. have h_rank (n : β„•) : Module.rank β„€_[p] (H N ellAdicCoeff n) < Cardinal.aleph0 := have : Module.Finite β„€_[p] (H N ellAdicCoeff n) := h_finite n Module.rank_lt_aleph0 β„€_[p] (H N ellAdicCoeff n) have h_completion : (ofModuleHom (Ξ¦ := asModules (wittLocConst p) β‹™ tensorWith S S) (𝟭 TestRing) (wittLocConstToPeriodAlg S)).IsBijective (πŸ™ N) := hN.isBijective_of_isReductionMod (Θ := wittLocConst p) h_padic hS.isCompleteTorsionFree h_witt irreducible_p (X := oFlatLocConst β‹™ periodAlg S) (wittLocConstToPeriodAlg S) (fun n _ ↦ h_rank n) h_period h_mod have h_completion_tensor : CoeffCompBijective (Ξ¨ := asModules (wittLocConst p) β‹™ tensorWith S S) (Ο† := 𝟭 TestRing) (wittLocConstToPeriodAlg S) (πŸ™ N) (tensorWith K K) := (h_completion.baseChangeMap_bijective_iff hN).mp (hN S K K (asModules (oFlatLocConst β‹™ periodAlg S))) have h_primitive_tensor : CoeffCompBijective primitiveMap Ξ± (asModules (periodAlg S) β‹™ tensorWith K K) := h_primitive.periodAlg_of_almostCoeff hN hS (fun G ↦ hN' S K K (tilt β‹™ G)) isPerfectTorsionFree_oFlatLocConst isPerfectTorsionFree_tilt have h_composite : (ofModuleHom (Ξ¦ := (asModules (wittLocConst p) β‹™ tensorWith S S) β‹™ tensorWith K K) genericTest (whiskerLeft genericTest (whiskerRight (wittLocConstToPeriodAlg S) (tensorWith K K)) ≫ whiskerRight primitiveMap (asModules (periodAlg S) β‹™ tensorWith K K))).IsBijective Ξ± := -- `(… :)`: the composite of the two comparisons is this one only after unfolding. (h_completion_tensor.trans h_primitive_tensor rfl :) -- The isomorphisms `wittLocConstCancelIso` and `ΞΈ` do not affect bijectivity; the square -- commutes by the definition of `primitivePeriodMap`. refine (isBijective_iff_of_coeff_iso (whiskerRight (wittLocConstCancelIso p S K).hom (moduleCoeff (𝟭 (ModuleCat K)))) (isoWhiskerRight ΞΈ (moduleCoeff (𝟭 (ModuleCat K)))).inv ?_).mpr h_composite exact (isoWhiskerRight ΞΈ (moduleCoeff (𝟭 (ModuleCat K)))).eq_comp_inv.mpr rfl /-- The primitive comparison in existential form. For a period ring pair `(S, K)` and an isomorphism `ΞΈ` from `c ↦ K βŠ— (S βŠ— W(Rβ™­))^` to `Ξ¨ : PadicTest β₯€ ModuleCat K` (`R` the ring of the test `c`), there is a natural map `Ξ³ : K βŠ— W(L) β†’ Ξ¨` (`L`: locally constant `Spec R[1/p] β†’ 𝔽_p`) with `Ξ³ (a βŠ— x) = ΞΈ (a βŠ— (1 βŠ— x'))`, `x'` the image of `x` under the Witt vector map of `locConstToTilt`; `Ξ³` is bijective on cohomology under the conditions of `primitivePeriodMap_isBijective`. -/ lemma exists_primitive_period_comparison {p : β„•} [ThePrime p] {S : Type} [CommRing S] [Algebra Ainf S] [Algebra β„€_[p] S] [IsScalarTower β„€_[p] Ainf S] (K : Type) [CommRing K] [Algebra S K] [Module.Flat S K] [Algebra β„€_[p] K] [IsScalarTower β„€_[p] S K] {Ξ¨ : PadicTest β₯€ ModuleCat K} (ΞΈ : asModules (tilt β‹™ periodAlg S) β‹™ tensorWith K K β‰… Ξ¨) (hS : IsPeriodRingPair p S K) : βˆƒ Ξ³ : genericTest β‹™ asModules (wittLocConst p) β‹™ tensorWith K K ⟢ Ξ¨, (βˆ€ (c : PadicTest) (a : K) (x : (wittLocConst p).obj (genericTest.obj c)), Ξ³.app c (a βŠ—β‚œ x) = ΞΈ.hom.app c (a βŠ—β‚œ wittToPeriodAlg S (tilt.obj c) (WittVector.map (locConstToTilt.app c).hom.toRingHom x))) ∧ βˆ€ {N : AbFunctor TestRing} {N' : AbFunctor PadicTest} {Ξ± : N' ⟢ genericTest β‹™ N}, HasFlatBaseChange N β†’ HasFlatBaseChange N' β†’ (βˆ€ n : β„•, Module.Finite β„€_[p] (H N ellAdicCoeff n)) β†’ CoeffCompBijective primitiveMap Ξ± (almostCoeff (OFlat βŠ—[Ainf] S)) β†’ (ofModuleHom genericTest Ξ³).IsBijective Ξ± := ⟨primitivePeriodMap K ΞΈ, primitivePeriodMap_app_tmul K ΞΈ, primitivePeriodMap_isBijective K ΞΈ hS⟩ end New.Variety