Lean source
Lib.Weil.DualPair.TwoLineTerms
Its 21 declarations
Modulus.def, lines 24–25reductionK₀ Modulus.lemma, lines 28–29factor_reductionK₀ modKernelIabbrev, line 40vacuumDatumdef, lines 44–45renameRowsColsabbrev, lines 49–50modKernelBilindef, lines 54–55modKernelBilin_applylemma, lines 57–58modKernel_twistlemma, lines 62–63pairWeil_modDatum_Kflemma, lines 67–72modKernel_mul_Kf_leftlemma, lines 74–76modKernel_mul_Kf_rightlemma, lines 78–80modKernel_sum_rightlemma, lines 85–89modKernel_sum_leftlemma, lines 94–97Modulus.def, line 100normNegOne exists_modKernel_neg_leftlemma, lines 105–115modDatum_factorlemma, lines 121–127modKernel_reindexlemma, lines 131–141modKernelI_blocklemma, lines 146–150lineTermdef, lines 165–167lineTerm_pairWeil_levilemma, lines 174–184tsum_lineTermlemma, lines 194–227
import Lib.ClassField.HeckeCharacter.LocalCharactersimport Lib.Weil.DualPair.PairSumNegation/-! Part of: Theta kernels of unitary dual pairs: functoriality, seesaw, growth, rapid decay (knownresult; see Lib.Weil.DualPair.KernelDecay).Part of: Tower property: constant term of a theta lift along an isotropic line (known result; seeLib.SiegelWeil.Tower.LargeSideConstantTerm).This file: Rules for theta kernels with data mod m: twists, level action, sums, conjugation. Twomixed models along isotropic lines: Levi action and Poisson equality of sums. -/noncomputable sectionopen NumberField Matrix MvPolynomial ComplexConjugate WeilData Space Weil Std Modulus Fintype Function Pi Ideal.Quotientvariable {E : Type} [Field E] [CMType E] {n} {n' n₁ n₂ : Type} [Fintype n] [Fintype n'] [Fintype n₁] [Fintype n₂] [WeilData E] {s : n → ℤˣ} {s' : n' → ℤˣ} {s₁ : n₁ → ℤˣ} {s₂ : n₂ → ℤˣ} (S : Space E n s) (T : Space E n' s') (a b : AutChar E) (𝔪 : Modulus E) (V : Space E n₁ s₁)/-- Reduction modulo 𝔪, as a homomorphism from the stabiliser of Ô^n in the finite adelicunitary group to GL_n(O_E/𝔪). -/def Modulus.reductionK₀ {E : Type} [Field E] [NumberField E] [IsCMField E] {n : _} [Fintype n] (𝔪 : Modulus E) := Kf.map n 𝔪.reductionomit [WeilData E] in@[simp] lemma Modulus.factor_reductionK₀ {𝔪 𝔫 h} {k : Kf E n} : (reductionK₀ 𝔫 k).1.map (factor h) = (reductionK₀ 𝔪 k).1 := by ext; simp [reductionK₀]attribute [local simp↓] liftFn_apply disjoint_places_star pairTheta modKernel modDatum smul_comp pairSign Equiv.prodSumDistribattribute [-simp] θ_applyseal Space.boxProd realBoxProd/-- The theta kernel θ^{S,T}_{a,b}[Ψ, P](g, (1, h)) for T = I_{n′} the sum of n′ norms and h afinite adelic point of its unitary group. -/abbrev modKernelI Ψ P g h := modKernel S (stdSpace E n') a b 𝔪 Ψ P g (1, h)/-- The datum Ψ ⊗ vac on Hom(S,T), as an element of 𝒲_f: Ψ, a function on matrices modulo 𝔪,named at the places dividing 𝔪 and applied to the vacuum. -/def vacuumDatum Ψ := (⟨(S.hom T).name 𝔪.places (𝔪.liftFn (Ψ ∘ vecToMat)) (vacElem _), name_mem_finitePart ..⟩ : finitePart _)/-- For maps e, f of row and column indices, the ℂ-algebra map of polynomial rings sending thevariable X_(i,r,c) to X_(i,e(r),f(c)). -/abbrev renameRowsCols {ι a b c d} (e : a → c) (f : b → d) := rename (R := ℂ) (Prod.map (@id ι) (Prod.map e f))/-- The value θ^{S,T}_{a,b}[Ψ, P](g, h) of the theta kernel as a complex bilinear form in thefunction Ψ modulo 𝔪 and the polynomial P. -/def modKernelBilin g h := by apply LinearMap.mk₂ ℂ (modKernel S T a b 𝔪 · · g h) <;> simp [Pi.add_comp]@[simp] lemma modKernelBilin_apply g h Ψ P : modKernelBilin S T a b 𝔪 g h Ψ P = modKernel S T a b 𝔪 Ψ P g h := rfl/-- Twisting the characters: for characters μ, μ′ of [U(1)], θ_{aμ,bμ′}[Ψ,P](g,h) = μ(det h)μ′(det g)⁻¹ θ_{a,b}[Ψ,P](g,h), for all Ψ modulo 𝔪, polynomials P, and g, h. -/lemma modKernel_twist μ μ' Ψ P g h : modKernel S T (a * μ) (b * μ') 𝔪 Ψ P g h = μ.1 h.det / μ'.1 g.det * modKernel S T a b 𝔪 Ψ P g h := by simp [pairWeil, field]/-- For integral finite k in U(S) and k′ in U(T), ω_{a,b}(k, k′) sends the datum (Ψ mod 𝔪, v) toa(det k′) b(det k)⁻¹ times the datum (x ↦ Ψ(k′⁻¹xk), v), with k, k′ reduced modulo 𝔪. -/lemma pairWeil_modDatum_Kf k k' Ψ v : pairWeil S T a b ((1, k.1), 1, k'.1) (modDatum S T 𝔪 Ψ v) = (a.1 (detFin s' k'.1) * (b.1 (detFin s k.1))⁻¹).1 • modDatum S T 𝔪 (Ψ <| (𝔪.reductionK₀ k')⁻¹.1 * · * (𝔪.reductionK₀ k).1) v := by erw [pairWeil_integrated_fin, pairWeil_name_of_mem, pairWeil_eq_smul_of_projOn_eq ⊤] <;> simp congr with x; simpa using! liftIntegralFn_mul (M := idem 𝔪.places • _) _ _ (Kf.map _ (.id _) k) (Kf.map _ (.id _) k'⁻¹)lemma modKernel_mul_Kf_left k Ψ P g h : modKernel S T a b 𝔪 Ψ P (g * (1, k.1)) h = modKernel S T a b 𝔪 ((b.1 (detFin s k.1) : ℂ)⁻¹ • (Ψ <| · * (𝔪.reductionK₀ k).1)) P g h := by simpa using (pairWeil_modDatum_Kf S T a b _ k 1 .. ▸ pairTheta_mul (p := (g, h)) .. :)lemma modKernel_mul_Kf_right k Ψ P g x h : modKernel S T a b 𝔪 Ψ P g (x, h * k.1) = modKernel S T a b 𝔪 ((a.1 (detFin s' k.1) : ℂ) • (Ψ <| (𝔪.reductionK₀ k)⁻¹.1 * ·)) P g (x, h) := by simpa using (pairWeil_modDatum_Kf S T a b _ 1 .. ▸ pairTheta_mul (p := (g, x, h)) .. :)/-- Seesaw identity in the second space: the kernel of (S, T ⊕ V) for characters a, bb′, theproduct ΨΨ′ on the two row blocks and PP′, at (g, h ⊕ h′), is θ^{S,T}_{a,b}[Ψ,P](g,h) ·θ^{S,V}_{a,b′}[Ψ′,P′](g,h′). -/lemma modKernel_sum_right b' Ψ Ψ' P P' g h h' : modKernel S (T.sum V) a (b * b') 𝔪 (fun x ↦ Ψ x.toRows₁ * Ψ' x.toRows₂) (renameRowsCols .inl id P * renameRowsCols .inr id P') g (.sum (h, h')) = modKernel S T a b 𝔪 Ψ P g h * modKernel S V a b' 𝔪 Ψ' P' g h' := by erw [← theta_boxProd_target signs_comp_refl, ← pairWeil_boxProd_target, boxProd_integrated, realBoxProd_polyVector, boxProd_name] <;> aesop/-- Seesaw identity in the first space: the kernel of (S ⊕ V, T) for characters aa′, b, theproduct ΨΨ′ on the two column blocks and PP′, at (g ⊕ g′, h), is θ^{S,T}_{a,b}[Ψ,P](g,h) ·θ^{V,T}_{a′,b}[Ψ′,P′](g′,h). -/lemma modKernel_sum_left a' Ψ Ψ' P P' g g' h : modKernel (S.sum V) T (a * a') b 𝔪 (fun x ↦ Ψ x.toCols₁ * Ψ' x.toCols₂) (renameRowsCols id .inl P * renameRowsCols id .inr P') (.sum (g, g')) h = modKernel S T a b 𝔪 Ψ P g h * modKernel V T a' b 𝔪 Ψ' P' g' h := by erw [← theta_boxProd_source, ← pairWeil_boxProd_source, boxProd_integrated, realBoxProd_polyVector, boxProd_name] <;> aesop/-- The unit of O_E/𝔪 that is the reduction of the chosen element of norm −1 of Ô. -/def Modulus.normNegOne := Weil.normNegOne.map 𝔪.reduction.1/-- Negating S conjugates kernels: for some c of modulus one depending only on S and T,θ^{S⁻,T}_{a⁻¹υⁿ,b⁻¹υ^{n′}}[Ψ′, P̄](g,h) is c times the conjugate of θ^{S,T}_{a,b}[Ψ,P](g,h),where Ψ′(x) is the conjugate of Ψ(η⁻¹x), η = `Modulus.normNegOne`. -/lemma exists_modKernel_neg_left : ∃ c, ‖c‖ = 1 ∧ ∀ a b 𝔪 Ψ P g h, conj (modKernel S T a b 𝔪 Ψ P g h) = c * modKernel S.neg T (a⁻¹ * upsilonU1 ^ card n) (b⁻¹ * upsilonU1 ^ card n') 𝔪 (conj <| Ψ <| 𝔪.normNegOne⁻¹ • ·) (map conj P) (.neg g) h := by peel exists_theta_negSource S T simp_intro .. rw [← this, map_smul, ← pairWeil_negSource, map_integrated, map_name]; congr!; ext all_goals simp [Std.realMap, isVacuum_realVac (ε := 1).4, map_eval, comp_def, negSource, ContinuousAddEquiv.mk', smul_comm (idem _), mul_smul_comm, apply_dite conj, apply_ite, holCoord_eq, neg_eq_iff_eq_neg, ← Int.units_ne_iff_eq_neg, ↓← mem_integralBox, integralBox, stdLattice, Submodule.smul_mem_iff'] rcongr; exact .symm (map_mul ..).symmvariable {S T a b 𝔪}/-- If the ideal 𝔪′ is contained in 𝔪, the datum modulo 𝔪′ given by the pullback of Ψ underreduction to O_E/𝔪 and by v equals the datum modulo 𝔪 given by Ψ and v. -/lemma modDatum_factor {𝔪'} h Ψ v : modDatum S T 𝔪' (Ψ <| ·.map (factor h)) v = modDatum S T 𝔪 Ψ v := by rw [eq_comm, modDatum, ← projOn_vacElem, ← name_boxIndicator, ← name_union, Set.union_sdiff_cancel] congr with; simp [mem_integralBox, idem_mul_mem_Ô]; split_ifs rcongr; simp [vecToMat]; apply reduction_congr; simp [idem_apply] repeat grind [not_le_star, places]/-- The theta kernel θ[Ψ, P](g, h) is unchanged when the coordinates of S and T are relabelledby sign-compatible bijections e, e′ and Ψ, P, g, h are relabelled accordingly. -/lemma modKernel_reindex e he e' he' Ψ P g h : modKernel (S.reindex (t := s₁) e he) (T.reindex (t := s₂) e' he') a b 𝔪 (Ψ <| ·.submatrix e' e) (renameRowsCols e' e P) (.reindex e he g) (.reindex _ he' h) = modKernel S T a b 𝔪 Ψ P g h := by subst_vars; simp [pairWeil, G.det, U.det, ← G.mat.eq_1] convert mul_one _ rw [← (_ : θ _ (ω _ 1 (integrated _ (polyVector _ 1) (name (stdSpace E Empty) _ (𝔪.liftFn 1) _))) = 1), ← theta_boxProd (e := .trans (.sumEmpty ..) (e'.prodCongr e)), ← omega_boxProd, boxProd_integrated, realBoxProd_polyVector, boxProd_name]; aesop all_goals simp [funext_iff, ← ext_iff, hom, Space.reindex, ← map_inv, liftFn_one, name_boxIndicator, vacElem_apply_eq_prod_lineTheta, θ_apply, reindex_equiv e, reindex_equiv e'] aesop/-- Seesaw identity for I_n = I_{n₁} ⊕ I_{n₂} along a bijection ε: with Ψ, P read on the n₁ rowsand Ψ′, P′ on the n₂ rows, θ^{T,I_n}_{a,bb′}[ΨΨ′, PP′](g, h₁ ⊕ h₂) =θ^{T,I_{n₁}}_{a,b}[Ψ,P](g,h₁) · θ^{T,I_{n₂}}_{a,b′}[Ψ′,P′](g,h₂) for finite adelic h₁, h₂. -/lemma modKernelI_block (ε : n₁ ⊕ n₂ ≃ n) b' Ψ Ψ' P P' g h h' : modKernelI T a (b * b') 𝔪 (fun x ↦ Ψ (x.submatrix (ε ∘ .inl) id) * Ψ' (x.submatrix (ε ∘ .inr) id)) (renameRowsCols (ε ∘ .inl) id P * renameRowsCols (ε ∘ .inr) id P') g (U.block ε (h, h')) = modKernelI T a b 𝔪 Ψ P g h * modKernelI T a b' 𝔪 Ψ' P' g h' := by erw [← theta_boxProd_target (e := ε), ← pairWeil_boxProd_target, boxProd_integrated, realBoxProd_polyVector, boxProd_name] <;> aesop (add simp (reindex_equiv ε))open Kronecker Splitting MatMulattribute [-simp] map_inv₀ inv_mul_cancel₀ Unitary.mul_star_self_of_mem Algebra.smul_mul_assoc map_zerovariable {E : _} [Field E] [CMType E] [WeilData E] {n n' r r' : Type} [Fintype n] [Fintype n'] [Fintype r] [Fintype r'] {s : n → ℤˣ} {s' : n' → ℤˣ} {t : r → ℤˣ} {t' : r' → ℤˣ} {W : Space E n s} {W' : Space E n' s'} {V : Space E r t} {V' : Space E r' t'} (A : W'.Splitting W Unit) (X : V'.Splitting V Unit)/-- For lines split off W' and V', the operator from data of Hom(W',V') to data of Hom(W,V):translate by a rank-one map scaled by a, then take both zero terms; β selects one of twomodels. -/def lineTerm (β : Bool) (a : 𝔸 E) := ite β ((X.homTarget _).zeroTerm ∘L A.sourceTerm _ (a • X.kAdelic)) ((A.homSource _).zeroTerm ∘L (X.homTarget _).zeroTerm ∘L ϱ _ (matToVec (a • X.lAdelic * A.lCoord)))attribute [local simp] pow_add lineTerm sourceTerm removePlanes/-- If u = 1 or rk V = rk W, the Levi elements (u, g), (c, h) pass through `lineTerm`:with x = cu, ξ becomes ξx for β true and ξx̄⁻¹ otherwise, up to `AutChar.spaceChar` a (rk W) atx⁻¹ and powers of |u|, |x|. -/lemma lineTerm_pairWeil_levi {u} (hu : u = 1 ∨ card r = card n) a β ξ g c h f : let x := c * u lineTerm A X β ξ (pairWeil _ _ (a * upsilonU1) (a * upsilonU1) (A.levi (.scalar _ u, g), lineLevi X (c, h)) f) = (√(ideleAbs u) ^ (2 * card r + 2) / ((a.spaceChar (card n)).1 x * √(ideleAbs x) ^ (card n + ite β 0 2)) : ℂ) • pairWeil W V a a (g, h) (lineTerm A X β (ξ * ite β ↑x (star ↑x⁻¹)) f) := by rcases @homTarget_zeroTerm_pairWeil (hk := X.levi_mul_kAdelic (.scalar _ c⁻¹) h), @homSource_zeroTerm_pairWeil (hk := A.levi_mul_kAdelic (.scalar _ u) g) revert β; simp_all [lineLevi, A.card_eq, X.card_eq, Pi.star_def, smul_smul, varrho_pairWeil, pow_mul', conjTranspose_coord, G.mat_inv, ← smul_eq_diagonal_mul, mul_pow, AutChar.spaceChar, -matToVec_smul, Splitting.levi, -Subtype.forall] cases hu <;> simp [*] <;> constructor <;> field_simp <;> ringattribute [local simp] kAdelic lAdelic iAdelic kCoord lCoord iCoord Space.map_J Splitting.symm hom_point_inv_mul_kronecker Splitting.comp mixedTerm conjTranspose_nonsing_invattribute [local simp ←] map_inv/-- Poisson summation: the sums over ξ in E of θ of the terms `lineTerm` agree in bothmodels. Each model is the mixed Schrödinger model of one splitting of Hom(W',V') overHom(W,V) with explicit frames, adapted when A and X are. -/lemma tsum_lineTerm [hA : IsBaseAdapted A] [hX : IsBaseAdapted X] : ∀ β, (∀ f, ∑' ξ, θ _ (lineTerm A X true (toAdele ξ) f) = ∑' ξ, θ _ (lineTerm A X β (toAdele ξ) f)) ∧ ∃ᵉ (D) (u : GL ((Unit × (n ⊕ Unit) ⊕ r × Unit) ⊕ Unit × _) _), (∀ a, lineTerm A X β a = D.mixedTerm (u⁻¹.1ᴴ *ᵥ (0 ⊕ᵥ matToVec (scalar _ a)))) ∧ IsAdapted D 1 u ∧ D.frameAt 1 u = ((((X.lAdelic ⊗ₖ fromCols A.iCoordᵀ A.kCoordᵀ).fromCols (X.iAdelic ⊗ₖ A.kCoordᵀ)).fromCols (cond β (X.kAdelic ⊗ₖ A.kCoordᵀ) (X.lAdelic ⊗ₖ A.lCoordᵀ))).fromCols (((X.kAdelic ⊗ₖ fromCols (A.iAdelicᴴ * stdForm E s')ᵀ A.lCoordᵀ).fromCols ((X.iAdelic * stdForm E t) ⊗ₖ A.lCoordᵀ)).fromCols (cond β (X.lAdelic ⊗ₖ A.lCoordᵀ) (X.kAdelic ⊗ₖ A.kCoordᵀ)))).fromCols (X.iAdelic ⊗ₖ A.iCoordᵀ) := by refine' let k := A.kᴴ * W'.J; let l := A.lᴴ * W'.J; let m := W.J⁻¹ * A.iᴴ * W'.J let S := removePlanes ..; let T β := cond β S S.symm let D := Splitting.mk (fromCols (X.k ⊗ₖ (fromRows (W.J * m) k)ᵀ) ((X.i * V.J⁻¹) ⊗ₖ kᵀ)) (fromCols (X.l ⊗ₖ (fromRows m l)ᵀ) (X.i ⊗ₖ lᵀ)) (fromCols (fromCols (X.k ⊗ₖ lᵀ) (X.l ⊗ₖ kᵀ)) (X.i ⊗ₖ mᵀ)) .. have h β a : lineTerm A X β a = (T β).mixedTerm (matToVec (scalar _ a)) ∘L D.zeroTerm := ?a fun β ↦ ⟨fun f ↦ by simpa [↓h, diagonal_unique, ← (@Equiv.piUnique (_ × _) (.mk' _) _).symm.tsum_eq] using! (S.hasSum_theta_mixedTerm _).tsum_eq.trans ((T β).hasSum_theta_mixedTerm _).tsum_eq.symm, let f x := Prod.map (.inl ∘ x) (.inr ⊕ᵥ .inl ∘ x) ⊕ᵥ .map .inr (.inl ∘ x) ⊕ᵥ .map (.inl ∘ cond β (.swap ∘ x) x) (.inl ∘ cond β x (.swap ∘ x)) ⟨D.comp (T β), blockGL (blockGL (kroneckerGL 1 (transposeGL (blockGL (star W.x, 1))), adaptedHomBasis _ V), 1), fun _ ↦ ?b, .of_eq_submatrix_mul (.mul (.of_stdForm (s' ·.2)) (hX.1.kronecker hA.1)) (f .inl ⊕ᵥ f .inr ⊕ᵥ .map .inr .inr) (.of_stdForm (((s ⊕ᵥ 1) ·.2) ⊕ᵥ 1 ⊕ᵥ 1 ⊕ᵥ (1 ⊕ᵥ (t ·.1) ⊕ᵥ 1) ⊕ᵥ (s ·.2))) (.trans ?c ?e) ?f, ?c⟩⟩ case e | f => revert β; simp [-kAdelic, -lAdelic, Injective, ← ext_iff, stdForm] <;> ac_nf <;> grind case' c => cases β <;> simp +zetaDelta [adaptedHomBasis, Splitting.frameAt, kroneckerGL, map_J_inv, -coe_units_inv, star, Space.ratMap] case' a | b => ext1; cases β <;> simp +zetaDelta [← zeroTerm_rho_iAdelic, ← zeroTerm_comp, -coe_units_inv, kronecker_mulVec_eq_matToVec, ← smul_eq_mul_diagonal, -fromRows_map] <;> congr 1 <;> apply zeroTerm_congr repeat simp [hom, hypSum, homSource, homTarget, conjTranspose_J, ← W'.J⁻¹.mul_assoc, ← Matrix.mul_assoc _ (i _), -Matrix.mul_assoc] <;> simp [entrywise, A.card_eq, X.card_eq] <;> ring