module import TauCeti.Topology.Algebra.Group.Units import TauCeti.Topology.Instances.Matrix public import New.UpperBound.Seesaw.EdgePairEvaluation public import Lib.Weil.Periods.BesselIntegral public import Lib.Weil.Periods.Equivariant import Lib.General.Measure.IntegralOperators import Lib.Adelic.Hecke.ClassSums /-! # The PoincarΓ© map The PoincarΓ© map `𝒫 = D.poincareAt g t : π’œ(Xβ‚€) β†’ π’œ(Yβ‚€)` sends a source form `Ο†` to the form that represents the Bessel period of `Ο†` in the Petersson inner product. Notions from other files: * `V.Form e`: the automorphic forms of archimedean type `e` on the adelic unitary group `G E s = GInf E s Γ— Gf E n` of `V`; `V.quotMeasure` integrates over the quotient by the rational points, and `HasLevel z J` says that `z` is right invariant under `J βŠ† Gf E n`. * `D.SourceForm` is the space `π’œ(Xβ‚€)` of algebraic forms on the definite unitary group of `Xβ‚€`, with values in a Weyl module and of level `D.levelX 0`. `D.principalForms (D.spaceY 0)` is the space `π’œ(Yβ‚€)` of forms on the group `Gβ‚€` of `Yβ‚€` whose archimedean type is the discrete series of doubled parameter `D.paramW` and whose level is `J_M = D.chosenLevel`, the group of integral finite adelic points that reduce to `1` at every prime divisor of `D.piM`. * `Y.besselGroup` is the adelic Bessel subgroup `R(𝔸)` of a grading `Y`, and `Y.besselMeasure` integrates over `[R] = R(F) \ R(𝔸)`. For `Y = D.gradingY 0` the group is written `Rβ‚€`. * `Y.sourceFn t Ο†` is the function `𝒲_Ο† (u h) = ψ_U (u) Β· t (ρ (h_∞⁻¹) Ο† (h_f))` on `R(𝔸)`. Here `u` is unipotent, `h` lies in the unitary group of `X`, `ψ_U` is the generic character, `ρ = conjWeylRep` is the action on the values of `Ο†`, and `t` is a linear form on these values. ## Relation to the literature See `New.UpperBound.Seesaw.SeesawIdentity` for related work. -/ @[expose] public section open MeasureTheory ComplexConjugate noncomputable section namespace New section Riesz variable {M F : Type*} [AddCommGroup M] [Module β„‚ M] [NormedAddCommGroup F] [InnerProductSpace β„‚ F] [FiniteDimensional β„‚ F] /-- The linear map that sends `x` to the vector representing the conjugate linear form `B x`, given by the adjoint of the linear form `conj ∘ B x` evaluated at `1`. -/ def rieszMap (B : M β†’β‚—[β„‚] F →ₗ⋆[β„‚] β„‚) : M β†’β‚—[β„‚] F := LinearMap.applyβ‚— (1 : β„‚) βˆ˜β‚— LinearMap.adjoint.toLinearMap βˆ˜β‚›β‚— B.comprβ‚‚β‚›β‚— (starLinearEquiv β„‚).toLinearMap /-- The inner product of `y` with `rieszMap B x` is `B x y`. -/ lemma inner_rieszMap (B : M β†’β‚—[β„‚] F →ₗ⋆[β„‚] β„‚) (x : M) (y : F) : inner β„‚ y (rieszMap B x) = B x y := by simpa [rieszMap] using LinearMap.adjoint_inner_right ((B.comprβ‚‚β‚›β‚— (starLinearEquiv β„‚).toLinearMap) x) y 1 end Riesz namespace Space variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n β†’ β„€Λ£} {V : Space E n s} {e : GInf E s β†’ β„‚} /-- Pointwise evaluation of the sum of two automorphic forms. -/ lemma Form.add_apply (y z : V.Form e) (x : G E s) : (y + z) x = y x + z x := rfl /-- Pointwise evaluation of the scalar multiplication of an automorphic form by a complex scalar. -/ lemma Form.smul_apply (c : β„‚) (y : V.Form e) (x : G E s) : (c β€’ y) x = c * y x := rfl /-- The sum of the right translates of a form `z` under the chosen representatives of `K / (J ∩ K)`, for subgroups `J` and `K` of the finite adelic group. -/ def Form.levelTrace (J K : Subgroup (Gf E n)) [Fintype (K β§Έ J.subgroupOf K)] (z : V.Form e) : V.Form e := βˆ‘ q : K β§Έ J.subgroupOf K, V.formRep e q.out z /-- The value of `z.levelTrace J K` at `x` is the sum, over the cosets `q` in `K β§Έ J.subgroupOf K`, of `z (x * (1, q.out))`. This is the value of `z` at `x` translated on the right by the chosen representative of `q`. -/ lemma Form.levelTrace_apply (J K : Subgroup (Gf E n)) [Fintype (K β§Έ J.subgroupOf K)] (z : V.Form e) (x : G E s) : z.levelTrace J K x = βˆ‘ q : K β§Έ J.subgroupOf K, z (x * (1, (q.out : Gf E n))) := by exact (congrFun (Submodule.coe_sum ..) x).trans (Finset.sum_apply ..) /-- If a form `z` is right invariant under `J`, then the sum of its translates under representatives of `K / (J ∩ K)` is right invariant under `K`. -/ lemma Form.hasLevel_levelTrace {J : Subgroup (Gf E n)} (K : Subgroup (Gf E n)) [Fintype (K β§Έ J.subgroupOf K)] {z : V.Form e} (hz : HasLevel z J) : HasLevel (z.levelTrace J K) K := by intro k hk x rw [levelTrace_apply, levelTrace_apply] -- Left multiplication by `k` permutes the cosets of `J ∩ K` in `K` (`sum_mul_out`). let i : K β†’* G E s := (MonoidHom.inr (GInf E s) (Gf E n)).comp K.subtype have h_inv (a j : K) (hj : j ∈ J.subgroupOf K) : z (x * i (a * j)) = z (x * i a) := by rw [map_mul, ← mul_assoc] exact hz j hj (x * i a) have h_sum := sum_mul_out (J.subgroupOf K) (fun a : K ↦ z (x * i a)) h_inv (⟨k, hk⟩ : K) simp only [map_mul, ← mul_assoc] at h_sum simpa only [i, MonoidHom.comp_apply, MonoidHom.inr_apply, Subgroup.subtype_apply] using h_sum /-- Let `y` be a form of level `K` and `z` any form. The integral against `y` of the sum of the translates of `z` under representatives of `K / (J ∩ K)` is `[K : J ∩ K]` times the integral of `z Β· y`, both over the quotient of `G` by its rational points. -/ lemma Form.integral_levelTrace_mul {J : Subgroup (Gf E n)} (K : Subgroup (Gf E n)) [Fintype (K β§Έ J.subgroupOf K)] {e' : GInf E s β†’ β„‚} (z : V.Form e) {y : V.Form e'} (hy : HasLevel y K) : ∫ x : G E s, z.levelTrace J K x * y x βˆ‚V.quotMeasure = J.relIndex K * ∫ x : G E s, z x * y x βˆ‚V.quotMeasure := by have h_aut : V.IsAutomorphic fun x ↦ z x * y x := z.property.toIsAutomorphic.mapβ‚‚ y.property.toIsAutomorphic (fun a b ↦ a * b) (by fun_prop) -- The integral is invariant under right translation, which fixes `y`. have h_term (k : K) : ∫ x, z (x * (1, (k : Gf E n))) * y x βˆ‚V.quotMeasure = ∫ x, z x * y x βˆ‚V.quotMeasure := by rw [← (integral_comp_mul_right (1, (k : Gf E n)) h_aut.rat_mul h_aut.continuous).1] simp only [hy k k.property] have h_int (k : K) : Integrable (fun x ↦ z (x * (1, (k : Gf E n))) * y x) V.quotMeasure := (z.property.comp_mul_right k).memLp.integrable_mul y.property.memLp simp only [levelTrace_apply, Finset.sum_mul] rw [integral_finsetSum _ fun q _ ↦ h_int q.out] simp [h_term, Subgroup.relIndex, Subgroup.index] end Space namespace Grading variable {E ΞΉ X : Type} [Field E] [CMType E] [WeilData E] [Fintype ΞΉ] [DecidableEq ΞΉ] [Fintype X] [DecidableEq X] {s : β„•} {Ξ΅ : ΞΉ β†’ β„€Λ£} {N : E} {V : Space E ΞΉ Ξ΅} {Y : Grading V N X s} /-- Let `W` be an equivariant function on `R(𝔸)`: it is continuous and left invariant under `R(F)`, and `W (u r) = ψ_U (u) W (r)` for `u` in the subgroup `U^{β‰₯2}(𝔸)` of elements for which `u - 1` raises the grading by at least `2`. Let `y` be an automorphic function on the unitary group `G E Ξ΅` of `V`, and let `x` be a point of `G E Ξ΅`. Then `r ↦ W r * y (r * x)` is integrable over `[R] = R(F) \ R(𝔸)`, because it is continuous on a compact quotient. -/ lemma IsEquivariant.integrable_mul {W : Y.besselGroup β†’ β„‚} (hW : Y.IsEquivariant W) {y : G E Ξ΅ β†’ β„‚} (hy : V.IsAutomorphic y) (x : G E Ξ΅) : Integrable (fun r : Y.besselGroup ↦ W r * y (r.val * x)) Y.besselMeasure := by refine integrable_of_isCocompact Y.isCocompact_ratBessel (hW.continuous.mul (hy.continuous.comp (by fun_prop))) fun Ξ³ hΞ³ r ↦ ?_ have h_rat : Ξ³.val ∈ V.Ξ“ := (Subgroup.mem_subgroupOf.1 hΞ³).1 rw [hW.rat_mul Ξ³ h_rat, Subgroup.coe_mul, mul_assoc, hy.rat_mul Ξ³ h_rat] end Grading namespace Data variable {P : Parameters} (D : Data P) (g : GInf D.E (D.signsY 0)) (t : (WeylIndex (D.X 0) D.columnCount β†’ β„‚) β†’β‚—[β„‚] β„‚) /-- For a source form `Ο†` on `Xβ‚€`, the function `𝒲_Ο† = sourceFn t Ο†` on the Bessel group `Rβ‚€(𝔸)` of `D.gradingY 0` is continuous, left invariant under the rational points, and transforms by the generic character under the unipotent part. -/ lemma isEquivariant_sourceFn (Ο† : D.SourceForm) : (D.gradingY 0).IsEquivariant ((D.gradingY 0).sourceFn t Ο†.val) := (D.gradingY 0).isEquivariant_sourceFn (odd_two_mul_add_one D.Ο±) t Ο†.val /-- The Bessel period `∫_{[Rβ‚€]} 𝒲_Ο† (r) conj (y (r g)) dr`, linear in the source form `Ο†` and conjugate linear in the form `y` on `Yβ‚€`. Here `g` is an archimedean point of `Gβ‚€`, and `𝒲_Ο†` is formed with the linear form `t`. -/ def besselPeriod : D.SourceForm β†’β‚—[β„‚] D.principalForms (D.spaceY 0) →ₗ⋆[β„‚] β„‚ := have h_int (Ο† : D.SourceForm) (y : D.principalForms (D.spaceY 0)) : Integrable (fun r : (D.gradingY 0).besselGroup ↦ (D.gradingY 0).sourceFn t Ο†.val r * conj (y.val (r.val * (g, 1)))) (D.gradingY 0).besselMeasure := (D.isEquivariant_sourceFn t Ο†).integrable_mul y.val.property.toIsAutomorphic.conj (g, 1) LinearMap.mkβ‚‚'β‚›β‚— (RingHom.id β„‚) (starRingEnd β„‚) (fun (Ο† : D.SourceForm) (y : D.principalForms (D.spaceY 0)) ↦ ∫ r : (D.gradingY 0).besselGroup, (D.gradingY 0).sourceFn t Ο†.1 r * conj (y.1 (r.1 * (g, 1))) βˆ‚(D.gradingY 0).besselMeasure) (fun Ο† ψ y ↦ by simp [Grading.sourceFn_add, add_mul, integral_add (h_int Ο† y) (h_int ψ y)]) (fun c Ο† y ↦ by simp [Grading.sourceFn_smul, mul_assoc, integral_const_mul]) (fun Ο† y y' ↦ by simp [Space.Form.add_apply, mul_add, integral_add (h_int Ο† y) (h_int Ο† y')]) (fun c Ο† y ↦ by simp [Space.Form.smul_apply, mul_left_comm _ (conj c), integral_const_mul]) /-- Let `g` be an archimedean point of the unitary group `Gβ‚€` of `Yβ‚€`, let `Ο†` be a source form and `t` a linear form on the Weyl module of its values. Let `y` be a form on `Gβ‚€` of discrete series type `D.paramW` and principal level `D.chosenLevel`. Then `D.besselPeriod g t Ο† y = ∫_{[Rβ‚€]} 𝒲_Ο† (r) conj (y (r g)) dr`. -/ lemma besselPeriod_apply (Ο† : D.SourceForm) (y : D.principalForms (D.spaceY 0)) : D.besselPeriod g t Ο† y = ∫ r : (D.gradingY 0).besselGroup, (D.gradingY 0).sourceFn t Ο†.val r * conj (y.val (r.val * (g, 1))) βˆ‚(D.gradingY 0).besselMeasure := rfl /-- The PoincarΓ© map `𝒫 : π’œ(Xβ‚€) β†’ π’œ(Yβ‚€)` for an archimedean point `g` of `Gβ‚€` and a linear form `t`: the form `𝒫 Ο†` represents the Bessel period of `Ο†`. The measure on `[Rβ‚€]` is `besselMeasure`; another Haar measure on `Rβ‚€(𝔸)` would multiply `𝒫` by a positive constant, which can be absorbed in `t`. -/ def poincareAt (g : GInf D.E (D.signsY 0)) (t : (WeylIndex (D.X 0) D.columnCount β†’ β„‚) β†’β‚—[β„‚] β„‚) : D.SourceForm β†’β‚—[β„‚] D.principalForms (D.spaceY 0) := rieszMap (D.besselPeriod g t) /-- The defining property of the PoincarΓ© map `𝒫 = D.poincareAt g t`. Let `g` be an archimedean point of the unitary group `Gβ‚€` of `Yβ‚€`, let `Ο†` be a source form and `t` a linear form on the Weyl module `ρ = conjWeylRep` of its values. Let `y` be a form on `Gβ‚€` of level `D.chosenLevel` whose archimedean type is the discrete series of doubled parameter `D.paramW`. Then the Petersson product `⟨y, 𝒫 Ο†βŸ©` is the Bessel period `∫_{[Rβ‚€]} 𝒲_Ο† (r) conj (y (r g)) dr`. -/ theorem inner_poincareAt (Ο† : D.SourceForm) (y : D.principalForms (D.spaceY 0)) : inner β„‚ y (D.poincareAt g t Ο†) = ∫ r : (D.gradingY 0).besselGroup, (D.gradingY 0).sourceFn t Ο†.val r * conj (y.val (r.val * (g, 1))) βˆ‚(D.gradingY 0).besselMeasure := by rw [poincareAt, inner_rieszMap, besselPeriod_apply] /-- Let `z` be a form on `Gβ‚€`, right invariant under `J`, whose archimedean type is conjugate to that of the values of `𝒫 = D.poincareAt g t`. Then `[J_M : J ∩ J_M] ∫_{[Gβ‚€]} z Β· 𝒫 Ο†` is the sum over representatives `Ξ³` of `J_M / (J ∩ J_M)` of `∫_{[Rβ‚€]} 𝒲_Ο† (r) z (r g Ξ³) dr`. -/ theorem integral_mul_poincareAt (g : GInf D.E (D.signsY 0)) (t : (WeylIndex (D.X 0) D.columnCount β†’ β„‚) β†’β‚—[β„‚] β„‚) (Ο† : D.SourceForm) {J : Subgroup (Gf D.E (D.Y 0))} [Fintype (D.chosenLevel β§Έ J.subgroupOf D.chosenLevel)] (z : (D.spaceY 0).Form (star (typeKernel (D.paramY 0) (D.signsY 0)))) (hz_level : HasLevel z J) : J.relIndex D.chosenLevel * ∫ x : New.G D.E (D.signsY 0), z x * (D.poincareAt g t Ο†).val x βˆ‚(D.spaceY 0).quotMeasure = βˆ‘ q : D.chosenLevel β§Έ J.subgroupOf D.chosenLevel, ∫ r : (D.gradingY 0).besselGroup, (D.gradingY 0).sourceFn t Ο†.val r * z (r.val * (g, q.out.val)) βˆ‚(D.gradingY 0).besselMeasure := by -- The conjugate `y` of the sum of the translates of `z` lies in `π’œ(Yβ‚€)`. have h_trace : HasLevel (z.levelTrace J D.chosenLevel) D.chosenLevel := Space.Form.hasLevel_levelTrace D.chosenLevel hz_level let y : D.principalForms (D.spaceY 0) := ⟨conjForm (star_star _).symm (z.levelTrace J D.chosenLevel), Space.mem_levelSpace_formRep_iff.2 fun k hk x ↦ congrArg star (h_trace k hk x)⟩ have hy (x : New.G D.E (D.signsY 0)) : conj (y.val x) = z.levelTrace J D.chosenLevel x := Complex.conj_conj _ have h_level : HasLevel (D.poincareAt g t Ο†).val D.chosenLevel := Space.mem_levelSpace_formRep_iff.1 (D.poincareAt g t Ο†).property calc J.relIndex D.chosenLevel * ∫ x, z x * (D.poincareAt g t Ο†).val x βˆ‚(D.spaceY 0).quotMeasure _ = ∫ x, z.levelTrace J D.chosenLevel x * (D.poincareAt g t Ο†).1 x βˆ‚(D.spaceY 0).quotMeasure := (z.integral_levelTrace_mul D.chosenLevel h_level).symm _ = ∫ x, conj (y.val x) * (D.poincareAt g t Ο†).val x βˆ‚(D.spaceY 0).quotMeasure := by simp only [hy] -- The inner product on `π’œ(Yβ‚€)` is `⟨y, y'⟩ = ∫ conj y Β· y'` by definition. _ = inner β„‚ y (D.poincareAt g t Ο†) := rfl _ = ∫ r, βˆ‘ q : D.chosenLevel β§Έ J.subgroupOf D.chosenLevel, (D.gradingY 0).sourceFn t Ο†.val r * z (r.val * (g, q.out.val)) βˆ‚(D.gradingY 0).besselMeasure := by simp only [inner_poincareAt, hy, Space.Form.levelTrace_apply, Finset.mul_sum, mul_assoc, Prod.mk_mul_mk, mul_one, one_mul] _ = βˆ‘ q : D.chosenLevel β§Έ J.subgroupOf D.chosenLevel, ∫ r, (D.gradingY 0).sourceFn t Ο†.val r * z (r.val * (g, q.out.val)) βˆ‚(D.gradingY 0).besselMeasure := integral_finsetSum _ fun q _ ↦ (D.isEquivariant_sourceFn t Ο†).integrable_mul z.property.toIsAutomorphic (g, q.out.val) end Data end New end