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 | import Mathlib.Dynamics.Ergodic.Action.Regular |
| 4 | import Mathlib.LinearAlgebra.Matrix.FiniteDimensional |
| 5 | import Mathlib.RingTheory.PicardGroup |
| 6 | import TauCeti.LinearAlgebra.Matrix.Range |
| 7 | import TauCeti.Topology.Algebra.Group.Units |
| 8 | import TauCeti.Topology.Instances.Matrix |
| 9 | public import Lib.SiegelWeil.UnramifiedSeries.VacuumCoefficients |
| 10 | public import Lib.SiegelWeil.Formula.LagrangianZeroTerms |
| 11 | public import Lib.Weil.DualPair.FiniteAction |
| 12 | public import Lib.Weil.DualPair.ShortIsotropicVectors |
| 13 | public import Lib.Weil.DualPair.ThetaLiftConvergence |
| 14 | public import Lib.Weil.DualPair.WeilAction |
| 15 | import Lib.DiscreteSeries.Haar.TotalMass |
| 16 | import Lib.SiegelWeil.Formula.WeilRange |
| 17 | |
| 18 | /-! |
| 19 | # Doubling: clean data, the doubling identity and the inner product formula |
| 20 | |
| 21 | This file defines the doubled datum `New.SiegelWeil.doubleDatum` on `Hom(S ⊕ S⁻, T)`, clean data |
| 22 | (`New.SiegelWeil.IsClean`) and sharp data (`New.SiegelWeil.IsSharp`), for hermitian spaces `S`, |
| 23 | `T` of ranks `n`, `m`. It applies Siegel–Weil to `S ⊕ S⁻` to prove the doubling identity for |
| 24 | `2 n < m`. It then integrates that identity to the inner product formula before the choice of a |
| 25 | sharp datum. It also computes the coefficient of a vacuum at points supported above a set of |
| 26 | places (`New.SiegelWeil.weilMatrixCoeff_mul`) and constructs an integral isotropic frame. |
| 27 | Conventions: `New.G E s` is the adelic unitary group, a pair of an archimedean and a finite part; |
| 28 | `New.pairWeil S T a b` is the twisted Weil representation of `U(S) × U(T)` on the data |
| 29 | `𝒮 (S.hom T)`, with inner product `New.Space.dataInner`; `New.localLevel n A` consists of the |
| 30 | finite points that are integral at the places of `A`, and `New.stdLevel E n` of those integral at |
| 31 | all places, the stabiliser of `Ô ^ n`. |
| 32 | |
| 33 | ## Main definitions and results |
| 34 | |
| 35 | * `New.SiegelWeil.integral_conj_theta_mul_theta`: the doubling identity for `2 n < m`: |
| 36 | apply Siegel–Weil (`New.SiegelWeil.siegel_weil`) to `S ⊕ S⁻`; for a clean datum |
| 37 | (`New.SiegelWeil.IsClean`) only the Lagrangians that are graphs of isometries contribute |
| 38 | (`New.SiegelWeil.exists_graph_eq_of_zeroTerm_ne_zero`, `New.SiegelWeil.zeroTerm_graphSplitting`). |
| 39 | * `New.SiegelWeil.inner_product_formula`: Rallis' inner product formula, obtained by integrating |
| 40 | the doubling identity against two functions on `[U(S)]`. |
| 41 | |
| 42 | Notions from other files: |
| 43 | * `New.Space`: a hermitian space with a point, given by signs s, a matrix J over E and x in GL_n(𝔸) |
| 44 | with xᴴJx equal to diag(s) at the infinite places and 1 at the finite places. |
| 45 | * `New.SiegelWeil.Lagrangian.zeroTerm`: the term of a Lagrangian L in the Siegel–Weil formula, the |
| 46 | value at 0 in the Schrödinger model of a complete splitting along L. |
| 47 | * `New.Space.projOn`: the mean of the finite Heisenberg operators of the integral vectors above a |
| 48 | set A of places and its conjugate; the data that it fixes are the vacua above A. |
| 49 | |
| 50 | ## Relation to the literature |
| 51 | |
| 52 | Rallis inner product formula by doubling. Here only Weil's range is treated, with forms that are |
| 53 | rapidly decreasing rather than cuspidal. The boundary orbits are removed by the test datum. Source: |
| 54 | S. Rallis, L-functions and the oscillator representation, LNM 1245 (1987); J.-S. Li, Crelle 428 |
| 55 | (1992); the unitary unfolding is written out in Y. Liu (2011) Prop 2.3 and |
| 56 | Eischen–Harris–Li–Skinner 4.1.4. |
| 57 | -/ |
| 58 | |
| 59 | @[expose] public section |
| 60 | |
| 61 | noncomputable section |
| 62 | |
| 63 | section InnerProductFormula |
| 64 | |
| 65 | open Matrix MeasureTheory Filter ComplexConjugate Kronecker |
| 66 | |
| 67 | namespace New.SiegelWeil |
| 68 | |
| 69 | open WeilData Fintype Space Prod Lagrangian G Splitting Gf stdLattice Valued |
| 70 | |
| 71 | variable {E n m : Type} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] [Fintype m] |
| 72 | [DecidableEq m] {s : n → ℤˣ} {t : m → ℤˣ} {S : Space E n s} {T : Space E m t} |
| 73 | |
| 74 | /-- A chosen number `c` of modulus one with `θ (c • conj f) = conj (θ f)` for all data `f` on |
| 75 | `Hom(S, T)`, where `conj f = negSource.map f` is the transport of `f` to `Hom(S⁻, T)`; see |
| 76 | `exists_theta_negSource` and `theta_negSourceFactor_smul`. -/ |
| 77 | def negSourceFactor (S : Space E n s) (T : Space E m t) : ℂ := (exists_theta_negSource S T).choose |
| 78 | |
| 79 | /-- The theta functional of `S⁻, T` at the transport of `f`, multiplied by `negSourceFactor S T`, |
| 80 | is the complex conjugate of the theta functional of `S, T` at `f`. -/ |
| 81 | lemma theta_negSourceFactor_smul (f : 𝒮 (S.hom T)) : |
| 82 | θ (S.neg.hom T) (negSourceFactor S T • negSource.map (V := S.neg.hom T) f) = |
| 83 | conj (θ (S.hom T) f) := |
| 84 | (exists_theta_negSource S T).choose_spec.2 f |
| 85 | |
| 86 | /-- The doubling map sending `(f', f)` to the datum `f ⊠ c • conj f'` on `Hom(S ⊕ S⁻, T)`, |
| 87 | conjugate-linear in `f'` and linear in `f`. Here `conj f' = negSource.map f'` is the transport of |
| 88 | `f'` to `Hom(S⁻, T)`, and `c = negSourceFactor S T`, so that `θ (c • conj f') = conj (θ f')`. -/ |
| 89 | def doubleDatum : 𝒮 (S.hom T) →L⋆[ℂ] 𝒮 (S.hom T) →L[ℂ] 𝒮 ((S.sum S.neg).hom T) := |
| 90 | (Space.boxProd homSigns_sum_source).flip.comp |
| 91 | (negSourceFactor S T • negSource.map (V := S.neg.hom T)) |
| 92 | |
| 93 | /-- For a rational isometry `δ` of `S`, the splitting of `S ⊕ S⁻` into hyperbolic planes whose |
| 94 | Lagrangian is the graph `{(δ y, -y)}`; the dual frame spans `{(δ y, y)}`. Here `k` is the isotropic |
| 95 | frame, `l` the dual frame (`lᴴ J k = 1`), and the anisotropic part `i` is empty. -/ |
| 96 | @[simp] |
| 97 | def graphSplitting (S : Space E n s) (δ : U S.J) : CompleteSplitting (S.sum S.neg) n := |
| 98 | Space.Splitting.ofDualFrames (fromRows δ (-1)) (fromRows (δ : Matrix n n E) 1 * (2⁻¹ : E) • S.J⁻¹) |
| 99 | (by simp [conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromBlocks, |
| 100 | fromCols_mul_fromRows, ← U.form_mul_inv_eq, S.isHermitian_J.inv.eq, ← two_smul E, mul_assoc]) |
| 101 | |
| 102 | /-- The term `ρ(g) ⟨y', g y⟩` of a coset `γ` of the finite points integral at `A`. Here |
| 103 | `g = cosetRep γ` is the representative of `γ` supported above `A` and its conjugate, |
| 104 | `ρ = vacuumCoeff M b`, and `y'`, `y` are forms of type `e` on `S`, on which `g` acts by right |
| 105 | translation. -/ |
| 106 | def cosetTerm (M : ℕ) (b : AutChar E) (A : Set (FinPlace E)) {e : GInf E s → ℂ} (y' y : S.Form e) |
| 107 | (γ : Gf E n ⧸ localLevel n A) : ℂ := |
| 108 | vacuumCoeff M b (cosetRep γ : Gf E n) * inner ℂ y' (S.formRep e (cosetRep γ) y) |
| 109 | |
| 110 | /-- The matrix coefficient `g ↦ ⟨f', ω(g, 1) f⟩` of the twisted Weil representation |
| 111 | `ω = pairWeil S T 1 b`. The argument `f'` defaults to `f`: `weilMatrixCoeff b f` is the function |
| 112 | `g ↦ weilMatrixCoeff b f f g`. -/ |
| 113 | abbrev weilMatrixCoeff (b : AutChar E) (f : 𝒮 (S.hom T)) (f' : 𝒮 (S.hom T) := f) (g : G E s) : ℂ := |
| 114 | dataInner (S.hom T) f' (pairWeil S T 1 b (g, 1) f) |
| 115 | |
| 116 | /-- The datum `F` is clean: (a) all signs of `S` agree, or (b) `F` is a datum |
| 117 | `Ψ ⊗ f = (S.hom T).schrodingerOp A Ψ f`, where `A` is a set of places disjoint from its conjugate, |
| 118 | `Ψ` is Schwartz–Bruhat above `A`, and at some place `w` every matrix `y` with `Ψ y ≠ 0` has a left |
| 119 | inverse. In both cases the only Lagrangians with a nonzero term are graphs |
| 120 | (`New.SiegelWeil.exists_graph_eq_of_zeroTerm_ne_zero`). -/ |
| 121 | def IsClean (F : 𝒮 (S.hom T)) : Prop := |
| 122 | (∀ i j : n, s i = s j) ∨ |
| 123 | ∃ (A : Set (FinPlace E)) (Ψ : (m × n → 𝔸f E) → ℂ) (w : FinPlace E) (f : 𝒮 (S.hom T)), |
| 124 | A.IsConjDisjoint ∧ IsSchwartzBruhat A Ψ ∧ |
| 125 | (∀ y : m × n → 𝔸f E, Ψ y ≠ 0 → HasLeftInv ((vecToMatrix y).map (evalAt w))) ∧ |
| 126 | F = (S.hom T).schrodingerOp A Ψ f |
| 127 | |
| 128 | open scoped Classical in |
| 129 | /-- The datum `F` of the finite part is sharp for the level `J` off `S₀`. With `K₀ = stdLevel E n` |
| 130 | the stabiliser of `Ô ^ n`, at the finite points `g` integral off `S₀` the coefficient `⟨F, ω(g) F⟩` |
| 131 | equals `⟨F, F⟩` if `g ∈ J ∩ K₀` and is zero otherwise, and the quotient of `⟨F, F⟩` by the index |
| 132 | `[K₀ : J ∩ K₀]` is the constant `c`. Also `⟨F, F⟩ ≠ 0`, and for each vector `v` of the Fock model |
| 133 | the datum `v ⊗ F = integrated (S.hom T) v F` is clean and a vacuum off `S₀`. The datum `Ψ ⊗ vac` of |
| 134 | a sharp function `Ψ` modulo `𝔪` has these properties if `𝔪 ≠ (1)` or all signs of `S` agree |
| 135 | (`New.SiegelWeil.IsSharpFn.isSharp`). -/ |
| 136 | structure IsSharp (b : AutChar E) (S₀ : Set (FinPlace E)) (F : 𝒮 (S.hom T)) (J : Subgroup (Gf E n)) |
| 137 | (c : ℂ) : Prop where |
| 138 | /-- The inner product `⟨F, F⟩` is not zero. -/ |
| 139 | self_ne_zero : dataInner (S.hom T) F F ≠ 0 |
| 140 | /-- The datum `F` lies in the finite part, the span of the finite translates of the vacuum. -/ |
| 141 | mem_finitePart : F ∈ finitePart (S.hom T) |
| 142 | /-- For every `v`, the datum `v ⊗ F` is a vacuum above any set `A` of places disjoint from |
| 143 | `S₀`. -/ |
| 144 | vacuum_off (A : Set (FinPlace E)) |
| 145 | (v : Heisenberg.IsVacuum.Model (Fock.realHeisenberg (realSigns E (homSigns s t)))) : |
| 146 | Disjoint S₀ A → projOn (S.hom T) A (integrated (S.hom T) v F) = integrated (S.hom T) v F |
| 147 | /-- At the finite points `g` integral off `S₀`, the coefficient `⟨F, ω(g) F⟩` is `⟨F, F⟩` on |
| 148 | `J ∩ stdLevel E n` and zero elsewhere. -/ |
| 149 | weilMatrixCoeff_eq : ∀ g ∈ localLevel n S₀ᶜ, |
| 150 | weilMatrixCoeff b F F g = if g ∈ J ⊓ stdLevel E n then dataInner (S.hom T) F F else 0 |
| 151 | /-- The quotient of `⟨F, F⟩` by the index `stdLevelIndex J = [K₀ : J ∩ K₀]` is `c`. -/ |
| 152 | mass_eq : dataInner (S.hom T) F F / stdLevelIndex J = c |
| 153 | /-- For every `v`, the datum `v ⊗ F` is clean (`IsClean`). -/ |
| 154 | clean (v : Heisenberg.IsVacuum.Model (Fock.realHeisenberg (realSigns E (homSigns s t)))) : |
| 155 | IsClean (integrated (S.hom T) v F) |
| 156 | |
| 157 | lemma doubleDatum_apply (f f' : 𝒮 (S.hom T)) : |
| 158 | doubleDatum f' f = boxProd homSigns_sum_source f |
| 159 | (negSourceFactor S T • negSource.map (V := S.neg.hom T) f') := rfl |
| 160 | |
| 161 | /-- The theta functional of `S ⊕ S⁻, T` at the doubled datum is `conj (θ f') * θ f`. -/ |
| 162 | lemma theta_doubleDatum (f f' : 𝒮 (S.hom T)) : |
| 163 | θ ((S.sum S.neg).hom T) (doubleDatum f' f) = conj (θ (S.hom T) f') * θ (S.hom T) f := by |
| 164 | rw [doubleDatum_apply, theta_boxProd_source, theta_negSourceFactor_smul, mul_comm] |
| 165 | |
| 166 | /-- The Heisenberg operator of a map on `S ⊕ S⁻` with blocks `X`, `Y` moves the first factor of |
| 167 | `f ⊠ f'` by `X` and the second by `Y`. -/ |
| 168 | lemma rho_fromCols_boxProd (f : 𝒮 (S.hom T)) (f' : 𝒮 (S.neg.hom T)) (X Y : Matrix m n (𝔸 E)) : |
| 169 | ((S.sum S.neg).hom T).ϱ (matrixToVec (fromCols X Y)) (boxProd homSigns_sum_source f f') = |
| 170 | boxProd homSigns_sum_source ((S.hom T).ϱ (matrixToVec X) f) |
| 171 | ((S.neg.hom T).ϱ (matrixToVec Y) f') := |
| 172 | rho_boxProd .. |
| 173 | |
| 174 | /-- The value of the doubled datum `doubleDatum f' f` at a map on `S ⊕ S⁻` with blocks `X`, `Y` is |
| 175 | the value of `f` at `X` times the conjugate value of `f'` at `u⁻¹ Y`. Here `u = normNegOneIdele E` |
| 176 | is the idele by which the point of `S⁻` differs from the point of `S`. -/ |
| 177 | lemma doubleDatum_apply_fromCols (f f' : 𝒮 (S.hom T)) (X Y : Matrix m n (𝔸 E)) : |
| 178 | doubleDatum f' f (matrixToVec (fromCols X Y)) = |
| 179 | f (matrixToVec X) * conj (f' ((normNegOneIdele E)⁻¹ • matrixToVec Y)) := by |
| 180 | have h_neg : (negSource (E := E) (s := s) (s' := t)).φ (matrixToVec Y) = |
| 181 | (normNegOneIdele E)⁻¹ • matrixToVec Y := rfl |
| 182 | -- The value at a vector is `θ` of the translate, and `θ` is multiplicative on `⊠`. |
| 183 | rw [doubleDatum_apply, ← theta_rho, rho_fromCols_boxProd, theta_boxProd_source, map_smul, |
| 184 | ← CoordChange.map_rho, theta_negSourceFactor_smul, theta_rho, theta_rho, h_neg] |
| 185 | |
| 186 | /-- The Heisenberg operator of a map on `S ⊕ S⁻` that vanishes on `S⁻` moves only the factor `f` of |
| 187 | `doubleDatum f' f`. -/ |
| 188 | lemma rho_fromCols_zero_doubleDatum (f f' : 𝒮 (S.hom T)) (X : Matrix m n (𝔸 E)) : |
| 189 | ((S.sum S.neg).hom T).ϱ (matrixToVec (fromCols X 0)) (doubleDatum f' f) = |
| 190 | doubleDatum f' ((S.hom T).ϱ (matrixToVec X) f) := by |
| 191 | simp [doubleDatum_apply, rho_fromCols_boxProd] |
| 192 | |
| 193 | /-- For a rational isometry `δ` of `S`, the zero term of the Siegel–Weil formula along the graph of |
| 194 | `δ`, taken at the doubled datum `doubleDatum f' f`, is the matrix coefficient `⟨f', ω(δ⁻¹, 1) f⟩` |
| 195 | of the Weil representation `ω = pairWeil S T 1 b` twisted by the character `b`. -/ |
| 196 | lemma zeroTerm_graphSplitting (b : AutChar E) (δ : U S.J) (f f' : 𝒮 (S.hom T)) : |
| 197 | (graphSplitting S δ).lagrangian.zeroTerm T (doubleDatum f' f) = |
| 198 | weilMatrixCoeff b f f' (S.ratEmbed δ⁻¹) := by |
| 199 | -- Both sides are means over the adelic vectors modulo the rational ones: the left one by the |
| 200 | -- formula for the zero term, the right one after the change of variables `P`. |
| 201 | let P : Matrix (m × n) (m × n) (𝔸 E) := (S.hom T).x⁻¹.val * (T.J⁻¹ ⊗ₖ S.Jᵀ).map toAdele |
| 202 | have hP_rat : ∀ x ∈ ratVectors E (m × n), P.toLin' x ∈ (S.hom T).ratVectors := by |
| 203 | simp +contextual [P, map_mulVec_mem_ratVectors, mem_ratVectors_iff] |
| 204 | have hP_unit : IsUnit P := by |
| 205 | have hT : IsUnit (T.x⁻¹.val * T.J⁻¹.map toAdele) := by simp [map_J_inv] |
| 206 | have hS : IsUnit (S.J.map toAdele * S.x.val)ᵀ := by simp [isUnit_transpose, S.map_J] |
| 207 | simp only [P, hom_point_inv_mul_kronecker] |
| 208 | exact (Matrix.GeneralLinearGroup.kronecker hT.unit hS.unit).isUnit |
| 209 | have h_per : IsContPeriodic (S.hom T).ratVectors fun x : m × n → 𝔸 E ↦ |
| 210 | pairWeil S T 1 b (S.ratEmbed δ⁻¹, 1) f x * conj (f' x) := by |
| 211 | obtain ⟨h_invariant, -⟩ := (S.hom T).isThetaFunctional_rawTheta |
| 212 | apply h_invariant.isContPeriodic h_invariant |
| 213 | rw [weilMatrixCoeff, dataInner_eq_quotMean, zeroTerm_lagrangian_eq_theta, theta_apply, |
| 214 | Splitting.zeroTerm_apply, ← quotMean_comp (ratVectors E (m × n)) P.toLin' h_per hP_rat |
| 215 | (mulVec_surjective_iff_isUnit.2 hP_unit)] |
| 216 | -- It remains to compare the integrands at `x`. Let `M` be the matrix of `P *ᵥ x`. |
| 217 | congr! with x |
| 218 | let M : Matrix m n (𝔸 E) := vecToMatrix (P *ᵥ x) |
| 219 | have h_frame : ((graphSplitting S δ).homSource T).kAdelic *ᵥ x = |
| 220 | matrixToVec (fromCols (M * (S.ratEmbed δ⁻¹).adeleMatrix) (normNegOneIdele E • M)) := by |
| 221 | dsimp only [M, P, kAdelic, homSource, graphSplitting] |
| 222 | simp_rw [hom_point_inv_mul_kronecker, kronecker_mulVec_eq_matrixToVec, adeleMatrix_ratEmbed] |
| 223 | simp [Space.sum, Space.neg, ← U.form_mul_inv_eq, Matrix.mul_assoc, |
| 224 | conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromBlocks, fromCols_map] |
| 225 | have h_rat : pairWeil S T 1 b (S.ratEmbed δ⁻¹, 1) f (P *ᵥ x) = |
| 226 | f (matrixToVec (M * (S.ratEmbed δ⁻¹).adeleMatrix)) := by |
| 227 | rw [pairWeil_of_mem_Gamma S T 1 b ⟨δ⁻¹, rfl⟩ (one_mem _), kronecker_mulVec_eq_matrixToVec] |
| 228 | simp [M] |
| 229 | have h_scale : (normNegOneIdele E)⁻¹ • matrixToVec (normNegOneIdele E • M) = P *ᵥ x := |
| 230 | inv_smul_smul (normNegOneIdele E) (P *ᵥ x) |
| 231 | rw [mulVec_zero, zero_add, h_frame, doubleDatum_apply_fromCols, h_scale, ← h_rat] |
| 232 | rfl |
| 233 | |
| 234 | /-- Let the isotropic frame of a complete splitting `D` of `S ⊕ S⁻` have blocks `K` (in `S`) and |
| 235 | `K'` (in `S⁻`), and let `K' c = 0`, so that the columns of `K c` are vectors of `S` in the |
| 236 | Lagrangian of `D`. Then the zero term at `doubleDatum f' f` does not change when `f` is moved by the |
| 237 | Heisenberg operator of `X⁻¹ Z Yᴴ ε`, where `Z` is any adelic matrix, `X` is the dual frame of `T`, |
| 238 | `Y` holds the adelic coordinates of `K c` and `ε` is the standard form. -/ |
| 239 | lemma zeroTerm_doubleDatum_rho {p : Type} [Fintype p] [DecidableEq p] |
| 240 | (D : CompleteSplitting (S.sum S.neg) p) {K K' : Matrix n p E} (hk : D.k = fromRows K K') |
| 241 | {c : Matrix p n E} (hc : K' * c = 0) (Z : Matrix m n (𝔸 E)) (f f' : 𝒮 (S.hom T)) : |
| 242 | D.lagrangian.zeroTerm T (doubleDatum f' ((S.hom T).ϱ |
| 243 | (matrixToVec (T.dualFrame⁻¹.val * Z * ((S.coordMatrix 1 (K * c))ᴴ * stdForm E s))) f)) = |
| 244 | D.lagrangian.zeroTerm T (doubleDatum f' f) := by |
| 245 | -- The map on `S ⊕ S⁻` attached to `c` is the pairing with `K * c` on `S` and zero on `S⁻`. |
| 246 | have h_block : (c.map toAdele)ᴴ * D.lCoord = |
| 247 | fromCols ((S.coordMatrix 1 (K * c))ᴴ * stdForm E s) 0 := by |
| 248 | simp [lCoord, kAdelic, ← map_inv, hk, hc, Space.sum, ← stdForm_sum, ← (c.map _)ᴴ.mul_assoc, |
| 249 | ← conjTranspose_mul, ← Matrix.map_mul, -conjTranspose_map_toAdele, Matrix.mul_assoc, |
| 250 | coordMatrix, fromRows_map, fromBlocks_mul_fromRows, |
| 251 | conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromBlocks] |
| 252 | have h_along : (D.homSource T).kAdelic *ᵥ matrixToVec (Z * (c.map toAdele)ᴴ) = matrixToVec |
| 253 | (fromCols |
| 254 | (T.dualFrame⁻¹.val * Z * ((S.coordMatrix 1 (K * c))ᴴ * stdForm E s)) 0) := by |
| 255 | rw [homSource_kAdelic, kronecker_mulVec_eq_matrixToVec] |
| 256 | simp [h_block, Matrix.mul_assoc, -conjTranspose_map_toAdele] |
| 257 | rw [← rho_fromCols_zero_doubleDatum, ← h_along, zeroTerm_lagrangian_eq_theta, |
| 258 | zeroTerm_lagrangian_eq_theta, zeroTerm_rho_kAdelic] |
| 259 | |
| 260 | /-- Moving the Heisenberg operator of `shiftMatrix s X Y *ᵥ z = X z Yᴴ ε` (`ε` the standard form) |
| 261 | through the Weil operator `pairWeil S T a b (g, 1)` turns the adelic coordinates |
| 262 | `Y = S.coordMatrix g c` of a rational matrix `c` at `g` into its coordinates at `1`. -/ |
| 263 | lemma pairWeil_rho_shiftMatrix (a b : AutChar E) (g : G E s) (X : Matrix m m (𝔸 E)) |
| 264 | (c : Matrix n n E) (z : m × n → 𝔸 E) (f : 𝒮 (S.hom T)) : |
| 265 | pairWeil S T a b (g, 1) ((S.hom T).ϱ (shiftMatrix s X (S.coordMatrix g c) *ᵥ z) f) = |
| 266 | (S.hom T).ϱ (matrixToVec (X * vecToMatrix z * ((S.coordMatrix 1 c)ᴴ * stdForm E s))) |
| 267 | (pairWeil S T a b (g, 1) f) := by |
| 268 | have h_coord : (S.coordMatrix g c)ᴴ * stdForm E s * g⁻¹.adeleMatrix = |
| 269 | (S.coordMatrix 1 c)ᴴ * stdForm E s := by |
| 270 | have h_form : g⁻¹.adeleMatrixᴴ * (stdForm E s * g⁻¹.adeleMatrix) = stdForm E s := by |
| 271 | rw [← Matrix.mul_assoc, conjTranspose_adeleMatrix_mul_stdForm_mul_adeleMatrix] |
| 272 | simp [coordMatrix, h_form, Matrix.mul_assoc] |
| 273 | have h_vec : (1 : Matrix m m (𝔸 E)) ⊗ₖ g⁻¹.adeleMatrixᵀ *ᵥ shiftMatrix s X (S.coordMatrix g c) *ᵥ |
| 274 | z = |
| 275 | matrixToVec (X * vecToMatrix z * ((S.coordMatrix 1 c)ᴴ * stdForm E s)) := by |
| 276 | rw [kronecker_mulVec_eq_matrixToVec, kronecker_mulVec_eq_matrixToVec, ← h_coord] |
| 277 | simp [Matrix.mul_assoc] |
| 278 | simp [pairWeil, omega_rho, ← h_vec] |
| 279 | |
| 280 | /-- Let `f` be a clean datum (`IsClean`), and let the isotropic frame of a complete splitting `D` of |
| 281 | `S ⊕ S⁻` have blocks `K` (in `S`) and `K'` (in `S⁻`). If the zero term along the Lagrangian of `D` |
| 282 | is not zero at the doubled datum of `f'` and `ω(g, 1) f`, where `ω = pairWeil S T a b`, then the |
| 283 | Lagrangian contains no nonzero vector of `S`: `K' c = 0` forces `K c = 0`. -/ |
| 284 | lemma mul_eq_zero_of_zeroTerm_ne_zero {p : Type} [Fintype p] [DecidableEq p] {a b : AutChar E} |
| 285 | {f f' : 𝒮 (S.hom T)} {g : G E s} (hf : IsClean f) (D : CompleteSplitting (S.sum S.neg) p) |
| 286 | (h_ne : D.lagrangian.zeroTerm T (doubleDatum f' (pairWeil S T a b (g, 1) f)) ≠ 0) |
| 287 | {K K' : Matrix n p E} (hk : D.k = fromRows K K') {c : Matrix p n E} (hc : K' * c = 0) : |
| 288 | K * c = 0 := by |
| 289 | obtain hs | ⟨A, Ψ, w, f₀, hA, hΨ, hΨ_inj, rfl⟩ := hf |
| 290 | · -- All signs agree: the columns of `K * c` are isotropic in an anisotropic space. |
| 291 | have h_form : (K * c)ᴴ * (S.J * (K * c)) = 0 := calc |
| 292 | _ = cᴴ * (D.kᴴ * (S.sum S.neg).J * D.k) * c := by |
| 293 | simp [hk, hc, Matrix.add_mul, Matrix.mul_add, Matrix.mul_assoc, fromBlocks_mul_fromRows, |
| 294 | conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromRows] |
| 295 | _ = 0 := by rw [D.gram_kk, Matrix.mul_zero, Matrix.zero_mul] |
| 296 | exact ext_col fun j ↦ S.eq_zero_of_isotropic_of_definite hs _ (congrFun₂ h_form j j) |
| 297 | · -- Otherwise the term is a bounded functional `ℓ` of the datum that is invariant under the |
| 298 | -- translations attached to `K * c ≠ 0`. No point of the support of `Ψ` is orthogonal to all |
| 299 | -- of them, as these points are injective at `w`; so `ℓ` vanishes at |
| 300 | -- `(S.hom T).schrodingerOp A Ψ f₀`. |
| 301 | by_contra hKc |
| 302 | let ℓ : 𝒮 (S.hom T) →L[ℂ] ℂ := |
| 303 | D.lagrangian.zeroTerm T ∘L doubleDatum f' ∘L pairWeil S T a b (g, 1) |
| 304 | have h_inv (z : m × n → 𝔸 E) (φ : 𝒮 (S.hom T)) : |
| 305 | ℓ ((S.hom T).ϱ (shiftMatrix s T.dualFrame⁻¹.val (S.coordMatrix g (K * c)) *ᵥ z) φ) = |
| 306 | ℓ φ := by |
| 307 | simp only [ℓ, ContinuousLinearMap.comp_apply, pairWeil_rho_shiftMatrix, |
| 308 | zeroTerm_doubleDatum_rho D hk hc] |
| 309 | exact h_ne (map_schrodingerOp_eq_zero_of_invariant hA _ _ h_inv |
| 310 | (fun y hy ↦ S.mul_coordMatrix_ne_zero hKc T.dualFrame⁻¹ (hΨ_inj y hy)) f₀) |
| 311 | |
| 312 | /-- Let `f` be a clean datum (`IsClean`) and `L` a Lagrangian of `S ⊕ S⁻`. If the term of `L` in the |
| 313 | Siegel–Weil formula is not zero at the doubled datum of `f'` and `ω(g, 1) f`, where |
| 314 | `ω = pairWeil S T a b`, then `L` is the graph of a rational isometry of `S`. -/ |
| 315 | lemma exists_graph_eq_of_zeroTerm_ne_zero {a b : AutChar E} {f : 𝒮 (S.hom T)} {g : G E s} |
| 316 | {f' : 𝒮 (S.hom T)} (hf : IsClean f) (L : Lagrangian (S.sum S.neg)) |
| 317 | (h_ne : L.zeroTerm T (doubleDatum f' (pairWeil S T a b (g, 1) f)) ≠ 0) : |
| 318 | ∃ δ : U S.J, (graphSplitting S δ⁻¹).lagrangian = L := by |
| 319 | -- Write the frame of `L` as blocks `K` (in `S`) and `K'` (in `S⁻`). The term being nonzero forces |
| 320 | -- `K'` to be invertible, and then `L` is the graph of the isometry `-K * K'⁻¹`. |
| 321 | obtain ⟨⟨r, D⟩, rfl⟩ := L.completeSplitting |
| 322 | obtain ⟨K, K', hk⟩ : ∃ K K' : Matrix n (Fin r) E, D.k = fromRows K K' := |
| 323 | ⟨D.k.toRows₁, D.k.toRows₂, D.k.fromRows_toRows.symm⟩ |
| 324 | have h_iso : Kᴴ * S.J * K = K'ᴴ * S.J * K' := by |
| 325 | simpa [hk, add_neg_eq_zero, Matrix.mul_assoc, fromBlocks_mul_fromRows, |
| 326 | conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromRows] using D.gram_kk |
| 327 | obtain rfl : card n = r := by simpa [← two_mul] using D.card_eq |
| 328 | -- As the frame `D.k` has the left inverse `D.lᴴ * J`, multiplication by `K'` is injective, hence |
| 329 | -- surjective by counting dimensions. |
| 330 | have h_inj : Function.Injective (mulLeftLinearMap n E K') := by |
| 331 | refine (injective_iff_map_eq_zero _).2 fun c (hc : K' * c = 0) ↦ ?_ |
| 332 | have hkc : D.k * c = 0 := by simp [hk, hc, mul_eq_zero_of_zeroTerm_ne_zero hf D h_ne hk hc] |
| 333 | rw [← c.one_mul, ← D.gram_lk, Matrix.mul_assoc, hkc, Matrix.mul_zero] |
| 334 | obtain ⟨B, hB⟩ : ∃ B : Matrix (Fin (card n)) n E, K' * B = 1 := |
| 335 | ((mulLeftLinearMap n E K').linearEquivOfInjective h_inj |
| 336 | (by simp [Module.finrank_matrix])).surjective 1 |
| 337 | have h_unitary : (-K * B)ᴴ * S.J * (-K * B) = S.J := calc |
| 338 | _ = Bᴴ * (Kᴴ * S.J * K) * B := by simp [Matrix.mul_assoc] |
| 339 | _ = (K' * B)ᴴ * S.J * (K' * B) := by simp only [h_iso, conjTranspose_mul, Matrix.mul_assoc] |
| 340 | _ = S.J := by simp [hB] |
| 341 | -- The graph lies in `L`, since its vector at `y` is `D.k *ᵥ (-B *ᵥ y)`; Lagrangians are maximal. |
| 342 | refine ⟨(U.of (by simp) (-K * B) h_unitary)⁻¹, eq_of_le ?_⟩ |
| 343 | rintro _ ⟨y, rfl⟩ |
| 344 | exact ⟨-B *ᵥ y, by simp [hk, hB]⟩ |
| 345 | |
| 346 | /-- Distinct isometries `δ` of `S` have distinct graphs, so `δ ↦ (graphSplitting S δ⁻¹).lagrangian` |
| 347 | is injective. -/ |
| 348 | lemma graphSplitting_lagrangian_injective : |
| 349 | Function.Injective fun δ : U S.J ↦ (graphSplitting S δ⁻¹).lagrangian := by |
| 350 | -- Equal graphs have frames `(δ'⁻¹, -1) = (δ⁻¹, -1) * c`; the lower block forces `c = 1`. |
| 351 | intro δ δ' h_eq |
| 352 | have h_frames : ∃ c : Matrix n n E, (graphSplitting S δ⁻¹).k * c = (graphSplitting S δ'⁻¹).k := |
| 353 | exists_mul_eq_of_range_le fun i ↦ h_eq.ge ⟨_, mulVec_single_one _ i⟩ |
| 354 | -- `-coe_units_inv` keeps the inverse of a unit from turning into a matrix inverse. |
| 355 | simpa [fromRows_ext_iff, ← Units.ext_iff, -coe_units_inv] using h_frames |
| 356 | |
| 357 | /-- For spaces `S`, `T` with data `f`, `f'`, the conjugate theta kernel of `f'` at |
| 358 | `(g', x)` times the theta kernel of `f` at `(g, x)` is the theta kernel of the pair `S ⊕ S⁻, T` at |
| 359 | `x`, acting by `splitWeil`, and the doubled datum `doubleDatum` of `ω(g', 1) f'` and `ω(g, 1) f`. |
| 360 | Here `θ` is the theta functional and `ω` is `pairWeil` with characters `a`, `b`; at a point `(g, 1)` |
| 361 | the character `a` does not matter and is taken to be `1`. -/ |
| 362 | lemma theta_splitWeil_doubleDatum (a b : AutChar E) (f f' : 𝒮 (S.hom T)) (g g' : G E s) |
| 363 | (x : G E t) : |
| 364 | θ ((S.sum S.neg).hom T) (splitWeil (S.sum S.neg) T (1, x) |
| 365 | (doubleDatum (pairWeil S T 1 b (g', 1) f') (pairWeil S T 1 b (g, 1) f))) = |
| 366 | conj (θ (S.hom T) (pairWeil S T a b (g', x) f')) * |
| 367 | θ (S.hom T) (pairWeil S T a b (g, x) f) := by |
| 368 | -- At `(1, x)` the second character does not matter; `b'` is the one that negation produces. |
| 369 | let b' : AutChar E := b⁻¹ * upsilonU1 ^ card m |
| 370 | have h_char : splitWeil (S.sum S.neg) T (1, x) = |
| 371 | pairWeil (S.sum S.neg) T (a * (a⁻¹ * upsilonU1 ^ card n)) b' (.sum (1, neg 1), x) := by |
| 372 | simp [pairWeil, ← two_mul, mk_one_one] |
| 373 | have h_act (u u' : 𝒮 (S.hom T)) : splitWeil (S.sum S.neg) T (1, x) (doubleDatum u' u) = |
| 374 | doubleDatum (pairWeil S T a b (1, x) u') (pairWeil S T a b' (1, x) u) := by |
| 375 | rw [h_char, doubleDatum_apply, pairWeil_boxProd_source, map_smul, pairWeil_negSource a b, |
| 376 | doubleDatum_apply] |
| 377 | have h_comp (c : AutChar E) (k : G E s) (u : 𝒮 (S.hom T)) : |
| 378 | pairWeil S T a c (1, x) (pairWeil S T 1 b (k, 1) u) = pairWeil S T a b (k, x) u := by |
| 379 | simp [pairWeil, ← map_mul, rep_apply_apply, smul_smul, mul_comm (a.val x.det : ℂ)] |
| 380 | rw [h_act, h_comp, h_comp, theta_doubleDatum] |
| 381 | |
| 382 | /-- For a rational isometry `δ` of `S`, the zero term of the Lagrangian `{(δ⁻¹ y, -y)}` of |
| 383 | `S ⊕ S⁻`, at the doubled datum of `ω(g', 1) f'` and `ω(g, 1) f`, is the matrix coefficient |
| 384 | `⟨f', ω(g'⁻¹ δ g, 1) f⟩`. -/ |
| 385 | lemma zeroTerm_graphSplitting_doubleDatum (b : AutChar E) (f f' : 𝒮 (S.hom T)) (g g' : G E s) |
| 386 | (δ : U S.J) : |
| 387 | (graphSplitting S δ⁻¹).lagrangian.zeroTerm T |
| 388 | (doubleDatum (pairWeil S T 1 b (g', 1) f') (pairWeil S T 1 b (g, 1) f)) = |
| 389 | weilMatrixCoeff b f f' (g'⁻¹ * (S.ratEmbed δ * g)) := by |
| 390 | rw [zeroTerm_graphSplitting b, weilMatrixCoeff, ← dataInner_pairWeil _ _ 1 b (g'⁻¹, 1)] |
| 391 | simp [← mul_apply_eq_comp, ← map_mul, mk_one_one] |
| 392 | |
| 393 | /-- Doubling. Let `T` have rank `m`, `S` rank `n`, with `2 n < m`, and let the datum `f` be clean |
| 394 | (`IsClean`: only graphs of isometries have nonzero terms). The integral over `[U(T)]` of the theta |
| 395 | kernel of `f` at `g` times the conjugate kernel of any datum `f'` at `g'` is the volume of `[U(T)]` |
| 396 | times the sum over the rational points `γ` of `U(S)` of `⟨f', ω(g'⁻¹ γ g) f⟩`. -/ |
| 397 | theorem integral_conj_theta_mul_theta (h_rank : 2 * card n < card m) (a b : AutChar E) |
| 398 | {f : 𝒮 (S.hom T)} (hf : IsClean f) (f' : 𝒮 (S.hom T)) (g g' : G E s) : |
| 399 | ∫ x : G E t, conj (θ (S.hom T) (pairWeil S T a b (g', x) f')) * |
| 400 | θ (S.hom T) (pairWeil S T a b (g, x) f) ∂T.quotMeasure = |
| 401 | T.quotMeasure.real Set.univ * ∑' γ : S.Γ, weilMatrixCoeff b f f' (g'⁻¹ * (γ * g)) := by |
| 402 | -- Siegel–Weil turns the integral into a sum over the Lagrangians of `S ⊕ S⁻`; only the graphs |
| 403 | -- of isometries contribute, each once. |
| 404 | let d : 𝒮 ((S.sum S.neg).hom T) := |
| 405 | doubleDatum (pairWeil S T 1 b (g', 1) f') (pairWeil S T 1 b (g, 1) f) |
| 406 | let e : U S.J ≃ S.Γ := .ofInjective _ S.ratEmbed_injective |
| 407 | have h_support : Function.support (fun L : Lagrangian (S.sum S.neg) ↦ L.zeroTerm T d) ⊆ |
| 408 | Set.range fun δ : U S.J ↦ (graphSplitting S δ⁻¹).lagrangian := |
| 409 | exists_graph_eq_of_zeroTerm_ne_zero hf |
| 410 | obtain ⟨-, h_integral⟩ := (siegel_weil T (graphSplitting S 1) h_rank).2 d |
| 411 | calc _ = T.quotMeasure.real Set.univ * ∑' L : Lagrangian (S.sum S.neg), L.zeroTerm T d := by |
| 412 | simp_rw [← theta_splitWeil_doubleDatum a b, ← h_integral, d] |
| 413 | _ = _ := by |
| 414 | rw [← graphSplitting_lagrangian_injective.tsum_eq h_support, ← e.tsum_eq] |
| 415 | exact congrArg _ (tsum_congr (zeroTerm_graphSplitting_doubleDatum b f f' g g')) |
| 416 | |
| 417 | open ContinuousLinearMap in |
| 418 | /-- Let the rank of `T` exceed twice that of `S`. There is a finite constant `C` such that, with |
| 419 | absolute values inside, both sides of the doubling identity (the integral of the product of two |
| 420 | theta kernels over `[U(T)]` and the sum of matrix coefficients over the rational points of `U(S)`) |
| 421 | are at most `C ‖ω(g') f'‖ ‖ω(g) f‖`. -/ |
| 422 | lemma exists_doubling_bound (h_rank : 2 * card n < card m) : ∃ C : ENNReal, C ≠ ⊤ ∧ |
| 423 | ∀ (a b : AutChar E) (f f' : 𝒮 (S.hom T)) (g g' : G E s), |
| 424 | ∫⁻ x : G E t, ‖conj (θ (S.hom T) (pairWeil S T a b (g', x) f')) * |
| 425 | θ (S.hom T) (pairWeil S T a b (g, x) f)‖ₑ ∂T.quotMeasure ≤ |
| 426 | C * (‖pairWeil S T 1 b (g', 1) f'‖ₑ * ‖pairWeil S T 1 b (g, 1) f‖ₑ) ∧ |
| 427 | ∑' γ : S.Γ, ‖weilMatrixCoeff b f f' (g'⁻¹ * (γ * g))‖ₑ ≤ |
| 428 | C * (‖pairWeil S T 1 b (g', 1) f'‖ₑ * ‖pairWeil S T 1 b (g, 1) f‖ₑ) := by |
| 429 | -- The theta kernel of `S ⊕ S⁻, T` at a datum `d` is at most `N x * ‖d‖` with `N` integrable, and |
| 430 | -- the sum `Z` of the norms of the terms of the graphs is finite by the Siegel–Weil theorem. |
| 431 | obtain ⟨N, hN_meas, hN_int, hN⟩ := theta_normalisedTorus_le T (graphSplitting S 1) h_rank |
| 432 | have h_kernel (x : G E t) (d : 𝒮 ((S.sum S.neg).hom T)) : |
| 433 | ‖θ ((S.sum S.neg).hom T) (splitWeil (S.sum S.neg) T (1, x) d)‖ₑ ≤ N x * ‖d‖ₑ := by |
| 434 | simpa [-theta_apply] using hN x 0 d |
| 435 | let Z : ENNReal := ∑' δ : U S.J, ‖(graphSplitting S δ⁻¹).lagrangian.zeroTerm T‖ₑ |
| 436 | have hZ : Z ≠ ⊤ := tsum_eNorm_ne_top_iff_summable_norm.2 <| |
| 437 | (siegel_weil T (graphSplitting S 1) h_rank).1.comp_injective graphSplitting_lagrangian_injective |
| 438 | refine ⟨(∫⁻ x, N x ∂T.quotMeasure + Z) * ‖doubleDatum (S := S) (T := T)‖ₑ, by finiteness, |
| 439 | fun a b f f' g g' ↦ ?_⟩ |
| 440 | let d : 𝒮 ((S.sum S.neg).hom T) := |
| 441 | doubleDatum (pairWeil S T 1 b (g', 1) f') (pairWeil S T 1 b (g, 1) f) |
| 442 | have hd : ‖d‖ₑ ≤ ‖doubleDatum (S := S) (T := T)‖ₑ * |
| 443 | (‖pairWeil S T 1 b (g', 1) f'‖ₑ * ‖pairWeil S T 1 b (g, 1) f‖ₑ) := |
| 444 | (le_opENorm₂ ..).trans_eq (mul_assoc ..) |
| 445 | constructor |
| 446 | · calc _ ≤ (∫⁻ x, N x ∂T.quotMeasure) * ‖d‖ₑ := by |
| 447 | simp_rw [← theta_splitWeil_doubleDatum a b, ← lintegral_mul_const _ hN_meas] |
| 448 | exact lintegral_mono fun x ↦ h_kernel x d |
| 449 | _ ≤ _ := by grw [hd, mul_assoc, ← le_self_add] |
| 450 | · let e : U S.J ≃ S.Γ := .ofInjective _ S.ratEmbed_injective |
| 451 | calc _ ≤ Z * ‖d‖ₑ := by |
| 452 | rw [← e.tsum_eq, ← ENNReal.tsum_mul_right] |
| 453 | refine tsum_le_tsum fun δ ↦ .trans (le_of_eq ?_) (le_opENorm _ d) |
| 454 | exact congrArg eNorm (zeroTerm_graphSplitting_doubleDatum b f f' g g' δ).symm |
| 455 | _ ≤ _ := by grw [hd, mul_assoc, ← le_add_self] |
| 456 | |
| 457 | open ContinuousLinearMap in |
| 458 | /-- Let the rank of `T` exceed twice that of `S`. For any data `f`, `f'`, both sides of the doubling |
| 459 | identity, with absolute values inside (the integral over `[U(T)]` and the sum over the rational |
| 460 | points of `U(S)`), are at most a finite constant times a common power of the heights `S.height` |
| 461 | of `g` and `g'`. -/ |
| 462 | lemma exists_doubling_le_height (h_rank : 2 * card n < card m) (a b : AutChar E) |
| 463 | (f f' : 𝒮 (S.hom T)) : ∃ (l : ℕ) (C : ENNReal), C ≠ ⊤ ∧ ∀ g g' : G E s, |
| 464 | ∫⁻ x : G E t, ‖conj (θ (S.hom T) (pairWeil S T a b (g', x) f')) * |
| 465 | θ (S.hom T) (pairWeil S T a b (g, x) f)‖ₑ ∂T.quotMeasure ≤ |
| 466 | C * (.ofReal (S.height g' ^ l) * .ofReal (S.height g ^ l)) ∧ |
| 467 | ∑' γ : S.Γ, ‖weilMatrixCoeff b f f' (g'⁻¹ * (γ * g))‖ₑ ≤ |
| 468 | C * (.ofReal (S.height g' ^ l) * .ofReal (S.height g ^ l)) := by |
| 469 | -- Both sides are invariant under rational points, so `g` may be replaced by a point `η g * g` at |
| 470 | -- which `ω` grows at most like a power of the height. |
| 471 | obtain ⟨C, hC, h_bound⟩ := exists_doubling_bound (S := S) (T := T) h_rank |
| 472 | obtain ⟨l, hl⟩ : ∃ l : ℕ, ∀ g : G E s, ∃ γ ∈ S.Γ, |
| 473 | ‖pairWeil S T 1 b (γ * g, 1)‖ ≤ 2 ^ l * S.height g ^ l := |
| 474 | ((pairThetaKer S T 1 b).swap.eventually_exists_norm_omega_le_mul_height_pow 1).exists |
| 475 | choose η hη h_growth using hl |
| 476 | have h_norm (φ : 𝒮 (S.hom T)) (g : G E s) : ‖pairWeil S T 1 b (η g * g, 1) φ‖ₑ ≤ |
| 477 | 2 ^ l * ‖φ‖ₑ * .ofReal (S.height g ^ l) := by |
| 478 | grw [le_opENorm, ← ofReal_norm, h_growth, ENNReal.ofReal_mul (by positivity), mul_right_comm] |
| 479 | simp |
| 480 | refine ⟨l, C * (2 ^ l * ‖f'‖ₑ * (2 ^ l * ‖f‖ₑ)), by finiteness, fun g g' ↦ ?_⟩ |
| 481 | have h_inv (φ : 𝒮 (S.hom T)) (g : G E s) (x : G E t) : |
| 482 | θ (S.hom T) (pairWeil S T a b (η g * g, x) φ) = θ (S.hom T) (pairWeil S T a b (g, x) φ) := |
| 483 | (pairThetaKer S T a b).theta_rat_mul _ (hη g) g |
| 484 | let e : S.Γ ≃ S.Γ := .trans (.mulLeft ⟨η g', hη g'⟩⁻¹) (.mulRight ⟨η g, hη g⟩) |
| 485 | have h_shift : ∑' γ : S.Γ, ‖weilMatrixCoeff b f f' (g'⁻¹ * (γ * g))‖ₑ = |
| 486 | ∑' γ : S.Γ, ‖weilMatrixCoeff b f f' ((η g' * g')⁻¹ * (γ * (η g * g)))‖ₑ := by |
| 487 | rw [← e.tsum_eq] |
| 488 | simp [e, mul_assoc] |
| 489 | have h_moved := h_bound a b f f' (η g * g) (η g' * g') |
| 490 | simp only [h_inv, ← h_shift] at h_moved |
| 491 | grw [h_norm, h_norm, mul_mul_mul_comm, ← mul_assoc C] at h_moved |
| 492 | exact h_moved |
| 493 | |
| 494 | omit [WeilData E] in |
| 495 | /-- Unfolding: `((g', g), γ) ↦ (g', g'⁻¹ * (γ * g))` carries the measure of |
| 496 | `[U(S)] × [U(S)] × Γ` (counting measure on the rational points `Γ`) to that of |
| 497 | `[U(S)] × U(S)(𝔸)`. -/ |
| 498 | lemma measurePreserving_quotMeasure_unfold (S : Space E n s) : |
| 499 | MeasurePreserving (fun p : (G E s × G E s) × S.Γ ↦ (p.1.1, p.1.1⁻¹ * (p.2 * p.1.2))) |
| 500 | ((S.quotMeasure.prod S.quotMeasure).prod .count) (S.quotMeasure.prod volume) := |
| 501 | -- Reassociate, map `(g, γ)` to `γ * g`, then translate the second component by `g'⁻¹`. |
| 502 | (measurePreserving_prod_inv_mul S.quotMeasure volume).comp |
| 503 | (measurePreserving_prod_orbitMeasure (ν := Measure.count (α := S.Γ)) S.quotMeasure) |
| 504 | |
| 505 | omit [WeilData E] in |
| 506 | /-- If `‖y g‖ * height g ^ l ≤ B` and `‖y' g‖ * height g ^ l ≤ B'` for all `g`, then a constant `C` |
| 507 | times the two powers of the heights, weighted by `‖y' g'‖ * ‖y g‖`, is at most `C B' B`. -/ |
| 508 | lemma enorm_mul_height_pow_le {y y' : G E s → ℂ} {l : ℕ} {B B' : ℝ} |
| 509 | (hB : ∀ g : G E s, ‖y g‖ * S.height g ^ l ≤ B) |
| 510 | (hB' : ∀ g : G E s, ‖y' g‖ * S.height g ^ l ≤ B') (C : ENNReal) (g g' : G E s) : |
| 511 | ‖y' g'‖ₑ * ‖y g‖ₑ * (C * (.ofReal (S.height g' ^ l) * .ofReal (S.height g ^ l))) ≤ |
| 512 | C * (.ofReal B' * .ofReal B) := |
| 513 | calc _ = C * (.ofReal (‖y' g'‖ * S.height g' ^ l) * .ofReal (‖y g‖ * S.height g ^ l)) := by |
| 514 | simp only [ENNReal.ofReal_mul (norm_nonneg _), ofReal_norm] |
| 515 | ring |
| 516 | _ ≤ C * (.ofReal B' * .ofReal B) := by grw [hB, hB'] |
| 517 | |
| 518 | open ContinuousLinearMap Continuous in |
| 519 | /-- The inner product formula before the choice of a sharp datum. Let `2 n < m` for the ranks of |
| 520 | `S`, `T`, let `f` be clean (`IsClean`) and `f'` any datum (by default `f`); `a`, `b` are the |
| 521 | characters that twist the Weil representation `ω`. For automorphic `y`, `y'` of rapid decay |
| 522 | (`rapidFunctions`), the Petersson product of the theta lifts `⟨Θ_{f'} y', Θ_f y⟩` (`lift`, |
| 523 | `petersson`) is the volume of `[U(T)]` times `∫ ⟨f', ω(g) f⟩ ⟨y', R(g) y⟩ dg` over the adelic |
| 524 | points of `U(S)`, with `⟨f', ω(g) f⟩ = weilMatrixCoeff b f f' g` and `R` the right translation, |
| 525 | and this integral converges absolutely. -/ |
| 526 | theorem inner_product_formula (h_rank : 2 * card n < card m) (a b : AutChar E) |
| 527 | {f : 𝒮 (S.hom T)} (hf : IsClean f) {y y' : G E s → ℂ} (hy : y ∈ S.rapidFunctions) |
| 528 | (hy' : y' ∈ S.rapidFunctions) (f' : 𝒮 (S.hom T) := f) : |
| 529 | let k (g : G E s) : ℂ := |
| 530 | weilMatrixCoeff b f f' g * S.petersson y' (rightRegular ℂ (G E s) ℂ g y) |
| 531 | Integrable k ∧ |
| 532 | T.petersson (lift (pairThetaKer S T a b) f' y') (lift (pairThetaKer S T a b) f y) = |
| 533 | T.quotMeasure.real Set.univ * ∫ g : G E s, k g := by |
| 534 | -- Integrate the doubling identity against `conj (y' g') * y g` over `[U(S)] × [U(S)]`; the sum |
| 535 | -- over the rational points unfolds one of the two integrals. |
| 536 | let Θ (g g' : G E s) (x : G E t) : ℂ := |
| 537 | conj (θ (S.hom T) (pairWeil S T a b (g', x) f')) * θ (S.hom T) (pairWeil S T a b (g, x) f) |
| 538 | let Φ (p : G E s × G E s) : ℂ := weilMatrixCoeff b f f' p.2 * (conj (y' p.1) * y (p.1 * p.2)) |
| 539 | obtain ⟨hy_aut, hy_rapid⟩ := hy |
| 540 | obtain ⟨hy'_aut, hy'_rapid⟩ := hy' |
| 541 | have hy_cont : Continuous y := hy_aut.continuous |
| 542 | have hy'_cont : Continuous y' := hy'_aut.continuous |
| 543 | -- Convergence: the decay of `y` and `y'` beats the powers of the heights. |
| 544 | obtain ⟨l, C, hC, h_bound⟩ := exists_doubling_le_height h_rank a b f f' |
| 545 | obtain ⟨B, hB⟩ : ∃ B : ℝ, ∀ g : G E s, ‖y g‖ * S.height g ^ l ≤ B := hy_rapid l |
| 546 | obtain ⟨B', hB'⟩ : ∃ B' : ℝ, ∀ g : G E s, ‖y' g‖ * S.height g ^ l ≤ B' := hy'_rapid l |
| 547 | have h_finite : ∫⁻ _ : G E s × G E s, C * (.ofReal B' * .ofReal B) |
| 548 | ∂S.quotMeasure.prod S.quotMeasure < ⊤ := lintegral_const_lt_top (by finiteness) |
| 549 | -- Unfolding turns the double integral of the sum over `S.Γ` into the integral of `Φ`. |
| 550 | have h_unfold := measurePreserving_quotMeasure_unfold S |
| 551 | have hΦ_unfold (g g' : G E s) (γ : S.Γ) : Φ (g', g'⁻¹ * (γ * g)) = |
| 552 | conj (y' g') * y g * weilMatrixCoeff b f f' (g'⁻¹ * (γ * g)) := by |
| 553 | simp only [Φ, mul_inv_cancel_left, hy_aut.rat_mul γ γ.property] |
| 554 | exact mul_comm .. |
| 555 | have hΦ : Integrable Φ (S.quotMeasure.prod volume) := by |
| 556 | refine ⟨aestronglyMeasurable (by fun_prop), h_finite.trans_le' ?_⟩ |
| 557 | grw [← h_unfold.lintegral_comp (by fun_prop), lintegral_prod_le] |
| 558 | gcongr with p |
| 559 | calc ∫⁻ γ : S.Γ, ‖Φ (p.1, p.1⁻¹ * (γ * p.2))‖ₑ ∂.count |
| 560 | = ‖y' p.1‖ₑ * ‖y p.2‖ₑ * ∑' γ : S.Γ, ‖weilMatrixCoeff b f f' (p.1⁻¹ * (γ * p.2))‖ₑ := by |
| 561 | simp [lintegral_count, hΦ_unfold, eNorm_mul, ENNReal.tsum_mul_left] |
| 562 | _ ≤ _ := by grw [(h_bound p.2 p.1).2, enorm_mul_height_pow_le hB hB'] |
| 563 | have h_swap : Integrable |
| 564 | (Function.uncurry fun (p : G E s × G E s) x ↦ conj (y' p.1) * y p.2 * Θ p.2 p.1 x) |
| 565 | ((S.quotMeasure.prod S.quotMeasure).prod T.quotMeasure) := by |
| 566 | refine ⟨by fun_prop, h_finite.trans_le' ?_⟩ |
| 567 | grw [lintegral_prod_le] |
| 568 | gcongr with p |
| 569 | calc ∫⁻ x, ‖conj (y' p.1) * y p.2 * Θ p.2 p.1 x‖ₑ ∂T.quotMeasure |
| 570 | = ‖y' p.1‖ₑ * ‖y p.2‖ₑ * ∫⁻ x, ‖Θ p.2 p.1 x‖ₑ ∂T.quotMeasure := by |
| 571 | simp [eNorm_mul, lintegral_const_mul', ENNReal.mul_eq_top] |
| 572 | _ ≤ _ := by grw [(h_bound p.2 p.1).1, enorm_mul_height_pow_le hB hB'] |
| 573 | have h_fubini (g : G E s) : weilMatrixCoeff b f f' g * |
| 574 | S.petersson y' (rightRegular ℂ (G E s) ℂ g y) = ∫ g', Φ (g', g) ∂S.quotMeasure := by |
| 575 | simp [Space.petersson, Φ, integral_const_mul] |
| 576 | simp only [h_fubini] |
| 577 | refine ⟨hΦ.integral_prod_right, ?_⟩ |
| 578 | calc _ = ∫ x, ∫ p : G E s × G E s, conj (y' p.1) * y p.2 * Θ p.2 p.1 x |
| 579 | ∂S.quotMeasure.prod S.quotMeasure ∂T.quotMeasure := by |
| 580 | simp_rw [petersson, lift, ← integral_conj, ← integral_prod_mul] |
| 581 | congr! 4 with x p |
| 582 | simp only [Θ, map_mul] |
| 583 | ring |
| 584 | _ = ∫ p : G E s × G E s, T.quotMeasure.real Set.univ * |
| 585 | ∑' γ : S.Γ, Φ (p.1, p.1⁻¹ * (γ * p.2)) ∂S.quotMeasure.prod S.quotMeasure := by |
| 586 | rw [← integral_integral_swap h_swap] |
| 587 | simp_rw [integral_const_mul (conj (y' _) * y _), Θ, |
| 588 | integral_conj_theta_mul_theta h_rank a b hf, hΦ_unfold, tsum_mul_left] |
| 589 | exact integral_congr_ae (.of_forall fun p ↦ mul_left_comm ..) |
| 590 | _ = T.quotMeasure.real Set.univ * ∫ g, ∫ g', Φ (g', g) ∂S.quotMeasure := by |
| 591 | rw [integral_const_mul, ← integral_prod_symm _ hΦ, ← (h_unfold.fubini hΦ).2] |
| 592 | simp_rw [integral_count_eq_tsum] |
| 593 | |
| 594 | /-! ### The coefficient of the vacuum -/ |
| 595 | |
| 596 | /-- Let `f` be a vacuum above `A` (fixed by `projOn` at `A`), let the finite point `γ` be supported |
| 597 | on `A` and its conjugate, and let `g` be integral at `A`. Then `⟨f, ω(γ g, 1) f⟩` is |
| 598 | `⟨f, ω(g, 1) f⟩` times the vacuum coefficient `vacuumCoeff (card m) b γ`, the inverse of the product |
| 599 | of `b (det γ)` and the `card m`-th power of the multiplier of `γ`. -/ |
| 600 | lemma weilMatrixCoeff_mul {A : Set (FinPlace E)} (b : AutChar E) {f : 𝒮 (S.hom T)} |
| 601 | (hf : projOn (S.hom T) A f = f) {γ : Gf E n} (hγ : γ ∈ supportedOn n A) {g : G E s} |
| 602 | (hg : g.2 ∈ localLevel n A) : |
| 603 | weilMatrixCoeff b f f (γ * g) = vacuumCoeff (card m) b γ * weilMatrixCoeff b f f g := by |
| 604 | -- The vector `u = ω(g, 1) f` is again a vacuum above `A`, so the projection of `ω(γ, 1) u` is |
| 605 | -- a multiple of `u`. |
| 606 | set u : 𝒮 (S.hom T) := pairWeil S T 1 b (g, 1) f with hu |
| 607 | have hu_vac : projOn (S.hom T) A u = u := |
| 608 | projOn_pairWeil hf (g, 1) (onHom_mem_localLevel hg (one_mem _)) |
| 609 | have h_char : pairChar (s' := t) 1 b ((γ : G E s), 1) = (b.val (detFin 1 γ) : ℂ)⁻¹ := by |
| 610 | -- The determinant of a finite point does not depend on the signs. |
| 611 | have h_det : detFin 1 γ = detFin s γ := by ext <;> simp |
| 612 | change _ = (Circle.coeHom (b.val (detFin 1 γ)))⁻¹ |
| 613 | simp [pairChar, h_det] |
| 614 | have h_mult : finMultiplier (onHom (s' := t) ((γ : G E s), 1)).2⁻¹ = |
| 615 | finMultiplier γ ^ card m := by simp [finMultiplier_inv, finMultiplier_onHom_left] |
| 616 | have h_proj : projOn (S.hom T) A (pairWeil S T 1 b ((γ : G E s), 1) u) = |
| 617 | vacuumCoeff (card m) b γ • u := by |
| 618 | have h_fin : onHom (s' := t) ((γ : G E s), 1) = ↑(onHom (s' := t) ((γ : G E s), 1)).2 := |
| 619 | onHom_fin γ 1 |
| 620 | rw [pairWeil_apply, map_smul, h_fin, projOn_omega _ (onHom_mem_supportedOn hγ (one_mem _)) |
| 621 | hu_vac, |
| 622 | smul_smul, h_char, h_mult, vacuumCoeff, mul_inv] |
| 623 | calc _ = dataInner (S.hom T) (projOn (S.hom T) A f) (pairWeil S T 1 b ((γ : G E s), 1) u) := by |
| 624 | rw [hf, hu, rep_apply_apply, Prod.mk_mul_mk (γ : G E s) g, one_mul (1 : G E t)] |
| 625 | _ = dataInner (S.hom T) f (vacuumCoeff (card m) b γ • u) := by rw [dataInner_projOn, h_proj] |
| 626 | _ = vacuumCoeff (card m) b γ * weilMatrixCoeff b f f g := by rw [map_smul, smul_eq_mul] |
| 627 | |
| 628 | /-! ### An integral isotropic frame -/ |
| 629 | |
| 630 | /-- If `2 n ≤ m` for the cardinalities of `n` and `m`, there is an `m × n` matrix `x` over the |
| 631 | integral adeles `Ô E` with `xᴴ x = 0` (an integral isotropic frame), some `n` of whose rows form the |
| 632 | identity matrix. -/ |
| 633 | lemma exists_integral_isotropic_frame (h_rank : 2 * card n ≤ card m) : |
| 634 | ∃ x : Matrix m n (𝔸f E), (∀ (i : m) (j : n), x i j ∈ Ô E) ∧ xᴴ * x = 0 ∧ |
| 635 | ∃ u : n ↪ m, ∀ i : n, x (u i) = Pi.single i 1 := by |
| 636 | -- Pick `2 n` distinct rows; column `j` of `x` has `1` in row `ι (inl j)` and the integral element |
| 637 | -- `ε = normNegOne` of norm `-1` in row `ι (inr j)`. |
| 638 | obtain ⟨ι⟩ : Nonempty (n ⊕ n ↪ m) := Function.Embedding.nonempty_of_card_le (by grind [card_sum]) |
| 639 | let ε : 𝔸f E := Weil.normNegOne.val.val |
| 640 | let col (j : n) : m → 𝔸f E := Pi.single (ι (.inl j)) 1 + Pi.single (ι (.inr j)) ε |
| 641 | refine ⟨(of col)ᵀ, fun i j ↦ ?_, ?_, Function.Embedding.inl.trans ι, fun i ↦ ?_⟩ |
| 642 | · simp [col, ε, Pi.single_apply, ite_mem, add_mem] |
| 643 | · -- Distinct columns have disjoint supports, and a column has norm `1 + ε̄ ε = 0`. |
| 644 | refine Matrix.ext fun (j k : n) ↦ ?_ |
| 645 | have h_entry : ((of col)ᵀᴴ * (of col)ᵀ) j k = if j = k then 1 + star ε * ε else 0 := by |
| 646 | by_cases h_eq : j = k <;> simp [col, Function.swap, Matrix.mul_apply, apply_ite star, |
| 647 | Pi.single_apply, mul_add, add_mul, Finset.sum_add_distrib, h_eq, eq_comm (a := k)] |
| 648 | exact h_entry.trans (by simp [ε, star_normNegOne_mul_self]) |
| 649 | · simp [col, Function.swap, funext_iff, eq_comm, Pi.single_apply] |
| 650 | |
| 651 | end New.SiegelWeil |
| 652 | |
| 653 | end InnerProductFormula |
| 654 | |
| 655 | end |