introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.76 kB
import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientTopology
/-! # Coefficient Limit -/
namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CoefficientLimit.Construction
noncomputable section
/-!
# Completion: integral coefficients as the inverse limit of finite coefficients
The inverse-limit description includes the topology. Compatible continuous
finite-coefficient functions therefore reconstruct a unique continuous
integral coefficient function.
-/
variable (β„“ : β„•) [Fact β„“.Prime]
/-- Compatible residues in all finite coefficient rings. -/
def coherentFiniteCoefficients : Subring (βˆ€ n : β„•, ZMod (β„“ ^ n)) where
carrier := {a | βˆ€ m n (h : m ≀ n), ZMod.castHom (pow_dvd_pow β„“ h) (ZMod (β„“ ^ m)) (a n) = a m}
zero_mem' := fun m n h => (ZMod.castHom (pow_dvd_pow β„“ h) (ZMod (β„“ ^ m))).map_zero
one_mem' := fun m n h => (ZMod.castHom (pow_dvd_pow β„“ h) (ZMod (β„“ ^ m))).map_one
add_mem' := by
intro a b ha hb m n h
exact (map_add _ _ _).trans (congrArgβ‚‚ (Β· + Β·) (ha m n h) (hb m n h))
mul_mem' := by
intro a b ha hb m n h
exact (map_mul _ _ _).trans (congrArgβ‚‚ (Β· * Β·) (ha m n h) (hb m n h))
neg_mem' := by
intro a ha m n h
exact (map_neg _ _).trans (congrArg Neg.neg (ha m n h))
/-- Projection to one finite coefficient ring. -/
def coherentFiniteProjection (n : β„•) : coherentFiniteCoefficients β„“ β†’+* ZMod (β„“ ^ n) where
toFun a := a.val n
map_zero' := rfl
map_one' := rfl
map_add' _ _ := rfl
map_mul' _ _ := rfl
omit [Fact β„“.Prime] in
theorem coherentFiniteProjection_compatible (m n : β„•) (h : m ≀ n) :
(ZMod.castHom (pow_dvd_pow β„“ h) (ZMod (β„“ ^ m))).comp
(coherentFiniteProjection β„“ n) = coherentFiniteProjection β„“ m := by
ext a
exact a.property m n h
/-- The integral coefficient determined by a compatible residue tower. -/
def coherentFiniteLift : coherentFiniteCoefficients β„“ β†’+* β„€_[β„“] :=
PadicInt.lift (coherentFiniteProjection_compatible β„“)
theorem coherentFiniteLift_spec (a : coherentFiniteCoefficients β„“) (n : β„•) :
PadicInt.toZModPow n (coherentFiniteLift β„“ a) = a.val n :=
congrArg (fun f => f a) (PadicInt.lift_spec (coherentFiniteProjection_compatible β„“) n)
/-- All residues of an integral coefficient, as a compatible tower. -/
def padicIntToCoherentFinite : β„€_[β„“] β†’+* coherentFiniteCoefficients β„“ where
toFun a := ⟨fun n => PadicInt.toZModPow n a, fun m n h =>
congrArg (fun f => f a) (PadicInt.zmod_cast_comp_toZModPow m n h)⟩
map_zero' := by ext n; exact map_zero _
map_one' := by ext n; exact map_one _
map_add' a b := by ext n; exact map_add _ _ _
map_mul' a b := by ext n; exact map_mul _ _ _
/-- Integral coefficients and coherent finite coefficients are isomorphic as rings. -/
def padicIntCoherentFiniteEquiv : β„€_[β„“] ≃+* coherentFiniteCoefficients β„“ where
__ := padicIntToCoherentFinite β„“
invFun := coherentFiniteLift β„“
left_inv a := PadicInt.ext_of_toZModPow.mp fun n => coherentFiniteLift_spec β„“ _ n
right_inv a := by
apply Subtype.ext
funext n
exact coherentFiniteLift_spec β„“ a n
theorem continuous_padicIntToCoherentFinite : Continuous (padicIntToCoherentFinite β„“) :=
(continuous_pi (fun n => Finite.CoefficientTopology.Construction.continuous_padicInt_toZModPow β„“ n)).subtype_mk _
/-- The inverse-limit ring isomorphism respects the actual β„“-adic topology. -/
def padicIntCoherentFiniteHomeomorph : β„€_[β„“] β‰ƒβ‚œ coherentFiniteCoefficients β„“ :=
(padicIntCoherentFiniteEquiv β„“).toEquiv.toHomeomorphOfContinuousClosed
(continuous_padicIntToCoherentFinite β„“) (continuous_padicIntToCoherentFinite β„“).isClosedMap
/-- Compatible continuous finite-coefficient functions reconstruct uniquely. -/
theorem continuousMap_existsUnique_of_coherentFinite {T : Type*} [TopologicalSpace T]
(f : βˆ€ n : β„•, C(T, ZMod (β„“ ^ n)))
(hf : βˆ€ m n (h : m ≀ n) t,
ZMod.castHom (pow_dvd_pow β„“ h) (ZMod (β„“ ^ m)) (f n t) = f m t) :
βˆƒ! g : C(T, β„€_[β„“]), βˆ€ n t, PadicInt.toZModPow n (g t) = f n t := by
let a : C(T, coherentFiniteCoefficients β„“) :=
⟨fun t => ⟨fun n => f n t, fun m n h => hf m n h t⟩,
(continuous_pi (fun n => (f n).continuous)).subtype_mk _⟩
let g : C(T, β„€_[β„“]) := ⟨fun t => coherentFiniteLift β„“ (a t),
(padicIntCoherentFiniteHomeomorph β„“).symm.continuous.comp a.continuous⟩
refine ⟨g, fun n t => coherentFiniteLift_spec β„“ (a t) n, ?_⟩
intro g' hg'
apply ContinuousMap.ext
intro t
apply PadicInt.ext_of_toZModPow.mp
intro n
exact (hg' n t).trans (coherentFiniteLift_spec β„“ (a t) n).symm
end
end OAI.AlgebraicGeometry.FormalGeometry.Completion.CoefficientLimit.Construction