Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | public import New.UpperBound.Objects.PoincareMap |
| 4 | public import New.UpperBound.Seesaw.Cut |
| 5 | import Lib.Adelic.AutomorphicForms.BlockPeriods |
| 6 | import Lib.Adelic.Unitary.WeakApproximation |
| 7 | import Lib.DiscreteSeries.Bruhat.ComplexPlace |
| 8 | import New.UpperBound.Divisibility.ChainValuation |
| 9 | import New.UpperBound.Seesaw.GoodDatum |
| 10 | |
| 11 | /-! |
| 12 | # The seesaw identity and the top of the chain |
| 13 | |
| 14 | On the definite space `Y_m`, the integral of a matrix coefficient of a form on `X_m` against a form |
| 15 | on `Y_m` is a multiple of the inner product with the restricted form. To prove the seesaw identity, |
| 16 | we pair `Θ_ξ 𝒫 φ` with a form on `Y_m` and move the Bessel period up the lower chain, one lift at a |
| 17 | time. Each outer integral is a real integral times a weighted sum over the classes `Ω_j`. What |
| 18 | remains is the upper chain for the tensor `φ_ξ`, a multiple of which is the glued tensor of a chain |
| 19 | datum. |
| 20 | |
| 21 | The identity has two inputs: equality of the pairings with every form on `Y_m`, and an |
| 22 | admissible expansion of the resulting tensor into translated vacuum data. The first supplies |
| 23 | the equality of lifts; the second supplies support and coefficient bounds. The scalar in the |
| 24 | final identity is a unit independent of the twist and the source form, but the theorem does |
| 25 | not assert that either lift is nonzero. |
| 26 | |
| 27 | Notions from other files: |
| 28 | * `D.spaceY j`, `D.FormY j`: the space `Y_j` of the lower chain and the forms on its unitary group. |
| 29 | * `liftY ϑ j`, `lowerChainUpTo ϑ j`: the theta lift from `Y_j` to `Y_(j+1)` with twist `ϑ`, |
| 30 | normalised by the index of its level, and the composite of the first `j` lifts. |
| 31 | * `D.poincareAt g t`: the Poincaré map `𝒫` from forms on `X_0` to forms on `Y_0`. |
| 32 | * `Grading`, `unfoldStage`: a grading of a space, with its Bessel group `R`, and the function `𝒲` |
| 33 | that is left after some steps of unfolding. |
| 34 | * `cutPoints ϑ j`, `cutSum`: the classes `Ω_j` of the finite variables and the weighted sum over |
| 35 | them. |
| 36 | |
| 37 | In the notation of the comments the subscript `ξ` of `Θ_ξ`, `J_ξ` and `φ_ξ` stands for the twist |
| 38 | `ϑ`: `Θ_ξ = lowerChainUpTo ϑ`, `J_ξ(Y_j) = levelY ϑ j`. A `ξ` by itself is the tuple of real parts |
| 39 | of the outer variables. The lattice stabiliser `stdLevel` is written `J°`, and the index |
| 40 | `stdLevelIndex J` is `[J° : J]`. A tame character `ϑ` is an automorphic character of `U(1)` of |
| 41 | weight `0` with a finite set `ϑ.Q` of places (its modulus) outside which its tame part is trivial; |
| 42 | it is a twist if the tame part is nontrivial at every place of `ϑ.Q`. The chosen places, those |
| 43 | dividing `D.piM`, are fixed by the data `D` and do not depend on `ϑ`. |
| 44 | |
| 45 | ## Relation to the literature |
| 46 | |
| 47 | For ramified source forms φ and every twist, the restricted definite chain of lifts of φ, with data |
| 48 | of controlled support and denominators, is a non-zero constant, free of φ and the twist, times the |
| 49 | indefinite chain of lifts of the Poincaré series of φ. The transfer of a Bessel or Fourier–Jacobi |
| 50 | period under one theta lift is known, locally and globally. Related work: B. Wang, Global theta |
| 51 | lifting and periods associated to nilpotent orbits, 2025; Gomez–Zhu, Local theta lifting of |
| 52 | generalized Whittaker models, 2014; Gan–Ichino, The Gross–Prasad conjecture and local theta |
| 53 | correspondence, 2016. |
| 54 | |
| 55 | Each period in the seesaw unfolding is a constant times a finite sum over cosets of a small level, |
| 56 | weighted by reciprocals of stabiliser indices that divide powers of the norm of the twist's |
| 57 | conductor. So the coefficients of the definite chain get no new denominators away from the |
| 58 | conductor. Related work: Gross, Algebraic modular forms, 1999; Hsieh–Namikawa, Bessel periods and |
| 59 | non-vanishing of Yoshida lifts modulo a prime, 2015; X. Zhang, Non-vanishing mod p of theta lifts |
| 60 | for (O(2n+1), Mp(4n)), 2022. |
| 61 | -/ |
| 62 | |
| 63 | @[expose] public section |
| 64 | |
| 65 | noncomputable section |
| 66 | |
| 67 | /-! ## Restriction to the definite space `Y_m` at the top of the chain -/ |
| 68 | |
| 69 | section TopStage |
| 70 | |
| 71 | open New Seesaw Space Fintype Matrix Grading MeasureTheory |
| 72 | |
| 73 | namespace New.Data |
| 74 | variable {P : Parameters} {D : Data P} {M : ℕ} |
| 75 | |
| 76 | /-- The restriction from the forms `D.FormX M` on `X_m` to the forms `D.FormY M` of the lower chain |
| 77 | on `Y_m`: it is `D.restrictToY`, read in automorphic forms. The index `m` is written as any number |
| 78 | `M` equal to it. -/ |
| 79 | noncomputable def restrictToFormY (hM : D.m = M) : D.FormX M →ₗ[ℂ] D.FormY M := by |
| 80 | subst hM |
| 81 | exact (toAlgForm _ D.isHCParam_paramY).symm.toLinearMap ∘ₗ D.restrictToY |
| 82 | |
| 83 | /-- If the image `lowerChainUpTo ϑ M f` of a form `f` on `Y_0` under the composite of the lifts with |
| 84 | twist `ϑ` is the restriction `restrictToFormY hM ψ` to `Y_m` of a form `ψ` on `X_m`, where `M = m`, |
| 85 | then `lowerChain ϑ f = restrictToYOfEq hM ψ`. Here `lowerChain` and `restrictToYOfEq` are the same |
| 86 | two maps with values in algebraic forms in place of automorphic forms. -/ |
| 87 | lemma lowerChain_eq_of_lowerChainUpTo_eq (hM : D.m = M) {ϑ : D.TameChar} |
| 88 | {f : D.principalForms (D.spaceY 0)} |
| 89 | {ψ : D.FormX M} (h_lift : lowerChainUpTo ϑ M f = restrictToFormY hM ψ) : |
| 90 | lowerChain ϑ f = restrictToYOfEq hM ψ := by |
| 91 | subst hM |
| 92 | exact (toAlgForm _ D.isHCParam_paramY).eq_symm_apply.1 h_lift |
| 93 | |
| 94 | /-- Let `M = m`, the number of lifts. For every linear form `t` on the values of forms on `X_m` |
| 95 | there is a constant `C` as follows. Let `x` be a form on `Y_m`, `ψ` one on `X_m` and `F` a function |
| 96 | on `G_m = U(Y_m)`, whose signs at infinity are `D.signsY M`. The last grading `D.lastGrading hM` |
| 97 | identifies `Y_m` with the standard definite space on `D.InitIndex M`, the `n_m - 1` basis indices of |
| 98 | `X_m` other than the last, and `inclX` is the resulting map of unitary groups. Suppose that at the |
| 99 | image of `k` under `inclX` the value of `F` is the coefficient `t (ψ (diag (k, 1)))`. Then the |
| 100 | integral of `F` times the conjugate of `x` over `[G_m]` is `C` times `⟨x, res ψ⟩`, where `res` is |
| 101 | `restrictToFormY`. -/ |
| 102 | lemma exists_integral_eq_mul_inner_restrictToFormY (hM : D.m = M) |
| 103 | (t : (WeylIndex (D.X M) D.columnCount → ℂ) →ₗ[ℂ] ℂ) : |
| 104 | ∃ C : ℂ, ∀ (x : D.FormY M) {ψ : D.FormX M} {F : New.G D.E (D.signsY M) → ℂ} |
| 105 | (_hF : ∀ k : New.G D.E (1 : D.InitIndex M → ℤˣ), F ((D.lastGrading hM).inclX k) = |
| 106 | algFormCoeff 1 t ψ (.blockEmb (e := .refl (D.InitIndex M ⊕ Unit)) Sum.elim_one_one.symm |
| 107 | (k, 1))), |
| 108 | ∫ g : New.G D.E (D.signsY M), (F * star x.val) g ∂(D.lastGrading hM).ratBessel.quotMeasure = |
| 109 | C * inner ℂ x (restrictToFormY hM ψ) := by |
| 110 | subst hM |
| 111 | have hs : D.signsY D.m = 1 := D.isStd_spaceY_last.signs_eq_one |
| 112 | have hw : IsHCParam D.columnsY (D.lastEntry D.m) (D.paramY D.m) := D.isHCParam_paramY |
| 113 | -- The integral over `[G_m]` of an automorphic function made from the highest vector against the |
| 114 | -- matrix coefficient `h ↦ t (ψ (diag (h, 1)))` is `C` times a mean over the finite points. |
| 115 | obtain ⟨C, hC⟩ := integral_algFormCoeff_blockEmb (D.spaceY D.m) (by simp [hs]) |
| 116 | D.isBranchingMap_branching.spans t |
| 117 | (highestVector D.columnsY (D.paramY D.m)) |
| 118 | let c : ℂ := ∏ τ, New.Φ τ (star ↑D.piN) ^ D.branchExponent τ |
| 119 | refine ⟨C * card (WeylIndex (D.Y D.m) D.columnsY) * c, fun x ψ F hF ↦ ?_⟩ |
| 120 | -- `x̄` is the pairing of its algebraic form `xAlg` with the translates of the highest vector. |
| 121 | let xAlg : AlgForm (D.Y D.m) D.columnsY (D.lastEntry D.m) := toAlgForm _ hw x |
| 122 | have h_conj (a : GInf D.E (D.signsY D.m)) (g : Gf D.E (D.Y D.m)) : star (x.val (a, g)) = |
| 123 | gramForm (xAlg.val g) (conjWeylRep D.columnsY (D.lastEntry D.m) a |
| 124 | (highestVector D.columnsY (D.paramY D.m))) := by |
| 125 | rw [← star_ofAlgForm hs, ofAlgForm_toAlgForm] |
| 126 | -- `avg` is the common mean over the finite points of both sides. |
| 127 | let avg : ℂ := classIntegral stdRatPoints (stdLevel D.E (D.Y D.m)) fun h ↦ |
| 128 | gramForm (xAlg.val h) (D.branching.map (↑) *ᵥ ψ.val (D.borderU h)) |
| 129 | -- `Y_m` is standard and its last grading has no isotropic vectors split off: so `hF` describes |
| 130 | -- `F` at every point, after relabelling along `D.lastIndexEquiv`, and the Bessel subgroup is the |
| 131 | -- whole group. |
| 132 | have hF' (g : New.G D.E (D.signsY D.m)) : F g = algFormCoeff 1 t ψ (New.G.blockEmb (s₂ := 1) |
| 133 | (e := D.lastIndexEquiv.sumCongr (.refl Unit)) (by simp [hs]) (g, 1)) := by |
| 134 | convert hF (.reindex D.lastIndexEquiv (by rw [hs]; rfl) g) |
| 135 | · -- `inclX` of the relabelled point is `g`: they have the same matrix in rational coordinates. |
| 136 | apply (D.spaceY _).isEmbedding_ratCoordMatrix.injective |
| 137 | -- '↓' rewrites `ratCoordMatrix` of `inclX` before its arguments are unfolded. |
| 138 | simp [← ext_iff, lastGrading, ↓ratCoordMatrix_inclX, ratCoordMatrix_eq, IsStd.point_eq_one] |
| 139 | · exact New.G.ext_adeleMatrix (by simp [← ext_iff, New.G.blockEmb]) |
| 140 | have hΓ : (lastGrading rfl).ratBessel = (D.spaceY D.m).Γ := |
| 141 | inf_eq_left.2 fun g _ ↦ by simp [mem_besselGroup_iff, lastGrading] |
| 142 | have h_left : ∫ g, F g * star (x.val g) ∂(D.spaceY D.m).quotMeasure = C * avg := by |
| 143 | simp_rw [mul_comm (F _), hF'] |
| 144 | refine (hC ψ (star x.val) 1 (fun g ↦ gramForm (xAlg.val g)) (stdLevel D.E (D.Y D.m)) |
| 145 | x.property.conj.toIsAutomorphic h_conj).trans ?_ |
| 146 | -- The index of `stdLevel` in itself is `1`, and `D.borderU h` is the point `diag (h, 1)`. |
| 147 | have h_index : stdLevelIndex (stdLevel D.E (D.Y D.m)) = 1 := by simp |
| 148 | rw [h_index, Nat.cast_one, div_one] |
| 149 | rfl |
| 150 | -- The inner product is the mean divided by the dimension, and `D.restrictToY` is the branching |
| 151 | -- map divided by `c`. |
| 152 | have h_right : inner ℂ x (restrictToFormY rfl ψ) = |
| 153 | (card (WeylIndex (D.Y D.m) D.columnsY) : ℂ)⁻¹ * (c⁻¹ * avg) := by |
| 154 | refine (integral_mul_eq_classIntegral hw (stdLevel D.E (D.Y D.m)) x.2.conj.toIsAutomorphic _ |
| 155 | h_conj).trans ?_ |
| 156 | simp [restrictToY, c, avg] |
| 157 | rw [hΓ, h_right] |
| 158 | simp only [Pi.mul_apply, Pi.star_apply, h_left] |
| 159 | have hc : c ≠ 0 := by simp [c, Finset.prod_ne_zero_iff, zpow_ne_zero] |
| 160 | have h_card : (card (WeylIndex (D.Y D.m) D.columnsY) : ℂ) ≠ 0 := Nat.cast_ne_zero.2 card_ne_zero |
| 161 | field_simp |
| 162 | |
| 163 | end New.Data |
| 164 | |
| 165 | end TopStage |
| 166 | |
| 167 | section SeesawTheorem |
| 168 | |
| 169 | open MeasureTheory Function Finset MulAction |
| 170 | namespace New.Data |
| 171 | open Seesaw Space TensorChain |
| 172 | |
| 173 | section Unfolding |
| 174 | |
| 175 | variable {P : Parameters} {D : Data P} |
| 176 | |
| 177 | /-! ### Iterated unfolding -/ |
| 178 | |
| 179 | /-- Forms on `Y_j` of the conjugate type; they are paired with the forms of the lower chain. -/ |
| 180 | abbrev ConjFormY (D : Data P) (j : ℕ) : Type := |
| 181 | (D.spaceY j).Form (star (typeKernel (D.paramY j) (D.signsY j))) |
| 182 | |
| 183 | /-- The transposed lift, or descent, from `Y_{j+1}` to `Y_j`, times the index `[J° : J_ξ(Y_j)]` |
| 184 | that normalises the lift `liftY ϑ j`. -/ |
| 185 | def transposedLiftY (ϑ : D.TameChar) (j : ℕ) : D.ConjFormY (j + 1) →ₗ[ℂ] D.ConjFormY j := |
| 186 | (stdLevelIndex (levelY ϑ j) : ℂ) • formLift (thetaKernelY ϑ j).swap |
| 187 | (star (typeKernel (D.paramY (j + 1)) (D.signsY (j + 1)))) |
| 188 | (star (typeKernel (D.paramY j) (D.signsY j))) (datumY ϑ j) |
| 189 | |
| 190 | /-- The descent as a theta integral. Let `ϑ` be a tame character, let `j < m`, and let `z` be a |
| 191 | conjugate form on `Y_(j+1)`. The descent of `z` at `g` is the index of the level `levelY ϑ j` in the |
| 192 | lattice stabiliser `stdLevel` of `Y_j`, times the integral over `h ∈ [G_(j+1)]` of `z h` times |
| 193 | `θ (ω (g, h) (datumY ϑ j))`. Here `datumY ϑ j` is the Schwartz function on `Hom(Y_j, Y_(j+1))` that |
| 194 | defines the lift, `θ` is the theta functional, `G_j = U(Y_j)`, and `ω` is the Weil representation of |
| 195 | `G_j × G_(j+1)` whose character on a space of rank `n` is `rankTwist` of `D.chainChar ϑ (j + 1)`: |
| 196 | this character of `U(1)`, formed from `ϑ ^ (j + 1)`, times `υ ^ ⌊n / 2⌋`, with `υ` the fixed |
| 197 | character `upsilonU1`. -/ |
| 198 | lemma transposedLiftY_apply (ϑ : D.TameChar) {j : ℕ} (hj : j < D.m) (z : D.ConjFormY (j + 1)) |
| 199 | (g : New.G D.E (D.signsY j)) : |
| 200 | transposedLiftY ϑ j z g = stdLevelIndex (levelY ϑ j) * |
| 201 | ∫ h : New.G D.E (D.signsY (j + 1)), |
| 202 | θ ((D.spaceY j).hom (D.spaceY (j + 1))) |
| 203 | (twistedPairWeil (rankTwist (D.chainChar ϑ (j + 1))) (g, h) (datumY ϑ j)) * z h |
| 204 | ∂(D.spaceY (j + 1)).quotMeasure := by |
| 205 | -- The datum is an arrow for the swapped kernel, so the transposed lift is a theta integral. |
| 206 | have h_lift := congrFun ((isArrow_swap_thetaKernelY_datumY ϑ hj).coe_formLift z) g |
| 207 | exact congrArg (fun c : ℂ ↦ (stdLevelIndex (levelY ϑ j) : ℂ) * c) h_lift |
| 208 | |
| 209 | /-- Lift and descent are transposes of each other. Let `ϑ` be a tame character, which twists both |
| 210 | maps, let `j < m`, and let `f` be a form on `Y_j` and `z` a conjugate form on `Y_(j+1)`. Then the |
| 211 | integral over `[G_(j+1)]` of `z` times the lift `liftY ϑ j f` is the integral over `[G_j]` of the |
| 212 | descent `transposedLiftY ϑ j z` times `f`. Here `G_j` is the unitary group of `Y_j`. -/ |
| 213 | lemma integral_mul_liftY (ϑ : D.TameChar) {j : ℕ} (hj : j < D.m) (z : D.ConjFormY (j + 1)) |
| 214 | (f : D.FormY j) : |
| 215 | ∫ h : New.G D.E (D.signsY (j + 1)), z h * liftY ϑ j f h ∂(D.spaceY (j + 1)).quotMeasure = |
| 216 | ∫ g : New.G D.E (D.signsY j), transposedLiftY ϑ j z g * f g ∂(D.spaceY j).quotMeasure := by |
| 217 | obtain ⟨h_up, h_down⟩ := isArrow_datumY ϑ hj |
| 218 | have h1 : ∀ h, z h * liftY ϑ j f h = |
| 219 | stdLevelIndex (levelY ϑ j) * |
| 220 | (z h * formLift (thetaKernelY ϑ j) _ _ (datumY ϑ j) f h) := |
| 221 | fun _ => mul_left_comm _ _ _ |
| 222 | have h2 : ∀ g, transposedLiftY ϑ j z g * f g = |
| 223 | stdLevelIndex (levelY ϑ j) * |
| 224 | (f g * formLift (thetaKernelY ϑ j).swap _ _ (datumY ϑ j) z g) := |
| 225 | fun _ => (mul_assoc _ _ _).trans (congrArg _ (mul_comm _ _)) |
| 226 | simp_rw [h1, h2, integral_const_mul] |
| 227 | rw [h_up.integral_mul_formLift_swap h_down] |
| 228 | |
| 229 | /-- Let `ϑ` be a tame character and `u` an element of its level `levelY ϑ j`: an integral finite |
| 230 | adelic point of `G_j = U(Y_j)` that reduces to `1` at the chosen places and at the places of the |
| 231 | modulus `ϑ.Q`. Let `datumY ϑ j` be the Schwartz function on `Hom(Y_j, Y_(j+1))` that defines the |
| 232 | lift from `Y_j` to `Y_(j+1)`. In the Weil representation of `G_j × G_(j+1)` for this lift, with |
| 233 | characters given by `rankTwist` of `D.chainChar ϑ (j + 1)`, the pair of the point `(1, u)` of `G_j`, |
| 234 | with archimedean part `1` and finite part `u`, and the identity of `G_(j+1)` fixes this datum. -/ |
| 235 | lemma twistedPairWeil_datumY_of_mem_levelY (ϑ : D.TameChar) {j : ℕ} {u : Gf D.E (D.Y j)} |
| 236 | (hu : u ∈ levelY ϑ j) : |
| 237 | twistedPairWeil (rankTwist (D.chainChar ϑ (j + 1))) ((1, u), 1) (datumY ϑ j) = |
| 238 | datumY ϑ j := by |
| 239 | -- The finite part `pointDatumY` of the datum is fixed by `(u, 1)`; the other part is archimedean. |
| 240 | have h_fin : twistedPairWeil (rankTwist (D.chainChar ϑ (j + 1))) ((1, u), 1) |
| 241 | (pointDatumY ϑ j).val = (pointDatumY ϑ j).val := by |
| 242 | -- Both `u` and `1` reduce to `1` at the level places, so the tame characters contribute `1`. |
| 243 | refine (thetaKernelY_omega_pointDatumY_eq_smul ϑ j (k' := 1) (mem_levelOf.1 hu).2 (map_one _) |
| 244 | fun _ ↦ (Matrix.mul_one _).symm).trans ?_ |
| 245 | simp |
| 246 | calc |
| 247 | _ = ((D.spaceY j).hom (D.spaceY (j + 1))).integrated (Fock.polyVector _ (D.harmonicY j)) |
| 248 | (twistedPairWeil (rankTwist (D.chainChar ϑ (j + 1))) ((1, u), 1) (pointDatumY ϑ j).val) := |
| 249 | pairWeil_integrated_fin (k := u) (k' := 1) .. |
| 250 | _ = datumY ϑ j := by rw [h_fin] |
| 251 | |
| 252 | /-- Let `ϑ` be a tame character, `j < m` and `z` a conjugate form on `Y_(j+1)`. The descent |
| 253 | `transposedLiftY ϑ j z` is fixed by right translation by the level `levelY ϑ j` (`HasLevel`), |
| 254 | because the datum of the lift is. -/ |
| 255 | lemma hasLevel_transposedLiftY (ϑ : D.TameChar) {j : ℕ} (hj : j < D.m) (z : D.ConjFormY (j + 1)) : |
| 256 | HasLevel (transposedLiftY ϑ j z) (levelY ϑ j) := by |
| 257 | intro u hu g |
| 258 | rw [transposedLiftY_apply ϑ hj, transposedLiftY_apply ϑ hj] |
| 259 | congr with h |
| 260 | conv_rhs => rw [← twistedPairWeil_datumY_of_mem_levelY ϑ hu, ← mul_apply_eq_comp, |
| 261 | ← map_mul, Prod.mk_mul_mk, mul_one] |
| 262 | |
| 263 | /-- For `j < m` every conjugate form on `Y_(j+1)` is rapidly decreasing. -/ |
| 264 | lemma isRapid_conjFormY {j : ℕ} (hj : j < D.m) (z : D.ConjFormY (j + 1)) : |
| 265 | (D.spaceY (j + 1)).IsRapid z := by |
| 266 | -- The rapid decrease does not depend on a twist, so it is read off from the arrow of the trivial |
| 267 | -- twist, whose forms are rapidly decreasing on the source. |
| 268 | obtain ⟨⟨-, h_rapid⟩, -⟩ := isArrow_swap_thetaKernelY_datumY (D := D) .one hj z |
| 269 | exact h_rapid |
| 270 | |
| 271 | /-- The integral `Ξ_{k+1}` of the product `𝒲_{k+1} z` over `R_{k+1}(F) \ G_{k+1}(𝔸)`, where |
| 272 | `𝒲_{k+1} = unfoldStage ϑ t φ ξ y k hk Y` is the function on `G_{k+1}` left by the first `k + 1` |
| 273 | steps of unfolding for the source form `φ`, the linear form `t` and the outer variables |
| 274 | `g_i = (ξ i, y i)`, and `R_{k+1}(F) = Y.ratBessel` consists of the rational points of the Bessel |
| 275 | group of `Y`. -/ |
| 276 | def unfoldedPeriod (ϑ : D.TameChar) |
| 277 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (φ : D.SourceForm) |
| 278 | (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)) |
| 279 | (k : ℕ) (hk : k ≤ 2 * D.ϱ + 1) {X : Type} {s : ℕ} [DecidableEq X] |
| 280 | (Y : Grading (D.spaceY (k + 1)) D.N X s) (z : D.ConjFormY (k + 1)) : ℂ := |
| 281 | ∫ h : New.G D.E (D.signsY (k + 1)), |
| 282 | (unfoldStage ϑ t φ ξ y k hk Y * z.val) h ∂Y.ratBessel.quotMeasure |
| 283 | |
| 284 | /-- The integral `Ξ_{k+1}` converges absolutely. Let `k ≤ 2 ϱ + 1`, let `ϑ` be a tame character, |
| 285 | `φ` a form on `X_0`, `t` a linear form on its values and `(ξ i, y i)` the archimedean and finite |
| 286 | parts of points `g_i` of `U(Y_i)`, at which the earlier stages are evaluated. These define the |
| 287 | function `unfoldStage` on `G_{k+1} = U(Y_{k+1})` that is left after `k + 1` steps of unfolding. For |
| 288 | a grading `Y` of `Y_{k+1}`, whose Bessel group has rational points `R_{k+1}(F) = Y.ratBessel`, and a |
| 289 | conjugate form `z` on `Y_{k+1}`, its product with `z` is integrable over |
| 290 | `R_{k+1}(F) \ G_{k+1}(𝔸)`. -/ |
| 291 | lemma integrable_unfoldStage_mul (ϑ : D.TameChar) |
| 292 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (φ : D.SourceForm) |
| 293 | (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)) |
| 294 | {k : ℕ} (hk : k ≤ 2 * D.ϱ + 1) {X : Type} [Fintype X] |
| 295 | [DecidableEq X] (Y : Grading (D.spaceY (k + 1)) D.N X (2 * D.ϱ + 1 - (k + 1))) |
| 296 | (z : D.ConjFormY (k + 1)) : |
| 297 | Integrable (unfoldStage ϑ t φ ξ y k hk Y * z.val) Y.ratBessel.quotMeasure := by |
| 298 | exact (integral_unfoldStageOn ϑ t φ ξ y k hk Y z.property.toIsAutomorphic |
| 299 | (isRapid_conjFormY (lt_m_of_le hk) z)).1 |
| 300 | |
| 301 | /-- The recursion of the iterated unfolding, for the tame character `ϑ`, the source form `φ` on |
| 302 | `X_0`, the linear form `t` on its values and the outer variables `g_i = (ξ i, y i)`, points of |
| 303 | `U(Y_i)` split into archimedean and finite part. Let `k ≤ 2 ϱ + 1`, where `m = 2 ϱ + 2` is the |
| 304 | number of lifts, let `Y` be a grading of `Y_{k+1}`, and let `z` be a conjugate form on `Y_{k+1}`. |
| 305 | The function `unfoldStageOn` on the Bessel group `R_k` of the standard grading `D.gradingY k` is the |
| 306 | Bessel function of `φ` for `k = 0`, and for `k > 0` the function left by `k` steps of unfolding, |
| 307 | translated by `g_k`. Integrate it at `r ∈ [R_k]` times the descent of `z` at `r g_k`. The result is |
| 308 | the index of `levelY ϑ k` in the lattice stabiliser times `Ξ_{k+1}` (`unfoldedPeriod`): the integral |
| 309 | of `z` times the function left by `k + 1` steps over the quotient of `U(Y_{k+1})` by the rational |
| 310 | Bessel group of `Y`. -/ |
| 311 | lemma integral_unfoldStageOn_mul_transposedLiftY (ϑ : D.TameChar) |
| 312 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (φ : D.SourceForm) |
| 313 | (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)) |
| 314 | {k : ℕ} (hk : k ≤ 2 * D.ϱ + 1) {X : Type} [Fintype X] [DecidableEq X] |
| 315 | (Y : Grading (D.spaceY (k + 1)) D.N X (2 * D.ϱ + 1 - (k + 1))) (z : D.ConjFormY (k + 1)) : |
| 316 | ∫ r : (gradingY k hk).besselGroup, |
| 317 | unfoldStageOn ϑ t φ ξ y k hk r * transposedLiftY ϑ k z (r.val * (ξ k, y k)) |
| 318 | ∂(D.gradingY k hk).besselMeasure = |
| 319 | stdLevelIndex (levelY ϑ k) * unfoldedPeriod ϑ t φ ξ y k hk Y z := by |
| 320 | obtain ⟨-, h_step⟩ := integral_unfoldStageOn ϑ t φ ξ y k hk Y z.property.toIsAutomorphic |
| 321 | (isRapid_conjFormY (lt_m_of_le hk) z) |
| 322 | -- `h_step` evaluates `Ξ_{k+1}` as the period of `𝒲_k` against the theta integral of `z`. |
| 323 | rw [unfoldedPeriod, ← h_step, ← integral_const_mul] |
| 324 | congr with r |
| 325 | rw [transposedLiftY_apply ϑ (lt_m_of_le hk), mul_left_comm] |
| 326 | |
| 327 | /-- Let `ϑ` be a tame character and `J = levelY ϑ 0` its level on `Y_0`, a subgroup of |
| 328 | `J_M = D.chosenLevel`. Let `f` be a function on the finite adelic unitary group of `Y_0` that is |
| 329 | fixed by right translation by `J`. Then the sum of `f` over representatives of `J_M / J` is its sum |
| 330 | over representatives of `Ω_0 = cutPoints ϑ 0`, the classes modulo `J` of the elements of `J_M`. -/ |
| 331 | lemma sum_quotient_chosenLevel_eq_sum_cutPoints (ϑ : D.TameChar) |
| 332 | [Fintype (D.chosenLevel ⧸ (levelY ϑ 0).subgroupOf D.chosenLevel)] {f : Gf D.E (D.Y 0) → ℂ} |
| 333 | (hf : ∀ x : Gf D.E (D.Y 0), ∀ u ∈ levelY ϑ 0, f (x * u) = f x) : |
| 334 | ∑ q : D.chosenLevel ⧸ (levelY ϑ 0).subgroupOf D.chosenLevel, f q.out = |
| 335 | ∑ c ∈ cutPoints ϑ 0 (2 * D.ϱ + 1).zero_le, f c.out := by |
| 336 | let J : Subgroup (Gf D.E (D.Y 0)) := levelY ϑ 0 |
| 337 | have h_out (x : Gf D.E (D.Y 0)) : f (x : Gf D.E (D.Y 0) ⧸ J).out = f x := by |
| 338 | obtain ⟨u, hu⟩ := QuotientGroup.mk_out_eq_mul J x |
| 339 | rw [hu, hf x u u.property] |
| 340 | -- A class of `J_M` modulo `J` goes to the class modulo `J` of its representative. |
| 341 | refine sum_bij (fun q _ ↦ ↑(q.out : Gf D.E (D.Y 0))) |
| 342 | (fun q _ ↦ (mk_mem_cutPoints_zero ϑ).2 q.out.property) (fun q _ q' _ h_eq ↦ ?_) (fun c hc ↦ ?_) |
| 343 | fun q _ ↦ (h_out q.out).symm |
| 344 | · rw [← q.out_eq', ← q'.out_eq'] |
| 345 | exact QuotientGroup.eq.2 (QuotientGroup.eq.1 h_eq :) |
| 346 | · obtain ⟨x, rfl⟩ := QuotientGroup.mk_surjective c |
| 347 | let x' : D.chosenLevel := ⟨x, (mk_mem_cutPoints_zero ϑ).1 hc⟩ |
| 348 | have h_mem : (x' : D.chosenLevel ⧸ J.subgroupOf D.chosenLevel).out⁻¹ * x' ∈ |
| 349 | J.subgroupOf D.chosenLevel := QuotientGroup.eq.1 (QuotientGroup.out_eq' _) |
| 350 | exact ⟨x', mem_univ _, QuotientGroup.eq.2 h_mem⟩ |
| 351 | |
| 352 | /-- Let `ϑ` be a tame character, `t` a linear form on the values of forms on `X_0`, `g` an |
| 353 | archimedean point of `U(Y_0)` and `𝒫 φ = D.poincareAt g t φ` the Poincaré series of `φ` on `Y_0`. |
| 354 | Let `Y` be a grading of `Y_1` with a string of `2 ϱ` vectors. The integral of a conjugate form `z` |
| 355 | on `Y_1` times the first lift `liftY ϑ 0 (𝒫 φ)` is `[J° : J_M]` times the sum of the periods `Ξ_1` |
| 356 | over the classes `c` in `Ω_0 = cutPoints ϑ 0`. Here `J°` is the lattice stabiliser `stdLevel`, |
| 357 | `J_M = D.chosenLevel` is its subgroup of elements that reduce to `1` at the chosen places, and `Ω_0` |
| 358 | consists of the classes modulo `levelY ϑ 0` of the elements of `J_M`. The period `Ξ_1` |
| 359 | (`unfoldedPeriod`) is the integral, over the quotient of `U(Y_1)` by the rational Bessel group of |
| 360 | `Y`, of `z` times the function left by one step of unfolding of `φ` at the outer variable |
| 361 | `(g, c.out)` of index `0`; the others are `1`. -/ |
| 362 | lemma integral_mul_liftY_poincareAt (ϑ : D.TameChar) |
| 363 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) |
| 364 | (φ : D.SourceForm) (g : GInf D.E (D.signsY 0)) {X : Type} [Fintype X] [DecidableEq X] |
| 365 | (Y : Grading (D.spaceY 1) D.N X (2 * D.ϱ)) (z : D.ConjFormY 1) : |
| 366 | ∫ h : New.G D.E (D.signsY 1), |
| 367 | z h * liftY ϑ 0 (D.poincareAt g t φ).val h ∂(D.spaceY 1).quotMeasure = |
| 368 | stdLevelIndex (D.chosenLevel (n := D.Y 0)) * ∑ c ∈ cutPoints ϑ 0 (2 * D.ϱ + 1).zero_le, |
| 369 | unfoldedPeriod ϑ t φ (update 1 0 g) (update 1 0 c.out) 0 (2 * D.ϱ + 1).zero_le Y z := by |
| 370 | have h_zero : 0 ≤ 2 * D.ϱ + 1 := (2 * D.ϱ + 1).zero_le |
| 371 | have hm : 0 < D.m := lt_m_of_le h_zero |
| 372 | let J : Subgroup (Gf D.E (D.Y 0)) := levelY ϑ 0 |
| 373 | have h_index : J.relIndex D.chosenLevel * stdLevelIndex (D.chosenLevel (n := D.Y 0)) = |
| 374 | stdLevelIndex J := |
| 375 | Subgroup.relIndex_mul_relIndex J _ _ (levelY_le_chosenLevel ϑ 0) levelOf_le_stdLevel |
| 376 | have h_ne : stdLevelIndex J ≠ 0 := isCompact_stdLevel.relIndex_ne_zero IsLevel.isOpen |
| 377 | have h_rel_ne : J.relIndex D.chosenLevel ≠ 0 := left_ne_zero_of_mul (h_index.trans_ne h_ne) |
| 378 | let : Fintype (D.chosenLevel ⧸ J.subgroupOf D.chosenLevel) := |
| 379 | Subgroup.fintypeOfIndexNeZero h_rel_ne |
| 380 | -- The period over `[R_0]` at `(g, x)` depends only on the class of `x` modulo `J`. |
| 381 | let period (x : Gf D.E (D.Y 0)) : ℂ := |
| 382 | ∫ r : (D.gradingY 0).besselGroup, |
| 383 | (D.gradingY 0).sourceFn t φ.val r * transposedLiftY ϑ 0 z (r.val * (g, x)) |
| 384 | ∂(D.gradingY 0).besselMeasure |
| 385 | have period_mul (x u : Gf D.E (D.Y 0)) (hu : u ∈ J) : period (x * u) = period x := by |
| 386 | have h_mul : ((g, x * u) : New.G D.E (D.signsY 0)) = (g, x) * (1, u) := by simp |
| 387 | simp only [period, h_mul, ← mul_assoc, hasLevel_transposedLiftY ϑ hm z u hu] |
| 388 | have period_eq (x : Gf D.E (D.Y 0)) : period x = |
| 389 | stdLevelIndex J * unfoldedPeriod ϑ t φ (update 1 0 g) (update 1 0 x) 0 h_zero Y z := |
| 390 | integral_unfoldStageOn_mul_transposedLiftY ϑ t φ (update 1 0 g) (update 1 0 x) h_zero Y z |
| 391 | -- Multiply by `[J_M : J]`, move the lift to `z` and apply the unfolding of the Poincaré map. |
| 392 | apply mul_left_cancel₀ (Nat.cast_ne_zero.2 h_rel_ne) |
| 393 | calc |
| 394 | _ = J.relIndex D.chosenLevel * ∫ x : New.G D.E (D.signsY 0), |
| 395 | transposedLiftY ϑ 0 z x * (D.poincareAt g t φ).val x ∂(D.spaceY 0).quotMeasure := |
| 396 | congrArg _ (integral_mul_liftY ϑ hm z _) |
| 397 | _ = ∑ q : D.chosenLevel ⧸ J.subgroupOf D.chosenLevel, period q.out := |
| 398 | D.integral_mul_poincareAt g t φ (transposedLiftY ϑ 0 z) (hasLevel_transposedLiftY ϑ hm z) |
| 399 | _ = ∑ c ∈ cutPoints ϑ 0 h_zero, period c.out := |
| 400 | sum_quotient_chosenLevel_eq_sum_cutPoints ϑ period_mul |
| 401 | _ = _ := by |
| 402 | rw [← mul_assoc, ← Nat.cast_mul, h_index, mul_sum] |
| 403 | exact sum_congr rfl fun c _ ↦ period_eq c.out |
| 404 | |
| 405 | /-- Taking cosets modulo `levelY ϑ` commutes with updating one coordinate of a tuple of finite |
| 406 | adelic points. -/ |
| 407 | private lemma mk_update_levelY (ϑ : D.TameChar) (y : ∀ i : ℕ, Gf D.E (D.Y i)) (j : ℕ) |
| 408 | (x : Gf D.E (D.Y j)) : |
| 409 | (fun i ↦ (update y j x i : Gf D.E (D.Y i) ⧸ levelY ϑ i)) = |
| 410 | update (fun i ↦ ↑(y i)) j ↑x := |
| 411 | funext (apply_update (fun i ↦ QuotientGroup.mk (s := levelY ϑ i)) y j x) |
| 412 | |
| 413 | /-- One step of the iterated unfolding: if `unfoldedPeriod` at step `k + 1` factors as `a ξ` times |
| 414 | `S` at the classes of `y`, then descending `z` by `transposedLiftY ϑ (k + 1)` yields a period at |
| 415 | step `k` that factors as `a' ξ` times `cutSumAt ϑ (k + 1) hk S` at the classes of `y`, with `a'` |
| 416 | independent of `ϑ`, `φ`, `z` and `S`. -/ |
| 417 | private lemma exists_unfoldedPeriod_transposedLiftY_eq |
| 418 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) |
| 419 | (k : ℕ) (hk : k + 1 ≤ 2 * D.ϱ + 1) {X : Type} [Fintype X] [DecidableEq X] |
| 420 | (Y : Grading (D.spaceY (k + 2)) D.N X (2 * D.ϱ + 1 - (k + 2))) |
| 421 | (a : (∀ i : ℕ, GInf D.E (D.signsY i)) → ℂ) : |
| 422 | ∃ a' : (∀ i : ℕ, GInf D.E (D.signsY i)) → ℂ, |
| 423 | ∀ (ϑ : D.TameChar) (φ : D.ramifiedSourceForms) (z : D.ConjFormY (k + 2)) |
| 424 | (S : (∀ i : ℕ, Gf D.E (D.Y i) ⧸ levelY ϑ i) → ℂ) |
| 425 | (_h_period : ∀ (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)), |
| 426 | y 0 ∈ D.chosenLevel → y (2 * D.ϱ + 2) = 1 → |
| 427 | unfoldedPeriod ϑ t φ ξ y (k + 1) hk Y z = a ξ * S fun i : ℕ ↦ y i) |
| 428 | (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)), |
| 429 | y 0 ∈ D.chosenLevel → y (2 * D.ϱ + 2) = 1 → |
| 430 | unfoldedPeriod ϑ t φ ξ y k (by omega) (D.gradingY (k + 1) hk) |
| 431 | (transposedLiftY ϑ (k + 1) z) = |
| 432 | a' ξ * cutSumAt ϑ (k + 1) hk S fun i : ℕ ↦ y i := by |
| 433 | let Y₀ : Grading (D.spaceY (k + 1)) D.N (D.X (k + 1)) (2 * D.ϱ + 1 - (k + 1)) := |
| 434 | D.gradingY (k + 1) hk |
| 435 | -- `a' ξ` is what the real part of the outer variable of index `k + 1` contributes. |
| 436 | choose a' integral_eq using fun ξ : ∀ i : ℕ, GInf D.E (D.signsY i) ↦ |
| 437 | Y₀.exists_integral_eq_sum_over_cut (stdLevel D.E (D.Y (k + 1))) fun x ↦ a (update ξ (k + 1) x) |
| 438 | refine ⟨a', fun ϑ φ z S h_period ξ y hy_zero hy_top ↦ ?_⟩ |
| 439 | let z' : D.ConjFormY (k + 1) := transposedLiftY ϑ (k + 1) z |
| 440 | have hz' : (D.spaceY (k + 1)).IsAutomorphic z' := z'.property.toIsAutomorphic |
| 441 | let f : New.G D.E (D.signsY (k + 1)) → ℂ := unfoldStage ϑ t φ ξ y k (by omega) Y₀ * z'.val |
| 442 | have h_cut : IsStageCut ϑ (k + 1) hk (cutPoints ϑ (k + 1) hk) := isStageCut_cutPoints ϑ k hk |
| 443 | have h_fix : Y₀.ratBessel.FixesLeft f := fun γ hγ x ↦ by |
| 444 | simp only [f, Pi.mul_apply, fixesLeft_ratBessel_unfoldStage ϑ t φ ξ y k _ Y₀ γ hγ, |
| 445 | hz'.rat_mul γ hγ.1] |
| 446 | have h_cover_ne_zero (x : New.G D.E (D.signsY (k + 1))) (hx : f x ≠ 0) : |
| 447 | coverMultiplicity Y₀.besselFin (stdLevel D.E (D.Y (k + 1))) (cutPoints ϑ (k + 1) hk) x.2 ≠ |
| 448 | 0 := |
| 449 | h_cut.ne_zero_of_hasBoundedOrbit x.2 <| .of_forall fun r ↦ |
| 450 | hasLatticeBounds_of_unfoldStage_ne_zero ϑ t φ ξ y φ.property hy_zero k hk x.1 x.2 |
| 451 | (left_ne_zero_of_mul hx) |
| 452 | -- The recursion, with `x` as the outer variable of index `k + 1`. |
| 453 | have h_step (x : New.G D.E (D.signsY (k + 1))) : |
| 454 | ∫ r : Y₀.besselGroup, f (r * x) ∂Y₀.besselMeasure = |
| 455 | stdLevelIndex (levelY ϑ (k + 1)) * |
| 456 | (a (update ξ (k + 1) x.1) * S (update (fun i : ℕ ↦ ↑(y i)) (k + 1) ↑x.2)) := by |
| 457 | have h_next := h_period (update ξ (k + 1) x.1) (update y (k + 1) x.2) |
| 458 | (by rwa [update_of_ne (by omega)]) (by rwa [update_of_ne (by omega)]) |
| 459 | rw [← mk_update_levelY, ← h_next, ← integral_unfoldStageOn_mul_transposedLiftY] |
| 460 | congr with r |
| 461 | rw [unfoldStageOn_succ, unfoldStage_update (hkl := k.lt_succ_self), update_self, update_self] |
| 462 | rfl |
| 463 | exact integral_eq ξ (fun q ↦ S (update (fun i : ℕ ↦ ↑(y i)) (k + 1) q)) |
| 464 | ((continuous_unfoldStage ..).mul hz'.continuous) h_fix |
| 465 | (integrable_unfoldStage_mul ϑ t φ ξ y _ Y₀ z') h_cut.mem_iff_smul_mem h_cover_ne_zero |
| 466 | fun x _ ↦ h_step x |
| 467 | |
| 468 | /-- The outer integrals of the seesaw, one at a time. Let `t` be a linear form on the values of |
| 469 | forms on `X_0`, `g` an archimedean point of `U(Y_0)`, `k ≤ 2 ϱ + 1`, `Y` a grading of `Y_{k+1}` |
| 470 | with a string of `s = 2 ϱ + 1 - (k + 1)` vectors, and `a` a function of tuples `ξ` of archimedean |
| 471 | points of the groups `U(Y_i)`. There is a number `c` as follows, for every tame character `ϑ`, |
| 472 | ramified source form `φ` on `X_0`, conjugate form `z` on `Y_{k+1}` and function `S` of the classes |
| 473 | modulo `levelY ϑ i` of tuples `y` of finite points. Suppose that `unfoldedPeriod` at step `k`, the |
| 474 | integral of `z` times the function on `U(Y_{k+1})` left by `k + 1` steps of unfolding of `φ` at |
| 475 | `(ξ, y)`, is `a ξ` times `S` at the classes of `y` whenever `y 0 ∈ D.chosenLevel` and `y m = 1`, |
| 476 | where `m = 2 ϱ + 2`. Then the pairing of `z` with the image of the Poincaré series |
| 477 | `D.poincareAt g t φ` under the first `k + 1` lifts is `c` times `cutSum`: the sum of `S` over |
| 478 | `Ω_0 × ⋯ × Ω_k`, where `Ω_j = cutPoints ϑ j`, each term divided by the multiplicities |
| 479 | `cutMultiplicity` of its classes. -/ |
| 480 | lemma exists_integral_mul_lowerChainUpTo_eq_cutSum |
| 481 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) |
| 482 | (g : GInf D.E (D.signsY 0)) (k : ℕ) (hk : k ≤ 2 * D.ϱ + 1) {X : Type} [Fintype X] |
| 483 | [DecidableEq X] {s : ℕ} (Y : Grading (D.spaceY (k + 1)) D.N X s) |
| 484 | (hs : s = 2 * D.ϱ + 1 - (k + 1)) (a : (∀ i : ℕ, GInf D.E (D.signsY i)) → ℂ) : |
| 485 | ∃ c : ℂ, ∀ (ϑ : D.TameChar) (φ : D.ramifiedSourceForms) (z : D.ConjFormY (k + 1)) |
| 486 | (S : (∀ i : ℕ, Gf D.E (D.Y i) ⧸ levelY ϑ i) → ℂ) |
| 487 | (_h_period : ∀ (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) (y : ∀ i : ℕ, Gf D.E (D.Y i)), |
| 488 | y 0 ∈ D.chosenLevel → y (2 * D.ϱ + 2) = 1 → |
| 489 | unfoldedPeriod ϑ t φ ξ y k hk Y z = a ξ * S fun i : ℕ ↦ y i), |
| 490 | ∫ h : New.G D.E (D.signsY (k + 1)), |
| 491 | z h * lowerChainUpTo ϑ (k + 1) (D.poincareAt g t φ) h ∂(D.spaceY (k + 1)).quotMeasure = |
| 492 | c * cutSum ϑ (k + 1) (Nat.succ_le_succ hk) S := by |
| 493 | -- Induction on `k`, for all `a` and `S`: the step passes from `S` to its sum over `Ω_{k+1}`. |
| 494 | subst hs |
| 495 | induction k generalizing X a with |
| 496 | | zero => |
| 497 | refine ⟨stdLevelIndex (D.chosenLevel (n := D.Y 0)) * a (update 1 0 g), |
| 498 | fun ϑ φ z S h_period ↦ ?_⟩ |
| 499 | -- On `Ω_0` the multiplicities are `1`, and `h_period` evaluates each period `Ξ_1`. |
| 500 | have h_term (c : Gf D.E (D.Y 0) ⧸ levelY ϑ 0) (hc : c ∈ cutPoints ϑ 0 hk) : |
| 501 | unfoldedPeriod ϑ t φ (update 1 0 g) (update 1 0 c.out) 0 hk Y z = |
| 502 | a (update 1 0 g) * (cutMultiplicity ϑ 0 hk c : ℂ)⁻¹ • |
| 503 | S (update (fun i : ℕ ↦ ↑(1 : Gf D.E (D.Y i))) 0 c) := by |
| 504 | rw [h_period _ _ ((mk_mem_cutPoints_zero ϑ).1 (by rwa [update_self, QuotientGroup.out_eq'])) |
| 505 | rfl, mk_update_levelY, QuotientGroup.out_eq'] |
| 506 | simp [cutMultiplicity] |
| 507 | refine (integral_mul_liftY_poincareAt ϑ t φ g Y z).trans ?_ |
| 508 | rw [mul_assoc, cutSum, cutSum, cutSumAt, mul_sum _ _ (a _)] |
| 509 | exact congrArg _ (sum_congr rfl h_term) |
| 510 | | succ k ih => |
| 511 | -- Descend `z` by one step (`exists_unfoldedPeriod_transposedLiftY_eq`), then apply `ih`. |
| 512 | obtain ⟨a', ha'⟩ := exists_unfoldedPeriod_transposedLiftY_eq t k hk Y a |
| 513 | obtain ⟨c, hc⟩ := ih (by omega) a' (D.gradingY (k + 1) hk) |
| 514 | refine ⟨c, fun ϑ φ z S h_period ↦ (integral_mul_liftY ϑ (lt_m_of_le hk) z _).trans ?_⟩ |
| 515 | exact hc ϑ φ (transposedLiftY ϑ (k + 1) z) (cutSumAt ϑ (k + 1) hk S) (ha' ϑ φ z S h_period) |
| 516 | |
| 517 | /-! ### The tensor `φ_ξ` and the seesaw identity -/ |
| 518 | |
| 519 | /-- The tensor product of the evaluated data (`evaluatedDatum`) of all double lifts, translated by |
| 520 | representatives of the classes `c j` of the outer variables of the lower chain. -/ |
| 521 | def evaluatedTensor (ϑ : D.TameChar) (c : ∀ i : ℕ, Gf D.E (D.Y i) ⧸ levelY ϑ i) : |
| 522 | D.ChainTensor := |
| 523 | pure (evaluatedDatum ϑ fun i ↦ (c i).out) (D.ϱ + 1) |
| 524 | |
| 525 | /-- At the classes of a tuple `y` of points of `G_f`, `evaluatedTensor ϑ` is the pure tensor |
| 526 | `pure (evaluatedDatum ϑ y) (D.ϱ + 1)`, built from the first `D.ϱ + 1` evaluated data. -/ |
| 527 | lemma evaluatedTensor_mk (ϑ : D.TameChar) (y : ∀ i : ℕ, Gf D.E (D.Y i)) : |
| 528 | (evaluatedTensor ϑ fun i : ℕ ↦ y i) = pure (evaluatedDatum ϑ y) (D.ϱ + 1) := by |
| 529 | rw [evaluatedTensor, evaluatedDatum_out] |
| 530 | |
| 531 | /-- The tensor `φ_ξ` of finite data for the upper chain: the weighted sum `cutSum` over the cuts of |
| 532 | the lower chain of the evaluated translates `evaluatedTensor` of its data. -/ |
| 533 | def seesawDatum (ϑ : D.TameChar) : D.ChainTensor := |
| 534 | cutSum ϑ (2 * D.ϱ + 2) le_rfl (evaluatedTensor ϑ) |
| 535 | |
| 536 | /-- The tensor `φ_ξ = seesawDatum ϑ` of finite data for the chain of lifts `X_0 → ⋯ → X_m`, where |
| 537 | `ϑ` is a tame character and `m = 2 ϱ + 2`, is jointly invariant for `ϑ` (`IsInvariant`): it is fixed |
| 538 | by every tuple `b` with `b j` in the level `D.levelX j` of `X_j` and `b m = 1`. -/ |
| 539 | lemma isInvariant_seesawDatum (ϑ : D.TameChar) : (seesawDatum ϑ).IsInvariant ϑ := by |
| 540 | -- Translating the cut variables by the images of the tuple `b` does not change the weighted sum, |
| 541 | -- and evaluation turns this translation into the joint action of `b`. |
| 542 | intro b hb_top |
| 543 | let bY (i : ℕ) : Gf D.E (D.Y i) := |
| 544 | if hi : i < 2 * D.ϱ + 2 then (D.gradingY i).inclXFin (b i) else 1 |
| 545 | rw [seesawDatum, map_cutSum, ← cutSum_comp_smul ϑ _ le_rfl (h := bY) (evaluatedTensor ϑ) |
| 546 | (fun i hi ↦ ⟨b i, (b i).property, dite_eq_left hi⟩) fun i hi ↦ dite_eq_right hi.not_gt] |
| 547 | congr with c |
| 548 | simp only [evaluatedTensor, ← Quotient.mk_smul_out, evaluatedDatum_out, |
| 549 | twoKernelAction, TensorChain.map_pure] |
| 550 | refine (pure_congr fun i hi ↦ ?_).symm |
| 551 | have h_lower (k : ℕ) (hk : k < 2 * D.ϱ + 2) : bY k = (D.gradingY k).inclXFin (b k) := |
| 552 | dite_eq_left hk |
| 553 | have h_top : bY (2 * D.ϱ + 2) = (D.lastGrading D.m_eq_two_mul_varrho_add_two).inclXFin 1 := by |
| 554 | simp [bY] |
| 555 | simp only [evaluatedDatum, translatedPointDatumY, smul_eq_mul, ← Prod.mk_mul_mk, map_mul, |
| 556 | mul_apply_eq_comp] |
| 557 | rcases Nat.lt_succ_iff_lt_or_eq.1 hi with hi' | rfl |
| 558 | · -- An earlier double lift is evaluated by a middle pair, which commutes with its three groups. |
| 559 | simp (disch := lia) only [doubleLiftEvalY, dite_eq_left, h_lower] |
| 560 | exact DoubleLiftData.finEval_arrowProduct_equivariant _ _ _ rfl _ _ |
| 561 | · -- The last double lift is evaluated by the last pair; there both `bY` and `b` end in `1`. |
| 562 | simp (disch := lia) only [doubleLiftEvalY, dite_eq_left, dite_eq_right, h_lower, h_top, hb_top] |
| 563 | exact DoubleLiftData.finEval_arrowProduct_equivariant _ _ _ (map_one _) _ _ |
| 564 | |
| 565 | /-- Fix an archimedean point `g` of `U(Y_0)` and a linear form `t`, and let `m = 2 ϱ + 2`. There is |
| 566 | a number `c₀` such that, for every tame character `ϑ` and every ramified source form `φ` on `X_0`, |
| 567 | the `m` lifts along `Y_0, …, Y_m` take the Poincaré series `D.poincareAt g t φ` to `c₀` times the |
| 568 | restriction to `Y_m` of the image of `φ` under the chain of lifts `X_0 → ⋯ → X_m` with twist `ϑ` and |
| 569 | tensor of finite data `seesawDatum ϑ`. -/ |
| 570 | lemma exists_lowerChainUpTo_poincareAt_eq (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) |
| 571 | (g : GInf D.E (D.signsY 0)) : |
| 572 | ∃ c₀ : ℂ, ∀ (ϑ : D.TameChar) (φ : D.ramifiedSourceForms), |
| 573 | lowerChainUpTo ϑ (2 * D.ϱ + 2) (D.poincareAt g t φ) = |
| 574 | c₀ • restrictToFormY D.m_eq_two_mul_varrho_add_two (chainOfTensor ϑ φ (seesawDatum ϑ)) := by |
| 575 | have hm : D.m = 2 * D.ϱ + 2 := D.m_eq_two_mul_varrho_add_two |
| 576 | choose c integral_top using exists_integral_eq_mul_inner_restrictToFormY hm |
| 577 | -- The top function is the coefficient at `l ξ` of the chain of `ϱ + 1` double lifts, on the block |
| 578 | -- embedding of `exists_integral_eq_mul_inner_restrictToFormY`. |
| 579 | have h_top_coeff (ξ : ∀ i : ℕ, GInf D.E (D.signsY i)) : |
| 580 | ∃ l : (WeylIndex (D.X (2 * D.ϱ + 2)) D.columnCount → ℂ) →ₗ[ℂ] ℂ, |
| 581 | ∀ (ϑ : D.TameChar) (φ : D.SourceForm) (y : ∀ i : ℕ, Gf D.E (D.Y i)), y (2 * D.ϱ + 2) = 1 → |
| 582 | ∀ k : New.G D.E (1 : D.InitIndex (2 * D.ϱ + 2) → ℤˣ), |
| 583 | unfoldStage ϑ t φ ξ y _ le_rfl (D.lastGrading hm) ((D.lastGrading hm).inclX k) = |
| 584 | algFormCoeff 1 l (doubleLiftChain (D.liftKernel ϑ) (evaluatedDatum ϑ y) (D.ϱ + 1) φ) |
| 585 | (.blockEmb (e := .refl (D.InitIndex (2 * D.ϱ + 2) ⊕ Unit)) Sum.elim_one_one.symm |
| 586 | (k, 1)) := by |
| 587 | -- The evaluation `doubleLiftEvalY` of the double lift `i = ϱ` is by definition that of the last |
| 588 | -- pair. |
| 589 | obtain ⟨l, hl⟩ := exists_unfoldStage_eq_algFormCoeff t ξ D.ϱ (by omega) _ |
| 590 | (hR := (dite_eq_right (lt_irrefl D.ϱ)).trans (dite_eq_left rfl)) (x := 1) |
| 591 | refine ⟨l, fun ϑ φ y hy k ↦ ?_⟩ |
| 592 | have h_eq := hl ϑ φ y k |
| 593 | rw [hy, Prod.mk_one_one, mul_one] at h_eq |
| 594 | exact h_eq |
| 595 | choose l h_stage using h_top_coeff |
| 596 | obtain ⟨c₀, h_sum⟩ := |
| 597 | exists_integral_mul_lowerChainUpTo_eq_cutSum t g _ le_rfl (D.lastGrading hm) (by omega) (c ∘ l) |
| 598 | -- Pair both sides with an arbitrary form `x` on `Y_m`; equality of these pairings |
| 599 | -- suffices for equality of the lifts. |
| 600 | refine ⟨c₀, fun ϑ φ ↦ ext_inner_left ℂ fun x ↦ ?_⟩ |
| 601 | let L : D.ChainTensor →ₗ[ℂ] ℂ := innerₛₗ ℂ x ∘ₗ restrictToFormY hm ∘ₗ chainOfTensor ϑ φ |
| 602 | have h_top (ξ : ∀ i, GInf D.E (D.signsY i)) (y : ∀ i, Gf D.E (D.Y i)) (hy : y (2 * D.ϱ + 2) = 1) : |
| 603 | unfoldedPeriod ϑ t φ ξ y _ le_rfl (D.lastGrading hm) ⟨_, x.property.conj⟩ = |
| 604 | c (l ξ) * L (pure (evaluatedDatum ϑ y) (D.ϱ + 1)) := |
| 605 | (integral_top _ x (h_stage ξ ϑ φ y hy)).trans (by simp [L, doubleLiftChain]) |
| 606 | calc |
| 607 | _ = c₀ * cutSum ϑ _ le_rfl fun q ↦ L (evaluatedTensor ϑ q) := |
| 608 | h_sum ϑ φ ⟨_, x.property.conj⟩ _ fun ξ y _ hy ↦ by |
| 609 | rw [evaluatedTensor_mk, h_top ξ y hy, comp_apply] |
| 610 | _ = c₀ * L (seesawDatum ϑ) := by rw [seesawDatum, map_cutSum] |
| 611 | _ = _ := by simp [L, inner_smul_right] |
| 612 | |
| 613 | /-- The tensor `φ_ξ = seesawDatum ϑ` of data for the upper chain is a combination of translated |
| 614 | vacuum data, with bounds. There is one number `C` as follows for every tame character `ϑ`. Let `ϑ.Q` |
| 615 | be its modulus, a finite set of finite places, and `q = ϑ.normQ` the product of their norms. Let |
| 616 | `m = 2 ϱ + 2` be the number of lifts and `B = D.residueMatrixCount = D.M ^ (D.f * D.n D.m ^ 2)`, |
| 617 | with `D.M` the principal level and `D.n D.m` the rank of `X_m`. An element `x` of `Translations` is |
| 618 | a tuple of finite adelic matrices, one for each lift, and `D.gluedVacuum x` is the tensor of the |
| 619 | integral vacuum data translated by `x`. Then `φ_ξ` is a finite sum `∑ r x • C • D.gluedVacuum x`, |
| 620 | with coefficients `r x`, over `x` in `admissibleTranslations q`. Each `B ^ (2 m) * r x` is integral |
| 621 | at the primes not dividing `q`. If `ϑ.Q = ∅`, then `∑ ‖σ (r x)‖ ≤ B ^ (2 ϱ + 2)` for every |
| 622 | automorphism `σ` of `ℂ`. -/ |
| 623 | lemma exists_isAdmissibleCombination_seesawDatum (D : Data P) : |
| 624 | ∃ C : ℂ, ∀ ϑ : D.TameChar, |
| 625 | IsAdmissibleCombination (fun x : Translations (P := P) (D := D) ↦ C • D.gluedVacuum x) |
| 626 | (admissibleTranslations ϑ.normQ) |
| 627 | ϑ.normQ (D.residueMatrixCount ^ (2 * D.m)) (ϑ.Q = ∅) (D.residueMatrixCount ^ (2 * D.ϱ + 2)) |
| 628 | (seesawDatum ϑ) := by |
| 629 | obtain ⟨C, h_comb⟩ := D.exists_isAdmissibleCombination_gluedVacuum |
| 630 | refine ⟨C, fun ϑ ↦ ?_⟩ |
| 631 | -- The values of `evaluatedTensor` at integral points are such combinations with size `1`, and |
| 632 | -- `seesawDatum ϑ` is an admissible combination of these values. |
| 633 | have h_value (y : ∀ i : ℕ, localLevel (D.Y i) {w : FinPlace D.E | ↑ϑ.normQ ∉ w.asIdeal}) : |
| 634 | IsAdmissibleCombination (fun x : Translations (P := P) (D := D) ↦ C • D.gluedVacuum x) |
| 635 | (admissibleTranslations ϑ.normQ) ϑ.normQ (D.residueMatrixCount ^ (2 * D.m)) (ϑ.Q = ∅) 1 |
| 636 | (evaluatedTensor ϑ fun i : ℕ ↦ ⟦(y i).val⟧) := by |
| 637 | simpa [evaluatedTensor_mk] using h_comb ϑ _ fun i ↦ (y i).property |
| 638 | exact (isAdmissibleCombination_cutSum ϑ _ le_rfl _).bind _ 1 (fun y _ ↦ h_value y) (one_mul _).dvd |
| 639 | (by simp) |
| 640 | |
| 641 | end Unfolding |
| 642 | |
| 643 | /-- **Seesaw identity**. Let `D` be admissible data, with field `E = D.E`, number of lifts |
| 644 | `m = D.m`, and hermitian spaces `X_j` (upper chain) and `Y_j` over `E`. Let `t` be a linear form on |
| 645 | the values of forms on `X_0` and `g` an archimedean point of `U(Y_0)`. Then there is a number |
| 646 | `c ≠ 0` such that every twist `ϑ` has a chain datum `Ψ` with |
| 647 | `lowerChain ϑ (𝒫 φ) = c • compositeLift ϑ Ψ φ` for all ramified source forms `φ` on `X_0`, where |
| 648 | `𝒫 = D.poincareAt g t` is the Poincaré map from forms on `X_0` to forms on `Y_0`. The datum |
| 649 | `Ψ` is a finitely supported function on `D.Translations`, the tuples of finite adelic matrices, one |
| 650 | for each lift of the upper chain; its glued tensor is the sum of `Ψ x` times the vacuum data |
| 651 | translated by `x`, and `compositeLift ϑ Ψ` is the upper chain from `X_0` to `X_m` with this tensor |
| 652 | as data, restricted to `Y_m`. That `Ψ` is a chain datum (`IsChainDatum`) means that its support is |
| 653 | admissible and supported at the level, its values are integral away from the modulus of `ϑ` and |
| 654 | bounded if this is empty, and its glued tensor is invariant under the levels of the `X_j`. -/ |
| 655 | theorem seesaw_identity {P : Parameters} {D : Data P} |
| 656 | (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (g : GInf D.E (D.signsY 0)) : |
| 657 | ∃ c : ℂˣ, ∀ ϑ : D.Twist, ∃ Ψ : D.Translations →₀ ℂ, IsChainDatum ϑ Ψ ∧ |
| 658 | ∀ φ : D.ramifiedSourceForms, |
| 659 | lowerChain ϑ (D.poincareAt g t φ) = (c : ℂ) • compositeLift ϑ Ψ φ := by |
| 660 | obtain ⟨c₀, h_chain⟩ := exists_lowerChainUpTo_poincareAt_eq t g |
| 661 | obtain ⟨C, h_admissibleComb⟩ := D.exists_isAdmissibleCombination_seesawDatum |
| 662 | -- `u` is the inverse of `c₀ C / d`, with `d` the denominator of the combination. If this number |
| 663 | -- is `0`, then `u = 1` and `u • c₀ • seesawDatum ϑ = 0`. In both cases `u • c₀ • seesawDatum ϑ` |
| 664 | -- comes from a chain datum. |
| 665 | let u : ℂˣ := normUnit (c₀ * C / (D.residueMatrixCount ^ (2 * D.m) : ℕ)) |
| 666 | refine ⟨u⁻¹, fun ϑ ↦ ?_⟩ |
| 667 | have h_rescaled : IsAdmissibleCombination D.gluedVacuum (admissibleTranslations ϑ.normQ) |
| 668 | ϑ.normQ 1 (ϑ.Q = ∅) ((D.residueMatrixCount ^ (2 * D.m) : ℕ) * D.residueMatrixCount ^ |
| 669 | (2 * D.ϱ + 2)) |
| 670 | ((u : ℂ) • c₀ • seesawDatum ϑ) := |
| 671 | (h_admissibleComb ϑ).normUnit_smul c₀ NeZero.out |
| 672 | -- Replace each translation by a supported representative without changing the glued tensor. |
| 673 | -- This gives the support condition separately from the equality of lifts. |
| 674 | obtain ⟨Ψ, h_adm, h_glued : (u : ℂ) • c₀ • seesawDatum ϑ = gluedTensor Ψ⟩ := |
| 675 | h_rescaled.of_eq_isOfFinOrder_smul |
| 676 | (A' := admissibleTranslations ϑ.normQ ∩ supportedTranslations (D.M * ϑ.normQ)) |
| 677 | (v' := D.gluedVacuum) fun x hx ↦ by |
| 678 | obtain ⟨x', hx', h_eq⟩ := D.exists_supported_translateDatum_eq hx |
| 679 | exact ⟨1, .one, x', hx', by simp only [one_smul, gluedVacuum, h_eq]⟩ |
| 680 | have h_size : (↑(D.residueMatrixCount ^ (2 * D.m)) * D.residueMatrixCount ^ (2 * D.ϱ + 2) : ℝ) = |
| 681 | D.M ^ (3 * D.f * D.m * D.n D.m ^ 2) := by |
| 682 | rw [← D.m_eq_two_mul_varrho_add_two] |
| 683 | -- `D.residueMatrixCount = D.M ^ (D.f * D.n D.m ^ 2)` by definition. |
| 684 | push_cast |
| 685 | ring |
| 686 | rw [h_size] at h_adm |
| 687 | refine ⟨Ψ, ⟨h_adm, fun b hb ↦ ?_⟩, fun φ ↦ ?_⟩ |
| 688 | · simp only [← h_glued, _root_.map_smul, isInvariant_seesawDatum _ b hb] |
| 689 | have h_scaled : lowerChain ϑ ((u : ℂ) • D.poincareAt g t φ) = compositeLift ϑ Ψ φ := |
| 690 | lowerChain_eq_of_lowerChainUpTo_eq D.m_eq_two_mul_varrho_add_two <| by |
| 691 | simp only [_root_.map_smul, h_chain, ← h_glued] |
| 692 | rw [← h_scaled, _root_.map_smul, smul_smul, Units.inv_mul, one_smul] |
| 693 | |
| 694 | end New.Data |
| 695 | |
| 696 | end SeesawTheorem |
| 697 | |
| 698 | end |