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.Algebra.Order.Star.Real |
| 4 | import Mathlib.Analysis.Matrix.PosDef |
| 5 | public import Lib.Weil.MixedModel.ZeroTerm |
| 6 | import Lib.Adelic.Adeles.LocalFactors |
| 7 | import Lib.Adelic.Adeles.StrongApproximation |
| 8 | import Lib.Adelic.Unitary.RationalPoints |
| 9 | import Lib.Adelic.Unitary.WeakApproximation |
| 10 | import Lib.Cohomology.Etale.Basic |
| 11 | import Lib.Weil.MixedModel.RealTheta |
| 12 | |
| 13 | /-! |
| 14 | # Mixed model of the Weil representation: Levi intertwining and invariance of θ |
| 15 | |
| 16 | This file proves that the slice map x ↦ f[x] = `D.slice x f` of a splitting `D` is continuous and |
| 17 | integrable on `𝔸^p`. Take `g` with `g k = k a`, `a ∈ GL_p(𝔸)`, acting as `g₀` on `V₀`. Then ev |
| 18 | ω(g) = χ_𝔸(det a)⁻¹ ω(g₀) ev, where ev is the zero term and χ_𝔸 = `New.chiAdelic`. The file then |
| 19 | proves that θ is invariant under the rational unitary group. When `V₀` is zero, the function |
| 20 | x ↦ f[x] plays the part of a vector of the Schrödinger model on `𝔸^p`; this identification is not |
| 21 | stated here, and the space L²(𝔸^p) is not used. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Space.Splitting.zeroTerm_omega_levi`: on the Levi subgroup, ev ω(g) = χ_𝔸(det a)⁻¹ ω(g₀) ev. |
| 26 | The modulus of the scalar comes from `New.Space.Splitting.integral_dataInner_slice`. Its phase |
| 27 | comes from `New.Space.Splitting.exists_hyperbolic_levi_multiplier_nonneg`. |
| 28 | * `New.Space.theta_omega_ratEmbed`: θ is invariant under the rational unitary group, acting through |
| 29 | `New.Space.ratEmbed` and `New.Space.ω`. On a split space two opposite parabolic subgroups fix θ |
| 30 | and generate the group (`New.Space.theta_omega_ratEmbed_of_splitting`). The general case follows |
| 31 | by doubling: `V ⊕ V⁻` is split, and `γ` acts on it as `(γ, 1)`. |
| 32 | |
| 33 | Notions from other files: |
| 34 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx |
| 35 | equal to diag(s) at the infinite places and 1 at the finite places. |
| 36 | * `New.𝒮`: The Banach space 𝒮(V) of integrable functions c on 𝔸^n with c(x) = ∫ c(y)β(y,x)e(x−y) dy, |
| 37 | under the L¹ norm; β is the adelic bicharacter and e the vacuum function `New.vacuumFn`. |
| 38 | * `New.Space.Splitting`: A decomposition V = (lE^p ⊕ kE^p) ⊥ ιV₀ over E: isotropic frames l, k with |
| 39 | l*Jk = 1, an isometry ι from V₀ orthogonal to both, and rk V = rk V₀ + 2p. |
| 40 | * `New.WeilData`: Weil data on a stably unramified E. They consist of ȷ in E with ȷ = −ȷ̄, Im τȷ > 0 |
| 41 | for every τ in the CM type and (1 − ȷ⁻¹)/2 integral; a finite idele α for which the completed |
| 42 | integers Ô are self-dual under (z, u) ↦ ψ_f(ȷαᾱzu); and a splitting character υ equal to −1 at |
| 43 | uniformisers of the places w with w = w̄. |
| 44 | * `New.Space.Splitting.zeroTerm`, `New.Space.Splitting.slice` (in `Lib.Weil.MixedModel.ZeroTerm`): |
| 45 | the zero term ev : 𝒮 V → 𝒮 V₀, the integral of `f (ι y + k b)` over `b ∈ 𝔸^p`, and the slice |
| 46 | f[x] = ev(ϱ(l x) f). |
| 47 | |
| 48 | ## Relation to the literature |
| 49 | |
| 50 | Known result: Schrödinger and mixed models of the Weil representation and the action of parabolic |
| 51 | subgroups. Here the groups are adelic unitary groups of spaces `New.Space` over a CM field with |
| 52 | `New.WeilData`, and the vectors have integrable coefficients instead of being Schwartz functions. |
| 53 | The representation is normalised by its vacuum coefficient, so the formulas for the parabolic |
| 54 | subgroup are proved rather than taken as the definition. Source: C. Mœglin, M.-F. Vignéras, J.-L. |
| 55 | Waldspurger, Correspondances de Howe sur un corps p-adique, LNM 1291, 1987; S. Kudla, Splitting |
| 56 | metaplectic covers of dual reductive pairs, Israel J. Math. 87 (1994) 361–401; A. Weil, Acta Math. |
| 57 | 111 (1964) n° 16–19, 41. |
| 58 | |
| 59 | Known result: Adelic Weil representation of a unitary group and the invariant theta functional. Here |
| 60 | the CM fields have enough roots of unity and carry a splitting character and a self-dual rank-one |
| 61 | lattice, and the Weil representation is built without a polarisation. Vectors are integrable |
| 62 | coefficients against a vacuum, the splitting is fixed by the vacuum coefficient, and the sign of the |
| 63 | finite cocycle comes from a congruence modulo 4. Source: A. Weil, Sur certains groupes d'opérateurs |
| 64 | unitaires, Acta Math. 111 (1964), n° 16-19 Thm 4, n° 41 Thm 6; S. Kudla, Splitting metaplectic |
| 65 | covers of dual reductive pairs, Israel J. Math. 87 (1994) 361-401; H. Reiter, Metaplectic Groups and |
| 66 | Segal Algebras, LNM 1382 (1989) (space of data, after H. Feichtinger, On a new Segal algebra, |
| 67 | Monatsh. Math. 92 (1981)); E. Zelenov, p-adic Heisenberg group and Maslov index, Comm. Math. Phys. |
| 68 | 155 (1993) 489-502, Prop. 4 (cocycle of three lattices); Robinson and Rawnsley, Mem. AMS 410 (1989) |
| 69 | (real normalisation). |
| 70 | -/ |
| 71 | |
| 72 | @[expose] public section |
| 73 | |
| 74 | noncomputable section |
| 75 | |
| 76 | namespace New.Space.Splitting |
| 77 | |
| 78 | /-! |
| 79 | ## Continuity and integrability of x ↦ f[x] |
| 80 | |
| 81 | Integrability follows from the bound `New.Space.Splitting.tsum_enorm_slice_le` on sums over |
| 82 | `E^p` and from compactness of `𝔸^p / E^p`. |
| 83 | -/ |
| 84 | |
| 85 | section MixedModelIntegrable |
| 86 | |
| 87 | open MeasureTheory Equiv |
| 88 | |
| 89 | variable {E : Type*} [Field E] [CMType E] [WeilData E] {n : Type*} [Fintype n] [DecidableEq n] |
| 90 | {s : n → ℤˣ} {n₀ p : Type*} [Fintype n₀] [DecidableEq n₀] [Fintype p] [DecidableEq p] |
| 91 | {s₀ : n₀ → ℤˣ} {V : Space E n s} {V₀ : Space E n₀ s₀} (D : V.Splitting V₀ p) |
| 92 | |
| 93 | /-- For a Witt decomposition `D` of `V` as `(l E^p ⊕ k E^p) ⊥ ι V₀` over a CM field `E` with Weil |
| 94 | data, and any `f` in 𝒮(V), the slice `x ↦ D.slice x f` is a continuous map from 𝔸^p to 𝒮(V₀) with |
| 95 | its own topology. Here `D.slice x f` is the mixed-model value, namely the zero term along `k` of |
| 96 | `ϱ(l x) f`. -/ |
| 97 | @[fun_prop] |
| 98 | lemma continuous_slice (f : 𝒮 V) : Continuous fun x : p → 𝔸 E ↦ D.slice x f := by |
| 99 | change Continuous fun x : p → 𝔸 E ↦ D.zeroTerm (V.ϱ (D.lAdelic.mulVec x) f) |
| 100 | fun_prop |
| 101 | |
| 102 | /-- For a splitting of V over V₀ with p hyperbolic planes and f in 𝒮(V), the 𝒮(V₀)-valued |
| 103 | function x ↦ f[x] of the mixed model is integrable on 𝔸^p. -/ |
| 104 | @[fun_prop] |
| 105 | lemma integrable_slice (f : 𝒮 V) : Integrable fun x : p → 𝔸 E ↦ D.slice x f := by |
| 106 | -- The integral of the norm over `𝔸^p` is the integral over the quotient `𝔸^p / E^p`, which has |
| 107 | -- finite measure, of sums over `E^p`; these sums are bounded. |
| 108 | obtain ⟨C, hC⟩ := D.tsum_enorm_slice_le |
| 109 | -- Translation by `x` is the action of `ϱ` at `D.lAdelic *ᵥ x`, which keeps the norm of `f`. |
| 110 | have h_bound (x : p → 𝔸 E) : ∑' ξ : p → E, ‖D.slice (toAdele ∘ ξ + x) f‖ₑ ≤ C * ‖f‖ₑ := by |
| 111 | simpa [← ofReal_norm, Heisenberg.Rep.norm_map] using! hC (V.ϱ (D.lAdelic.mulVec x) f) |
| 112 | refine ⟨by fun_prop, ?_⟩ |
| 113 | -- Unfold the integral into an integral over the quotient of sums over the lattice `E^p`. |
| 114 | calc ∫⁻ x : p → 𝔸 E, ‖D.slice x f‖ₑ |
| 115 | _ ≤ _ := (lintegral_addOrbitMeasure_lintegral (H := New.ratVectors E p) (ν := .count) |
| 116 | (D.continuous_slice f).eNorm.measurable).ge |
| 117 | _ < ⊤ := by |
| 118 | refine IsFiniteMeasure.lintegral_lt_top_of_bounded_to_ennreal _ ⟨C * ‖f‖₊, fun x ↦ ?_⟩ |
| 119 | -- The points of `ratVectors` are the `toAdele ∘ ξ`. |
| 120 | rw [lintegral_count, New.ratVectors, |
| 121 | ← (AddMonoidHom.ofInjective (f := (toAdele (E := E)).toAddMonoidHom.compLeft p) |
| 122 | (toAdele (E := E)).injective.comp_left).toEquiv.tsum_eq] |
| 123 | exact h_bound x |
| 124 | |
| 125 | end MixedModelIntegrable |
| 126 | |
| 127 | /-! |
| 128 | ## Intertwining on the parabolic subgroup |
| 129 | |
| 130 | The zero term ev = `New.Space.Splitting.zeroTerm` : 𝒮 V → 𝒮 V₀ is taken along the isotropic frame |
| 131 | `k` of a splitting. |
| 132 | |
| 133 | `New.weilMultiplier` is the multiplier Δ in the definition of `ω`. `dataInner` is the scalar product |
| 134 | on `𝒮`. |
| 135 | -/ |
| 136 | |
| 137 | open Exchange MeasureTheory Matrix ComplexOrder WeilData Fock Finset Complex G Circle |
| 138 | Heisenberg.IsVacuum |
| 139 | |
| 140 | variable {E : Type*} [Field E] [CMType E] [WeilData E] {n : Type*} [Fintype n] [DecidableEq n] |
| 141 | {s : n → ℤˣ} {n₀ p : Type*} [Fintype n₀] [DecidableEq n₀] [Fintype p] [DecidableEq p] |
| 142 | {s₀ : n₀ → ℤˣ} {V : Space E n s} {V₀ : Space E n₀ s₀} (D : V.Splitting V₀ p) {g : G E s} |
| 143 | (g₀ : G E s₀) (hi : D.iCoord * (g.adeleMatrix * D.iAdelic) = g₀.adeleMatrix) (a : GL p (𝔸 E)) |
| 144 | (hk : D.ActsOnFrame g a.val) |
| 145 | |
| 146 | /-- Let `a ∈ GL_p(𝔸)`, let `x` be the frame of `hyperbolicSpace E p`, and let `g₁` be a point of the |
| 147 | adelic unitary group of the hyperbolic space whose matrix is `x⁻¹ diag(a*⁻¹, a) x`. At each infinite |
| 148 | place `w`, the multiplier `realMultiplier (g₁ w)` times the phase of `det a` at `w` is a nonnegative |
| 149 | real number. -/ |
| 150 | private lemma realMultiplier_mul_det_div_norm_nonneg {g₁ : G E (hyperbolicSigns p)} |
| 151 | (h_mat : g₁.adeleMatrix = (hyperbolicSpace E p).x⁻¹.val * fromBlocks a⁻¹.valᴴ 0 0 a.val * |
| 152 | (hyperbolicSpace E p).x) (w : NumberField.InfinitePlace E) : |
| 153 | 0 ≤ realMultiplier (g₁.1 w) * (a.det.val.1 w / ‖a.det.val.1 w‖) := by |
| 154 | -- At `w` the frame `x` is `(1, -1; 1, 1) / √2`, so the lower right block of |
| 155 | -- `x⁻¹ diag(a⁻¹ᴴ, a) x` is `(a⁻¹ᴴ + a) / 2`. Its adjoint times `a` is `(1 + aᴴ a) / 2`, whose |
| 156 | -- determinant is nonnegative. |
| 157 | have hx : (hyperbolicSpace E p).x.1.map (evalInf w) = (√2 : ℂ)⁻¹ • fromBlocks 1 (-1) 1 1 := rfl |
| 158 | have hx_inv : (hyperbolicSpace E p).x⁻¹.val.map (evalInf w) = (√2 : ℂ)⁻¹ • fromBlocks 1 1 (-1) |
| 159 | 1 := rfl |
| 160 | have h_lower : (g₁.adeleMatrix.map (evalInf w)).toBlocks₂₂ = |
| 161 | (2 : ℂ)⁻¹ • ((a⁻¹.val.map (evalInf w))ᴴ + a.val.map (evalInf w)) := by |
| 162 | have h_star : Function.Semiconj (evalInf w) star star := fun _ ↦ rfl |
| 163 | simp only [h_mat, Matrix.map_mul, hx, hx_inv] |
| 164 | simp [-coe_units_inv, fromBlocks_map, fromBlocks_smul, fromBlocks_multiply, smul_smul, |
| 165 | conjTranspose_map (evalInf w) h_star, ← smul_add, ← mul_inv, ← Complex.ofReal_mul] |
| 166 | have h_one : a⁻¹.val.map (evalInf w) * a.val.map (evalInf w) = 1 := by |
| 167 | simp [← Matrix.map_mul, -coe_units_inv] |
| 168 | have h_det : 0 ≤ (1 + (a.val.map (evalInf w))ᴴ * a.val.map (evalInf w)).det := |
| 169 | (PosSemidef.one.add (posSemidef_conjTranspose_mul_self _)).det_nonneg |
| 170 | -- `realMultiplier` is the conjugate determinant of that block. |
| 171 | have h_mult : realMultiplier (g₁.1 w) = star |
| 172 | (g₁.adeleMatrix.map (evalInf w)).toBlocks₂₂.det := by |
| 173 | let e_neg : {i // hyperbolicSigns p i = -1} ≃ p := |
| 174 | (Equiv.subtypeEquivRight (by simp)).trans Equiv.sumIsRight |
| 175 | rw [realMultiplier, ← star_def, principalMinor, ← det_reindex_self e_neg] |
| 176 | rfl |
| 177 | rw [h_mult, h_lower, det_smul] |
| 178 | simp [h_one, h_det, -coe_units_inv, ← det_conjTranspose, ← evalInf_apply, RingHom.map_det, |
| 179 | add_mul, ← det_mul, field, div_nonneg] |
| 180 | |
| 181 | /-- For a in GL_p(𝔸) and x the point of the space `New.hyperbolicSpace` of p hyperbolic planes |
| 182 | (signs `hyperbolicSigns p`: +1 on the first p and −1 on the last p coordinates; x is (1, −1; 1, |
| 183 | 1)/√2 at each infinite place and integral at the finite places), some g₁ in the adelic unitary group |
| 184 | has matrix x⁻¹ diag(a*⁻¹, a) x. Moreover Δ(g₁)υ(det a) is a nonnegative real number, where Δ is the |
| 185 | multiplier `weilMultiplier` and υ is the splitting character of the Weil data. -/ |
| 186 | lemma exists_hyperbolic_levi_multiplier_nonneg : |
| 187 | ∃ g₁ : G E (hyperbolicSigns p), 0 ≤ weilMultiplier g₁ * υ.val a.det ∧ |
| 188 | g₁.adeleMatrix = (hyperbolicSpace E p).x⁻¹.val * fromBlocks a⁻¹.valᴴ 0 0 a.val * |
| 189 | (hyperbolicSpace E p).x := by |
| 190 | let g₁ : G E (hyperbolicSigns p) := |
| 191 | (hyperbolicSpace E p).toRatCoords.symm |
| 192 | ⟨blockGL (star a⁻¹, a), by simp [mem_unitaryGroupOf_iff, fromBlocks_conjTranspose, |
| 193 | fromBlocks_map, star_eq_conjTranspose, fromBlocks_multiply, ← conjTranspose_mul]⟩ |
| 194 | have h_mat : g₁.adeleMatrix = (hyperbolicSpace E p).x⁻¹.val * fromBlocks a⁻¹.valᴴ 0 0 a.val * |
| 195 | (hyperbolicSpace E p).x := rfl |
| 196 | refine ⟨g₁, ?_, h_mat⟩ |
| 197 | -- Both `weilMultiplier` and `υ` are products of factors at the infinite places and a finite |
| 198 | -- factor. |
| 199 | let a_fin : GL p (𝔸f E) := a.map (RingHom.snd (NumberField.InfinitePlace E → ℂ) (𝔸f E)) |
| 200 | have h_fin : |
| 201 | finMultiplier g₁.2 = ‖glMultiplier a_fin‖ ^ 2 * starRingEnd ℂ (chiFin a_fin.det) := by |
| 202 | -- The finite part of `x` is integral, so only the two diagonal blocks count. |
| 203 | have hx : (hyperbolicSpace E p).x.map (.snd ..) ∈ intGL (p ⊕ p) (Ô E) := |
| 204 | mem_intGL.2 (isOrthoIntegral_hyperbolicSpace.imp And.right And.right) |
| 205 | change glMultiplier (GeneralLinearGroup.map (RingHom.snd ..) |
| 206 | ((hyperbolicSpace E p).x⁻¹ * blockGL (star a⁻¹, a) * (hyperbolicSpace E p).x)) = _ |
| 207 | rw [map_mul, map_mul, map_inv, glMultiplier_mul_of_mem _ (inv_mem hx) hx, |
| 208 | glMultiplier_fromBlocks (star a_fin⁻¹) a_fin (Equiv.refl _) (fromBlocks_map ..), |
| 209 | glMultiplier_star_inv_mul] |
| 210 | -- The idele `det a` has the valuations of its finite part `det a_fin`. |
| 211 | rw [upsilon_eq_prod_mul_of_v_eq a_fin.det (by simp [a_fin, a.map_det]), weilMultiplier, |
| 212 | mul_mul_mul_comm, ← prod_mul_distrib, h_fin] |
| 213 | refine mul_nonneg (prod_nonneg fun w _ ↦ |
| 214 | realMultiplier_mul_det_div_norm_nonneg a h_mat w) ?_ |
| 215 | -- In the finite factor, the phases of `conj (chiFin a_fin.det)` and of `υ` cancel. |
| 216 | simp [chiFin, chiAdelic, field, ← coe_inv_eq_conj] |
| 217 | |
| 218 | /-- Let `D` be a Witt decomposition V = (l E^p ⊕ k E^p) ⊥ i V₀, and for f in 𝒮(V) let |
| 219 | f[x] = `D.slice x f` in 𝒮(V₀) be its slice at x ∈ 𝔸^p. For f, f′ in 𝒮(V), the scalar product ⟨f[x], |
| 220 | f′[x]⟩ = ∫ conj(f[x]) f′[x] is integrable in x. -/ |
| 221 | lemma integrable_dataInner_slice (f f' : 𝒮 V) : |
| 222 | Integrable fun x : p → 𝔸 E ↦ V₀.dataInner (D.slice x f) (D.slice x f') := by |
| 223 | -- `slice x f` is `zeroTerm` of a translate of `f`, which has norm `‖f‖`; so the integrand has |
| 224 | -- norm at most `‖dataInner ∘ zeroTerm‖ * ‖f‖ * ‖slice x f'‖` |
| 225 | refine ((D.integrable_slice f').norm.const_mul (‖V₀.dataInner ∘SL D.zeroTerm‖ * ‖f‖)).mono' |
| 226 | (Continuous.aestronglyMeasurable (by fun_prop)) (.of_forall fun x ↦ ?_) |
| 227 | simpa [Heisenberg.Rep.norm_map, slice] using |
| 228 | (V₀.dataInner ∘SL D.zeroTerm).le_opNorm₂ (V.ϱ (D.lAdelic *ᵥ x) f) (D.slice x f') |
| 229 | |
| 230 | /-- For a Witt splitting `D` of `V` over `V₀` with frames of `p` columns, let f[x] = `D.slice x f` |
| 231 | in 𝒮(V₀) be the slice at x ∈ 𝔸^p. There is a constant C with ∫ ⟨f[x], f′[x]⟩ dx = C⟨f, f′⟩ for all |
| 232 | f, f′ in 𝒮(V). The pairing on the left is `dataInner` of 𝒮(V₀) and on the right that of 𝒮(V). -/ |
| 233 | lemma integral_dataInner_slice : |
| 234 | ∃ C : ℂ, ∀ f f' : 𝒮 V, |
| 235 | ∫ x : p → 𝔸 E, V₀.dataInner (D.slice x f) (D.slice x f') = C * V.dataInner f f' := by |
| 236 | -- The form on the left is invariant under the Heisenberg operators, hence a multiple of |
| 237 | -- the scalar product. |
| 238 | have h_inv (y : n → 𝔸 E) (f f' : 𝒮 V) : |
| 239 | ∫ x, V₀.dataInner (D.slice x (V.ϱ y f)) (D.slice x (V.ϱ y f')) = |
| 240 | ∫ x, V₀.dataInner (D.slice x f) (D.slice x f') := by |
| 241 | -- `ϱ y` translates `x` by `lCoord *ᵥ y`, up to a character of modulus 1 and a unitary operator. |
| 242 | rw [← integral_add_right_eq_self (fun x ↦ V₀.dataInner (D.slice x f) (D.slice x f')) |
| 243 | (D.lCoord *ᵥ y)] |
| 244 | simp [← mul_assoc] |
| 245 | exact ⟨_, integral_form_eq_mul_modelInner |
| 246 | (fun x ↦ V₀.dataInner.bilinearComp (D.slice x) (D.slice x)) |
| 247 | D.integrable_dataInner_slice h_inv⟩ |
| 248 | |
| 249 | include hk hi in |
| 250 | /-- Suppose g sends the frame k to k·a for some a in GL_p(𝔸), and g acts on the V₀-part as g₀. Then |
| 251 | there is a scalar c with ev(ω(g)f) = c·ω(g₀)(ev f) for all f in 𝒮(V), where ev is the zero term |
| 252 | `New.Space.Splitting.zeroTerm`. -/ |
| 253 | lemma exists_zeroTerm_omega_eq_smul : |
| 254 | ∃ c : ℂ, ∀ f : 𝒮 V, D.zeroTerm (V.ω g f) = c • V₀.ω g₀ (D.zeroTerm f) := by |
| 255 | -- With `L = ω(g₀⁻¹) zeroTerm ω(g)`, the family `x ↦ L ϱ(lAdelic x)` obeys the same law as |
| 256 | -- `slice`. At `ω(k) vacElem`, `k` adapted, both families are multiples of |
| 257 | -- `‖vacuumFn x‖ ^ 2 • V₀.vacElem`, so they differ by a scalar (`ext_of_vacElem`). |
| 258 | obtain ⟨k, h_adapted, -⟩ := D.exists_isAdapted_and_frame_eq 1 |
| 259 | let L : 𝒮 V →L[ℂ] 𝒮 V₀ := V₀.ω g₀⁻¹ ∘L D.zeroTerm ∘L V.ω g |
| 260 | have h_law : D.IsMixedLaw fun x : p → 𝔸 E ↦ L ∘L V.ϱ (D.lAdelic *ᵥ x) := |
| 261 | D.isMixedLaw_comp_rho L (fun b f ↦ by simp_all [L, ← slice_zero, omega_rho]) fun w f ↦ by |
| 262 | simp [L, hi, ← adeleMatrix_mul, ← D.lCoord.mul_assoc, D.lCoord_mul_adeleMatrix hk, |
| 263 | ← slice_zero, omega_rho, Matrix.mul_assoc] |
| 264 | obtain ⟨c', hc'_ne, hc'⟩ := h_adapted.slice_omega_vacElem |
| 265 | obtain ⟨c, hc⟩ := h_adapted.exists_omega_vacElem_of_isMixedLaw h_law |
| 266 | conv at hc => |
| 267 | intro x |
| 268 | rw [← div_mul_cancel₀ c hc'_ne, mul_assoc] |
| 269 | refine ⟨c / c', fun f ↦ ?_⟩ |
| 270 | have hL : L = (c / c') • D.zeroTerm := V.ext_of_vacElem k fun y ↦ by |
| 271 | trans (L ∘L V.ϱ (D.lAdelic *ᵥ 0)) (V.ϱ (k.adeleMatrix *ᵥ y) (V.ω k V.vacElem)) |
| 272 | · simp [omega_rho] |
| 273 | · rw [h_law] |
| 274 | simp [↓hc, hc', smul_smul, ← slice_zero, omega_rho, mul_left_comm] |
| 275 | simpa [L, rep_apply_apply] using congrArg (V₀.ω g₀) (DFunLike.congr_fun hL f) |
| 276 | |
| 277 | omit [WeilData E] in |
| 278 | /-- The push-forward of the volume under `x ↦ aᴴ x` is `|det a|⁻¹` times the volume: for continuous |
| 279 | F on 𝔸^p, the integral of F(aᴴ x) is |det a|⁻¹ times the integral of F. -/ |
| 280 | lemma integral_comp_conjTranspose_mulVec (a : GL p (𝔸 E)) {F : (p → 𝔸 E) → ℝ} (hF : Continuous F) : |
| 281 | ∫ x : p → 𝔸 E, F (a.valᴴ *ᵥ x) = (ideleAbs a.det)⁻¹ * ∫ x : p → 𝔸 E, F x := by |
| 282 | simpa [↓volume_map_mulVec_adele, star_eq_conjTranspose] using |
| 283 | (integral_map (μ := volume) (φ := fun x ↦ (star a).val *ᵥ x) (by fun_prop) |
| 284 | hF.aestronglyMeasurable).symm |
| 285 | |
| 286 | /-- Let the group element k have as columns, reordered by e, those of the matrix of D's frames |
| 287 | times diag(x, 1) (`frameAt 1 1` is the matrix of the frames; x is the point of hyperbolic space), |
| 288 | and let g₁ have the matrix x⁻¹ diag(a*⁻¹, a) x. Then the conjugate by k of the Levi element of |
| 289 | (a, g₀) is block diagonal with blocks g₁, g₀, so its multiplier Δ is the product of theirs. -/ |
| 290 | lemma weilMultiplier_conj_levi {k : G E s} {e : (p ⊕ p) ⊕ n₀ ≃ n} {g₁ : G E (hyperbolicSigns p)} |
| 291 | (hs : s ∘ e = hyperbolicSigns p ⊕ᵥ s₀) |
| 292 | (h_frame : D.frameAt 1 1 * fromBlocks (o := n₀) (hyperbolicSpace E p).x.val 0 0 1 = |
| 293 | k.adeleMatrix.submatrix id e) |
| 294 | (hg₁ : g₁.adeleMatrix = (hyperbolicSpace E p).x⁻¹.val * fromBlocks a⁻¹.valᴴ 0 0 a.val * |
| 295 | (hyperbolicSpace E p).x) : |
| 296 | weilMultiplier (k⁻¹ * D.levi (a, g₀) * k) = weilMultiplier g₁ * weilMultiplier g₀ := by |
| 297 | have h_block : |
| 298 | (D.levi (a, g₀)).adeleMatrix * (D.frameAt 1 1 * fromBlocks (o := n₀) |
| 299 | (hyperbolicSpace E p).x.val 0 0 1) = |
| 300 | D.frameAt 1 1 * fromBlocks ((hyperbolicSpace E p).x.val * g₁.adeleMatrix) 0 0 |
| 301 | g₀.adeleMatrix := by |
| 302 | simp [hg₁, frameAt, ← Matrix.mul_assoc, fromCols_mul_fromBlocks, levi_mul_lAdelic, |
| 303 | actsOnFrame_levi, levi_mul_iAdelic] |
| 304 | have h_inv : k⁻¹.adeleMatrix.submatrix e id * k.adeleMatrix.submatrix id e = 1 := by |
| 305 | simp [← submatrix_mul _ _ _ id _ Function.bijective_id, ← G.adeleMatrix_mul] |
| 306 | refine weilMultiplier_fromBlocks hs ?_ |
| 307 | calc (k⁻¹ * D.levi (a, g₀) * k).adeleMatrix.submatrix e e |
| 308 | _ = k⁻¹.adeleMatrix.submatrix e id * ((D.levi (a, g₀)).adeleMatrix * k.adeleMatrix.submatrix id |
| 309 | e) := by |
| 310 | simp [↓adeleMatrix_mul, submatrix_mul _ _ _ id, mul_assoc] |
| 311 | _ = k⁻¹.adeleMatrix.submatrix e id * (k.adeleMatrix.submatrix id e * fromBlocks g₁.adeleMatrix 0 |
| 312 | 0 g₀.adeleMatrix) := by |
| 313 | simp [← h_frame, h_block, Matrix.mul_assoc, fromBlocks_multiply] |
| 314 | _ = fromBlocks g₁.adeleMatrix 0 0 g₀.adeleMatrix := by |
| 315 | rw [← Matrix.mul_assoc, h_inv, Matrix.one_mul] |
| 316 | |
| 317 | /-- A scalar c with |c|² = |det a| and c J conj(m) = I, for reals I > 0, J ≥ 0 and a complex m with |
| 318 | m υ(det a) ≥ 0, is χ_𝔸(det a)⁻¹. -/ |
| 319 | lemma eq_inv_chiAdelic_of_norm_sq_of_phase {c m : ℂ} {I J : ℝ} (hI : 0 < I) (hJ : 0 ≤ J) |
| 320 | (h_abs : ‖c‖ ^ 2 = ideleAbs a.det) (h_phase : c * J * star m = I) |
| 321 | (h_sign : 0 ≤ m * υ.val a.det) : |
| 322 | c = (chiAdelic a.det)⁻¹ := by |
| 323 | -- The signs make `c * υ(det a)` positive, so it is `‖c‖`. |
| 324 | have h_pos : 0 < c * υ.val a.det := by |
| 325 | refine pos_of_mul_pos_left (b := star (m * υ.val a.det)) ?_ (star_nonneg_iff.2 h_sign) |
| 326 | have h_prod : 0 < c * star m * J := by rwa [mul_right_comm, h_phase, Complex.zero_lt_real] |
| 327 | simpa [field, ← coe_inv_eq_conj] using pos_of_mul_pos_left h_prod (by positivity) |
| 328 | have h_norm : ‖c‖ = c * υ.val a.det := by simpa [norm_coe] using norm_of_nonneg' h_pos.le |
| 329 | simp [chiAdelic, ← h_abs, h_norm] |
| 330 | |
| 331 | omit [WeilData E] in |
| 332 | /-- The Levi element attached to `(a, g₀)` sends the vector `l aᴴ x` to `l x`. -/ |
| 333 | lemma levi_mulVec_lAdelic_mulVec_conjTranspose_mulVec (x : p → 𝔸 E) : |
| 334 | (D.levi (a, g₀)).adeleMatrix *ᵥ D.lAdelic *ᵥ a.valᴴ *ᵥ x = D.lAdelic *ᵥ x := by |
| 335 | simp [levi_mul_lAdelic, ← Matrix.mul_assoc, Matrix.mul_assoc D.lAdelic, ← conjTranspose_mul] |
| 336 | |
| 337 | /-- For the Levi element `D.levi (a, g₀)` attached to `a ∈ GL_p(𝔸)` and `g₀` in the group of `V₀`, |
| 338 | one has ev ω(`D.levi (a, g₀)`) = χ_𝔸(det a)⁻¹ ω(g₀) ev. Here ev is the zero term |
| 339 | `New.Space.Splitting.zeroTerm`, and `χ_𝔸 = υ |·|^(-1/2)`. -/ |
| 340 | lemma zeroTerm_omega_levi (f : 𝒮 V) : |
| 341 | D.zeroTerm (V.ω (D.levi (a, g₀)) f) = (chiAdelic a.det)⁻¹ • V₀.ω g₀ (D.zeroTerm f) := by |
| 342 | -- The scalar `c` of `exists_zeroTerm_omega_eq_smul` is found from `integral_dataInner_slice` |
| 343 | -- for `u = ω(k) vacElem`, `k` adapted, and `v = ω(g) u`: the pair `(v, v)` gives |
| 344 | -- `‖c‖ ^ 2 = |det a|`, the pair `(u, v)` gives its phase. |
| 345 | set g : G E s := D.levi (a, g₀) with hg |
| 346 | obtain ⟨c, hc⟩ : ∃ c : ℂ, ∀ f : 𝒮 V, D.zeroTerm (V.ω g f) = c • V₀.ω g₀ (D.zeroTerm f) := |
| 347 | D.exists_zeroTerm_omega_eq_smul g₀ (by simp [hg, levi_mul_iAdelic]) a (D.actsOnFrame_levi a g₀) |
| 348 | obtain ⟨g₁, h_sign, hg₁⟩ := exists_hyperbolic_levi_multiplier_nonneg a |
| 349 | obtain ⟨k, h_adapted, e, hs, h_frame⟩ := D.exists_isAdapted_and_frame_eq 1 |
| 350 | let u : 𝒮 V := V.ω k V.vacElem |
| 351 | let v : 𝒮 V := V.ω g u |
| 352 | let φ (x : p → 𝔸 E) : ℝ := ‖vacuumFn x‖ ^ 2 |
| 353 | obtain ⟨w, hw, hu⟩ : ∃ w ≠ (0 : ℂ), ∀ x, D.slice x u = (w * φ x) • V₀.vacElem := by |
| 354 | simpa [φ] using h_adapted.slice_omega_vacElem |
| 355 | -- The element `g` moves `l aᴴ x` to `l x`. |
| 356 | have hv (x : p → 𝔸 E) : D.slice x v = c • V₀.ω g₀ (D.slice (aᴴ *ᵥ x) u) := by |
| 357 | rw [slice, ContinuousLinearMap.comp_apply, |
| 358 | ← D.levi_mulVec_lAdelic_mulVec_conjTranspose_mulVec g₀ a x, ← omega_rho] |
| 359 | exact hc _ |
| 360 | obtain ⟨C, hC⟩ := D.integral_dataInner_slice |
| 361 | -- The three pairings, with `I = ∫ φ²`, `J = ∫ φ(aᴴ x) φ(x)` and `∫ φ(aᴴ x)² = I / |det a|`. |
| 362 | let I : ℝ := ∫ x, φ x * φ x |
| 363 | let J : ℝ := ∫ x, φ (a.valᴴ *ᵥ x) * φ x |
| 364 | have hI : 0 < I := by |
| 365 | -- the integrand of the pair `(u, u)` has norm `‖w‖² φ²`, which is not zero at `0` |
| 366 | simpa [hu, hw, φ, I, mul_mul_mul_comm ‖w‖, integral_const_mul] using |
| 367 | integral_pos_of_integrable_nonneg_ne_zero (x := 0) (by fun_prop) |
| 368 | (D.integrable_dataInner_slice u u).norm (fun _ ↦ norm_nonneg _) |
| 369 | (by simp [hu, hw, φ, vacuumFn]) |
| 370 | have hφ_cont : Continuous φ := (cont (adelicHeisenberg E 1)).norm.pow 2 |
| 371 | have h_scale : ∫ x, φ (a.valᴴ *ᵥ x) * φ (a.valᴴ *ᵥ x) = (ideleAbs a.det)⁻¹ * I := |
| 372 | integral_comp_conjTranspose_mulVec a (hφ_cont.mul hφ_cont) |
| 373 | -- If the integrand of `hC` is `r * F x` with `F` real, the constant `r` comes out. |
| 374 | have pair (f f' : 𝒮 V) {r : ℂ} {F : (p → 𝔸 E) → ℝ} |
| 375 | (h : ∀ x : p → 𝔸 E, V₀.dataInner (D.slice x f) (D.slice x f') = r * F x) : |
| 376 | r * (∫ x, F x : ℝ) = C * V.dataInner f f' := by |
| 377 | simp [← hC, h, integral_const_mul, integral_complex_ofReal] |
| 378 | have h_uu : w * star w * I = C := by |
| 379 | refine (pair u u fun x ↦ ?_).trans (by simp [u]) |
| 380 | simp [hu] |
| 381 | ring |
| 382 | -- the scalar product of `u` and `ω(g) u` is `(conj weilMultiplier(k⁻¹gk))⁻¹` |
| 383 | have h_coeff : V.dataInner u v = (star (weilMultiplier g₁ * weilMultiplier g₀))⁻¹ := by |
| 384 | rw [← D.weilMultiplier_conj_levi g₀ a hs h_frame hg₁] |
| 385 | exact V.dataInner_omega_vacElem_omega g k |
| 386 | have h_uv : w * star w * c * (star (weilMultiplier g₀))⁻¹ * J = C * V.dataInner u v := by |
| 387 | refine pair u v fun x ↦ ?_ |
| 388 | simp [hu, hv, dataInner_vacElem_omega_vacElem] |
| 389 | ring |
| 390 | have h_vv : w * star w * (c * star c) * ↑((ideleAbs a.det)⁻¹ * I) = C := by |
| 391 | rw [← h_scale] |
| 392 | refine (pair v v fun x ↦ ?_).trans (by simp [u, v]) |
| 393 | simp [hu, hv] |
| 394 | ring |
| 395 | rw [← h_uu] at h_vv |
| 396 | rw [← h_uu, h_coeff] at h_uv |
| 397 | have h_phase : c * J * star (weilMultiplier g₁) = I := by |
| 398 | simpa [field, hw, weilMultiplier_ne_zero g₁, weilMultiplier_ne_zero g₀] using h_uv |
| 399 | have h_abs : ‖c‖ ^ 2 = ideleAbs a.det := by |
| 400 | simpa [field, mul_conj, hw, normSq_eq_norm_sq, -ofReal_pow] using h_vv |
| 401 | rw [hc, eq_inv_chiAdelic_of_norm_sq_of_phase a hI (integral_nonneg fun x ↦ by positivity) h_abs |
| 402 | h_phase h_sign] |
| 403 | |
| 404 | /-- The Levi element with parts `a` (on the isotropic frame) and `g₀` (on `V₀`) acts on the slices |
| 405 | `x ↦ D.slice x f` by the substitution `x ↦ aᴴ x`, the operator `ω(g₀)` on the values and the |
| 406 | factor `(chiAdelic a.det)⁻¹`. -/ |
| 407 | lemma slice_omega_levi (x : p → 𝔸 E) (f : 𝒮 V) : |
| 408 | D.slice x (V.ω (D.levi (a, g₀)) f) = |
| 409 | (chiAdelic a.det)⁻¹ • V₀.ω g₀ (D.slice (a.valᴴ *ᵥ x) f) := by |
| 410 | have h_point : (D.levi (a, g₀)).adeleMatrix *ᵥ D.lAdelic *ᵥ a.valᴴ *ᵥ x = D.lAdelic *ᵥ x := |
| 411 | D.levi_mulVec_lAdelic_mulVec_conjTranspose_mulVec g₀ a x |
| 412 | calc D.slice x (V.ω (D.levi (a, g₀)) f) |
| 413 | _ = D.zeroTerm (V.ω (D.levi (a, g₀)) (V.ϱ (D.lAdelic *ᵥ a.valᴴ *ᵥ x) f)) := by |
| 414 | rw [omega_rho, h_point, slice, ContinuousLinearMap.comp_apply] |
| 415 | _ = _ := D.zeroTerm_omega_levi g₀ a _ |
| 416 | |
| 417 | include hi in |
| 418 | /-- Let `D` split `V` as `(l E^p ⊕ k E^p) ⊥ ι V₀`, and let `g` satisfy gk = ka for a p×p adelic |
| 419 | matrix a whose determinant is the idele d. Suppose also that the V₀-block of g is g₀ in the adelic |
| 420 | group of V₀. Then ev(ω(g)f) = υ(d)⁻¹ |d|^{1/2} ω(g₀) ev(f) for all f, where ev is the zero term |
| 421 | along k, υ is the splitting character of the Weil data, and the scalar is the inverse of |
| 422 | χ_𝔸(d) = υ(d)|d|^{−1/2}. The V₀-block is `iCoord * g * iAdelic`, with `iAdelic` the adelic embedding |
| 423 | ι of V₀ and `iCoord` the projection to its coordinates. When V₀ is zero, this is the value at the |
| 424 | origin of the formula for the Siegel parabolic subgroup in the Schrödinger model. -/ |
| 425 | lemma zeroTerm_omega {a : Matrix p p (𝔸 E)} (hk : D.ActsOnFrame g a) (d : (𝔸 E)ˣ) |
| 426 | (h_det : a.det = d.val) (f : 𝒮 V) : |
| 427 | D.zeroTerm (V.ω g f) = (chiAdelic d)⁻¹ • V₀.ω g₀ (D.zeroTerm f) := by |
| 428 | -- Write `g = radicalElement c b * levi (a, g₀)`. The Levi factor is `zeroTerm_omega_levi`; the |
| 429 | -- scalar by which `radicalElement c b` acts on `zeroTerm` is trivial, because |
| 430 | -- `radicalElement c b` is a commutator (`exists_levi_mul_radicalElement_eq`). |
| 431 | obtain ⟨c, b, a', g₀', rfl, rfl, hg₀⟩ := D.exists_eq_radicalElement_mul_levi hk |
| 432 | obtain rfl : a'.det = d := Units.ext h_det |
| 433 | obtain rfl : g₀' = g₀ := ext_adeleMatrix (hg₀.trans hi) |
| 434 | have h_scalar (b₁ : Matrix p p (𝔸 E)) : |
| 435 | ∃ z : ℂ, ∀ u : 𝒮 V, D.zeroTerm (V.ω (D.radicalElement c b₁) u) = z • D.zeroTerm u := by |
| 436 | obtain ⟨h_frame, h_block⟩ := D.exists_eq_radicalElement_iff.1 ⟨c, b₁, rfl⟩ |
| 437 | simpa using D.exists_zeroTerm_omega_eq_smul 1 (h_block.trans adeleMatrix_one.symm) 1 h_frame |
| 438 | choose z hz using h_scalar |
| 439 | obtain ⟨t, b', h_comm⟩ := D.exists_levi_mul_radicalElement_eq c b |
| 440 | let m : G E s := D.levi (t, 1) * D.radicalElement c b' |
| 441 | -- Both sides are `zeroTerm u` times the product of `z b`, `z b'` and `(chiAdelic t.det)⁻¹`. |
| 442 | have h_unip (u : 𝒮 V) : |
| 443 | D.zeroTerm (V.ω (D.radicalElement c b * m) u) = D.zeroTerm (V.ω m u) := by |
| 444 | conv_rhs => rw [show m = _ from h_comm] |
| 445 | simp [m, hz, zeroTerm_omega_levi, smul_comm (z b')] |
| 446 | -- `ω m` is onto, so `radicalElement c b` can be dropped in front of the Levi factor too. |
| 447 | rw [← zeroTerm_omega_levi] |
| 448 | simpa only [rep_apply_apply, mul_assoc, mul_inv_cancel_left] using |
| 449 | h_unip (V.ω (m⁻¹ * D.levi (a', g₀')) f) |
| 450 | |
| 451 | /-- For a Witt splitting `D` of `V` over `V₀` with frames of `p` columns and a hermitian adelic |
| 452 | `p × p` matrix `z`, consider the element `D.radicalElement 0 z` of the centre of the radical. It |
| 453 | fixes `k`, fixes `ι`, and sends `l` to `l − k j⁻¹ z`. Acting through the Weil representation `V.ω`, |
| 454 | it multiplies the slice `D.slice x f = ev(ϱ(lx) f)` in 𝒮(V₀) by the standard additive character at |
| 455 | `-xᴴ z x / 2`. -/ |
| 456 | lemma slice_omega_radicalElement_zero {z : Matrix p p (𝔸 E)} (hz : zᴴ = z) (x : p → 𝔸 E) (f : 𝒮 V) : |
| 457 | D.slice x (V.ω (D.radicalElement 0 z) f) = |
| 458 | (stdAddChar E (-(toAdele (2⁻¹ : E) * star x ⬝ᵥ z *ᵥ x)) : ℂ) • D.slice x f := by |
| 459 | -- The element fixes the zero term, and it sends `l x + k (j⁻¹ z x)` to `l x`. |
| 460 | let y : n → 𝔸 E := D.lAdelic *ᵥ x + D.kAdelic *ᵥ (toAdele (j⁻¹ : E) • z *ᵥ x) |
| 461 | have h_mat : (D.radicalElement 0 z).adeleMatrix = 1 - D.kAdelic * (toAdele (j⁻¹ : E) • z) * |
| 462 | D.lCoord := by |
| 463 | simp [radicalElement, hz, smul_smul, ← two_smul (𝔸 E), ← map_ofNat (toAdele (E := E)) 2, |
| 464 | ← map_mul, |
| 465 | mul_left_comm (2⁻¹ : E)] |
| 466 | have h_point : (D.radicalElement 0 z).adeleMatrix *ᵥ y = D.lAdelic *ᵥ x := by |
| 467 | simp [y, h_mat, mulVec_add, sub_mulVec, Matrix.sub_mul, Matrix.mul_assoc, mulVec_smul, |
| 468 | smul_mulVec] |
| 469 | obtain ⟨h_frame, h_block⟩ : D.ActsOnFrame (D.radicalElement 0 z) 1 ∧ |
| 470 | D.iCoord * ((D.radicalElement 0 z).adeleMatrix * D.iAdelic) = 1 := |
| 471 | D.exists_eq_radicalElement_iff.1 ⟨0, z, rfl⟩ |
| 472 | have h_fix (f' : 𝒮 V) : D.zeroTerm (V.ω (D.radicalElement 0 z) f') = D.zeroTerm f' := by |
| 473 | simpa using D.zeroTerm_omega 1 (h_block.trans adeleMatrix_one.symm) h_frame 1 (by simp) f' |
| 474 | have h_coeff : (j / 2 * j⁻¹ : E) = 2⁻¹ := by field [j_ne_zero] |
| 475 | calc D.slice x (V.ω (D.radicalElement 0 z) f) |
| 476 | _ = D.zeroTerm (V.ω (D.radicalElement 0 z) (V.ϱ y f)) := by |
| 477 | rw [omega_rho, h_point, slice, ContinuousLinearMap.comp_apply] |
| 478 | _ = (adelicHeisenberg E 1).β x (toAdele (j⁻¹ : E) • z *ᵥ x) • D.slice x f := by |
| 479 | rw [h_fix, ← slice_zero, D.isMixedLaw_slice] |
| 480 | simp [y, mulVec_add, mulVec_mulVec, mulVec_smul] |
| 481 | _ = _ := by |
| 482 | simp [adelicHeisenberg, star_mulVec, hz, ← dotProduct_mulVec, star_j, ← mul_assoc, ← map_mul, |
| 483 | h_coeff] |
| 484 | |
| 485 | end New.Space.Splitting |
| 486 | |
| 487 | namespace New.Space |
| 488 | |
| 489 | /-! ## Invariance of θ under rational points -/ |
| 490 | |
| 491 | section RationalInvariance |
| 492 | |
| 493 | open Matrix Splitting Exchange |
| 494 | |
| 495 | variable {E : Type*} [Field E] [CMType E] {n p : Type*} [Fintype n] [DecidableEq n] |
| 496 | {s : n → ℤˣ} {V : Space E n s} [Fintype p] [WeilData E] |
| 497 | |
| 498 | variable (V) in |
| 499 | /-- The subgroup of the rational unitary γ whose Weil operator ω(γ) fixes the theta functional of |
| 500 | V. -/ |
| 501 | noncomputable def thetaStabilizer : Subgroup (U V.J) where |
| 502 | carrier := {γ : U V.J | ∀ f : 𝒮 V, V.θ (V.ω (V.ratEmbed γ) f) = V.θ f} |
| 503 | one_mem' f := by simp |
| 504 | mul_mem' {γ δ} hγ hδ f := by rw [map_mul, ← rep_apply_apply, hγ, hδ] |
| 505 | inv_mem' {γ} hγ f := by simpa [rep_apply_apply] using (hγ (V.ω (V.ratEmbed γ⁻¹) f)).symm |
| 506 | |
| 507 | /-- Let V be split by D, with isotropic frames k, l and no middle part. A rational unitary γ that |
| 508 | maps the span of k to itself, γk = ka with a invertible over E, fixes the theta functional θ of V: |
| 509 | θ(ω(γ)f) = θ(f), where ω is the Weil representation and γ acts through the rational embedding. -/ |
| 510 | lemma theta_omega_ratEmbed_of_mul_k (γ : U V.J) [DecidableEq p] |
| 511 | (D : V.Splitting (stdSpace E Empty) p) (a : GL p E) (hk : γ.val.val * D.k = D.k * a.val) |
| 512 | (f : 𝒮 V) : |
| 513 | V.θ (V.ω (V.ratEmbed γ) f) = V.θ f := by |
| 514 | -- Expand `θ (ω γ f)` along the splitting `D' = γ D` and `θ f` along `D` as sums over `x ∈ E^p` |
| 515 | -- (`hasSum_theta_slice`): the terms agree. |
| 516 | let D' : V.Splitting (stdSpace E Empty) p := |
| 517 | splittingOfGram (γ.val.val * ((D.l.fromCols D.k).fromCols D.i)) |
| 518 | ((U.gram_invariant γ _ _).trans D.gram_eq_hyperbolicSum) D.card_eq |
| 519 | have h_l' : D'.lAdelic = (V.ratEmbed γ).adeleMatrix * D.lAdelic := by |
| 520 | simp [adeleMatrix_ratEmbed, lAdelic, D', splittingOfGram, Matrix.mul_assoc] |
| 521 | -- `γ` keeps the span of `D.k`, so `D'` and `D` have the same zero-term map. The middle part has |
| 522 | -- no coordinates, so the conditions on it are empty. |
| 523 | have h_k' : D'.k = D.k * a.val := by simp [← hk, D', splittingOfGram] |
| 524 | have h_ev : D'.zeroTerm = D.zeroTerm := |
| 525 | D.zeroTerm_congr D' (by simp [h_k', ← Matrix.mul_assoc]) (Subsingleton.elim _ _) |
| 526 | -- The adelic matrix of `γ` is `x⁻¹ γ x`, so it acts on `D.kAdelic = x⁻¹ k` by `a`. |
| 527 | have h_frame : D.ActsOnFrame (V.ratEmbed γ) (a.map (toAdele (E := E))).val := by |
| 528 | simp [ActsOnFrame, adeleMatrix_ratEmbed, kAdelic, Matrix.mul_assoc, ← Matrix.map_mul, hk] |
| 529 | -- `ω γ` changes the zero term by `(chiAdelic (det a))⁻¹`, which is `1` as `det a` is rational. |
| 530 | have h_law (f' : 𝒮 V) : D.zeroTerm (V.ω (V.ratEmbed γ) f') = D.zeroTerm f' := by |
| 531 | simpa [GeneralLinearGroup.map_det, chiAdelic, upsilon_toAdele, ideleAbs_toAdele] using |
| 532 | D.zeroTerm_omega 1 (Subsingleton.elim _ _) h_frame (a.map toAdele).det rfl f' |
| 533 | have h_term (x : p → 𝔸 E) : D'.slice x (V.ω (V.ratEmbed γ) f) = D.slice x f := by |
| 534 | simp [slice, h_ev, h_l', ← mulVec_mulVec, ← omega_rho, h_law] |
| 535 | refine (D'.hasSum_theta_slice _).unique ?_ |
| 536 | simpa only [h_term] using D.hasSum_theta_slice f |
| 537 | |
| 538 | /-- If V has a splitting with no middle part, every point γ of the rational unitary group fixes the |
| 539 | theta functional θ under the Weil representation ω: θ(ω(γ)f) = θ(f). -/ |
| 540 | lemma theta_omega_ratEmbed_of_splitting (γ : U V.J) [DecidableEq p] |
| 541 | (D : V.Splitting (stdSpace E Empty) p) (f : 𝒮 V) : |
| 542 | V.θ (V.ω (V.ratEmbed γ) f) = V.θ f := by |
| 543 | -- The stabilizer of `θ` contains two opposite parabolic subgroups, which generate the group. |
| 544 | have h_le (D' : V.Splitting (stdSpace E Empty) p) : D'.siegelParabolic ≤ V.thetaStabilizer := |
| 545 | fun δ ⟨a, ha⟩ ↦ theta_omega_ratEmbed_of_mul_k δ D' a ha |
| 546 | exact (D.siegelParabolic_sup_symm_eq_top.ge.trans (sup_le (h_le D) (h_le D.symm)) |
| 547 | (Subgroup.mem_top γ)) f |
| 548 | |
| 549 | variable (V) in |
| 550 | /-- The splitting without middle part of `V ⊕ V⁻`, with `V⁻` the space of the negative form, whose |
| 551 | frame `k` spans the diagonal `{(v, v)}` and whose frame `l` spans the antidiagonal `{(v, -v)}`. -/ |
| 552 | noncomputable def diagonalSplitting : (V.sum V.neg).Splitting (stdSpace E Empty) n := |
| 553 | Splitting.ofDualFrames (fromRows 1 1) (fromRows ((2⁻¹ : E) • V.J⁻¹) (-((2⁻¹ : E) • V.J⁻¹))) (by |
| 554 | simp [conjTranspose_fromRows_eq_fromCols_conjTranspose, fromCols_mul_fromBlocks, |
| 555 | fromCols_mul_fromRows, V.isHermitian_J.inv.eq, ← two_smul E, |
| 556 | nonsing_inv_mul _ ((isUnit_iff_isUnit_det _).1 V.isUnit_J)]) |
| 557 | |
| 558 | variable {m : Type*} [Fintype m] [DecidableEq m] {t : m → ℤˣ} {V' : Space E m t} |
| 559 | |
| 560 | /-- For a datum y of a second space V′, the functional f ↦ θ(f ⊠ y) is a multiple of the theta |
| 561 | functional of V. Here θ is the theta functional of V ⊕ V′, and ⊠ = `New.Space.boxProd` is the |
| 562 | tensor product 𝒮(V) × 𝒮(V′) → 𝒮(V ⊕ V′) for the evident splitting of the coordinates. -/ |
| 563 | lemma exists_theta_boxProd_eq_mul (y : 𝒮 V') : |
| 564 | ∃ c : ℂ, ∀ f : 𝒮 V, (V.sum V').θ (boxProd signs_comp_refl f y) = c * V.θ f := by |
| 565 | -- It is invariant under the rational `ϱ x` of `V`, which act as `ϱ (x, 0)` on `V ⊕ V'`. |
| 566 | let ℓ : 𝒮 V →L[ℂ] ℂ := (V.sum V').rawTheta ∘L (boxProd signs_comp_refl).flip y |
| 567 | have h_sum : (V.sum V').IsRatInvariant (V.sum V').rawTheta := |
| 568 | (V.sum V').isThetaFunctional_rawTheta.left |
| 569 | have h_inv : V.IsRatInvariant ℓ := by |
| 570 | rintro _ ⟨x, rfl⟩ (f : 𝒮 V) |
| 571 | have h_act : boxProd signs_comp_refl (V.ϱ (V.vecAtPoint x) f) y = |
| 572 | (V.sum V').ϱ ((V.sum V').vecAtPoint (x ⊕ᵥ 0)) (boxProd signs_comp_refl f y) := by |
| 573 | rw [sum_vecAtPoint, rho_boxProd] |
| 574 | simp [Function.comp_def, ← Pi.zero_def] |
| 575 | calc ℓ (V.ϱ (V.vecAtPoint x) f) |
| 576 | _ = (V.sum V').rawTheta |
| 577 | ((V.sum V').ϱ ((V.sum V').vecAtPoint (x ⊕ᵥ 0)) (boxProd signs_comp_refl f y)) := |
| 578 | congrArg (V.sum V').rawTheta h_act |
| 579 | _ = ℓ f := h_sum _ ⟨x ⊕ᵥ 0, rfl⟩ _ |
| 580 | obtain ⟨c, hc⟩ : ∃ c : ℂ, ℓ = c • V.rawTheta := V.isThetaFunctional_rawTheta.eq_smul h_inv |
| 581 | exact ⟨c, fun f ↦ by simpa [ℓ, theta_eq_rawTheta] using DFunLike.congr_fun hc f⟩ |
| 582 | |
| 583 | variable (V V') in |
| 584 | /-- The theta functional of V ⊕ V′ does not vanish on all products f ⊠ y (`New.Space.boxProd`) of |
| 585 | data f of V and y of V′. -/ |
| 586 | lemma exists_theta_boxProd_ne_zero : |
| 587 | ∃ (f : 𝒮 V) (y : 𝒮 V'), (V.sum V').θ (boxProd signs_comp_refl f y) ≠ 0 := by |
| 588 | -- Otherwise the theta function of the vacuum `vacElem ⊠ vacElem` would vanish at every point. |
| 589 | by_contra! h_zero |
| 590 | apply (V.sum V').vacElem_ne_zero |
| 591 | ext x |
| 592 | rw [← theta_rho, ← boxProd_vacElem (V₁ := V) (V₂ := V') signs_comp_refl, rho_boxProd, h_zero, |
| 593 | zero_apply] |
| 594 | |
| 595 | /-- The theta functional is invariant under rational points: θ(ω(γ)f) = θ(f) for every γ in the |
| 596 | rational unitary group of V and every f in 𝒮(V), where ω is the Weil representation. |
| 597 | |
| 598 | A case of Weil's invariance of the theta distribution under rational points, for the unitary group |
| 599 | of a hermitian space V with a point, with the representation ω and the functional θ on 𝒮(V). -/ |
| 600 | lemma theta_omega_ratEmbed (γ : U V.J) (f : 𝒮 V) : V.θ (V.ω (V.ratEmbed γ) f) = V.θ f := by |
| 601 | -- Doubling. The space `V ⊕ V⁻` is split, so `(γ, 1)` fixes its theta functional, and with it |
| 602 | -- the functionals `θ (· ⊠ y)`. These are multiples of the `θ` of `V`, not all zero. |
| 603 | obtain ⟨f₀, y, h_ne⟩ := exists_theta_boxProd_ne_zero V V.neg |
| 604 | obtain ⟨c, hc⟩ := exists_theta_boxProd_eq_mul (V := V) y |
| 605 | refine mul_left_cancel₀ (left_ne_zero_of_mul (by rwa [hc] at h_ne)) ?_ |
| 606 | simpa [sum_ratEmbed, omega_boxProd signs_comp_refl (G.adeleMatrix_sum _), hc] using |
| 607 | theta_omega_ratEmbed_of_splitting (U.sum rfl (γ, 1)) V.diagonalSplitting |
| 608 | (boxProd signs_comp_refl f y) |
| 609 | |
| 610 | /-- A rational point γ acts on a datum f, read as the function f(x) = θ(ϱ(x)f) of the adelic vector |
| 611 | x, by substitution: (ω(γ)f)(x) = f(γ⁻¹x). -/ |
| 612 | lemma omega_ratEmbed_apply (γ : U V.J) (f : 𝒮 V) (x : n → 𝔸 E) : |
| 613 | V.ω (V.ratEmbed γ) f x = f ((V.ratEmbed γ)⁻¹.adeleMatrix *ᵥ x) := by |
| 614 | rw [← theta_rho, ← theta_rho, ← theta_omega_ratEmbed γ (V.ϱ _ f), omega_rho] |
| 615 | simp [← G.adeleMatrix_mul] |
| 616 | |
| 617 | end RationalInvariance |
| 618 | |
| 619 | end New.Space |
| 620 | |
| 621 | end |