cfahlgren1/math / lean /OAI /NumberTheory /PrimePackets /FrobeniusConductor.lean
cfahlgren1's picture
download
raw
4.34 kB
import Mathlib
import OAI.NumberTheory.PrimePackets.RayFrobenius
namespace OAI
noncomputable section
open Module
open scoped NumberField nonZeroDivisors
namespace PrimeDegreePackets
variable (F E : Type*) [Field F] [NumberField F] [Field E] [NumberField E]
variable [Algebra F E]
lemma unramified_of_absDiscr_not_mem (F E : Type*)
[Field F] [NumberField F] [Field E] [NumberField E] [Algebra F E]
(P : Ideal (๐“ž F)) (Q : Ideal (๐“ž E)) [Q.IsPrime]
(hQ : Q.under (๐“ž F) = P) (hD : ((NumberField.discr E).natAbs : ๐“ž F) โˆ‰ P) :
Algebra.IsUnramifiedAt (๐“ž F) Q := by
have hDE : ((NumberField.discr E).natAbs : ๐“ž E) โˆ‰ Q := by
intro h
apply hD
rw [โ† hQ]
change algebraMap (๐“ž F) (๐“ž E) _ โˆˆ Q
simpa only [map_natCast] using h
have hnot : ยฌ Q โˆฃ differentIdeal โ„ค (๐“ž E) := by
intro h
apply hDE
apply (Ideal.dvd_iff_le.mp h)
rw [โ† NumberField.absNorm_differentIdeal E (๐“ž E)]
exact Ideal.absNorm_mem _
have : Algebra.IsUnramifiedAt โ„ค Q := not_dvd_differentIdeal_iff.mp hnot
exact Algebra.IsUnramifiedAt.of_restrictScalars โ„ค Q
lemma unramified_of_principal_congruence (a : ๐“ž F)
(hc : a - 1 โˆˆ ThetaConstruction.rationalModulusIdeal (๐“ž F) (NumberField.discr E).natAbs)
(P : Ideal (๐“ž F)) [P.IsPrime] (ha : a โˆˆ P)
(Q : Ideal (๐“ž E)) [Q.IsPrime] (hQ : Q.under (๐“ž F) = P) :
Algebra.IsUnramifiedAt (๐“ž F) Q := by
apply unramified_of_absDiscr_not_mem F E P Q hQ
intro hN
have hle : ThetaConstruction.rationalModulusIdeal (๐“ž F) (NumberField.discr E).natAbs โ‰ค P :=
(Ideal.span_singleton_le_iff_mem P).mpr hN
have hone : (1 : ๐“ž F) โˆˆ P := by
simpa only [sub_sub_cancel] using P.sub_mem ha (hle hc)
exact Ideal.IsPrime.ne_top' ((Ideal.eq_top_iff_one P).mpr hone)
lemma principal_count_ne_zero_iff_mem (a : ๐“ž F) (ha : a โ‰  0)
(P : IsDedekindDomain.HeightOneSpectrum (๐“ž F)) :
FractionalIdeal.count F P (Ideal.span {a}) โ‰  0 โ†” a โˆˆ P.asIdeal := by
have hI : Ideal.span {a} โ‰  (0 : Ideal (๐“ž F)) := by
simpa only [Ideal.zero_eq_bot, ne_eq, Ideal.span_singleton_eq_bot] using ha
rw [FractionalIdeal.count_coe F P hI, Int.natCast_ne_zero,
Associates.count_ne_zero_iff_dvd hI P.irreducible, Ideal.dvd_iff_le,
Ideal.span_singleton_le_iff_mem]
lemma unramified_of_principal_count_ne_zero (a : ๐“ž F) (ha : a โ‰  0)
(hc : a - 1 โˆˆ ThetaConstruction.rationalModulusIdeal (๐“ž F) (NumberField.discr E).natAbs)
(P : IsDedekindDomain.HeightOneSpectrum (๐“ž F))
(hP : FractionalIdeal.count F P (Ideal.span {a}) โ‰  0)
(Q : Ideal (๐“ž E)) [Q.IsPrime] (hQ : Q.under (๐“ž F) = P.asIdeal) :
Algebra.IsUnramifiedAt (๐“ž F) Q :=
unramified_of_principal_congruence F E a hc P.asIdeal
((principal_count_ne_zero_iff_mem F a ha P).mp hP) Q hQ
theorem principal_congruence_frobenius_product
[FiniteDimensional F E] [IsGalois F E]
(ฯ‡ : (E โ‰ƒโ‚[F] E) โ†’* โ„‚หฃ) (a : ๐“ž F) (ha : a โ‰  0)
(hc : a - 1 โˆˆ ThetaConstruction.rationalModulusIdeal (๐“ž F)
(NumberField.discr E).natAbs)
(Q : IsDedekindDomain.HeightOneSpectrum (๐“ž F) โ†’ Ideal (๐“ž E))
[โˆ€ P, (Q P).IsPrime]
(hQ : โˆ€ P, (Q P).under (๐“ž F) = P.asIdeal)
(ฯ„ : IsDedekindDomain.HeightOneSpectrum (๐“ž F) โ†’ E โ‰ƒโ‚[F] E)
(hฯ„ : โˆ€ P, (NumberField.RingOfIntegers.mapAlgHom (ฯ„ P)).IsArithFrobAt (Q P)) :
GaloisIdealCharacter.idealHom F E ฯ‡
(integralIdealFractionalUnit (Ideal.span {a})
(by simpa only [ne_eq, Ideal.span_singleton_eq_bot] using ha)) =
โˆแถ  P, ฯ‡ (ฯ„ P) ^ FractionalIdeal.count F P
(Ideal.span {a} : FractionalIdeal (๐“ž F)โฐ F) := by
change (โˆแถ  P, ฯ‡ (GaloisIdealCharacter.primeFrobenius F E P) ^
FractionalIdeal.count F P (Ideal.span {a} : FractionalIdeal (๐“ž F)โฐ F)) = _
apply finprod_congr
intro P
by_cases hP : FractionalIdeal.count F P
(Ideal.span {a} : FractionalIdeal (๐“ž F)โฐ F) = 0
ยท simp only [hP, zpow_zero]
ยท let : Algebra.IsUnramifiedAt (๐“ž F) (Q P) :=
unramified_of_principal_count_ne_zero F E a ha hc P hP (Q P) (hQ P)
have h := GaloisIdealCharacter.idealHom_prime_frobenius F E ฯ‡ P (Q P) (hQ P)
(ฯ„ P) (hฯ„ P)
rw [GaloisIdealCharacter.idealHom_prime] at h
rw [h]
end PrimeDegreePackets
end
end OAI

Xet Storage Details

Size:
4.34 kB
ยท
Xet hash:
8685f38970c15b28f337eb837676f199715f6f673a26d0258a125e983d1cdd6f

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