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 Mathlib.Analysis.Matrix.PosDef |
| 4 | import Mathlib.Algebra.Order.Star.Int |
| 5 | import Mathlib.Data.Rat.Cast.OfScientific |
| 6 | import Mathlib.Tactic.Monotonicity.Lemmas |
| 7 | public import New.OneLift.ComparisonOperator.GluedForms |
| 8 | public import New.OneLift.ComparisonOperator.ProductsSpan |
| 9 | public import New.Determinant.Twist.FitTwists |
| 10 | public import New.OneLift.ComparisonOperator.FirstFactors |
| 11 | public import New.OneLift.ComparisonOperator.ThreeExchanges |
| 12 | import Lib.General.LinearAlgebra.MatrixNormBounds |
| 13 | import New.OneLift.FalseLifts.PeriodsOfFalseLifts |
| 14 | import New.Spanning.Multiplicities.EqualMultiplicities |
| 15 | import New.Spanning.SecondMoment.SpanningTheorem |
| 16 | import New.UpperBound.Kernels.ThetaLiftGauge |
| 17 | import New.UpperBound.Size.Estimates |
| 18 | |
| 19 | /-! |
| 20 | # The first factors and the gluing maps |
| 21 | |
| 22 | The first factors `φ″_{ϑ,i}` on `V″` are integral away from `Q` and small for `ϑ = 1`, and their |
| 23 | theta series satisfy `c′_ϑ Ξ_{ϑ,i} = c″ 𝖥_i` with functions `𝖥_i` that do not depend on the twist. |
| 24 | Gluing them to forms on `V°` gives the map `glue_ϑ` to forms on `V_j`. Its adjoint, the period, |
| 25 | satisfies `c′_ϑ glue_ϑ* Θ_{j,ϑ} = Θ°`, where `Θ°` does not depend on the twist and is injective, |
| 26 | because products span. The map `glue_ϑ` keeps integrality away from `Q`, is short for `ϑ = 1`, and |
| 27 | takes the image of `Θ°` to forms orthogonal to the false lifts. The comparison operator, an integer |
| 28 | multiple of `glue_ϑ glue_ϑ*`, is built from it in `New.OneLift.LiftVolumeHeight`. |
| 29 | |
| 30 | In the code `φ″` is `firstFactor`, `Ξ` is `firstFactorPairing`, `𝖥` is `choiceFn`, `glue_ϑ` is |
| 31 | `glue j ϑ` and `Θ°` is `periodLift`. The integer `M` is `D.M`, its factor `ϖ` is `D.piM`, and `Q` is |
| 32 | the set of places of the twist `ϑ`. |
| 33 | |
| 34 | Notions from other files: |
| 35 | * `descentPair ϑ j`: the spaces `W_j` and `V_j` with the characters and levels for the twist `ϑ`; |
| 36 | `untwistedDescentPair j` is its untwisted form. The diagram of the values of the forms on `V″` is |
| 37 | `μ⁺` (`colsPlus`), that on `V°` is `μ⁻` (`colsMinus`). |
| 38 | * `ChoiceIndex j`: the choices `i`, each a matrix `Λ` with a class `h♭` and constant rows. |
| 39 | * `FirstFactorIndex j` indexes the basis of `V″`, `D.SecondFactorIndex` that of `V°`, and |
| 40 | `D.SecondFactorClasses` is the set of classes of `U(V°)` at the level `J (ϖ²)`. |
| 41 | * `goodLift ϑ j`: the theta lift `Θ_{j,ϑ}` from good forms on `W_j` to forms on `V_j`. |
| 42 | * `normalizedDescent`: the descent, which sends a form on `V_j` to a function on `U(W_j)` by pairing |
| 43 | it with the theta kernel over the classes of `U(V_j)`. |
| 44 | * `weylGauge`, `weylNormSq`: the gauge at a place over `l` and the squared norm of a vector in a |
| 45 | representation given by a diagram. |
| 46 | |
| 47 | ## Relation to the literature |
| 48 | |
| 49 | Integral forms pairing with a lift to an explicit L-value (pullback, seesaw) are known in the |
| 50 | literature in low rank. |
| 51 | |
| 52 | Related work: Böcherer–Dummigan–Schulze-Pillot, Yoshida lifts and Selmer groups, 2012; Y.-S. Lee, |
| 53 | Hida family of theta lift from U(1) to definite U(2), 2024; Prasanna, Integrality of a ratio of |
| 54 | Petersson norms and level-lowering congruences, 2006. |
| 55 | -/ |
| 56 | |
| 57 | @[expose] public section |
| 58 | |
| 59 | noncomputable section |
| 60 | |
| 61 | namespace New.Rows |
| 62 | |
| 63 | open Finset Real ComplexConjugate Data WeilData Submodule Function.Embedding MeasureTheory |
| 64 | |
| 65 | open LinearMap Fintype LevelPlaces DescentPair |
| 66 | |
| 67 | variable {P : Parameters} {D : Data P} (j : D.LiftIndex) |
| 68 | |
| 69 | /-! ### Tuples of forms on `V°`, the splitting and the lattices -/ |
| 70 | |
| 71 | /-- The hook number `hk` of the diagram `μ⁻`, which gives the weight of the forms on `V°`. -/ |
| 72 | abbrev hookNumberMinus : ℤ := |
| 73 | hookNumber (untwistedDescentPair j).colsMinus (rankAt fun _ ↦ D.SecondFactorIndex) |
| 74 | |
| 75 | /-- The values of the forms on `V°`, with the invariant metric. -/ |
| 76 | @[implicit_reducible] def SecondFactorFormValues : Type := |
| 77 | WeylIndex D.SecondFactorIndex (untwistedDescentPair j).colsMinus → ℂ |
| 78 | |
| 79 | instance : NormedAddCommGroup (SecondFactorFormValues j) := |
| 80 | Matrix.toNormedAddCommGroup _ weylGramOver_posDef |
| 81 | |
| 82 | instance : InnerProductSpace ℂ (SecondFactorFormValues j) := .ofCore (F := _ → ℂ) _ |
| 83 | |
| 84 | instance : Module.Finite ℂ (SecondFactorFormValues j) := .pi |
| 85 | |
| 86 | /-- `𝒜^⊕`: one copy of the forms on `V°` for each choice. The level `J (ϖ²)` is sufficiently small |
| 87 | (all stabilisers of classes are trivial), so a form is the table of its values at representatives |
| 88 | of the classes, and an inner product is a plain sum over the classes. -/ |
| 89 | abbrev _root_.New.Data.FormTuples : Type := PiLp 2 fun _ : ChoiceIndex j × D.SecondFactorClasses ↦ |
| 90 | SecondFactorFormValues j |
| 91 | |
| 92 | variable {j} in |
| 93 | /-- A tuple of forms on `V°` is integral at the place `φ` over `l` if all its values are, that is, |
| 94 | have `weylGauge` at most `1`. A matrix acts on the values by its inverse transpose, so the gauge is |
| 95 | that of the conjugate vector at the conjugate place. -/ |
| 96 | def IsIntegralFormTuple {l : ℕ} [Fact l.Prime] (φ : PadicPlace l) (ζ : FormTuples j) : Prop := |
| 97 | ∀ b : ChoiceIndex j × D.SecondFactorClasses, |
| 98 | weylGauge (ι := ⟨φ.ιₚ.comp conj⟩) (untwistedDescentPair j).colsMinus 0 b.2.out (star (ζ b)) ≤ 1 |
| 99 | |
| 100 | variable {j} in |
| 101 | /-- The squared norm `‖ζ‖_σ²` of a tuple of forms on `V°`: a plain sum over the classes. -/ |
| 102 | def formTupleNormSq (σ : ℂ ≃+* ℂ) (ζ : FormTuples j) : ℝ := |
| 103 | ∑ b : ChoiceIndex j × D.SecondFactorClasses, weylNormSq (σ ∘ ζ b) |
| 104 | |
| 105 | /-- The rank `r + 9 m + 1` of `V″` is at most `2 n_m`. -/ |
| 106 | lemma card_firstFactorIndex_le_two_mul_n : card (FirstFactorIndex j) ≤ 2 * D.n D.m := by |
| 107 | rw [card_firstFactorIndex] |
| 108 | linarith only [D.six_mul_r_le_n, D.r_add_one, D.hundred_mul_m_add_nine_lt_k] |
| 109 | |
| 110 | variable (D) in |
| 111 | /-- The rank `r + t = 6 r` of `V_j` is at most `2 n_m`. -/ |
| 112 | lemma card_rowIndex_sum_fin_le_two_mul_n : card (D.RowIndex ⊕ Fin D.t) ≤ 2 * D.n D.m := by |
| 113 | rw [D.card_rowIndex_sum_fin] |
| 114 | linarith only [D.six_mul_r_le_n, D.t_eq_five_mul_r] |
| 115 | |
| 116 | /-- The basis of `V″` is large enough to hold the divided directions: `D.CarrierIndex` embeds in |
| 117 | `FirstFactorIndex j`. -/ |
| 118 | lemma nonempty_carrierIndex_embedding_firstFactorIndex : |
| 119 | Nonempty (D.CarrierIndex ↪ FirstFactorIndex j) := by |
| 120 | refine nonempty_of_card_le ?_ |
| 121 | simp only [Fintype.card_sum, Fintype.card_fin] |
| 122 | omega |
| 123 | |
| 124 | /-- If `card N ≤ card n` and the diagram `κ` has no column of height at least `card N`, then |
| 125 | `HasColumnsBelow n N κ` holds. -/ |
| 126 | lemma hasColumnsBelow_of_eq_zero {Φ n N : Type} [Fintype n] [Fintype N] {κ : Φ → ℕ → ℕ} |
| 127 | (h_card : card N ≤ card n) (h_zero : ∀ (τ : Φ) (h : ℕ), card N ≤ h → κ τ h = 0) : |
| 128 | HasColumnsBelow n N κ := by |
| 129 | refine ⟨fun τ ↦ ⟨h_card, fun h h_mem ↦ h_zero τ h (mem_Ioo.1 h_mem).1.le⟩, funext fun τ ↦ ?_⟩ |
| 130 | simp [schurDetExp, h_zero τ (card N) le_rfl] |
| 131 | |
| 132 | /-- The indices of `V″ ⊕ V°` other than those of `W_j` in `V″` are `t` in number. -/ |
| 133 | lemma card_padIndex_sum_flatIndex_sum_secondFactorIndex : |
| 134 | card (PadIndex j ⊕ D.FlatIndex ⊕ D.SecondFactorIndex) = D.t := by |
| 135 | have k_large : 100 * D.m + 9 < D.k := D.hundred_mul_m_add_nine_lt_k |
| 136 | have r_add_one : D.r + 1 = D.k + D.m := D.r_add_one |
| 137 | have t_eq : D.t = 5 * D.r := D.t_eq_five_mul_r |
| 138 | have j_le : j.val ≤ D.m := j.property.2 |
| 139 | simp only [Fintype.card_sum, Fintype.card_fin, D.card_rowIndex] |
| 140 | omega |
| 141 | |
| 142 | variable (ϑ : D.Twist) |
| 143 | |
| 144 | /-- For the `j`-th pair `W_j, V_j` and the summand `V″` of `V_j` with basis `FirstFactorIndex j`: |
| 145 | the rank of `V″` is at most that of `V_j`, and the diagram `μ⁺`, given by its numbers `colsPlus τ h` |
| 146 | of columns of height `h` at the infinite place `τ`, has no column whose height is at least the rank |
| 147 | of `V″` and below the rank of `V_j`. -/ |
| 148 | lemma hasColumnsBelow_colsPlus : |
| 149 | HasColumnsBelow (D.RowIndex ⊕ Fin D.t) (FirstFactorIndex j) (D.descentPair ϑ j).colsPlus := by |
| 150 | have k_large : 100 * D.m + 9 < D.k := D.hundred_mul_m_add_nine_lt_k |
| 151 | have r_add_one : D.r + 1 = D.k + D.m := D.r_add_one |
| 152 | refine hasColumnsBelow_of_eq_zero ?_ fun τ h h_le ↦ ?_ |
| 153 | · have t_eq : D.t = 5 * D.r := D.t_eq_five_mul_r |
| 154 | rw [card_firstFactorIndex, D.card_rowIndex_sum_fin] |
| 155 | omega |
| 156 | · -- the entry `h - 1` of the row parameter lies below `-w_j` |
| 157 | have h_rank : D.posRank j ≤ h - 1 := by |
| 158 | have j_le : j.val ≤ D.m := j.property.2 |
| 159 | rw [card_firstFactorIndex] at h_le |
| 160 | rw [posRank] |
| 161 | omega |
| 162 | have h_below : D.targetParameter τ (h - 1) + D.liftWeight j τ ≤ -D.halfGap := |
| 163 | D.targetParameter_add_liftWeight_le_neg_halfGap τ h_rank |
| 164 | simp only [descentPair] |
| 165 | omega |
| 166 | |
| 167 | /-- For `D.descentPair ϑ j`, its diagram `μ⁻` (`colsMinus`) satisfies `HasColumnsBelow`: the rank of |
| 168 | `V°` is at most that of `V_j` (`D.RowIndex ⊕ Fin D.t`), and `μ⁻` has no column whose height is at |
| 169 | least the rank of `V°` and below the rank of `V_j`. -/ |
| 170 | lemma hasColumnsBelow_colsMinus : |
| 171 | HasColumnsBelow (D.RowIndex ⊕ Fin D.t) D.SecondFactorIndex (D.descentPair ϑ j).colsMinus := by |
| 172 | refine hasColumnsBelow_of_eq_zero ?_ fun τ h h_le ↦ ?_ |
| 173 | · simp only [Fintype.card_sum, Fintype.card_fin] |
| 174 | omega |
| 175 | · -- as `r ≤ h`, both entries of the row parameter in the formula are the entry `0` |
| 176 | have h_index : D.r - h - 1 = D.r - h := by |
| 177 | rw [Fintype.card_sum, D.card_rowIndex] at h_le |
| 178 | omega |
| 179 | simp only [descentPair, h_index] |
| 180 | omega |
| 181 | |
| 182 | /-- The splitting `V_j = V″ ⊕ V°` of the basis, for the pair `descentPair ϑ j`. The indices of `W_j` |
| 183 | come first in `V″`. The divided directions are given by an arbitrary embedding of `D.CarrierIndex` |
| 184 | in `FirstFactorIndex j`. The splitting and both embeddings in `FirstFactorIndex j` do not depend on |
| 185 | the twist. -/ |
| 186 | def splittingV : DividedSplitting (FirstFactorIndex j) D.SecondFactorIndex D.CarrierIndex |
| 187 | (D.descentPair ϑ j) |
| 188 | Function.Embedding.inl where |
| 189 | -- keep the indices of `W_j`, which come first in `V″`, and number the remaining ones |
| 190 | ε := (Equiv.sumAssoc ..).trans <| (Equiv.sumAssoc ..).trans <| |
| 191 | Equiv.sumCongr 1 (Fintype.equivFinOfCardEq |
| 192 | (card_padIndex_sum_flatIndex_sum_secondFactorIndex j)) |
| 193 | fixedEmb := inl.trans Function.Embedding.inl |
| 194 | equiv_inl_fixedEmb _ := rfl |
| 195 | dividedEmb := (nonempty_carrierIndex_embedding_firstFactorIndex j).some |
| 196 | hasColumnsBelow := ⟨hasColumnsBelow_colsPlus j ϑ, hasColumnsBelow_colsMinus j ϑ⟩ |
| 197 | |
| 198 | /-- The level `J_Λ` on `V″` of a matrix `Λ` modulo `ϖ²`. It is `rowFixingLevel` for the rows of `Λ` |
| 199 | and of `ϖ • 1`: its elements are `1` modulo `ϖ` and fix `Λ` modulo `ϖ²`, and modulo `ϖ² Q`, for `Q` |
| 200 | the product of the twist places, their columns off the indices of `W_j` are those of the identity |
| 201 | matrix. -/ |
| 202 | abbrev gluingLevel |
| 203 | (Λ : Matrix D.CarrierIndex (FirstFactorIndex j) |
| 204 | (D.descentPair ϑ j).chosenModulusSq.ResidueRing) : |
| 205 | Subgroup (Gf D.E (FirstFactorIndex j)) := |
| 206 | rowFixingLevel (D.descentPair ϑ j).toLevelPlaces ((splittingV j ϑ).stackOverGenScalar Λ) |
| 207 | (splittingV j ϑ).fixedEmb |
| 208 | |
| 209 | /-- The level `J_Λ` (`gluingLevel`) is sufficiently small: at every point `g` the stabiliser |
| 210 | `classAut` is trivial. -/ |
| 211 | lemma classAut_gluingLevel_eq_bot |
| 212 | (Λ : Matrix D.CarrierIndex (FirstFactorIndex j) (D.descentPair ϑ j).chosenModulusSq.ResidueRing) |
| 213 | (g : Gf D.E (FirstFactorIndex j)) : |
| 214 | classAut (stdSpace D.E (FirstFactorIndex j)).embFin.range (gluingLevel j ϑ Λ) g = ⊥ := by |
| 215 | have h_le : gluingLevel j ϑ Λ ≤ D.chosenLevel := rowFixingLevel_le_levelOf (splittingV j ϑ) Λ |
| 216 | exact D.classAut_eq_bot_of_le_chosenLevel h_le (card_firstFactorIndex_le_two_mul_n j) g |
| 217 | |
| 218 | -- Keeps definitional checks from unfolding the finite sums. |
| 219 | seal Finset.univ in |
| 220 | /-- The lattice `L_Λ` of a choice `i` with matrix `Λ = i.1`, given by the matrix `𝗀` (the field |
| 221 | `point`) of a basis. It is chosen once, for the trivial twist, and read as a lattice for the twist |
| 222 | `ϑ`. -/ |
| 223 | def glueLattice (i : ChoiceIndex j) : DividedLattice (D.descentPair ϑ j) := |
| 224 | { ((splittingV j 1).exists_isGlued i.1).choose with } |
| 225 | |
| 226 | /-- A lattice that is glued for the twist `ϑ'` is glued for the twist `ϑ`. -/ |
| 227 | lemma isGlued_splittingV_of_isGlued {ϑ' : D.Twist} |
| 228 | {Λ : Matrix D.CarrierIndex (FirstFactorIndex j) (D.descentPair ϑ' |
| 229 | j).chosenModulusSq.ResidueRing} |
| 230 | {L : DividedLattice (D.descentPair ϑ' j)} (hL : (splittingV j ϑ').IsGlued Λ L) : |
| 231 | (splittingV j ϑ).IsGlued Λ { L with } := |
| 232 | -- the conditions on a lattice do not involve the twist, up to unfolding |
| 233 | { hL with } |
| 234 | |
| 235 | /-- The lattice `glueLattice j ϑ i` is glued for the matrix `Λ = i.1` (`IsGlued`): the congruence |
| 236 | modulo `ϖ` that defines it is, after a translation by a unique element of `congruenceGroup`, a |
| 237 | pair of conditions on the blocks `V″` and `V°`, and its inverse is integral on most of `V″`. -/ |
| 238 | lemma isGlued_glueLattice (i : ChoiceIndex j) : (splittingV j ϑ).IsGlued i.1 (glueLattice j ϑ i) := |
| 239 | isGlued_splittingV_of_isGlued j ϑ ((splittingV j 1).exists_isGlued i.1).choose_spec |
| 240 | |
| 241 | /-! ### The first factors -/ |
| 242 | |
| 243 | /-- The constant `c″ ≠ 0` that makes the vectors `c″ Υ_{ϑ,i} (h)` integral away from `Q`, and small |
| 244 | for `ϑ = 1`. Here `Υ_{ϑ,i}` is `leftSideSeries`, a theta kernel times a class sum of theta kernels |
| 245 | formed from the choice `i`. The constant depends neither on the twist nor on the choice. -/ |
| 246 | def firstFactorScale : ℂ := (exists_isIntegralAndSmall_leftSideSeries j).choose |
| 247 | |
| 248 | lemma firstFactorScale_ne_zero : firstFactorScale j ≠ 0 := |
| 249 | (exists_isIntegralAndSmall_leftSideSeries j).choose_spec.1 |
| 250 | |
| 251 | /-- The first factor `φ″_{ϑ,i}`, the complex conjugate of `c″ Υ_{ϑ,i}`, where `Υ_{ϑ,i}` |
| 252 | (`leftSideSeries`) is a function on the finite points of `U(V″)` and `c″ = firstFactorScale j`. -/ |
| 253 | def firstFactor (i : ChoiceIndex j) (h : Gf D.E (FirstFactorIndex j)) : |
| 254 | WeylIndex (FirstFactorIndex j) (untwistedDescentPair j).colsPlus → ℂ := |
| 255 | star (firstFactorScale j • leftSideSeries ϑ j i h) |
| 256 | |
| 257 | /-- The theta series `Ξ_{ϑ,i} (g) = ⟨φ″_{ϑ,i}, θ″_{ϑ,Λ} (g, ·)⟩` on `U(W_j)`. It is the sum |
| 258 | (`kernelClassSum`) over the classes `h` of level `J_Λ` of the theta kernel `θ″_{ϑ,Λ}` of |
| 259 | `(W_j, V″)` at `(g, h)`, with datum given by the rows of `Λ` stacked over those of `ϖ • 1` |
| 260 | (`stackOverGenScalar`) and polynomial given by `φ″_{ϑ,i} (h)`. -/ |
| 261 | def firstFactorPairing (i : ChoiceIndex j) (g : G D.E (D.signsW j)) : ℂ := |
| 262 | kernelClassSum (D.descentPair ϑ j) (firstFactorChar ϑ j) ((splittingV j ϑ).stackOverGenScalar i.1) |
| 263 | (splittingV j ϑ).fixedEmb (fun h ↦ star (firstFactor j ϑ i h)) g |
| 264 | |
| 265 | /-- The series `Ξ_{ϑ,i}` is `c″` times the left side `thirdExchangeLeftSide` of the third exchange, |
| 266 | the class sum over `U(V″)` whose multiple by a number is the twist-free function `choiceFn`. -/ |
| 267 | lemma firstFactorPairing_eq_mul_thirdExchangeLeftSide (i : ChoiceIndex j) (g : G D.E (D.signsW j)) : |
| 268 | firstFactorPairing j ϑ i g = firstFactorScale j * thirdExchangeLeftSide ϑ j i g := by |
| 269 | have h_star : (fun h : Gf D.E (FirstFactorIndex j) ↦ star (firstFactor j ϑ i h)) = |
| 270 | fun h ↦ firstFactorScale j • leftSideSeries ϑ j i h := funext fun h ↦ star_star _ |
| 271 | rw [firstFactorPairing] |
| 272 | -- rewrite by `h_star` with `congrArg`, as the motive of `rw` is not type correct |
| 273 | refine ((congrArg (kernelClassSum (D.descentPair ϑ j) (firstFactorChar ϑ j) _ _ · g) h_star).trans |
| 274 | (kernelClassSum_smul (O := D.descentPair ϑ j) ..)).trans |
| 275 | (congrArg (firstFactorScale j * ·) |
| 276 | (thirdExchangeLeftSide_eq_kernelClassSum ϑ j (u := Matrix.fromCols 1 0) ?_ g).symm) |
| 277 | exact (Matrix.fromCols_mul_fromRows 1 0 i.1 _).trans |
| 278 | ((congrArg₂ (· + ·) (Matrix.one_mul i.1) (Matrix.zero_mul (l := D.CarrierIndex) _)).trans |
| 279 | (add_zero _)) |
| 280 | |
| 281 | /-- Let `y` be a good form on the hermitian space `W_j = D.spaceW j`. The theta series |
| 282 | `firstFactorPairing j ϑ i` on `U(W_j)` of a twist `ϑ` and a choice `i` is a finite combination of |
| 283 | theta kernels, so its product with `y` is a rapidly decreasing automorphic function. -/ |
| 284 | lemma mul_firstFactorPairing_mem_rapidFunctions (y : D.goodForms (D.spaceW j)) (i : ChoiceIndex j) : |
| 285 | (y : G D.E (D.signsW j) → ℂ) * firstFactorPairing j ϑ i ∈ (D.spaceW j).rapidFunctions := by |
| 286 | obtain ⟨hy, -⟩ := goodForms_mem_rapidOfLevel y dvd_rfl |
| 287 | have h_tame (w : FinPlace D.E) (hw : w ∉ ((D.descentPair ϑ j).levelModulus 2).places) : |
| 288 | (D.descentPair ϑ j).tamePart w = 1 := |
| 289 | (D.descentPair ϑ j).tame_eq_one w (places_levelModulus.ge.mt hw) |
| 290 | -- the class sum is a finite sum of multiples of the products of `y` with a theta kernel |
| 291 | simp only [firstFactorPairing, kernelClassSum, classSum, finsum_eq_sum_of_fintype, Pi.mul_def, |
| 292 | Finset.mul_sum, mul_smul_comm, ← Finset.sum_fn] |
| 293 | refine (D.spaceW j).rapidFunctions.toSubmodule.sum_mem fun h _ ↦ ?_ |
| 294 | rw [← Pi.smul_def] |
| 295 | exact Submodule.smul_of_tower_mem _ _ |
| 296 | (mul_modKernel_mem_rapidFunctions inferInstance h_tame hy _ _ (1, h.out)) |
| 297 | |
| 298 | /-- The theta series `firstFactorPairing j ϑ i` on `U(W_j)` depends on the twist `ϑ` only through a |
| 299 | scalar: there are numbers `c ϑ` such that `c ϑ` times the series is `firstFactorScale j` times the |
| 300 | function `choiceFn j i`, neither of which involves `ϑ`, for all choices `i`. Moreover `|c ϑ|²` is a |
| 301 | constant `C`, possibly `0`, divided by `heckeValueProd j ϑ`, a product of three Hecke L-value |
| 302 | factors twisted by `ϑ`. -/ |
| 303 | lemma exists_mul_firstFactorPairing_eq : ∃ (C : ℂ) (c : D.Twist → ℂ), ∀ ϑ : D.Twist, |
| 304 | ‖c ϑ‖ ^ 2 = C / heckeValueProd j ϑ ∧ |
| 305 | ∀ (i : ChoiceIndex j) (g : G D.E (D.signsW j)), |
| 306 | c ϑ * firstFactorPairing j ϑ i g = firstFactorScale j * choiceFn j i g := by |
| 307 | obtain ⟨C, c, h_third⟩ := exists_mul_thirdExchangeLeftSide_eq_choiceFn j |
| 308 | refine ⟨C, c, fun ϑ : D.Twist ↦ ?_⟩ |
| 309 | obtain ⟨h_norm, h_eq⟩ := h_third ϑ |
| 310 | refine ⟨h_norm, fun i g ↦ ?_⟩ |
| 311 | calc c ϑ * firstFactorPairing j ϑ i g = firstFactorScale j * |
| 312 | (c ϑ * thirdExchangeLeftSide ϑ j i g) := by |
| 313 | rw [firstFactorPairing_eq_mul_thirdExchangeLeftSide, mul_left_comm] |
| 314 | _ = firstFactorScale j * choiceFn j i g := by rw [h_eq] |
| 315 | |
| 316 | /-- The number `c′_ϑ` with `c′_ϑ Ξ_{ϑ,i} = c″ 𝖥_i` for all `i`. -/ |
| 317 | def twistFactor : D.Twist → ℂ := (exists_mul_firstFactorPairing_eq j).choose_spec.choose |
| 318 | |
| 319 | /-- There is a constant `C`, possibly `0`, with `|c′_ϑ|² = C / heckeValueProd j ϑ` for every twist |
| 320 | `ϑ`; the denominator is the product of the Hecke values of the three exchanges. -/ |
| 321 | lemma exists_norm_twistFactor_sq_eq : |
| 322 | ∃ C : ℂ, ∀ ϑ : D.Twist, ‖twistFactor j ϑ‖ ^ 2 = C / heckeValueProd j ϑ := |
| 323 | ⟨_, fun ϑ ↦ ((exists_mul_firstFactorPairing_eq j).choose_spec.choose_spec ϑ).1⟩ |
| 324 | |
| 325 | /-- The defining equation `c′_ϑ Ξ_{ϑ,i} (g) = c″ 𝖥_i (g)` of `twistFactor`, where `𝖥_i` |
| 326 | (`choiceFn`) is a function on `U(W_j)` that does not depend on the twist. -/ |
| 327 | lemma twistFactor_mul_firstFactorPairing (i : ChoiceIndex j) (g : G D.E (D.signsW j)) : |
| 328 | twistFactor j ϑ * firstFactorPairing j ϑ i g = firstFactorScale j * choiceFn j i g := |
| 329 | ((exists_mul_firstFactorPairing_eq j).choose_spec.choose_spec ϑ).2 i g |
| 330 | |
| 331 | /-- The values of the first factor `φ″_{ϑ,i}` are integral away from the level of `ϑ`, and, if `Q` |
| 332 | is empty, their conjugates have squared norm at most `exp (f m b log² b)` (`IsIntegralAndSmall`). -/ |
| 333 | lemma isIntegralAndSmall_firstFactor (i : ChoiceIndex j) (h : Gf D.E (FirstFactorIndex j)) : |
| 334 | IsIntegralAndSmall ϑ j h (firstFactor j ϑ i h) := |
| 335 | (exists_isIntegralAndSmall_leftSideSeries j).choose_spec.2 i ϑ h |
| 336 | |
| 337 | /-- Arithmetic of the first factors: the value of `φ″_{ϑ,i}` at `h` is integral (`weylGauge` at |
| 338 | most `1`) at a place above a prime `l` that does not divide the norm of the level of `ϑ`. -/ |
| 339 | lemma weylGauge_firstFactor_le_one (i : ChoiceIndex j) (h : Gf D.E (FirstFactorIndex j)) (l : ℕ) |
| 340 | [Fact l.Prime] [PadicPlace l] (hl : l.Coprime ϑ.toTameChar.normQ) : |
| 341 | weylGauge (untwistedDescentPair j).colsPlus 0 h (firstFactor j ϑ i h) ≤ 1 := |
| 342 | (isIntegralAndSmall_firstFactor j ϑ i h).weylGauge_le_one l hl |
| 343 | |
| 344 | /-- Arithmetic of the first factors: for the trivial twist, every conjugate |
| 345 | `σ ∘ firstFactor j 1 i h` of the values of `φ″_{1,i}` has squared norm (`weylNormSq`) at most |
| 346 | `exp (D.f * D.m * D.b * D.logB ^ 2)`. -/ |
| 347 | lemma weylNormSq_firstFactor_le (i : ChoiceIndex j) (h : Gf D.E (FirstFactorIndex j)) |
| 348 | (σ : ℂ ≃+* ℂ) : |
| 349 | weylNormSq (σ ∘ firstFactor j 1 i h) ≤ exp (D.f * D.m * D.b * D.logB ^ 2) := |
| 350 | (isIntegralAndSmall_firstFactor j 1 i h).weylNormSq_le rfl σ |
| 351 | |
| 352 | /-! ### The gluing map and the slices of lifts -/ |
| 353 | |
| 354 | /-- The gluing map `glue_ϑ`. For `ζ` in the copy `i` of the forms on `V°` it is `M ^ l₁` times the |
| 355 | sum, over the classes `h` of level `J_Λ` and `h°` of level `J (ϖ²)`, of the forms supported on the |
| 356 | class of `(h, h°) 𝗀` formed from the product vector `φ″ (h) · ζ (h°)` (`productForm`). Here `𝗀` |
| 357 | is the matrix of `glueLattice j ϑ i`, `M = D.M`, and `l₁` is |
| 358 | `DividedSplitting.denominatorExponent`, the exponent that repays the denominators of `𝗀`. -/ |
| 359 | def glue : FormTuples j →ₗ[ℂ] (D.descentPair ϑ j).FormV := |
| 360 | (D.M ^ (splittingV j ϑ).denominatorExponent : ℂ) • ∑ b : ChoiceIndex j × D.SecondFactorClasses, |
| 361 | stdClassSum (gluingLevel j ϑ b.1.1) fun h : Gf D.E (FirstFactorIndex j) ↦ |
| 362 | (splittingV j ϑ).productForm (glueLattice j ϑ b.1) (h, b.2.out) (firstFactor j ϑ b.1 h) ∘ₗ |
| 363 | PiLp.projₗ 2 _ b |
| 364 | |
| 365 | /-- Evaluate the gluing map by evaluating each product form in its class sum. -/ |
| 366 | lemma glue_apply (ζ : FormTuples j) : |
| 367 | glue j ϑ ζ = (D.M ^ (splittingV j ϑ).denominatorExponent : ℂ) • |
| 368 | ∑ b : ChoiceIndex j × D.SecondFactorClasses, |
| 369 | stdClassSum (gluingLevel j ϑ b.1.1) fun h : Gf D.E (FirstFactorIndex j) ↦ |
| 370 | (splittingV j ϑ).productForm (glueLattice j ϑ b.1) (h, b.2.out) (firstFactor j ϑ b.1 h) |
| 371 | (ζ b) := by |
| 372 | let eval : (FormTuples j →ₗ[ℂ] (D.descentPair ϑ j).FormV) →ₗ[ℂ] _ := LinearMap.applyₗ ζ |
| 373 | change eval (glue j ϑ) = _ |
| 374 | unfold glue |
| 375 | refine (map_smul eval _ _).trans (congrArg _ ((map_sum eval _ _).trans ?_)) |
| 376 | exact sum_congr rfl fun b _ ↦ map_classSum eval _ |
| 377 | |
| 378 | /-- The period is a sum of slices. Let `φ` be a form on `V_j = V″ ⊕ V°` and `ζ` a tuple of forms on |
| 379 | `V°`. The inner product of `ζ` with the adjoint of the gluing map `glue j ϑ` at `φ` is `M ^ l₁` |
| 380 | (`M = D.M`, `l₁ = denominatorExponent`) times the sum, over the choices `i` with matrix `Λ = i.1`, |
| 381 | the classes `c` of `U(V°)` with representative `h° = c.out` and the classes `h` of `U(V″)` of level |
| 382 | `J_Λ = gluingLevel j ϑ Λ` (`stdClassSum`), of `⟨φ″ (h) · ζ (i, c), φ ((h, h°) 𝗀)⟩` (`gramForm`). |
| 383 | Here `φ″ = firstFactor j ϑ i`, `ε` splits the basis of `V_j` into those of `V″` and `V°`, the |
| 384 | product of vectors is `cartanProduct ε 1`, the point `(h, h°)` is the block matrix |
| 385 | `U.block ε (h, h°)`, and `𝗀` is the matrix of the lattice `glueLattice j ϑ i`. -/ |
| 386 | lemma inner_adjoint_glue (φ : (D.descentPair ϑ j).FormV) (ζ : FormTuples j) : |
| 387 | inner ℂ ζ ((glue j ϑ).adjoint φ) = |
| 388 | D.M ^ (splittingV j ϑ).denominatorExponent * ∑ i : ChoiceIndex j, ∑ c : D.SecondFactorClasses, |
| 389 | stdClassSum (gluingLevel j ϑ i.1) fun h : Gf D.E (FirstFactorIndex j) ↦ |
| 390 | gramForm (cartanProduct (splittingV j ϑ).ε 1 (firstFactor j ϑ i h) (ζ (i, c))) |
| 391 | (φ (U.block (splittingV j ϑ).ε (h, c.out) * (glueLattice j ϑ i).point)) := by |
| 392 | have h_sum {K : Subgroup (Gf D.E (FirstFactorIndex j))} [IsLevel K] |
| 393 | (f : Gf D.E (FirstFactorIndex j) → (D.descentPair ϑ j).FormV) |
| 394 | (g : Gf D.E (FirstFactorIndex j) → ℂ) (hfg : ∀ h, inner ℂ (f h) φ = g h) : |
| 395 | inner ℂ (stdClassSum K f) φ = stdClassSum K g := by |
| 396 | simp only [classSum, finsum_eq_sum_of_fintype, sum_inner] |
| 397 | refine sum_congr rfl fun x _ ↦ ?_ |
| 398 | rw [← Rat.cast_smul_eq_qsmul ℂ, ← Rat.cast_smul_eq_qsmul ℂ, inner_smul_left, |
| 399 | map_ratCast, hfg, smul_eq_mul] |
| 400 | rw [adjoint_inner_right, glue_apply, inner_smul_left, map_pow, map_natCast, sum_inner, |
| 401 | sum_prod_type] |
| 402 | refine congrArg _ (sum_congr rfl fun i _ ↦ sum_congr rfl fun c _ ↦ h_sum _ _ fun h ↦ ?_) |
| 403 | exact inner_classForm _ _ _ |
| 404 | |
| 405 | /-- The character of the lift to `V_j = V″ ⊕ V°`: the product of `ν″ = firstFactorChar` and |
| 406 | `ν° = ν_η ^ (m / 2 - j)` is the character `charV` of `descentPair ϑ j`. All are characters of |
| 407 | `U(1)`, and `ν_η = upsilonU1` is the restriction of the character `υ` to the norm-one ideles. -/ |
| 408 | lemma firstFactorChar_mul_upsilonU1_zpow : |
| 409 | firstFactorChar ϑ j * upsilonU1 ^ (D.m / 2 - j : ℤ) = (D.descentPair ϑ j).charV := by |
| 410 | -- `m` is even and `k - 1 = r - m` |
| 411 | have h_exp : (j + (5 * D.r + D.k - 1) / 2 + (D.m / 2 - j) : ℤ) = (D.r + 5 * D.r) / 2 := by |
| 412 | grind [D.m_eq_two_mul_varrho_add_two, D.r_add_one] |
| 413 | have t_eq : D.t = 5 * D.r := D.t_eq_five_mul_r |
| 414 | simp [firstFactorChar, firstFactorCharExp, rankTwist, mul_assoc, ← zpow_natCast, ← zpow_add, t_eq, |
| 415 | D.card_rowIndex, h_exp] |
| 416 | -- what remains, `D.liftChar = μ`, is the definition of `descentPair` |
| 417 | rfl |
| 418 | |
| 419 | /-- A good form on `W_j` is invariant under the lifts `liftMod 𝗎` of the elements `𝗎` of the group |
| 420 | `J̄¹` (`congruenceGroup`) of matrices modulo `ϖ²` that are `1` modulo `ϖ`, since these lifts lie in |
| 421 | the level `J (ϖ)` that fixes it. -/ |
| 422 | lemma goodForm_mul_liftMod_congruenceGroup (y : D.goodForms (D.spaceW j)) |
| 423 | (u : (splittingV j 1).congruenceGroup) (g : G D.E (D.signsW j)) : |
| 424 | (y : G D.E (D.signsW j) → ℂ) (g * (1, (liftMod u.val : Gf D.E D.RowIndex))) = |
| 425 | (y : G D.E (D.signsW j) → ℂ) g := by |
| 426 | have h_level : (liftMod u.val : Gf D.E D.RowIndex) ∈ levelOf D.chosenPlace ⊥ := |
| 427 | mem_levelOf.2 ⟨(liftMod u.val).prop, |
| 428 | funext ((splittingV j 1).reduceAt_liftMod_congruenceGroup u)⟩ |
| 429 | exact Space.mem_levelSpace_formRep_iff.1 (y : D.principalForms (D.spaceW j)).prop _ h_level g |
| 430 | |
| 431 | open scoped Classical in |
| 432 | /-- The descent to `U(W_j)` of the form `glue j ϑ ζ` on `V_j` glued from a tuple `ζ` of forms on |
| 433 | `V°` at the twist `ϑ`. Its conjugate at `g` is the sum, over the choices `i` and the matrices `u` |
| 434 | modulo `ϖ²` that are `1` modulo `ϖ` (`congruenceGroup`), of `M ^ l₁ c Ξ_i (g u) ⟨ζ_i, θ° (g u, ·)⟩`. |
| 435 | Here `M = D.M`, `l₁ = denominatorExponent`, `c` is the scalar `weilScalar` of the lattice of `i`, |
| 436 | `Ξ_i` is the theta series `firstFactorPairing j ϑ i`, the last factor is the pairing |
| 437 | `thetaKernelPairing` of the copy `i` of `ζ` with the theta kernel `θ°` of `W_j, V°`, and `g u` is |
| 438 | `g` times the lift `liftMod u`. -/ |
| 439 | lemma conj_normalizedDescent_glue (ϑ' : D.Twist) (ζ : FormTuples j) (g : G D.E (D.signsW j)) : |
| 440 | conj ((D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g) = |
| 441 | ∑ i : ChoiceIndex j, ∑ u : (splittingV j ϑ').congruenceGroup, |
| 442 | D.M ^ (splittingV j ϑ').denominatorExponent * (glueLattice j ϑ' i).weilScalar * |
| 443 | (firstFactorPairing j ϑ i * |
| 444 | thetaKernelPairing j fun c : D.SecondFactorClasses ↦ ζ (i, c)) |
| 445 | (g * (1, (liftMod u.val : Gf D.E D.RowIndex))) := by |
| 446 | -- The descent of one term of `glue ζ` is a sum over `u` of products of two kernels. |
| 447 | let Ξ (b : ChoiceIndex j × D.SecondFactorClasses) : (D.descentPair ϑ j).FormV := |
| 448 | stdClassSum (gluingLevel j ϑ b.1.1) fun h : Gf D.E (FirstFactorIndex j) ↦ |
| 449 | (splittingV j ϑ).productForm (glueLattice j ϑ b.1) (h, b.2.out) (firstFactor j ϑ b.1 h) (ζ b) |
| 450 | let gu (u : (splittingV j ϑ').congruenceGroup) : G D.E (D.signsW j) := |
| 451 | g * (1, (liftMod u.val : Gf D.E D.RowIndex)) |
| 452 | let θ (b : ChoiceIndex j × D.SecondFactorClasses) (g' : G D.E (D.signsW j)) : ℂ := |
| 453 | modKernelStdSpace (D.spaceW j) (untwistedDescentPair j).charW (upsilonU1 ^ (D.m / 2 - j : ℤ)) |
| 454 | (D.untwistedModulus 2) (Pi.single (inclMatrix (D.untwistedModulus 2).ResidueRing .inl) 1) |
| 455 | (letterPoly (D.signsW j) (untwistedDescentPair j).numbering (-1) |
| 456 | (untwistedDescentPair j).colsMinus (star (ζ b))) g' b.2.out |
| 457 | have h_glue : glue j ϑ ζ = (D.M ^ (splittingV j ϑ').denominatorExponent : ℂ) • ∑ b, Ξ b := |
| 458 | glue_apply j ϑ ζ |
| 459 | have h_term (b : ChoiceIndex j × D.SecondFactorClasses) : |
| 460 | (D.descentPair ϑ j).normalizedDescent (Ξ b) g = conj ((glueLattice j ϑ' b.1).weilScalar * |
| 461 | ∑ u, firstFactorPairing j ϑ b.1 (gu u) * θ b (gu u)) := |
| 462 | (splittingV j ϑ).normalizedDescent_stdClassSum_productForm (isGlued_glueLattice j ϑ b.1) |
| 463 | (firstFactorChar_mul_upsilonU1_zpow j ϑ) b.2.out (firstFactor j ϑ b.1) (ζ b) g |
| 464 | have h_pairing (i : ChoiceIndex j) (g' : G D.E (D.signsW j)) : |
| 465 | thetaKernelPairing j (fun c ↦ ζ (i, c)) g' = ∑ c, θ (i, c) g' := rfl |
| 466 | have h_descent : (D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g = |
| 467 | (D.M ^ (splittingV j ϑ').denominatorExponent : ℂ) * |
| 468 | ∑ b, (D.descentPair ϑ j).normalizedDescent (Ξ b) g := by |
| 469 | rw [h_glue, map_smul, map_sum] |
| 470 | exact congrArg (fun z : ℂ ↦ (D.M ^ (splittingV j ϑ').denominatorExponent : ℂ) * z) |
| 471 | (Finset.sum_apply g univ fun b ↦ (D.descentPair ϑ j).normalizedDescent (Ξ b)) |
| 472 | simp only [h_descent, h_term, h_pairing, Pi.mul_apply, mul_sum, map_sum, map_mul, |
| 473 | map_pow, map_natCast, Complex.conj_conj, sum_prod_type (α₂ := D.SecondFactorClasses), mul_assoc] |
| 474 | exact sum_congr rfl fun i _ ↦ sum_comm |
| 475 | |
| 476 | /-- Let `y` be a good form on `W_j`, `D.goodLift ϑ j y` its theta lift to `V_j` at the twist `ϑ`, |
| 477 | and `ζ` a tuple of forms on `V°`. The inner product of `ζ` with the adjoint of the gluing map |
| 478 | `glue j ϑ` at the lift is the integral, over `U(W_j)` modulo its rational points (`quotMeasure`), of |
| 479 | `y` against the conjugate of the descent `normalizedDescent` of `glue j ϑ ζ`, its pairing with the |
| 480 | theta kernel. -/ |
| 481 | lemma inner_adjoint_glue_goodLift_eq_integral (y : D.goodForms (D.spaceW j)) (ζ : FormTuples j) : |
| 482 | inner ℂ ζ ((glue j ϑ).adjoint (D.goodLift ϑ j y)) = |
| 483 | ∫ g : G D.E (D.signsW j), (y : G D.E (D.signsW j) → ℂ) g * |
| 484 | conj ((D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g) ∂(D.spaceW j).quotMeasure := by |
| 485 | -- The lift of `y` is `∫ y(g) θ(g, ·) dg`, and `⟨θ(g, ·), glue ζ⟩` is the descent of `glue ζ`. |
| 486 | set μ : Measure (G D.E (D.signsW j)) := (D.spaceW j).quotMeasure |
| 487 | let θ (g : G D.E (D.signsW j)) : (D.descentPair ϑ j).FormV := |
| 488 | (D.descentPair ϑ j).vectorKernelForm g |
| 489 | have h_lift : D.goodLift ϑ j y = ∫ g, (y : G D.E (D.signsW j) → ℂ) g • θ g ∂μ := |
| 490 | D.singleLift_eq_integral ϑ y.val |
| 491 | have h_integrable : Integrable (fun g ↦ (y : G D.E (D.signsW j) → ℂ) g • θ g) μ := |
| 492 | (D.descentPair ϑ j).integrable_smul_vectorKernelForm (D.fitsParams_descentPair ϑ j) y.val.val |
| 493 | have h_descent (g : G D.E (D.signsW j)) : |
| 494 | (D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g = inner ℂ (θ g) (glue j ϑ ζ) := |
| 495 | (D.descentPair ϑ j).normalizedDescent_eq_inner_vectorKernelForm (glue j ϑ ζ) g |
| 496 | rw [adjoint_inner_right, h_lift, ← integral_inner h_integrable] |
| 497 | simp [h_descent, inner_smul_right] |
| 498 | |
| 499 | /-- The product of a good form `y` on `W_j`, the series `Ξ_i = firstFactorPairing j ϑ i` and the |
| 500 | pairing `⟨ζ, θ° (g, ·)⟩` (`thetaKernelPairing`) is a rapidly decreasing automorphic function. -/ |
| 501 | lemma mul_mul_thetaKernelPairing_mem_rapidFunctions (y : D.goodForms (D.spaceW j)) |
| 502 | (i : ChoiceIndex j) (ζ : D.SecondFactorClasses → SecondFactorFormValues j) : |
| 503 | (y : G D.E (D.signsW j) → ℂ) * firstFactorPairing j ϑ i * thetaKernelPairing j ζ ∈ |
| 504 | (D.spaceW j).rapidFunctions := by |
| 505 | -- the pairing is a finite sum of theta kernels |
| 506 | simp only [funext (thetaKernelPairing.eq_1 j ζ), ← Finset.sum_fn, Finset.mul_sum] |
| 507 | exact (D.spaceW j).rapidFunctions.toSubmodule.sum_mem fun c _ ↦ |
| 508 | mul_modKernel_mem_rapidFunctions (hasWeight_upsilonU1_zpow _) (by simp) |
| 509 | (mul_firstFactorPairing_mem_rapidFunctions j ϑ y i) _ _ (1, c.out) |
| 510 | |
| 511 | /-- Let `y` be a good form on `W_j`, `D.goodLift ϑ j y` its theta lift to `V_j` at the twist `ϑ`, |
| 512 | and `ζ` a tuple of forms on `V°` with one copy `ζ_i` for each choice `i`. The inner product of `ζ` |
| 513 | with the adjoint of the gluing map `glue j ϑ` at the lift is the sum over `i` of |
| 514 | `M ^ l₁ c #J̄¹ ∫ y (g) Ξ_i (g) ⟨ζ_i, θ° (g, ·)⟩ dg`. Here `M = D.M` is the principal level, |
| 515 | `l₁ = denominatorExponent`, `c` is the scalar `weilScalar` of the lattice of `i` and `J̄¹` |
| 516 | (`congruenceGroup`) the group of matrices modulo `ϖ²` that are `1` modulo `ϖ`, all taken at the |
| 517 | trivial twist `1`. The series `Ξ_i` is `firstFactorPairing j ϑ i`, `thetaKernelPairing` pairs with |
| 518 | the theta kernel `θ°` of `W_j, V°`, and `quotMeasure` integrates over the quotient of `U(W_j)` by |
| 519 | its rational points. -/ |
| 520 | lemma inner_adjoint_glue_goodLift_eq_sum_integral (y : D.goodForms (D.spaceW j)) |
| 521 | (ζ : FormTuples j) : |
| 522 | inner ℂ ζ ((glue j ϑ).adjoint (D.goodLift ϑ j y)) = |
| 523 | ∑ i : ChoiceIndex j, D.M ^ (splittingV j 1).denominatorExponent * |
| 524 | (glueLattice j 1 i).weilScalar * |
| 525 | Nat.card (splittingV j 1).congruenceGroup * |
| 526 | ∫ g : G D.E (D.signsW j), |
| 527 | (y : G D.E (D.signsW j) → ℂ) g * firstFactorPairing j ϑ i g * |
| 528 | thetaKernelPairing j (fun c : D.SecondFactorClasses ↦ ζ (i, c)) g |
| 529 | ∂(D.spaceW j).quotMeasure := by |
| 530 | classical |
| 531 | -- Write the theta integral of `glue j ϑ ζ` against `y` as a sum over `i` and `𝗎 ∈ J̄¹` of |
| 532 | -- translates of `a i * f i`. Translation does not change the integral, so both sides are the |
| 533 | -- sum of `a i * ∫ f i` over all `i` and all `𝗎`. |
| 534 | let V := splittingV j 1 |
| 535 | set μ : Measure (G D.E (D.signsW j)) := (D.spaceW j).quotMeasure |
| 536 | let f (i : ChoiceIndex j) : G D.E (D.signsW j) → ℂ := |
| 537 | (y : G D.E (D.signsW j) → ℂ) * firstFactorPairing j ϑ i * thetaKernelPairing j fun c ↦ ζ (i, c) |
| 538 | let a (i : ChoiceIndex j) : ℂ := D.M ^ V.denominatorExponent * (glueLattice j 1 i).weilScalar |
| 539 | -- the point `(1, 𝗎)` of `U(W_j)` given by the lift of `𝗎 ∈ J̄¹` |
| 540 | let k (u : V.congruenceGroup) : G D.E (D.signsW j) := (1, (liftMod u.val : Gf D.E D.RowIndex)) |
| 541 | -- The measure is invariant under right translation, so all `𝗎` give the same integral. |
| 542 | have h_same (i : ChoiceIndex j) (u : V.congruenceGroup) : |
| 543 | ∫ g, f i (g * k u) ∂μ = ∫ g, f i g ∂μ ∧ Integrable (fun g ↦ f i (g * k u)) μ := by |
| 544 | obtain ⟨⟨h_cont, h_rat⟩, h_rapid⟩ := |
| 545 | mul_mul_thetaKernelPairing_mem_rapidFunctions j ϑ y i fun c ↦ ζ (i, c) |
| 546 | exact (Space.integral_comp_mul_right (V := D.spaceW j) (liftMod u.val) h_rat h_cont).imp_right |
| 547 | fun ⟨_, h_integrable⟩ ↦ h_integrable (h_rapid.integrable h_cont) |
| 548 | -- Expand the descent of the glued form; the form `y` is invariant under the points `k u`. |
| 549 | have h_point (g : G D.E (D.signsW j)) : |
| 550 | (y : G D.E (D.signsW j) → ℂ) g * conj ((D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g) = |
| 551 | ∑ x : ChoiceIndex j × V.congruenceGroup, a x.1 * f x.1 (g * k x.2) := by |
| 552 | rw [conj_normalizedDescent_glue j ϑ 1, sum_prod_type (α₂ := V.congruenceGroup)] |
| 553 | simp only [a, f, k, V, Pi.mul_apply, goodForm_mul_liftMod_congruenceGroup j y, mul_sum, |
| 554 | mul_assoc, mul_left_comm ((y : G D.E (D.signsW j) → ℂ) g)] |
| 555 | calc inner ℂ ζ ((glue j ϑ).adjoint (D.goodLift ϑ j y)) |
| 556 | = ∫ g, (y : G D.E (D.signsW j) → ℂ) g * |
| 557 | conj ((D.descentPair ϑ j).normalizedDescent (glue j ϑ ζ) g) ∂μ := |
| 558 | inner_adjoint_glue_goodLift_eq_integral j ϑ y ζ |
| 559 | _ = ∑ x : ChoiceIndex j × V.congruenceGroup, a x.1 * ∫ g, f x.1 g ∂μ := by |
| 560 | rw [funext h_point, integral_finsetSum _ fun x _ ↦ (h_same ..).2.const_mul (a x.1)] |
| 561 | simp only [integral_const_mul, h_same] |
| 562 | _ = ∑ i : ChoiceIndex j, a i * Nat.card V.congruenceGroup * ∫ g, f i g ∂μ := by |
| 563 | simp [sum_prod_type (α₂ := V.congruenceGroup), mul_assoc, |
| 564 | mul_left_comm (Fintype.card _ : ℂ)] |
| 565 | _ = _ := by simp only [a, f, V, Pi.mul_apply] |
| 566 | |
| 567 | /-! ### Integrality and size of the gluing map -/ |
| 568 | |
| 569 | /-- The gluing map `glue j ϑ`, from tuples of forms on `V°` to forms on `V_j`, keeps integrality. |
| 570 | Let `l` be a prime coprime to `ϑ.1.normQ`, the product of the norms of the places in the set Q of |
| 571 | the twist `ϑ`. Let `φ` be an embedding of `ℂ` in `ℂ_l` (`PadicPlace l`). If all values of the tuple |
| 572 | `ζ` are integral at `φ`, so are all values of `glue j ϑ ζ`. -/ |
| 573 | lemma glue_mem_integralForms {l : ℕ} [Fact l.Prime] (φ : PadicPlace l) |
| 574 | (hl : l.Coprime ϑ.toTameChar.normQ) {ζ : FormTuples j} (hζ : IsIntegralFormTuple φ ζ) : |
| 575 | glue j ϑ ζ ∈ LevelForm.integralForms φ := by |
| 576 | -- All stabilisers are trivial, so `glue ζ` is `M ^ l₁` times a plain sum of forms supported on |
| 577 | -- one class, and it is enough to bound the gauge of each term. |
| 578 | simp_rw [glue_apply, classSum, finsum_eq_sum_of_fintype, smul_sum] |
| 579 | refine sum_mem fun b _ ↦ sum_mem fun h _ g ↦ ?_ |
| 580 | simp only [classAut_gluingLevel_eq_bot j ϑ b.1.1, Subgroup.card_bot, Nat.cast_one, inv_one, |
| 581 | one_smul] |
| 582 | have h_M_mem : ↑D.M ∈ ((D.descentPair ϑ j).levelModulus 1 false).ideal := |
| 583 | D.ideal_untwistedModulus_eq_span.ge (by simp [← piM_mul_star, Ideal.mul_mem_right]) |
| 584 | -- The gauge of such a form is at most that of its vector `φ″ (h) · ζ (h°)`, and this is at most |
| 585 | -- `‖M‖⁻¹ ^ l₁` times the gauges of the two integral factors. Default transparency is needed to |
| 586 | -- recognise that product vector inside the form. |
| 587 | grw (transparency := default) [weylGauge_smul, weylGauge_deltaForm_le isOfFinOrder_level_char, |
| 588 | (splittingV j ϑ).weylGauge_cartanProduct_le h_M_mem (isGlued_glueLattice j ϑ b.1), |
| 589 | weylGauge_firstFactor_le_one j ϑ _ _ l hl, hζ b] |
| 590 | · simp [mul_inv_le_one] |
| 591 | · simp [weylGauge] |
| 592 | |
| 593 | /-- For the untwisted descent pair `untwistedDescentPair j`, at each infinite place `τ` and height |
| 594 | `i`, the number `colsMinus τ i` of columns of the diagram `μ⁻` is at most `D.gap`. -/ |
| 595 | lemma colsMinus_le (τ : NumberField.InfinitePlace D.E) (i : ℕ) : |
| 596 | (untwistedDescentPair j).colsMinus τ i ≤ D.gap := by |
| 597 | grind [add_mul, descentPair, targetParameter_eq] |
| 598 | |
| 599 | variable (D) in |
| 600 | /-- The rank of `V°` is at most `t = 5 r`. -/ |
| 601 | lemma card_secondFactorIndex_le : card D.SecondFactorIndex ≤ D.t := by |
| 602 | rw [Fintype.card_sum, Fintype.card_fin, D.card_rowIndex] |
| 603 | grind [D.hundred_mul_m_add_nine_lt_k, D.r_add_one, D.t_eq_five_mul_r] |
| 604 | |
| 605 | variable (D) in |
| 606 | private lemma card_secondFactorIndex_le_two_mul_n : card D.SecondFactorIndex ≤ 2 * D.n D.m := by |
| 607 | have ht : D.t ≤ 6 * D.r := by rw [D.t_eq_five_mul_r]; omega |
| 608 | exact (card_secondFactorIndex_le D).trans (ht.trans (D.six_mul_r_le_n.trans (by omega))) |
| 609 | |
| 610 | /-- The diagram `μ⁻` has few boxes: at each place it has at most `D.gap` columns of each height, and |
| 611 | the heights are below the rank of `V°`, which is at most `t`. -/ |
| 612 | lemma sum_mul_colsMinus_le : |
| 613 | ∑ τ : D.Φ, ∑ i ∈ range (card D.SecondFactorIndex), i * (untwistedDescentPair j).colsMinus τ i ≤ |
| 614 | card D.Φ * (D.t * (D.t * D.gap)) := by |
| 615 | have h_rank : card D.SecondFactorIndex ≤ D.t := card_secondFactorIndex_le D |
| 616 | have h_term (τ : NumberField.InfinitePlace D.E) (i : ℕ) |
| 617 | (hi : i ∈ range (card D.SecondFactorIndex)) : |
| 618 | i * (untwistedDescentPair j).colsMinus τ i ≤ D.t * D.gap := |
| 619 | Nat.mul_le_mul ((mem_range_le hi).trans h_rank) (colsMinus_le j τ i) |
| 620 | grw [sum_le_sum fun τ _ ↦ sum_le_card_nsmul _ _ _ (h_term τ), h_rank] |
| 621 | simp |
| 622 | |
| 623 | /-- The diagram `μ⁻` has few boxes, so its hook number (`hookNumberMinus`) is at most |
| 624 | `exp (x ^ 999)`, with `x = D.x` the length of the prime sum. -/ |
| 625 | lemma hookNumberMinus_le : (hookNumberMinus j : ℝ) ≤ exp (D.x ^ 999) := by |
| 626 | set L : ℕ := card D.Φ * (D.t * (D.t * D.gap)) with hL |
| 627 | have h_hook : hookNumberMinus j ≤ ((L : ℤ) ^ L) ^ 3 := hookNumber_le (sum_mul_colsMinus_le j) |
| 628 | have h_size : (3 : ℝ) * (L * L) ≤ D.x ^ 999 := by simpa [hL] using D.le_of_hasLogBound |
| 629 | calc (hookNumberMinus j : ℝ) ≤ ((L : ℝ) ^ L) ^ 3 := mod_cast h_hook |
| 630 | _ ≤ exp (3 * (L * L)) := by |
| 631 | refine le_exp_of_log_le ?_ |
| 632 | grw [log_pow, log_pow, log_le_self (Nat.cast_nonneg L), Nat.cast_ofNat] |
| 633 | _ ≤ exp (D.x ^ 999) := exp_le_exp.2 h_size |
| 634 | |
| 635 | /-- The diagram `μ⁻` has few boxes, so the number of basis tensors of its shape with rows indexed by |
| 636 | the basis `D.SecondFactorIndex` of `V°` (`ColumnFilling`) is at most `exp (x ^ 999)`, with `x = D.x` |
| 637 | the length of the prime sum. -/ |
| 638 | lemma card_columnFilling_colsMinus_le : |
| 639 | (Nat.card (ColumnFilling (fun _ : NumberField.InfinitePlace D.E ↦ D.SecondFactorIndex) |
| 640 | (untwistedDescentPair j).colsMinus) : ℝ) ≤ exp (D.x ^ 999) := by |
| 641 | set L : ℕ := card D.Φ * (D.t * (D.t * D.gap)) with hL |
| 642 | have h_card : Nat.card (ColumnFilling (fun _ ↦ D.SecondFactorIndex) |
| 643 | (untwistedDescentPair j).colsMinus) ≤ (D.t + 1) ^ L := |
| 644 | GL.card_columnFilling_le (by omega) |
| 645 | (fun _ ↦ (card_secondFactorIndex_le D).trans D.t.le_succ) (sum_mul_colsMinus_le j) |
| 646 | have h_size : (L : ℝ) * (D.t + 1 : ℕ) ≤ D.x ^ 999 := by simpa [hL] using D.le_of_hasLogBound |
| 647 | grw [h_card] |
| 648 | refine le_exp_of_log_le ?_ |
| 649 | grw [← h_size, Nat.cast_pow, log_pow, |
| 650 | log_le_self (Nat.cast_nonneg _)] |
| 651 | |
| 652 | variable {j} in |
| 653 | /-- If the index type `n` has at most `2 * D.n D.m` elements, a level `K` that contains `J (ϖ²)` |
| 654 | (`principalLevel n (D.piM ^ 2)`) has at most `exp D.b` classes (`StdClasses K`). -/ |
| 655 | lemma card_stdClasses_le_exp_of_le {n : Type} [Fintype n] [DecidableEq n] {K : Subgroup (Gf D.E n)} |
| 656 | (hK : principalLevel n (D.piM ^ 2) ≤ K) (hn : card n ≤ 2 * D.n D.m) : |
| 657 | Nat.card (StdClasses K) ≤ exp D.b := by |
| 658 | have hK' : principalLevel n ((D.M ^ 2 : ℕ) : NumberField.RingOfIntegers D.E) ≤ K := |
| 659 | (principalLevel_le_of_dvd (by simp [← piM_mul_star])).trans hK |
| 660 | exact (D.card_stdClasses_le_exp_mul_log _ hn hK').trans (exp_le_exp.2 D.le_of_hasLogBound) |
| 661 | |
| 662 | /-- At the trivial twist the level `J_Λ` (`gluingLevel`) of a choice, whose matrix `Λ` is its |
| 663 | first component, contains `J (ϖ²)`. -/ |
| 664 | lemma principalLevel_le_gluingLevel (i : ChoiceIndex j) : |
| 665 | principalLevel (FirstFactorIndex j) (D.piM ^ 2) ≤ gluingLevel j 1 i.1 := by |
| 666 | -- At the trivial twist the modulus of the level unfolds to `ϖ²`. |
| 667 | exact Modulus.principalLevel_le_levelOfSubgroup (D.ideal_untwistedModulus_eq_span.ge (by simp)) |
| 668 | |
| 669 | /-- The bound `(M ^ l₁)² · exp b · (n · exp b · G)² ≤ exp (f m b log² b)`. Here `M = D.M` is the |
| 670 | principal level, `l₁ = DividedSplitting.denominatorExponent` the exponent of `M` in the denominator |
| 671 | for the splitting `V_j = V″ ⊕ V°`, `exp b` bounds the numbers of classes of `U(V_j)` and `U(V″)`, |
| 672 | `n` the number of pairs of a choice and a class of `U(V°)`, `G = D.chosenGroupOrder` the bound on |
| 673 | the orders of the stabilisers, `f = D.f` the number of infinite places, `m = D.m` the number of |
| 674 | lifts and `b = D.b` the weight at the `b`-places, with `log b = D.logB`. -/ |
| 675 | lemma M_pow_denominatorExponent_sq_mul_le_exp : |
| 676 | (D.M ^ (splittingV j 1).denominatorExponent) ^ 2 * (exp D.b * |
| 677 | (card (ChoiceIndex j × D.SecondFactorClasses) * (exp D.b * D.chosenGroupOrder)) ^ 2) ≤ |
| 678 | exp (D.f * D.m * D.b * D.logB ^ 2) := by |
| 679 | have hM : (1 : ℝ) ≤ D.M := mod_cast NeZero.one_le |
| 680 | have h_aut : 0 < D.chosenGroupOrder := NeZero.pos _ |
| 681 | set L : ℕ := card D.Φ * (D.t * (D.t * D.gap)) with hL |
| 682 | have h_det (τ : NumberField.InfinitePlace D.E) : |
| 683 | ∑ i ∈ range (card (FirstFactorIndex j)), (untwistedDescentPair j).colsPlus τ i ≤ |
| 684 | D.natB + D.offWeight + D.gap + D.m * D.gap := by |
| 685 | grind [card_detIndex_eq_sum j τ, card_detIndex_le j τ] |
| 686 | set e : ℕ := card D.Φ * (3 * D.m * (D.natB + D.offWeight + D.gap + D.m * D.gap)) + L with he |
| 687 | have h_exponent : (splittingV j 1).denominatorExponent ≤ e := by |
| 688 | grw [DividedSplitting.denominatorExponent, h_det, colsMinus_le] |
| 689 | simp only [sum_const, Finset.card_range, card_univ, smul_eq_mul] |
| 690 | grw [card_secondFactorIndex_le D] |
| 691 | simp [he, hL, mul_add, ← Nat.succ_mul] |
| 692 | have h_ring : Nat.card (D.untwistedModulus 2).ResidueRing ≤ |
| 693 | (D.M ^ 2) ^ (2 * Core.numInfPlaces (P.E D.towerExp)) := |
| 694 | Modulus.card_residueRing_le (D.ideal_untwistedModulus_eq_span.ge |
| 695 | (by simp [← piM_mul_star, Ideal.mem_span_singleton])) (NeZero.pos _) |
| 696 | have h_card : card (ChoiceIndex j × D.SecondFactorClasses) ≤ |
| 697 | (Nat.card (D.untwistedModulus 2).ResidueRing ^ card (FirstFactorIndex j)) ^ card |
| 698 | D.CarrierIndex * |
| 699 | (exp D.b * ((card D.FlatIndex ^ (2 * D.m)) ^ D.reducedHalfGap) ^ card D.Φ) * exp D.b := by |
| 700 | -- Each of the two sets of classes has at most `exp b` elements. |
| 701 | have h_flat : Nat.card (StdClasses (principalLevel D.FlatIndex (D.piM ^ 2))) ≤ exp D.b := |
| 702 | card_stdClasses_le_exp_of_le le_rfl (by |
| 703 | grind [Fintype.card_fin, D.six_mul_r_le_n, D.hundred_mul_m_add_nine_lt_k, D.r_add_one]) |
| 704 | have h_second : |
| 705 | Nat.card (StdClasses (principalLevel D.SecondFactorIndex (D.piM ^ 2))) ≤ exp D.b := |
| 706 | card_stdClasses_le_exp_of_le le_rfl (card_secondFactorIndex_le_two_mul_n D) |
| 707 | nth_grw 1 [← h_flat] |
| 708 | grw [← h_second] |
| 709 | -- What is left counts the matrices, the two sets of classes and the selections of rows. |
| 710 | simp [↓Nat.card_prod, ↓card_eq_nat_card (α := _ × _), Matrix, mul_assoc] |
| 711 | -- The logarithms of the bounds on the number of matrices and of selections of rows. |
| 712 | set a : ℝ := card D.CarrierIndex * (card (FirstFactorIndex j) * |
| 713 | ((2 * Core.numInfPlaces (P.E D.towerExp) : ℕ) * (2 * log D.M))) with ha |
| 714 | have h_rows : card D.Φ * (D.reducedHalfGap * ((2 * D.m : ℕ) * log (card D.FlatIndex))) ≤ |
| 715 | card D.Φ * (D.halfGap * ((2 * D.m : ℕ) * (card D.FlatIndex : ℝ))) := by |
| 716 | grw [log_le_self (Nat.cast_nonneg _), reducedHalfGap, Nat.sub_le] |
| 717 | have h_size : 2 * (e * log D.M) + (D.b + 2 * (a + (D.b + |
| 718 | card D.Φ * (D.halfGap * ((2 * D.m : ℕ) * (card D.FlatIndex : ℝ)))) + D.b + |
| 719 | (D.b + log D.chosenGroupOrder))) ≤ D.f * D.m * D.b * D.logB ^ 2 := by |
| 720 | simpa [ha, he, hL, D.t_eq_five_mul_r, card_firstFactorIndex j, add_assoc] using |
| 721 | D.le_of_hasLogBound (by scale_grind D) |
| 722 | have h_flat_pos : 0 < card D.FlatIndex := Fintype.card_pos |
| 723 | grw [h_exponent, h_card, h_ring] |
| 724 | refine le_exp_of_log_le ?_ |
| 725 | grw [← h_size, ← h_rows] |
| 726 | simp (disch := positivity) only [ha, log_mul, log_pow, log_exp, Nat.cast_pow, Nat.cast_ofNat, |
| 727 | le_refl] |
| 728 | |
| 729 | /-- One term of the gluing map at the trivial twist. Let `p = (i, c)` be a choice and a class of |
| 730 | `U(V°)`, `h` a finite point of `U(V″)` and `g` one of `U(V_j)`. Take the form on `V_j` |
| 731 | (`productForm`) supported on the class of `(h, c.out)` times the matrix of `glueLattice j 1 i`, made |
| 732 | from the product of the vectors `firstFactor j 1 i h` and `ζ p`. Let `σ` be a field automorphism of |
| 733 | `ℂ`. The squared norm (`weylNormSq`) of the value of this form at `g`, moved by `σ`, is at most |
| 734 | `A² exp (f m b log² b) ‖ζ‖_σ²`. Here `‖ζ‖_σ² = formTupleNormSq σ ζ`, `A = D.chosenGroupOrder` bounds |
| 735 | the orders of the stabilisers, `f` is the number of infinite places, `m` the number of lifts and `b` |
| 736 | the weight `exp D.logB`. -/ |
| 737 | lemma weylNormSq_evalForm_productForm_le (ζ : FormTuples j) (σ : ℂ ≃+* ℂ) |
| 738 | (p : ChoiceIndex j × D.SecondFactorClasses) (h : Gf D.E (FirstFactorIndex j)) |
| 739 | (g : Gf D.E (D.RowIndex ⊕ Fin D.t)) : |
| 740 | weylNormSq (σ ∘ evalForm g ((splittingV j 1).productForm (glueLattice j 1 p.1) (h, p.2.out) |
| 741 | (firstFactor j 1 p.1 h) (ζ p))) ≤ |
| 742 | D.chosenGroupOrder ^ 2 * (exp (D.f * D.m * D.b * D.logB ^ 2) * formTupleNormSq σ ζ) := by |
| 743 | obtain ⟨h_plus, h_minus⟩ := (splittingV j 1).hasColumnsBelow |
| 744 | let V := splittingV j 1 |
| 745 | let x : Gf D.E (D.RowIndex ⊕ Fin D.t) := U.block V.ε (h, p.2.out) * (glueLattice j 1 p.1).point |
| 746 | let a : ℕ := Nat.card (classAut stdEmbFin.range (D.descentPair (1 : D.Twist) j).levelGroup x) |
| 747 | have h_aut : a ≤ D.chosenGroupOrder := |
| 748 | Nat.le_of_dvd (NeZero.pos _) (D.card_classAut_dvd_chosenGroupOrder |
| 749 | (card_rowIndex_sum_fin_le_two_mul_n D) levelOf_le_stdLevel x) |
| 750 | have h_map : σ ∘ cartanProduct V.ε 1 (firstFactor j 1 p.1 h) (ζ p) = |
| 751 | cartanProduct V.ε 1 (σ ∘ firstFactor j 1 p.1 h) (σ ∘ ζ p) := |
| 752 | map_cartanProduct h_plus h_minus V.ε (firstFactor j 1 p.1 h) (ζ p) σ.toRingHom |
| 753 | have h_first : weylNormSq (σ ∘ firstFactor j 1 p.1 h) ≤ exp (D.f * D.m * D.b * D.logB ^ 2) := |
| 754 | weylNormSq_firstFactor_le j p.1 h σ |
| 755 | have h_second : weylNormSq (σ ∘ ζ p) ≤ formTupleNormSq σ ζ := |
| 756 | single_le_sum (fun q _ ↦ weylNormSq_nonneg (σ ∘ ζ q)) (mem_univ p) |
| 757 | -- A form supported on one class costs the order of a stabiliser, and the norm of the product |
| 758 | -- vector is the product of the norms. |
| 759 | calc _ ≤ a ^ 2 * weylNormSq (σ ∘ cartanProduct V.ε 1 (firstFactor j 1 p.1 h) (ζ p)) := |
| 760 | weylNormSq_deltaForm_le isOfFinOrder_level_char σ x _ g |
| 761 | _ = a ^ 2 * (weylNormSq (σ ∘ firstFactor j 1 p.1 h) * weylNormSq (σ ∘ ζ p)) := |
| 762 | by rw [h_map, weylNormSq_cartanProduct h_plus h_minus] |
| 763 | _ ≤ _ := mul_le_mul (by gcongr) |
| 764 | (mul_le_mul h_first h_second (weylNormSq_nonneg _) (exp_pos _).le) |
| 765 | (mul_nonneg (weylNormSq_nonneg _) (weylNormSq_nonneg _)) (sq_nonneg _) |
| 766 | |
| 767 | /-- At the trivial twist `1`, every place `placeAt i` of the level of `V_j` (the places of |
| 768 | `descentPair 1 j`) contains `piM ^ 2`. -/ |
| 769 | lemma piM_sq_mem_placeAt_descentPair_one |
| 770 | (i : (D.descentPair (1 : D.Twist) j).ChosenIndex ⊕ (D.descentPair (1 : D.Twist) j).TwistIndex) : |
| 771 | D.piM ^ 2 ∈ ((D.descentPair (1 : D.Twist) j).placeAt i).asIdeal := by |
| 772 | obtain ⟨w, -, h_mem, -⟩ | i := i |
| 773 | · exact Ideal.pow_mem_of_mem _ h_mem 2 two_pos |
| 774 | · exact nomatch i |
| 775 | |
| 776 | /-- Norm bound for the gluing map at the trivial twist: for a tuple `ζ` of forms on `V°` and an |
| 777 | automorphism `σ` of `ℂ`, the squared norm `normSqAt σ` of the form `glue j 1 ζ` on `V_j` is at most |
| 778 | `exp (2 f m b log² b)` times `‖ζ‖_σ²` (`formTupleNormSq`). Here `f` is the number of infinite |
| 779 | places, `m` the number of lifts and `b` the weight `exp D.logB`. -/ |
| 780 | lemma normSqAt_glue_le (ζ : FormTuples j) (σ : ℂ ≃+* ℂ) : |
| 781 | (glue j (1 : D.Twist) ζ).normSqAt σ ≤ |
| 782 | exp (2 * (D.f * D.m * D.b * D.logB ^ 2)) * formTupleNormSq σ ζ := by |
| 783 | -- Each value of each term of `glue ζ` has norm at most `√(chosenGroupOrder ^ 2 * S)`. The norm of |
| 784 | -- a sum is at most its number of terms times this; `M_pow_denominatorExponent_sq_mul_le_exp` |
| 785 | -- collects these numbers and `M ^ l₁`. |
| 786 | rw [two_mul, exp_add, mul_assoc] |
| 787 | set S : ℝ := exp (D.f * D.m * D.b * D.logB ^ 2) * formTupleNormSq σ ζ |
| 788 | have hS : 0 ≤ S := by simp [S, formTupleNormSq, exp_pos, Finset.sum_nonneg] |
| 789 | let v (g : Gf D.E (D.RowIndex ⊕ Fin D.t)) := ∑ p : ChoiceIndex j × D.SecondFactorClasses, |
| 790 | stdClassSum (gluingLevel j 1 p.1.1) fun h ↦ evalForm g ((splittingV j 1).productForm |
| 791 | (glueLattice j 1 p.1) (h, p.2.out) (firstFactor j 1 p.1 h) (ζ p)) |
| 792 | set N : ℕ := card (ChoiceIndex j × D.SecondFactorClasses) |
| 793 | set c : ℝ := (D.M ^ (splittingV j 1).denominatorExponent) ^ 2 with hc |
| 794 | let K : Subgroup (Gf D.E (D.RowIndex ⊕ Fin D.t)) := (D.descentPair (1 : D.Twist) j).levelGroup |
| 795 | have h_value (g : Gf D.E (D.RowIndex ⊕ Fin D.t)) : |
| 796 | √(weylNormSq (σ ∘ v g)) ≤ N • (exp D.b * √(D.chosenGroupOrder ^ 2 * S)) := by |
| 797 | refine (sqrt_weylNormSq_sum_le ..).trans (sum_le_card_nsmul _ _ _ fun p _ ↦ ?_) |
| 798 | grw [← card_stdClasses_le_exp_of_le (principalLevel_le_gluingLevel j p.1) |
| 799 | (card_firstFactorIndex_le_two_mul_n j)] |
| 800 | exact sqrt_weylNormSq_classSum_le σ fun h ↦ |
| 801 | sqrt_le_sqrt (weylNormSq_evalForm_productForm_le j ζ σ p h g) |
| 802 | have h_classes : Nat.card (DoubleCosets stdRatPoints K) ≤ exp D.b := |
| 803 | card_stdClasses_le_exp_of_le (principalLevel_le_levelOf (piM_sq_mem_placeAt_descentPair_one j)) |
| 804 | (card_rowIndex_sum_fin_le_two_mul_n D) |
| 805 | calc (glue j (1 : D.Twist) ζ).normSqAt σ |
| 806 | = c * classSum stdRatPoints K fun g ↦ weylNormSq (σ ∘ v g) := by |
| 807 | simp only [glue_apply, LevelForm.normSqAt, apply_eq_evalForm] |
| 808 | simp [hc, v, K, ← mul_classSum, map_classSum] |
| 809 | _ ≤ c * (exp D.b * (N • (exp D.b * √(D.chosenGroupOrder ^ 2 * S))) ^ 2) := by |
| 810 | grw [classSum_le_card_mul_sq h_value, h_classes] |
| 811 | _ = c * (exp D.b * (N * (exp D.b * D.chosenGroupOrder)) ^ 2) * S := by |
| 812 | simp (disch := positivity) [mul_pow, sq_sqrt, mul_assoc] |
| 813 | _ ≤ exp (D.f * D.m * D.b * D.logB ^ 2) * S := by |
| 814 | grw [M_pow_denominatorExponent_sq_mul_le_exp j] |
| 815 | |
| 816 | /-! ### Periods of false lifts -/ |
| 817 | |
| 818 | open scoped Classical in |
| 819 | /-- Let `Ξ` be a form on `V_j`, for the pair `W_j, V_j` at the twist `ϑ` (`descentPair ϑ j`), in the |
| 820 | image of the idempotent `D.e₀` of the group algebra of `∏ GL_r (k_w)` over the residue fields `k_w` |
| 821 | of the chosen places `w`. Let `v` give a vector in `k_w ^ r` at each chosen place, not `0` at the |
| 822 | place `i`. Then `Ξ` is killed by the pure tensor of the elements `∑ χ_w (det h)⁻¹ h`, summed over |
| 823 | the invertible `h = 1 + u vᵀ` (`hyperplaneSum`), where `χ_w` is the residue character `tamePart`. -/ |
| 824 | lemma hyperplaneSum_apply_eq_zero {Ξ : (D.descentPair ϑ j).FormV} |
| 825 | (hΞ : Ξ ∈ (groupAlgAction (D.descentPair ϑ j) D.e₀).range) (i : (D.descentPair ϑ j).ChosenIndex) |
| 826 | (v : ∀ k : (D.descentPair ϑ j).ChosenIndex, |
| 827 | D.RowIndex → ResField ((D.descentPair ϑ j).chosenPlace k)) (hv : v i ≠ 0) : |
| 828 | (D.descentPair ϑ j).formAction.asAlgebraHom |
| 829 | (piTensorElem fun k : (D.descentPair ϑ j).ChosenIndex ↦ |
| 830 | hyperplaneSum ((D.descentPair ϑ j).tamePart ((D.descentPair ϑ j).chosenPlace k)) (v k)) Ξ = |
| 831 | 0 := by |
| 832 | obtain ⟨x, rfl⟩ := hΞ |
| 833 | have h_mem : D.piM ∈ (D.chosenPlace i).asIdeal := by |
| 834 | obtain ⟨k, w, h_mem, -⟩ := i |
| 835 | exact h_mem |
| 836 | have h_tame : ϑ.tamePart (D.chosenPlace i) = 1 := ϑ.tamePart_eq_one _ fun h_mem_Q ↦ by |
| 837 | obtain ⟨-, h_notMem, -⟩ := D.normQ_mem_and_notMem_of_mem_Q ϑ (.inl h_mem_Q) |
| 838 | exact h_notMem h_mem |
| 839 | set T : MonoidAlgebra ℂ ((D.descentPair ϑ j).ChosenGL D.RowIndex) := piTensorElem fun k ↦ |
| 840 | hyperplaneSum ((D.descentPair ϑ j).tamePart ((D.descentPair ϑ j).chosenPlace k)) (v k) |
| 841 | let e₀ : MonoidAlgebra ℂ ((D.descentPair ϑ j).ChosenGL D.RowIndex) := D.e₀ |
| 842 | have h_kill : T * e₀ = 0 := |
| 843 | D.hyperplaneSum_mul_e₀ (x := fun k ↦ hyperplaneSum |
| 844 | ((D.descentPair ϑ j).tamePart ((D.descentPair ϑ j).chosenPlace k)) (v k)) |
| 845 | i (D.chiMLocal_zpow_mul_pow_eq_one j h_tame) hv rfl |
| 846 | let ρ := (D.descentPair ϑ j).formAction.asAlgebraHom |
| 847 | calc ρ T (ρ e₀ x) = ρ (T * e₀) x := (LinearMap.congr_fun (map_mul ρ T e₀) x).symm |
| 848 | _ = 0 := by rw [h_kill, map_zero, LinearMap.zero_apply] |
| 849 | |
| 850 | /-- Let `Ξ` be a form on `V_j`, for the pair `W_j, V_j` at the twist `ϑ` (`descentPair ϑ j`). If `Ξ` |
| 851 | lies in the image of the idempotent `D.e₀` and is orthogonal to the theta lifts `D.goodLift ϑ j y` |
| 852 | of all good forms `y` on `W_j` (principal level, in the image of `D.e₀`), then its descent |
| 853 | `normalizedDescent Ξ`, the function on `U(W_j)` that pairs `Ξ` with the theta kernel, vanishes. -/ |
| 854 | lemma normalizedDescent_eq_zero_of_mem_orthogonal {Ξ : (D.descentPair ϑ j).FormV} |
| 855 | (hΞ : Ξ ∈ (groupAlgAction (D.descentPair ϑ j) D.e₀).range) |
| 856 | (h_orth : Ξ ∈ (D.goodLift ϑ j).rangeᗮ) : (D.descentPair ϑ j).normalizedDescent Ξ = 0 := by |
| 857 | -- For every `y`, `⟨Θ y, Ξ⟩ = ⟨Θ y, e₀ Ξ⟩ = ⟨e₀ Θ y, Ξ⟩`, and `e₀ Θ y` is the lift of a good form. |
| 858 | have h_fix : (D.descentPair ϑ j).groupAlgAction D.e₀ Ξ = Ξ := |
| 859 | (D.isCentralProj_e₀.1.map _).mem_range_iff.1 hΞ |
| 860 | refine D.normalizedDescent_eq_zero_of_inner_eq_zero ϑ Ξ fun y ↦ ?_ |
| 861 | have h_lift : (D.descentPair ϑ j).groupAlgAction D.e₀ (D.singleLift ϑ j y) ∈ |
| 862 | (D.goodLift ϑ j).range := |
| 863 | ⟨⟨_, _, rfl⟩, singleLift_asAlgebraHom ..⟩ |
| 864 | calc _ = inner ℂ (D.singleLift ϑ j y) ((D.descentPair ϑ j).groupAlgAction D.e₀ Ξ) := by rw [h_fix] |
| 865 | _ = inner ℂ ((D.descentPair ϑ j).groupAlgAction D.e₀ (D.singleLift ϑ j y)) Ξ := |
| 866 | (innerAt_groupAlgAction _ D.isCentralProj_e₀ ..).symm |
| 867 | _ = 0 := h_orth _ h_lift |
| 868 | |
| 869 | /-- For the pair `descentPair ϑ j`, its `tamePart` is not `1` at any place `twistPlace i`, that is, |
| 870 | at any place of its set `Q`. -/ |
| 871 | lemma tamePart_twistPlace_ne_one (i : (D.descentPair ϑ j).TwistIndex) : |
| 872 | (D.descentPair ϑ j).tamePart ((D.descentPair ϑ j).twistPlace i) ≠ 1 := |
| 873 | (liftTamePart_eq_of_mem_Q ..).trans_ne (ϑ.tamePart_ne_one _ i.property) |
| 874 | |
| 875 | -- Keeps definitional checks from unfolding the finite sums. |
| 876 | seal Finset.univ in |
| 877 | /-- Slices of false lifts vanish. Let `w` be a split place (`star w ≠ w`) off the level of the pair |
| 878 | `descentPair ϑ j`, and let `Ξ` be a false lift at `w`: a form on `V_j = V″ ⊕ V°` in the image of the |
| 879 | projection `e₀` that is killed by the Hecke polynomial operator at `w` and is orthogonal to the |
| 880 | lifts of good forms. Let `h` be a finite point of `U(V″)`, `y` any vector of weight `μ⁺` |
| 881 | (`colsPlus`) on `V″` and `g` a point of `U(W_j)`. Then the sum, over the classes of `U(V°)` with |
| 882 | representative `h° = c.out`, of the pairing of `Ξ ((h, h°) 𝗀)` with the product (`cartanProduct`) of |
| 883 | `y` and `θ° (g, h°)` is `0`. Here `θ°`, the conjugate of `kernelVector`, is the theta kernel of |
| 884 | `W_j, V°` of weight `μ⁻` (`colsMinus`), any datum `Ψ` modulo `ϖ²` (`ϖ = D.piM`) and any character |
| 885 | `b`, and `𝗀 = L.point` is the matrix of a lattice `L` between `ϖ 𝒪ⁿ` and `𝒪ⁿ`. -/ |
| 886 | lemma sum_slice_eq_zero_of_mem_falseLiftsAt {w : FinPlace D.E} {hw : star w ≠ w} |
| 887 | {hS : w ∉ (D.descentPair ϑ j).places.conjClosure} {Ξ : (D.descentPair ϑ j).FormV} |
| 888 | (hΞ : Ξ ∈ (D.descentPair ϑ j).falseLiftsAt hw hS D.e₀ (D.goodLift ϑ j).rangeᗮ) |
| 889 | (L : DividedLattice (D.descentPair ϑ j)) (h : Gf D.E (FirstFactorIndex j)) |
| 890 | (y : WeylIndex (FirstFactorIndex j) (D.descentPair ϑ j).colsPlus → ℂ) (b : AutChar D.E) |
| 891 | (Ψ : Matrix D.SecondFactorIndex D.RowIndex (D.descentPair ϑ j).chosenModulusSq.ResidueRing → ℂ) |
| 892 | (g : G D.E (D.signsW j)) : |
| 893 | ∑ c : D.SecondFactorClasses, gramForm |
| 894 | (cartanProduct (splittingV j ϑ).ε 1 y (star (kernelVector (D.descentPair ϑ j) b |
| 895 | (D.descentPair ϑ j).chosenModulusSq Ψ (D.descentPair ϑ j).colsMinus g c.out))) |
| 896 | (Ξ (U.block (splittingV j ϑ).ε (h, c.out) * L.point)) = 0 := by |
| 897 | obtain ⟨⟨hΞ_range, hΞ_ker⟩, hΞ_orth⟩ := hΞ |
| 898 | have h_gap : 2 * card D.RowIndex + 2 * card (FirstFactorIndex j) + 3 < card |
| 899 | (D.RowIndex ⊕ Fin D.t) := by |
| 900 | rw [D.card_rowIndex_sum_fin, D.card_rowIndex, card_firstFactorIndex] |
| 901 | grind [D.hundred_mul_m_add_nine_lt_k, D.r_add_one, D.t_eq_five_mul_r] |
| 902 | -- Periods of false lifts vanish, here for the point `(h, h°) 𝗀`, the map `ζ ↦ y · ζ` and the |
| 903 | -- level `J (ϖ²)`, which fixes the pairing, as its conjugate by `𝗀` fixes `Ξ`. |
| 904 | have h_period : stdClassSum (principalLevel D.SecondFactorIndex (D.piM ^ 2)) |
| 905 | (fun h' : Gf D.E D.SecondFactorIndex ↦ inner ℂ ((splittingV j ϑ).productForm L (h, h') y |
| 906 | (star (kernelVector (D.descentPair ϑ j) b (D.descentPair ϑ j).chosenModulusSq Ψ |
| 907 | (D.descentPair ϑ j).colsMinus g h'))) Ξ) = 0 := |
| 908 | (splittingV j ϑ).stdClassSum_inner_productForm_eq_zero (D.fitsParams_descentPair ϑ j) |
| 909 | (tamePart_twistPlace_ne_one j ϑ) (hyperplaneSum_apply_eq_zero j ϑ hΞ_range) |
| 910 | (normalizedDescent_eq_zero_of_mem_orthogonal j ϑ hΞ_range hΞ_orth) hΞ_ker h_gap |
| 911 | D.ideal_untwistedModulus_eq_span L h y b Ψ g |
| 912 | -- The level `J (ϖ²)` on `V°` is sufficiently small, so the class sum is a plain sum. |
| 913 | have h_small (h' : Gf D.E D.SecondFactorIndex) : |
| 914 | classAut stdRatPoints (principalLevel D.SecondFactorIndex (D.piM ^ 2)) h' = ⊥ := |
| 915 | D.classAut_eq_bot_of_le_chosenLevel (D.principalLevel_le_chosenLevel ⟨_, sq _⟩) |
| 916 | (card_secondFactorIndex_le_two_mul_n D) h' |
| 917 | -- The inner product with a form supported on one class is the pairing with the value there. |
| 918 | simpa [↓h_small, classSum, ↓ finsum_eq_sum_of_fintype, DividedSplitting.productForm, |
| 919 | inner_classForm] using! h_period |
| 920 | |
| 921 | /-- Let `Ξ` be a false lift on `V_j` at a split place `w` off the level of `descentPair ϑ j`: a form |
| 922 | in the image of `D.e₀` that is killed by the Hecke polynomial operator at `w` and is orthogonal to |
| 923 | the lifts of good forms. The adjoint of the gluing map `glue j ϑ` takes `Ξ` to a tuple of forms on |
| 924 | `V°`, one for each choice `i`, given by values at the classes `c`. Each of them has pairing `0` with |
| 925 | the theta kernel `θ° (g, ·)` of `W_j, V°` at every `g` in `U(W_j)`. -/ |
| 926 | lemma thetaKernelPairing_adjoint_glue_eq_zero {w : FinPlace D.E} {hw : star w ≠ w} |
| 927 | {hS : w ∉ (D.descentPair ϑ j).places.conjClosure} {Ξ : (D.descentPair ϑ j).FormV} |
| 928 | (hΞ : Ξ ∈ (D.descentPair ϑ j).falseLiftsAt hw hS D.e₀ (D.goodLift ϑ j).rangeᗮ) |
| 929 | (i : ChoiceIndex j) (g : G D.E (D.signsW j)) : |
| 930 | thetaKernelPairing j (fun c : D.SecondFactorClasses ↦ (glue j ϑ).adjoint Ξ (i, c)) g = 0 := by |
| 931 | classical |
| 932 | -- The conjugate of the value is the product of the period with the tuple `η` of the values of |
| 933 | -- `θ° (g, ·)` in the copy `i`, and the period is a sum of slices of `Ξ`. |
| 934 | let θ (c : D.SecondFactorClasses) : SecondFactorFormValues j := |
| 935 | star ∘ kernelVector (untwistedDescentPair j) (upsilonU1 ^ (D.m / 2 - j : ℤ)) |
| 936 | (D.untwistedModulus 2) (Pi.single (inclMatrix _ inl) 1) (untwistedDescentPair j).colsMinus g |
| 937 | c.out |
| 938 | let η : FormTuples j := .toLp 2 fun b ↦ if b.1 = i then θ b.2 else 0 |
| 939 | have h_slice (i' : ChoiceIndex j) (h : Gf D.E (FirstFactorIndex j)) : |
| 940 | ∑ c : D.SecondFactorClasses, |
| 941 | gramForm (cartanProduct (splittingV j ϑ).ε 1 (firstFactor j ϑ i' h) (η (i', c))) |
| 942 | (Ξ (U.block (splittingV j ϑ).ε (h, c.out) * (glueLattice j ϑ i').point)) = 0 := by |
| 943 | by_cases hi : i' = i |
| 944 | · simp only [η, ite_eq_left hi] |
| 945 | exact sum_slice_eq_zero_of_mem_falseLiftsAt j ϑ hΞ (glueLattice j ϑ i') h _ _ _ g |
| 946 | · simp only [η, hi, ↓reduceIte, map_zero] |
| 947 | exact Finset.sum_eq_zero fun _ _ ↦ rfl |
| 948 | refine star_eq_zero.1 ?_ |
| 949 | calc star (thetaKernelPairing j (fun c ↦ (glue j ϑ).adjoint Ξ (i, c)) g) |
| 950 | = ∑ c, inner ℂ (θ c) ((glue j ϑ).adjoint Ξ (i, c)) := by |
| 951 | -- The kernel is linear in its polynomial; expand both sides in the basis of weight `μ⁻`. |
| 952 | simp [θ, thetaKernelPairing, kernelVector, inner, letterPoly, toPoly, |
| 953 | linearCombination_apply, ← modKernelBilin_apply, Matrix.mulVec, dotProduct] |
| 954 | rfl |
| 955 | _ = ∑ i', ∑ c, inner ℂ (η (i', c)) ((glue j ϑ).adjoint Ξ (i', c)) := by |
| 956 | rw [Fintype.sum_eq_single i (by simp +contextual [η])] |
| 957 | simp [η] |
| 958 | _ = inner ℂ η ((glue j ϑ).adjoint Ξ) := by |
| 959 | rw [PiLp.inner_apply, sum_prod_type (α₂ := D.SecondFactorClasses)] |
| 960 | _ = 0 := by |
| 961 | rw [inner_adjoint_glue] |
| 962 | refine mul_eq_zero_of_right _ (Finset.sum_eq_zero fun i' _ ↦ ?_) |
| 963 | simp only [classSum, finsum_eq_sum_of_fintype] |
| 964 | rw [sum_comm] |
| 965 | refine Finset.sum_eq_zero fun h _ ↦ ?_ |
| 966 | rw [← smul_sum, h_slice, smul_zero] |
| 967 | |
| 968 | /-! ### The map `Θ°`, the seesaw identity and the false lifts -/ |
| 969 | |
| 970 | /-- The number `c°_i = M ^ l₁ c_𝗀 #J̄¹ c″` of the choice `i`, with `c_𝗀` the scalar of the lattice, |
| 971 | `J̄¹` the group `congruenceGroup` and `c″ = firstFactorScale j`. It does not depend on the twist. -/ |
| 972 | def glueFactor (i : ChoiceIndex j) : ℂ := |
| 973 | D.M ^ (splittingV j 1).denominatorExponent * (glueLattice j 1 i).weilScalar * |
| 974 | Nat.card (splittingV j 1).congruenceGroup * firstFactorScale j |
| 975 | |
| 976 | lemma glueFactor_ne_zero (i : ChoiceIndex j) : glueFactor j i ≠ 0 := by |
| 977 | simp [glueFactor, DividedLattice.weilScalar, NeZero.ne, firstFactorScale_ne_zero] |
| 978 | |
| 979 | /-- Let `y` be a good form on `W_j` and `ζ` a tuple of forms on `V°`. Take the inner product of `ζ` |
| 980 | with the adjoint of the gluing map `glue j ϑ` at the theta lift of `y`, and multiply it by |
| 981 | `twistFactor j ϑ`, the scalar that carries the dependence of the series `firstFactorPairing` on the |
| 982 | twist `ϑ`. The result is the sum over the choices `i` of the number `glueFactor j i` times the |
| 983 | integral over `U(W_j)` modulo rational points of `y`, the function `choiceFn j i` and the pairing of |
| 984 | the copy `i` of `ζ` with the theta kernel of `W_j, V°`. -/ |
| 985 | lemma twistFactor_mul_inner_adjoint_glue (y : D.goodForms (D.spaceW j)) (ζ : FormTuples j) : |
| 986 | twistFactor j ϑ * inner ℂ ζ ((glue j ϑ).adjoint (D.goodLift ϑ j y)) = |
| 987 | ∑ i : ChoiceIndex j, glueFactor j i * |
| 988 | ∫ g : G D.E (D.signsW j), (y : G D.E (D.signsW j) → ℂ) g * choiceFn j i g * |
| 989 | thetaKernelPairing j (fun c : D.SecondFactorClasses ↦ ζ (i, c)) g |
| 990 | ∂(D.spaceW j).quotMeasure := by |
| 991 | rw [inner_adjoint_glue_goodLift_eq_sum_integral, mul_sum] |
| 992 | refine sum_congr rfl fun i _ ↦ ?_ |
| 993 | rw [mul_left_comm, glueFactor, mul_assoc _ (firstFactorScale j), |
| 994 | ← integral_const_mul (firstFactorScale j), |
| 995 | ← integral_const_mul (twistFactor j ϑ)] |
| 996 | refine congrArg _ (integral_congr_ae (.of_forall fun g ↦ ?_)) |
| 997 | have h_series : twistFactor j ϑ * firstFactorPairing j ϑ i g = firstFactorScale j * choiceFn j i |
| 998 | g := |
| 999 | twistFactor_mul_firstFactorPairing j ϑ i g |
| 1000 | linear_combination |
| 1001 | (y : G D.E (D.signsW j) → ℂ) g * thetaKernelPairing j (fun c ↦ ζ (i, c)) g * h_series |
| 1002 | |
| 1003 | /-- The map `Θ°` from the good forms on `W_j` to tuples of forms on `V°` whose copy `i` is |
| 1004 | `c°_i ∫ y (g) 𝖥_i (g) θ° (g, ·) dg` (`inner_periodLift`). It is defined as `c′_1 glue_1* Θ_{j,1}`, |
| 1005 | the left side of the seesaw identity at the trivial twist. -/ |
| 1006 | def periodLift : D.goodForms (D.spaceW j) →ₗ[ℂ] FormTuples j := |
| 1007 | twistFactor j 1 • (glue j 1).adjoint ∘ₗ D.goodLift (1 : D.Twist) j |
| 1008 | |
| 1009 | /-- The product of `Θ° y` with a tuple `ζ` is the sum over the choices `i` of `c°_i` times the |
| 1010 | integral of `y 𝖥_i` against the pairing of `θ° (g, ·)` with the copy `i` of `ζ`. -/ |
| 1011 | lemma inner_periodLift (y : D.goodForms (D.spaceW j)) (ζ : FormTuples j) : |
| 1012 | inner ℂ ζ (periodLift j y) = ∑ i : ChoiceIndex j, glueFactor j i * |
| 1013 | ∫ g : G D.E (D.signsW j), (y : G D.E (D.signsW j) → ℂ) g * choiceFn j i g * |
| 1014 | thetaKernelPairing j (fun c : D.SecondFactorClasses ↦ ζ (i, c)) g |
| 1015 | ∂(D.spaceW j).quotMeasure := by |
| 1016 | simpa [periodLift] using twistFactor_mul_inner_adjoint_glue j 1 y ζ |
| 1017 | |
| 1018 | /-- The seesaw identity `c′_ϑ glue_ϑ* Θ_{j,ϑ} = Θ°`: the number `twistFactor j ϑ` times the |
| 1019 | composite of the lift `goodLift` with the adjoint of the gluing map `glue` is the map |
| 1020 | `periodLift`, which does not depend on the twist. -/ |
| 1021 | theorem twistFactor_smul_adjoint_glue_comp : |
| 1022 | twistFactor j ϑ • (glue j ϑ).adjoint ∘ₗ D.goodLift ϑ j = periodLift j := by |
| 1023 | refine ext fun y ↦ ext_inner_left ℂ fun ζ ↦ ?_ |
| 1024 | simpa [inner_periodLift, inner_smul_right] using twistFactor_mul_inner_adjoint_glue j ϑ y ζ |
| 1025 | |
| 1026 | /-- For a good form `y` on `W_j`, the glued form `glue j ϑ (periodLift j y)` is orthogonal to the |
| 1027 | false lifts at every split place off the level: the forms in the image of `e₀` that are killed by |
| 1028 | the Hecke polynomial operator and are orthogonal to the lifts. -/ |
| 1029 | theorem isOrthogonalToFalseLifts_glue_periodLift (y : D.goodForms (D.spaceW j)) : |
| 1030 | IsOrthogonalToFalseLifts (D.descentPair ϑ j) D.e₀ (D.goodLift ϑ j).rangeᗮ |
| 1031 | (glue j ϑ (periodLift j y)) := by |
| 1032 | intro w hw hS φ hφ |
| 1033 | -- `⟨φ, glue Θ° y⟩ = ⟨glue* φ, Θ° y⟩` is an integral against the products of the period of `φ` |
| 1034 | -- with the kernels `θ° (g, ·)`, and these vanish. |
| 1035 | rw [← adjoint_inner_left, inner_periodLift] |
| 1036 | simp [thetaKernelPairing_adjoint_glue_eq_zero j ϑ hφ] |
| 1037 | |
| 1038 | /-! ### Injectivity of `Θ°` -/ |
| 1039 | |
| 1040 | /-- The map `periodLift j` from good forms on `W_j` to tuples of forms on `V°` is injective. -/ |
| 1041 | theorem periodLift_injective : Function.Injective (periodLift j) := by |
| 1042 | classical |
| 1043 | refine (injective_iff_map_eq_zero _).2 fun y hy ↦ |
| 1044 | eq_zero_of_integral_choiceFn_thetaKernelPairing y fun i ζ ↦ ?_ |
| 1045 | -- Test `Θ° y = 0` against the tuple that is `ζ` in the copy `i` and zero elsewhere. |
| 1046 | let η : FormTuples j := .toLp 2 fun b : ChoiceIndex j × D.SecondFactorClasses ↦ |
| 1047 | if b.1 = i then ζ b.2 else 0 |
| 1048 | have h_test := inner_periodLift j y η |
| 1049 | -- The copies other than `i` contribute nothing. |
| 1050 | rw [hy, inner_zero_right, Fintype.sum_eq_single i fun i' hi' ↦ by |
| 1051 | simp [η, hi', thetaKernelPairing, ← modKernelBilin_apply]] at h_test |
| 1052 | -- What is left is `c°_i` times the integral to be shown `0`. |
| 1053 | simpa [η, glueFactor_ne_zero] using h_test.symm |
| 1054 | |
| 1055 | /-- The number `twistFactor j ϑ` is not `0`, since `Θ° = periodLift j` is injective and there is a |
| 1056 | nonzero good form. -/ |
| 1057 | theorem twistFactor_ne_zero : twistFactor j ϑ ≠ 0 := by |
| 1058 | intro h_zero |
| 1059 | have h_lift : periodLift j = 0 := by simp [← twistFactor_smul_adjoint_glue_comp j ϑ, h_zero] |
| 1060 | exact D.finrank_targetForms_ne_zero <| (D.targetDim_eq_finrank_goodForms_spaceW j).trans <| |
| 1061 | finrank_zero_iff_forall_zero.2 fun y ↦ periodLift_injective j (by simp [h_lift]) |
| 1062 | |
| 1063 | end New.Rows |
| 1064 | |
| 1065 | end |