cfahlgren1's picture
download
raw
2.5 kB
import OAI.ArithmeticGeometry.Models.CoefficientSystem
/-! # Integer Base -/
namespace OAI.ArithmeticGeometry.Models.IntegerBase.Constructions.Foundations
/-! Passage from finite coefficient rings to localized rings of integers. -/
open scoped _root_.NumberField nonZeroDivisors
universe u
variable (K : Type u) [Field K] [NumberField K]
theorem integersAwayToField_injective (N : โ„•) (hN : N โ‰  0) :
Function.Injective (Models.Algebra.Constructions.Foundations.integersAwayToField K N hN) := by
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
toRingHom := Models.Algebra.Constructions.Foundations.integersAwayToField K N hN
commutes' := Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap K N hN
/-- Every 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
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]
rfl
end OAI.ArithmeticGeometry.Models.IntegerBase.Constructions.Foundations

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.