Lean 4 · 3
declarations statementsfull
theorem integersAwayToField_injective (N : ℕ) (hN : N ≠ 0) :
Function.Injective (Models.Algebra.Constructions.Foundations.integersAwayToField K N hN) := by proof · 6 lines
apply IsLocalization.injective_of_map_algebraMap_zero
(M := Submonoid.powers (N : 𝓞 K))
intro a ha
rw [Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap] at ha
have ha0 : a = 0 := (IsFractionRing.injective (𝓞 K) K) (ha.trans (map_zero _).symm)
rw [ha0, map_zero]noncomputable def integersAwayAlgHom (N : ℕ) (hN : N ≠ 0) :
Localization.Away (N : 𝓞 K) →ₐ[𝓞 K] K where body · 2 lines
toRingHom := Models.Algebra.Constructions.Foundations.integersAwayToField K N hN
commutes' := Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap K N hN31Every finite coefficient ring maps compatibly into a localization of the ring of integers, with any previously specified denominators also inverted.
theorem finite_coefficient_ring_factors_through_integers
(s : Finset K) (N₀ : ℕ) (hN₀ : N₀ ≠ 0) :
∃ (N : ℕ) (hN : N ≠ 0), N₀ ∣ N ∧
∃ φ : CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s →ₐ[𝓞 K] Localization.Away (N : 𝓞 K),
(Models.Algebra.Constructions.Foundations.integersAwayToField K N hN).comp φ.toRingHom =
(CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s).val.toRingHom := by proof · 15 lines
classical
obtain ⟨N, hN, hd, hcoeff⟩ := Models.Algebra.Constructions.Foundations.finite_coefficients_in_localized_integers K
(fun c : s ↦ (c : K)) N₀ hN₀
let F := integersAwayAlgHom K N hN
have hs : CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s ≤ F.range := by
apply Algebra.adjoin_le
intro c hc
exact hcoeff ⟨c, hc⟩
let e := AlgEquiv.ofInjective F (integersAwayToField_injective K N hN)
let φ := e.symm.toAlgHom.comp (Subalgebra.inclusion hs)
refine ⟨N, hN, hd, φ, ?_⟩
ext a
change ((e (e.symm (Subalgebra.inclusion hs a))) : K) = (a : K)
rw [e.apply_symm_apply]
rflOutline
Xet Storage Details
- Size:
- 2.5 kB
- Xet hash:
- d170ef9cb8f42f57907e565555d97a6f4a3e2796847f4626d26d8a6f0cc24969
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.