Lean source
Lib.Weil.MixedModel.NameModulus
Its 29 declarations
Modulusstructure, lines 19–22Modulus.abbrev, line 33ResRing (instance)instance, lines 35–36Modulus.def, line 39places (instance)instance, lines 50–51Modulus.def, line 55reduction Modulus.def, lines 59–60liftFn modDatumdef, lines 66–67modKerneldef, line 71Modulus.def, line 80generator Modulus.lemma, line 84disjoint_places_star Modulus.lemma, line 88reduction_algebraMap Modulus.lemma, line 90reduction_surjective Modulus.lemma, lines 94–95isValuationPair_resRing Modulus.lemma, lines 99–100generator_spec Modulus.lemma, line 102valued_generator Modulus.lemma, line 109reduction_eq_zero_iff Modulus.lemma, lines 111–113reduction_congr Modulus.lemma, lines 115–116reduction_idem_mul Modulus.lemma, line 119liftFn_one Modulus.lemma, lines 121–125liftFn_single Modulus.lemma, lines 127–131apply_reduction_eq_of_algebraMap Modulus.lemma, lines 133–134factor_reduction Modulus.instance, lines 146–150isSchwartzBruhat_liftFn Modulus.lemma, lines 154–163localInner_liftFn Modulus.def, lines 167–168primAddChar Modulus.lemma, lines 172–173primAddChar_reduction Modulus.lemma, line 177isPrimitive_primAddChar Modulus.lemma, lines 182–187name_char_eq_translate_projOn
import Lib.Weil.MixedModel.Namesimport Lib.General.Algebra.LatticeComplement/-! Part of: Schrödinger and mixed models of the Weil representation; action of parabolic subgroups(known result; see Lib.Weil.MixedModel.ZeroTermLaw).Part of: Theta kernels of unitary dual pairs: functoriality, seesaw, growth, rapid decay (knownresult; see Lib.Weil.DualPair.KernelDecay).This file: Moduli prime to their conjugate; theta kernel of a polynomial and function modulo m.Reduction of integral adeles modulo m, lifted functions, primitive additive character modulo m. -/noncomputable sectionopen NumberField Finset RingHom MeasureTheory Ideal Quotient Function Space stdLattice/-- A modulus: a nonzero ideal of O_E prime to its complex conjugate, that is, never divisibleby both w and w̄. -/structure Modulus E [Field E] [NumberField E] [IsCMField E] where ideal : Ideal (𝓞 E) ne_bot : ideal ≠ ⊥ not_le_star (w : FinPlace E) : ideal ≤ w → ¬ideal ≤ star wvariable {E : Type _} [Field E] [CMType E] [WeilData E]namespace Modulussectionvariable {E : Type _} [Field E] [NumberField E] [IsCMField E]/-- The residue ring O_E/𝔪 of the modulus 𝔪. -/abbrev ResRing (𝔪 : Modulus E) := _ ⧸ 𝔪.idealinstance (𝔪 : Modulus E) : Fintype 𝔪.ResRing := @.ofFinite _ (Ideal.finiteQuotientOfFreeOfNeBot _ 𝔪.ne_bot)/-- The set of finite places of E that divide 𝔪. -/def places (𝔪 : Modulus E) := {w : FinPlace E | 𝔪.ideal ≤ w}endvariable {n n' : Type} [Fintype n] [Fintype n'] {s : n → ℤˣ} {s' : n' → ℤˣ} (S : Space E n s) (T : Space E n' s') (𝔪 : Modulus E)sectionvariable {E : Type _} [Field E] [NumberField E] [IsCMField E] (𝔪 : Modulus E)instance : _root_.Finite 𝔪.places := by simpa [Ideal.dvd_iff_le] using! Ideal.finite_factors 𝔪.ne_bot/-- A chosen ring homomorphism Ô → O_E/𝔪 extending reduction on O_E, with kernel tÔ for anintegral idele t equal to 1 off 𝔪. -/def reduction : Ô E →+* 𝔪.ResRing := (exists_reduction_and_idele_generator 𝔪.ne_bot).choose/-- The function on finite adelic vectors equal to Ψ(x mod 𝔪) if x is integral at the placesdividing 𝔪, read on those components, and 0 otherwise. -/@[simps -isSimp] def liftFn {n : Type _} : ((n → 𝔪.ResRing) → ℂ) →ₗ[ℂ] (n → 𝔸f E) → ℂ := ⟨⟨fun Ψ x ↦ if h : ∀ i, idem 𝔪.places * x i ∈ _ then Ψ (𝔪.reduction ⟨_, h ·⟩) else 0, by aesop⟩, by aesop⟩end/-- The datum v ⊗ Ψ ⊗ vac on Hom(S,T): real part v, the function Ψ on matrices modulo 𝔪 named atthe places dividing 𝔪, the vacuum elsewhere. -/def _root_.modDatum Ψ v := (S.hom T).integrated v (Space.name _ (𝔪.places) (𝔪.liftFn (Ψ ∘ vecToMat)) (Space.vacElem _))/-- The theta kernel θ^{S,T}_{a,b}[Ψ, P](g, h) = θ(ω_{a,b}(g,h)(v_P ⊗ Ψ ⊗ vac)) of a function Ψon matrices modulo 𝔪 and a polynomial P. -/def _root_.modKernel a b 𝔪 Ψ P := (pairTheta S T a b (modDatum S T 𝔪 Ψ (polyVector _ P)) ⟨·, ·⟩)sectionvariable {E : Type _} [Field E] [NumberField E] [IsCMField E] {n : Type _} [Fintype n] (𝔪 : Modulus E) (Ψ : (n → _) → ℂ) (x : ↥(Ô E))/-- A chosen integral finite idele t, equal to 1 off 𝔪, such that tÔ is the kernel of reductionmodulo 𝔪. -/def generator := (exists_reduction_and_idele_generator 𝔪.2).choose_spec.2.2.chooseattribute [local grind] reduction places not_le_star generatorlemma disjoint_places_star : 𝔪.places.IsConjDisjoint := by grind/-- For a in O_E, the reduction map Ô → O_E/𝔪 sends the image of a in Ô to the class of a modulo𝔪. -/@[simp] lemma reduction_algebraMap a : 𝔪.reduction (algebraMap (𝓞 E) _ a) = a := by grindlemma reduction_surjective : Surjective 𝔪.reduction := Quot.ind (⟨_, reduction_algebraMap _ ·⟩)/-- For any a, b in O_E/𝔪 there is an idempotent e of O_E/𝔪 such that a and b both lie in theprincipal ideal generated by (1 − e)a + eb. -/lemma isValuationPair_resRing : @IsValuationPair 𝔪.ResRing _ ⊤ := 𝔪.reduction_surjective.forall₂.2 (isValuationPair_Ohat.top _ · · |>.imp' (⟨𝔪.reduction ·.1, ⟨⟩⟩) fun _ ↦ by simp; grind)/-- The chosen idele 𝗆 of the modulus 𝔪 is integral, has component 1 at every place not dividing𝔪, and x in Ô reduces to 0 modulo 𝔪 if and only if 𝗆⁻¹x lies in Ô. -/lemma generator_spec : ↑𝔪.generator ∈ Ô E ∧ (∀ w ∉ 𝔪.places, 𝔪.generator.1 w = 1) ∧ ∀ x, 𝔪.reduction x = 0 ↔ 𝔪.generator⁻¹.1 * x ∈ Ô E := by grindlemma valued_generator w : Valued.v (𝔪.generator.1 w) = .exp (-multiplicity w.1 𝔪.ideal) := by grindattribute [local simp] generator_spec liftFn_apply mul_add mul_mem mem_integralBox add_mem_cancel_left idem_apply/-- An integral finite adele z reduces to zero in O_E/𝔪 if and only if it lies in the ideal of Ôgenerated by 𝔪. -/lemma reduction_eq_zero_iff {z} : 𝔪.reduction z = 0 ↔ z ∈ 𝔪.ideal.map (algebraMap ..) := by grindlemma reduction_congr {x y} (h : ∀ w ∈ 𝔪.places, x.1 w = y.1 w) : 𝔪.reduction x = 𝔪.reduction y := by rw [← sub_eq_zero, ← map_sub, 𝔪.generator_spec.2.2, 𝔪.generator.inv_mul_eq_iff_eq_mul (c := idem 𝔪.placesᶜ * (x - y)).2] <;> aesoplemma reduction_idem_mul : 𝔪.reduction (⟨_, idem_mem_Ô 𝔪.places⟩ * x) = 𝔪.reduction x := 𝔪.reduction_congr (by aesop)omit [Fintype n] inlemma liftFn_one : 𝔪.liftFn 1 = boxIndicator n 𝔪.places := by aesoplemma liftFn_single (x₀ : n → _) : 𝔪.liftFn (Pi.single (𝔪.reduction ∘ x₀) 1) = cosetIndicator 𝔪.places 𝔪.generator (x₀ ·) := by simpa [funext_iff, ← 𝔪.reduction_idem_mul (x₀ _), ← sub_mem_ker_iff, -map_sub, -map_mul, mul_left_comm (idem _), mul_sub] using fun _ ↦ (⟨·, (mul_mem 𝔪.generator_spec.1).mt <| by simpa [sub_eq_neg_add] using ·⟩)lemma apply_reduction_eq_of_algebraMap {S} [CommRing S] {f : 𝔪.ResRing →+* S} {g : _ →+* S} (h : ∀ a : 𝓞 E, f a = g (algebraMap _ _ a) := by aesop) : f (𝔪.reduction x) = g x := have ⟨_, a, d⟩ := 𝔪.ideal.ne_bot_iff.1 𝔪.2 (exists_dvd_sub_algebraMap d x).rec fun _ ⟨_, e⟩ ↦ sub_eq_iff_comm.1 e ▸ by simp_all [← h, eq_zero_iff_mem.2]@[simp] lemma factor_reduction {𝔫} h : factor h (reduction 𝔫 x) = 𝔪.reduction x := apply_reduction_eq_of_algebraMap ..endattribute [local grind] reduction places not_le_star generatorattribute [local simp] generator_spec liftFn_apply mul_add mul_mem mem_integralBox add_mem_cancel_left idem_applyvariable {E : Type _} [Field E] [CMType E] {n : Type _} [Fintype n] (𝔪 : Modulus E) (Ψ : (n → _) → ℂ) (x : ↥(Ô E)) [WeilData E]instance isSchwartzBruhat_liftFn : IsSchwartzBruhat 𝔪.places (𝔪.liftFn Ψ) := ⟨by simp [← mul_assoc, idem_mul_self, mem_Ô], pi_eq_sum_univ' Ψ ▸ (map_sum ..).substr (sum_induction _ _ .add (.const 0) (by simpa [𝔪.reduction_surjective.comp_left.forall, liftFn_single] using! fun _ ↦ (IsSchwartzBruhat.locally_constant 𝔪.places).comp (_ * ·))), isSchwartzBruhat_boxIndicator (S := 𝔪.places).3.imp (by aesop)⟩/-- The inner product, over the places dividing 𝔪, of the lifts of two functions Ψ, Ψ' on(O_E/𝔪)^n is the mean over y ∈ (O_E/𝔪)^n of the conjugate of Ψ(y) times Ψ'(y). -/lemma localInner_liftFn Ψ' : localInner 𝔪.places (𝔪.liftFn Ψ) (𝔪.liftFn Ψ') = star Ψ ⬝ᵥ Ψ' / Fintype.card (n → 𝔪.ResRing) := by let F := star Ψ * Ψ' have := (fourier_boxIndicator 0 0 (univ.sum F) (by simp [(AddGroup.addRight_bijective _).sum_comp])).symm.trans ((integral_finsetSum ⊤ fun y _ ↦ (isSchwartzBruhat_liftFn _ (F <| y + ·)).integrableOn continuous_one).trans (sum_eq_card_nsmul (𝔪.reduction_surjective.comp_left.forall.2 fun y ↦ by simpa [Pi.add_def, ← 𝔪.reduction_idem_mul (y _), ← map_add, -map_mul] using! setIntegral_add_mem (𝔪.liftFn F) (m := (y ·)) (by simp)))) simp_all [localInner, F, dotProduct]/-- The additive character r ↦ ψ_f(ȷ α ᾱ t⁻¹ r̃) of O_E/𝔪, where t is the chosen idelegenerating 𝔪 and r̃ ∈ Ô lifts r. -/def primAddChar := (exists_primitive_residue_addChar ⟨𝔪.reduction_surjective, 𝔪.generator_spec.2.2⟩ forall_psi₀_mul_eq_one_iff).choose/-- For x in Ô, the character ψ′ of O_E/𝔪 takes at the reduction of x the value ψ₀(𝗆⁻¹x), with 𝗆the chosen idele of 𝔪 and ψ₀ = ψ_f(ȷαᾱ·). -/@[simp] lemma primAddChar_reduction : 𝔪.primAddChar (𝔪.reduction x) = psi₀ E (𝔪.generator⁻¹ * x) := by grind [primAddChar]/-- The additive character `Modulus.primAddChar` of O_E/𝔪 is primitive: for every nonzero a inO_E/𝔪, the character x ↦ ψ(ax) is nontrivial. -/lemma isPrimitive_primAddChar : 𝔪.primAddChar.IsPrimitive := by grind [primAddChar]/-- Let S be the places dividing 𝔪, u in Ô^n, Ψ(x) = ψ′(∑ xᵢuᵢ) modulo 𝔪, ψ′ =`Modulus.primAddChar`. Then Ψ⊗f = ϱ(αb̄)P^S f for all f, where b is the part above S of 𝗆⁻¹u, 𝗆 =`Modulus.generator`. -/lemma name_char_eq_translate_projOn {s} (V : Space E n s) {f} u : V.name 𝔪.places (𝔪.liftFn (𝔪.primAddChar <| · ⬝ᵥ 𝔪.reduction ∘ u)) f = V.ϱ (finVec (star (idem 𝔪.places • 𝔪.generator⁻¹.1 • (↑) ∘ u))) (V.projOn 𝔪.places f) := by rw [star_smul, (by aesop : star _ = idem 𝔪.places.conjClosure * star (idem 𝔪.places)), mul_smul, ← name_schrodingerAct_boxIndicator, IsSchwartzBruhat.schrodingerAct_star] <;> congr! <;> simp [disjoint_places_star, dotProduct, ← map_mul, ← map_sum, mul_sum]; ac_nf