math / data /lean /OAI /NumberTheory /DukePrimeDegree /Arithmetic /ConductorModulus.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.7 kB
import OAI.NumberTheory.DukePrimeDegree.Arithmetic.HeckeFactors
namespace OAI
/-!
# An integer modulus for finitely many local congruences
The product of norms of conductor primes, raised to their conductor
exponents, gives a rational integer imposing every required local
higher-unit congruence. No quantitative conductor bound is needed.
-/
noncomputable section
open scoped NumberField BigOperators Classical
namespace DukePrimeDegree
open PrimeDegreePackets
variable {K : Type*} [Field K] [NumberField K]
theorem integral_mem_completed_maximal
(v : IsDedekindDomain.HeightOneSpectrum (π“ž K))
{a : π“ž K} (ha : a ∈ v.asIdeal) :
algebraMap (π“ž K) (v.adicCompletionIntegers K) a ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) := by
apply (Valuation.mem_maximalIdeal_iff (v.adicCompletion K) Valued.v).mpr
change Valued.v ((algebraMap (π“ž K) K a : K) : v.adicCompletion K) < 1
rw [v.valuedAdicCompletion_eq_valuation', v.valuation_of_algebraMap]
exact (v.intValuation_lt_one_iff_mem a).mpr ha
theorem exists_integer_for_local_congruences
(S : Finset (IsDedekindDomain.HeightOneSpectrum (π“ž K)))
(c : IsDedekindDomain.HeightOneSpectrum (π“ž K) β†’ β„•)
{D : β„•} (hD : 0 < D) :
βˆƒ N : β„•, 0 < N ∧ D ∣ N ∧ βˆ€ v ∈ S,
algebraMap (π“ž K) (v.adicCompletionIntegers K) (N : π“ž K) ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) ^ c v := by
let N := D * ∏ v ∈ S, Ideal.absNorm v.asIdeal ^ c v
have hnorm (v : IsDedekindDomain.HeightOneSpectrum (π“ž K)) :
0 < Ideal.absNorm v.asIdeal := by
apply Nat.pos_of_ne_zero
intro h
exact v.ne_bot (Ideal.absNorm_eq_zero_iff.mp h)
refine ⟨N, Nat.mul_pos hD (Finset.prod_pos (fun v _ => pow_pos (hnorm v) _)),
dvd_mul_right D _, ?_⟩
intro v hv
have hd : Ideal.absNorm v.asIdeal ^ c v ∣ N := by
exact dvd_mul_of_dvd_right (Finset.dvd_prod_of_mem _ hv) _
obtain ⟨k, hk⟩ := hd
have hm := Ideal.pow_mem_pow
(integral_mem_completed_maximal v (Ideal.absNorm_mem v.asIdeal)) (c v)
rw [hk, Nat.cast_mul, map_mul, Nat.cast_pow, map_pow]
exact Ideal.mul_mem_right _ _ hm
theorem completed_congruence_of_integer
(v : IsDedekindDomain.HeightOneSpectrum (π“ž K)) (c N : β„•)
(hN : algebraMap (π“ž K) (v.adicCompletionIntegers K) (N : π“ž K) ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) ^ c)
{a : π“ž K} (ha : a - 1 ∈ ThetaConstruction.rationalModulusIdeal (π“ž K) N) :
algebraMap (π“ž K) (v.adicCompletionIntegers K) a - 1 ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) ^ c := by
have hd : (N : π“ž K) ∣ a - 1 := Ideal.mem_span_singleton.mp ha
obtain ⟨b, hb⟩ := hd
rw [← map_one (algebraMap (π“ž K) (v.adicCompletionIntegers K)), ← map_sub, hb, map_mul]
exact Ideal.mul_mem_right _ _ hN
theorem completed_integral_isUnit_of_congruence
(v : IsDedekindDomain.HeightOneSpectrum (π“ž K)) {c : β„•} (hc : 0 < c)
{a : π“ž K}
(ha : algebraMap (π“ž K) (v.adicCompletionIntegers K) a - 1 ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) ^ c) :
IsUnit (algebraMap (π“ž K) (v.adicCompletionIntegers K) a) := by
apply (IsLocalRing.notMem_maximalIdeal).mp
intro hmem
have hsub := (Ideal.pow_le_self hc.ne') ha
have hone : (1 : v.adicCompletionIntegers K) ∈
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) := by
simpa only [sub_sub_cancel] using
(IsLocalRing.maximalIdeal (v.adicCompletionIntegers K)).sub_mem hmem hsub
exact (IsLocalRing.maximalIdeal.isMaximal (v.adicCompletionIntegers K)).ne_top
((Ideal.eq_top_iff_one _).mpr hone)
end DukePrimeDegree
end
end OAI