cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /LocalAlgebra /LocalLengthTransport.lean
cfahlgren1's picture
download
raw
2.01 kB
import Mathlib.RingTheory.Localization.AtPrime.Basic
import OAI.NumberTheory.PiExponent.LocalAlgebra.QuotientLengthEquivalence
namespace OAI
noncomputable section
namespace PiExponent.LocalLengthTransport
abbrev localLength {R : Type*} [CommRing R]
(P : Ideal R) [P.IsPrime] (I : Ideal R) : ℕ∞ :=
Module.length (Localization.AtPrime P)
(Localization.AtPrime P ⧸ I.map (algebraMap R (Localization.AtPrime P)))
theorem localLength_congr {R : Type*} [CommRing R]
(P Q : Ideal R) [P.IsPrime] [Q.IsPrime] (hPQ : P = Q) (I : Ideal R) :
localLength P I = localLength Q I := by
subst Q
rfl
variable {R S : Type*} [CommRing R] [CommRing S]
variable (P : Ideal R) (Q : Ideal S) [P.IsPrime] [Q.IsPrime]
theorem localizedIdeal_map_eq
(f : R →+* S) (e : Localization.AtPrime P ≃+* Localization.AtPrime Q)
(he : ∀ r : R, e (algebraMap R (Localization.AtPrime P) r) =
algebraMap S (Localization.AtPrime Q) (f r))
(I : Ideal R) :
(I.map (algebraMap R (Localization.AtPrime P))).map e.toRingHom =
(I.map f).map (algebraMap S (Localization.AtPrime Q)) := by
rw [Ideal.map_map, Ideal.map_map]
congr 1
exact RingHom.ext he
theorem localLength_eq_map
(f : R →+* S) (e : Localization.AtPrime P ≃+* Localization.AtPrime Q)
(he : ∀ r : R, e (algebraMap R (Localization.AtPrime P) r) =
algebraMap S (Localization.AtPrime Q) (f r))
(I : Ideal R) :
localLength P I = localLength Q (I.map f) :=
PiExponentJets.W22.quotient_length_eq_of_ringEquiv e _ _
(localizedIdeal_map_eq P Q f e he I).symm
theorem localLength_eq_of_localizedIdeal_map
(e : Localization.AtPrime P ≃+* Localization.AtPrime Q)
(I : Ideal R) (J : Ideal S)
(hIJ : (I.map (algebraMap R (Localization.AtPrime P))).map e.toRingHom =
J.map (algebraMap S (Localization.AtPrime Q))) :
localLength P I = localLength Q J :=
PiExponentJets.W22.quotient_length_eq_of_ringEquiv e _ _ hIJ.symm
end PiExponent.LocalLengthTransport
end
end OAI

Xet Storage Details

Size:
2.01 kB
·
Xet hash:
243549c502f4f8c2ad485d440fa10f322759621be66c22f43bc30fe5a37f8c22

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.