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.Topology.Algebra.Group.Matrix |
| 4 | public import Lib.Adelic.AutomorphicForms.Basic |
| 5 | public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms |
| 6 | public import Lib.Weil.DualPair.Defs |
| 7 | public import Lib.Weil.Fock.OscillatorPair |
| 8 | public import Lib.Weil.Periods.Grading |
| 9 | import Lib.Adelic.Unitary.RationalPoints |
| 10 | import Lib.Adelic.Unitary.WeakApproximation |
| 11 | import Lib.DiscreteSeries.FlenstedJensen.SquareIntegrability |
| 12 | import Lib.DiscreteSeries.Haar.TotalMass |
| 13 | import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors |
| 14 | import Lib.Weil.MixedModel.ThetaInvariance |
| 15 | |
| 16 | /-! |
| 17 | # Laws of the Weil action of a pair: translations, real points, levels, rational maps |
| 18 | |
| 19 | Let `S`, `T` be hermitian spaces (`New.Space`). A pair `p = (g, h)` of adelic points of their |
| 20 | unitary groups acts on `Hom(S, T)` by `x ↦ h x g⁻¹` (`New.G.onHom`). It acts on the Weil |
| 21 | representation of `Hom(S, T)` by `New.pairWeil S T a b p`, the Weil operator times |
| 22 | `New.pairChar a b p = a (det h) / b (det g)`. The file proves that this action preserves the inner |
| 23 | product. It also describes the action of the real points `(x, y)` of the two unitary groups of signs |
| 24 | `s`, `s'` on the Fock space. It then writes maps, the Heisenberg cocycle and the Heisenberg |
| 25 | operators of `Hom(V, V')` in rational coordinates and defines theta lifts. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.pairWeil_of_mem_Gamma`: rational points (`New.Space.Γ`) act by `f ↦ f (h⁻¹ · g)`. |
| 30 | * `New.pairTheta_mul`, `New.continuous_pairTheta`: the theta kernel `New.pairTheta` satisfies |
| 31 | `pairTheta S T a b f (p * q) = pairTheta S T a b (pairWeil S T a b q f) p`, and it is continuous. |
| 32 | * `New.realPairWeil γ γ'`: the representation on the Fock space `New.PairFock E s s'` of |
| 33 | `Hom(S, T)`. It is the oscillator operator of `z ↦ y z x⁻¹` times `det y ^ γ * det x ^ (-γ')` at |
| 34 | each place. |
| 35 | * `New.pairWeil_integrated`, `New.pairWeil_integrated_all`: on `New.Space.integrated _ v f`, the |
| 36 | vector `f` with its real vacuum replaced by `v`, real points act on `v` by `New.realPairWeil` and |
| 37 | finite points act on `f`. |
| 38 | * `New.exists_level_pairWeil`: a datum in the finite part `New.Space.finitePart` of `Hom(S, T)` (the |
| 39 | span of finite Heisenberg translates of the vacuum) is fixed under `New.pairWeil` by a product of |
| 40 | open subgroups of the two finite adelic unitary groups. |
| 41 | * `New.Space.IsThetaLift`: a family of maps between spaces of forms computes the theta integrals |
| 42 | between standard positive spaces. |
| 43 | |
| 44 | Notions from other files: |
| 45 | * `New.G`: The adelic unitary group G = G_∞ × G_f for signs s at the infinite places and the |
| 46 | identity matrix at the finite places. |
| 47 | * `New.GInf E s`: the real points, one complex unitary group `U(diag s)` for each infinite place; |
| 48 | `New.homSigns s s'` is the sign vector `(i, j) ↦ s' i * s j` of `Hom(S, T)`, and `New.realSigns` |
| 49 | repeats a sign vector at every infinite place. |
| 50 | * `New.Fock.realWeil`: The Weil representation of U(ε) on the Fock space `𝓕 ε`; its multiplier |
| 51 | `New.Fock.realMultiplier u` is the conjugate of the determinant of the negative block of u. |
| 52 | * `New.blockDiagAlg ε`: the complex matrices that commute with `diag ε`, that is, the block |
| 53 | diagonal matrices for the partition of the indices by sign; `New.principalMinor y p` is the |
| 54 | determinant of the block of `y` on the indices that satisfy `p`. |
| 55 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx |
| 56 | equal to diag(s) at the infinite places and 1 at the finite places; `New.Space.Γ` is the group |
| 57 | of rational points of its unitary group, inside `New.G`. |
| 58 | * `New.AutChar E`: the continuous characters of the norm-one adeles `U(1)(𝔸)` that are trivial on |
| 59 | rational points; `a`, `b` are such characters. |
| 60 | * `New.Space.hom`: The space `Hom(S, T)` of `n' × n` matrices, indexed by pairs (row, column); |
| 61 | `New.matrixToVec` reads a matrix as a vector on these pairs. |
| 62 | |
| 63 | ## Relation to the literature |
| 64 | |
| 65 | Known; see `Lib.Weil.DualPair.ThetaLiftConvergence`, `Lib.Weil.Fock.OscillatorPair`, |
| 66 | `Lib.Weil.CompactLift.DefiniteThetaLift` and `Lib.Weil.Periods.Unfolding` for sources. |
| 67 | -/ |
| 68 | |
| 69 | @[expose] public section |
| 70 | |
| 71 | noncomputable section |
| 72 | |
| 73 | namespace New |
| 74 | |
| 75 | /-! |
| 76 | ## Basic laws, translation law and continuity of theta kernels |
| 77 | |
| 78 | * `New.G.onHom_mulVec`, `New.G.det_onHom`, `New.G.onHom_mem_Gamma`: matrix, determinant and |
| 79 | rationality of `New.G.onHom p`. |
| 80 | -/ |
| 81 | |
| 82 | section PairBasic |
| 83 | |
| 84 | open Fintype Matrix Prod Kronecker RingHom Space G |
| 85 | |
| 86 | variable {E m m' l l' R : Type*} [Field E] [CMType E] |
| 87 | {n n' : Type} [Fintype n] [DecidableEq n] [Fintype n'] [DecidableEq n'] |
| 88 | {s : n → ℤˣ} {s' : n' → ℤˣ} (S : Space E n s) (T : Space E n' s') (a b : AutChar E) |
| 89 | (p : G E s × G E s') (g : G E s) |
| 90 | |
| 91 | /-! ### Matrices as vectors on pairs of indices -/ |
| 92 | |
| 93 | /-- Converting a matrix to a vector and back yields the original matrix. -/ |
| 94 | @[simp] |
| 95 | lemma vecToMatrix_matrixToVec (x : Matrix m' m R) : vecToMatrix (matrixToVec x) = x := rfl |
| 96 | |
| 97 | /-- Converting a vector to a matrix and back yields the original vector. -/ |
| 98 | @[simp] |
| 99 | lemma matrixToVec_vecToMatrix (y : m' × m → R) : matrixToVec (vecToMatrix y) = y := rfl |
| 100 | |
| 101 | /-- Preservation of addition under vectorisation of matrices. -/ |
| 102 | @[simp] |
| 103 | lemma matrixToVec_add [Add R] (x y : Matrix m' m R) : |
| 104 | matrixToVec (x + y) = matrixToVec x + matrixToVec y := rfl |
| 105 | |
| 106 | @[simp] |
| 107 | lemma matrixToVec_zero [Zero R] : matrixToVec (0 : Matrix m' m R) = 0 := rfl |
| 108 | |
| 109 | @[simp] |
| 110 | lemma matrixToVec_smul {M : Type*} [SMul M R] (c : M) (x : Matrix m' m R) : |
| 111 | matrixToVec (c • x) = c • matrixToVec x := rfl |
| 112 | |
| 113 | /-- For matrices x and y, the dot product of the conjugate of the vector of x with the vector of y |
| 114 | is tr(xᴴy). -/ |
| 115 | @[simp] |
| 116 | lemma star_matrixToVec_dotProduct_matrixToVec [Semiring R] [StarRing R] [Fintype m] [Fintype m'] |
| 117 | (x y : Matrix m' m R) : |
| 118 | star (matrixToVec x) ⬝ᵥ matrixToVec y = trace (xᴴ * y) := by |
| 119 | -- both sides are `∑ j, ∑ i, star (x i j) * y i j` |
| 120 | simp only [dotProduct, trace, diag_apply, Pi.star_apply, |
| 121 | matrixToVec] |
| 122 | exact Fintype.sum_prod_type_right _ |
| 123 | |
| 124 | /-- On vectors indexed by pairs, `A ⊗ₖ Bᵀ` is the map `x ↦ A x B`. -/ |
| 125 | @[local simp] |
| 126 | lemma kronecker_mulVec_eq_matrixToVec [CommSemiring R] [Fintype m] [Fintype m'] (A : Matrix l' m' R) |
| 127 | (B : Matrix m l R) (x : m' × m → R) : |
| 128 | A ⊗ₖ Bᵀ *ᵥ x = matrixToVec (A * vecToMatrix x * B) := by |
| 129 | -- Mathlib's `kronecker_mulVec_vec`, for the transpose of `vecToMatrix x` |
| 130 | calc A ⊗ₖ Bᵀ *ᵥ x = A ⊗ₖ Bᵀ *ᵥ vec (vecToMatrix x)ᵀ := rfl |
| 131 | _ = vec (Bᵀ * (vecToMatrix x)ᵀ * Aᵀ) := kronecker_mulVec_vec Bᵀ (vecToMatrix x)ᵀ A |
| 132 | _ = matrixToVec (A * vecToMatrix x * B) := by |
| 133 | rw [← transpose_mul, ← transpose_mul, Matrix.mul_assoc] |
| 134 | rfl |
| 135 | |
| 136 | section |
| 137 | |
| 138 | /-! ### The homomorphism to the group of Hom(S, T), and determinants -/ |
| 139 | |
| 140 | section |
| 141 | |
| 142 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] (p : G E s × G E s') |
| 143 | (g : G E s) |
| 144 | |
| 145 | @[simp] |
| 146 | lemma G.adeleMatrix_onHom : (onHom p).adeleMatrix = p.2.adeleMatrix ⊗ₖ p.1⁻¹.adeleMatrixᵀ := rfl |
| 147 | |
| 148 | /-- The image of a pair (g, h) in the unitary group of Hom(S,T) acts on an adelic vector x, read |
| 149 | as an n′ × n matrix, by x ↦ hxg⁻¹. -/ |
| 150 | lemma G.onHom_mulVec (x : n' × n → 𝔸 E) : |
| 151 | (onHom p).adeleMatrix *ᵥ x = |
| 152 | matrixToVec (p.2.adeleMatrix * vecToMatrix x * p.1⁻¹.adeleMatrix) := by simp |
| 153 | |
| 154 | @[fun_prop] |
| 155 | lemma G.continuous_onHom : Continuous (onHom : G E s × G E s' → G E (homSigns s s')) := by |
| 156 | rw [continuous_iff] |
| 157 | simp only [adeleMatrix_onHom] |
| 158 | fun_prop [kroneckerMap] |
| 159 | |
| 160 | /-- The real components of `onHom p` are `Fock.pairHom`, the finite one is `U.kroneckerHom`. Here |
| 161 | `p.1.1 w`, `p.2.1 w` are the components of `g` and `h` at the infinite place `w`, and `p.1.2`, |
| 162 | `p.2.2` their finite components. -/ |
| 163 | lemma G.onHom_eq : |
| 164 | onHom p = (fun w : NumberField.InfinitePlace E ↦ Fock.pairHom s' s (p.1.1 w, p.2.1 w), |
| 165 | U.kroneckerHom (one_mul 1) (by simp) (p.1.2, p.2.2)) := rfl |
| 166 | |
| 167 | /-- The finite component of `onHom (g, h)` is `h_f ⊗ₖ (g_f⁻¹)ᵀ`. -/ |
| 168 | lemma G.onHom_snd : |
| 169 | ((onHom p).2 : Matrix (n' × n) (n' × n) (𝔸f E)) = |
| 170 | (p.2.2 : Matrix n' n' (𝔸f E)) ⊗ₖ ((p.1.2⁻¹ : Gf E n) : Matrix n n (𝔸f E))ᵀ := rfl |
| 171 | |
| 172 | /-- For finite points `g`, `h`, the image of the pair `((1, g), (1, h))` under `onHom` has |
| 173 | infinite component `1`. -/ |
| 174 | lemma G.onHom_fin (g : Gf E n) (h : Gf E n') : |
| 175 | let k : G E (homSigns s s') := onHom ((1, g), 1, h) |
| 176 | k = (1, k.2) := by |
| 177 | simp [onHom_eq, mk_one_one, ← Pi.one_def] |
| 178 | |
| 179 | @[fun_prop] |
| 180 | lemma G.continuous_det : Continuous (det : G E s → unitary (𝔸 E)) := |
| 181 | continuous_adeleMatrix.matrix_det.subtype_mk fun g : G E s ↦ (det g).property |
| 182 | |
| 183 | /-- For (g, h) in the unitary groups of ranks n and n', the determinant of x ↦ hxg⁻¹ on |
| 184 | Hom(S,T) is (det h)^n (det g)^(−n'). -/ |
| 185 | lemma G.det_onHom : (onHom p).det = p.2.det ^ card n * p.1.det⁻¹ ^ card n' := by |
| 186 | ext1 |
| 187 | simp [← map_inv, det_kronecker] |
| 188 | |
| 189 | /-- The component of `det g` at a finite place `w` is the determinant of the component of `g` |
| 190 | at `w`. -/ |
| 191 | @[simp↓] |
| 192 | lemma det_atPlace (w : IsDedekindDomain.HeightOneSpectrum (NumberField.RingOfIntegers E)) : |
| 193 | g.det.val.2 w = (g.2.atPlace w).val.det := by |
| 194 | rw [g.det_snd] |
| 195 | exact (evalAt w).map_det _ |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end |
| 200 | |
| 201 | /-- For a rational n′ × n matrix x, the adelic vector attached to it in the space Hom(S,T) is |
| 202 | the matrix x_T⁻¹ x x_S, with x_S, x_T the points of S and T. -/ |
| 203 | lemma Space.vecAtPoint_hom (x : Matrix n' n E) : |
| 204 | (S.hom T).vecAtPoint (matrixToVec x) = matrixToVec (T.ratMap S x) := |
| 205 | -- the inverse of the point of `Hom(S, T)` is `x_T⁻¹ ⊗ₖ x_Sᵀ`, which acts by `y ↦ x_T⁻¹ y x_S`; |
| 206 | -- the arguments are left to unification, since written out they make elaboration time out |
| 207 | kronecker_mulVec_eq_matrixToVec .. |
| 208 | |
| 209 | /-- If `g` and `h` are rational points of the unitary groups of `S` and `T`, then the point of the |
| 210 | unitary group of `Hom(S, T)` given by `x ↦ h x g⁻¹` is rational. -/ |
| 211 | lemma G.onHom_mem_Gamma {g : G E s} {h : G E s'} (hg : g ∈ S.Γ) (hh : h ∈ T.Γ) : |
| 212 | onHom (g, h) ∈ (S.hom T).Γ := by |
| 213 | -- conjugated by the points of `T` and `S`, the matrices of `h` and `g⁻¹` are rational, and the |
| 214 | -- entries of their Kronecker product are products of their entries |
| 215 | rw [← inv_mem_iff] at hg |
| 216 | -- `↓` rewrites the memberships by entries before `simp` turns `g⁻¹ ∈ S.Γ` back into `g ∈ S.Γ` |
| 217 | simp_all [↓mem_Gamma_iff_range, Space.hom, mul_assoc, mul_mem, ← mul_kronecker_mul, |
| 218 | ← transpose_mul] |
| 219 | |
| 220 | @[simp] |
| 221 | lemma pairChar_apply : pairChar a b p = a.val p.2.det * (b.val p.1.det : ℂ)⁻¹ := mul_comm .. |
| 222 | |
| 223 | /-- A character of `[U(1)]` is trivial on the determinants of rational points. -/ |
| 224 | @[simp] |
| 225 | lemma AutChar.apply_det_ratEmbed (γ : U S.J) : a.val (S.ratEmbed γ).det = 1 := by |
| 226 | -- `det (x⁻¹ γ x) = det γ` is rational |
| 227 | have h_det : toAdele ((γ : GL n E) : Matrix n n E).det = ((S.ratEmbed γ).det : 𝔸 E) := |
| 228 | (map_det ..).trans (det_units_conj ..).symm |
| 229 | exact a.property (S.ratEmbed γ).det ⟨_, h_det⟩ |
| 230 | |
| 231 | variable [WeilData E] |
| 232 | |
| 233 | /-! ### The Weil action of the pair and the theta kernel -/ |
| 234 | |
| 235 | /-- For p = (g, h) in G(s) × G(s′), `New.pairWeil S T a b p` is the Weil representation ω of |
| 236 | `S.hom T` at the element x ↦ hxg⁻¹ (`New.G.onHom p`), multiplied by the scalar |
| 237 | `pairChar a b p` = a(det h) b(det g)⁻¹. -/ |
| 238 | @[local simp] |
| 239 | lemma pairWeil_apply (f : 𝒮 (S.hom T)) : |
| 240 | pairWeil S T a b p f = pairChar a b p • ω (S.hom T) (G.onHom p) f := rfl |
| 241 | |
| 242 | @[fun_prop] |
| 243 | lemma continuous_pairWeil : |
| 244 | Continuous fun q : (G E s × G E s') × 𝒮 (S.hom T) ↦ pairWeil S T a b q.1 q.2 := by |
| 245 | -- `pairChar a b q` is `a (det h) * (b (det g))⁻¹`, and `b (det g)` lies on the unit circle, so |
| 246 | -- it is not zero |
| 247 | simp only [pairWeil_apply, pairChar_apply] |
| 248 | fun_prop (disch := simp) |
| 249 | |
| 250 | /-- The Weil action `pairWeil S T a b p` of a pair preserves the inner product `dataInner` on data |
| 251 | for `Hom(S, T)`. -/ |
| 252 | @[simp] |
| 253 | lemma dataInner_pairWeil (f f' : 𝒮 (S.hom T)) : |
| 254 | dataInner (S.hom T) (pairWeil S T a b p f) (pairWeil S T a b p f') = |
| 255 | dataInner (S.hom T) f f' := by |
| 256 | -- `ω` preserves `dataInner`, and the factor `pairChar a b p` lies on the unit circle |
| 257 | simp [field, RCLike.mul_conj, Circle.norm_coe] |
| 258 | |
| 259 | /-- Let `S` and `T` be spaces over the CM field `E` (with Weil data) and `a`, `b` characters of its |
| 260 | norm-one adeles. Rational points `g` of `U(S)` and `h` of `U(T)` act by substitution: the value of |
| 261 | `pairWeil S T a b (g, h) f` at `x` is `f (h⁻¹ x g)`. Here `x` is a matrix read as a vector on pairs |
| 262 | of indices, on which `x ↦ h⁻¹ x g` is multiplication by the Kronecker product `h⁻¹ ⊗ₖ gᵀ`. -/ |
| 263 | lemma pairWeil_of_mem_Gamma {g : G E s} {h : G E s'} (hg : g ∈ S.Γ) (hh : h ∈ T.Γ) |
| 264 | (f : 𝒮 (S.hom T)) (x : n' × n → 𝔸 E) : |
| 265 | pairWeil S T a b (g, h) f x = f (h⁻¹.adeleMatrix ⊗ₖ g.adeleMatrixᵀ *ᵥ x) := by |
| 266 | -- The point `onHom (g, h)` is rational, so it acts by substitution. |
| 267 | obtain ⟨u, rfl⟩ := hg |
| 268 | obtain ⟨v, rfl⟩ := hh |
| 269 | obtain ⟨γ, hγ⟩ : G.onHom (S.ratEmbed u, T.ratEmbed v) ∈ (S.hom T).Γ := |
| 270 | onHom_mem_Gamma S T ⟨u, rfl⟩ ⟨v, rfl⟩ |
| 271 | rw [pairWeil_apply, Space.smul_apply, ← hγ, omega_ratEmbed_apply, hγ, ← map_inv] |
| 272 | -- the character `pairChar` is trivial at rational points |
| 273 | simp |
| 274 | |
| 275 | /-- The translation law of the theta kernel: translating the point by `q` on the right is acting |
| 276 | on the datum by `q`. -/ |
| 277 | lemma pairTheta_mul (f : 𝒮 (S.hom T)) (p q : G E s × G E s') : |
| 278 | pairTheta S T a b f (p * q) = pairTheta S T a b (pairWeil S T a b q f) p := by |
| 279 | simp [pairTheta] |
| 280 | |
| 281 | /-- For a CM field `E` with Weil data, pointed hermitian spaces `S` and `T` over `E`, and |
| 282 | automorphic characters `a`, `b` of U(1)(𝔸), consider the theta kernel |
| 283 | (f, (g, h)) ↦ θ(ω_{a,b}(g,h)f). Here f is a Schwartz function in 𝒮(Hom(S,T)), g lies in `G E s`, |
| 284 | h lies in `G E s'`, ω_{a,b} is the Weil representation attached to `a` and `b`, and θ is the theta |
| 285 | functional of Hom(S,T). This kernel is jointly continuous in the datum f and the point (g, h). -/ |
| 286 | @[fun_prop] |
| 287 | lemma continuous_pairTheta : Continuous ↿(pairTheta S T a b) := by fun_prop [pairTheta] |
| 288 | |
| 289 | end PairBasic |
| 290 | |
| 291 | /-! |
| 292 | ## The real Weil action of a pair and the kernel property |
| 293 | |
| 294 | Real points `(x, y)` of a pair of unitary groups of signs `s`, `s'` act on the Fock space of |
| 295 | `Hom(S, T)`. |
| 296 | |
| 297 | * `New.realPairWeil_polyVector`: block diagonal points (`New.blockDiagAlg`) act on the vector |
| 298 | `New.Fock.polyVector _ P` of a polynomial `P` by a substitution and a character. |
| 299 | -/ |
| 300 | |
| 301 | section PairReal |
| 302 | |
| 303 | section |
| 304 | |
| 305 | variable {E : Type} [Field E] [NumberField E] |
| 306 | {n n' : Type} [Fintype n] [DecidableEq n] [Fintype n'] [DecidableEq n'] |
| 307 | {s : n → ℤˣ} {s' : n' → ℤˣ} (γ γ' : NumberField.InfinitePlace E → ℤ) |
| 308 | |
| 309 | open Matrix Kronecker |
| 310 | Fock Fintype Finset Space MvPolynomial Heisenberg.IsVacuum AutChar |
| 311 | |
| 312 | /-- The Fock space for the signs s′_i s_j of Hom(S,T), repeated at every infinite place. -/ |
| 313 | abbrev PairFock (E : Type) [Field E] [NumberField E] {n n' : Type} [Fintype n] [DecidableEq n] |
| 314 | [Fintype n'] [DecidableEq n'] (s : n → ℤˣ) (s' : n' → ℤˣ) : Type := |
| 315 | fockSpace (realSigns E (homSigns s s')) |
| 316 | |
| 317 | /-- The homomorphism sending real points (x, y) to the action z ↦ y_w z x_w⁻¹ on matrices at each |
| 318 | infinite place w, as one block diagonal unitary matrix (`blockU`), in `USign` for the signs of |
| 319 | `Hom(S, T)` repeated at every infinite place. -/ |
| 320 | def pairHomInf : |
| 321 | GInf E s × GInf E s' →* |
| 322 | USign fun (p : NumberField.InfinitePlace E × n' × n) ↦ homSigns s s' p.2 := |
| 323 | blockU.comp |
| 324 | (MonoidHom.pi fun w ↦ |
| 325 | (pairHom s' s).comp ((Pi.evalMonoidHom _ w).prodMap (Pi.evalMonoidHom _ w)) : |
| 326 | GInf E s × GInf E s' →* GInf E (homSigns s s')) |
| 327 | |
| 328 | /-- The real Weil representation of the pair with weights γ, γ′: (x, y) acts by |
| 329 | ∏_w (det y_w)^{γ_w} (det x_w)^{−γ′_w} times the Fock operator of z ↦ y z x⁻¹. -/ |
| 330 | @[simps! -isSimp apply_apply] |
| 331 | def realPairWeil : GInf E s × GInf E s' →* PairFock E s s' →L[ℂ] PairFock E s s' where |
| 332 | toFun p := |
| 333 | (∏ w : NumberField.InfinitePlace E, (p.2 w).val.val.det ^ γ w * (p.1 w).val.val.det ^ (-γ' w)) • |
| 334 | realWeil (pairHomInf p) |
| 335 | map_one' := by simp |
| 336 | map_mul' p q := by |
| 337 | simp [mul_zpow, prod_mul_distrib] |
| 338 | module |
| 339 | |
| 340 | /-- The real Weil action `New.realPairWeil γ γ'` is jointly continuous in the real point and the |
| 341 | Fock vector. -/ |
| 342 | @[fun_prop] |
| 343 | lemma continuous_realPairWeil : |
| 344 | Continuous fun q : (GInf E s × GInf E s') × PairFock E s s' ↦ realPairWeil γ γ' q.1 q.2 := by |
| 345 | have h_pairHomInf : Continuous (pairHomInf : GInf E s × GInf E s' → |
| 346 | USign fun (p : NumberField.InfinitePlace E × n' × n) ↦ homSigns s s' p.2) := by |
| 347 | simp only [continuous_U_iff_matrix, pairHomInf, coe_pairHom, Prod.map, MonoidHom.coe_comp, |
| 348 | Function.comp_apply, MonoidHom.pi_apply, MonoidHom.coe_prodMap, Pi.coe_evalMonoidHom, |
| 349 | val_blockU_apply_coe] |
| 350 | simp only [← Matrix.coe_units_inv] |
| 351 | fun_prop [kroneckerMap, Units.continuous_coe_inv] |
| 352 | simp only [realPairWeil_apply_apply] |
| 353 | fun_prop (disch := simp [GeneralLinearGroup.det_ne_zero, zpow_ne_zero]) |
| 354 | |
| 355 | /-- Let the isometry `u` of signs `s` be block diagonal for the partition of the indices by sign |
| 356 | (it lies in `New.blockDiagAlg s`, the matrices that commute with the sign matrix). Then its |
| 357 | determinant is the product, over the signs `σ`, of its principal minors on the indices of |
| 358 | sign `σ`. -/ |
| 359 | lemma det_eq_prod_principalMinor {u : USign s} |
| 360 | (hu : (u : Matrix n n ℂ) ∈ blockDiagAlg s) : |
| 361 | (u : Matrix n n ℂ).det = ∏ σ : ℤˣ, principalMinor u (s · = σ) := by |
| 362 | -- `u` is block diagonal, hence block triangular, for the partition of the indices by sign. |
| 363 | have h_tri : BlockTriangular (u : Matrix n n ℂ) s := |
| 364 | fun i j h_lt ↦ mem_blockDiagAlg.mp hu i j h_lt.ne' |
| 365 | exact h_tri.det_fintype |
| 366 | |
| 367 | /-- A right factor preserving the sign blocks multiplies the principal minor on each block. -/ |
| 368 | private lemma principalMinor_mul_blockDiag {ι : Type} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} |
| 369 | {B : Matrix ι ι ℂ} (hB : B ∈ blockDiagAlg ε) (M : Matrix ι ι ℂ) (σ : ℤˣ) : |
| 370 | principalMinor (M * B) (ε · = σ) = principalMinor M (ε · = σ) * principalMinor B (ε · = σ) := |
| 371 | principalMinor_mul fun _ j k _ hj hk ↦ |
| 372 | .inr (mem_blockDiagAlg.1 hB j k fun h ↦ hj (h.trans hk)) |
| 373 | |
| 374 | /-- For a block diagonal isometry `u = diag(γ, z)` of the form with signs `ε` (`z` is the block on |
| 375 | the negative coordinates), the multiplier of the real Weil representation is `det z⁻¹`. -/ |
| 376 | lemma Fock.realMultiplier_of_mem_blockDiagAlg {ι : Type} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} |
| 377 | {u : USign ε} (hu : (u : Matrix ι ι ℂ) ∈ blockDiagAlg ε) : |
| 378 | realMultiplier u = (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ := by |
| 379 | -- The multiplier is the negative minor of `u⁻¹`, and minors of block diagonal matrices multiply. |
| 380 | rw [realMultiplier, ← U.principalMinor_coe_inv] |
| 381 | apply eq_inv_of_mul_eq_one_left |
| 382 | rw [← principalMinor_mul_blockDiag hu, show (↑u⁻¹ : Matrix ι ι ℂ) * ↑u = 1 from u.val.inv_mul, |
| 383 | principalMinor_one] |
| 384 | |
| 385 | /-- A block diagonal isometry is a unitary matrix, so it preserves the Gaussian `realVac`, which |
| 386 | depends on `y` only through `star y ⬝ᵥ y`. -/ |
| 387 | lemma Fock.realVac_mulVec_of_mem_blockDiagAlg {ι : Type} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} |
| 388 | {u : USign ε} (hu : (u : Matrix ι ι ℂ) ∈ blockDiagAlg ε) (y : ι → ℂ) : |
| 389 | realVac ((u : Matrix ι ι ℂ) *ᵥ y) = realVac y := by |
| 390 | have h_unitary : (u : Matrix ι ι ℂ)ᴴ * 1 * (u : Matrix ι ι ℂ) = 1 := |
| 391 | mem_unitaryGroupOf_iff.1 (Subgroup.mem_subgroupOf.1 (mem_maxCompactU.2 hu)) |
| 392 | rw [mul_one] at h_unitary |
| 393 | rw [realVac, realVac, star_mulVec, dotProduct_mulVec, vecMul_vecMul, h_unitary, vecMul_one] |
| 394 | |
| 395 | /-- Let `u = diag(γ, z)` be a block diagonal isometry of the form with signs `ε`, with `γ` on the |
| 396 | positive and `z` on the negative coordinates. The real Weil representation of `u` acts on the Fock |
| 397 | vector `polyVector ε P` of a polynomial `P` by `det z⁻¹` times the substitution |
| 398 | `X i ↦ ∑ j, γ j i • X j` on the positive and `X i ↦ ∑ j, z⁻¹ i j • X j` on the negative variables. |
| 399 | This is the standard action of the maximal compact subgroup of `U(p, q)` in the Fock model (Folland, |
| 400 | *Harmonic Analysis in Phase Space*). -/ |
| 401 | lemma Fock.realWeil_polyVector_of_mem_blockDiagAlg {ι : Type} [Fintype ι] [DecidableEq ι] |
| 402 | {ε : ι → ℤˣ} {u : USign ε} (hu : (u : Matrix ι ι ℂ) ∈ blockDiagAlg ε) (P : MvPolynomial ι ℂ) : |
| 403 | realWeil u (polyVector ε P) = |
| 404 | (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ • |
| 405 | polyVector ε (aeval (fun i : ι ↦ ∑ j : ι, |
| 406 | (if ε i = 1 then (u : Matrix ι ι ℂ) j i else (↑u⁻¹ : Matrix ι ι ℂ) i j) • X j) P) := by |
| 407 | -- The isometry `u` preserves the Gaussian, so it acts by its multiplier times the substitution |
| 408 | -- `y ↦ u⁻¹ y`; compare the values at `y`. |
| 409 | let A (i j : ι) : ℂ := if ε i = 1 then (u : Matrix ι ι ℂ) j i else (↑u⁻¹ : Matrix ι ι ℂ) i j |
| 410 | have h_inv : (↑u⁻¹ : Matrix ι ι ℂ) = (u : Matrix ι ι ℂ)ᴴ := |
| 411 | (Matrix.coe_units_inv u.val).trans (maxCompactU.coe_inv ⟨u, mem_maxCompactU.2 hu⟩) |
| 412 | have h_gauss (y : ι → ℂ) : realVac (u • y) = realVac y := |
| 413 | realVac_mulVec_of_mem_blockDiagAlg hu y |
| 414 | -- The coordinate of `u⁻¹ y` is conjugated at a positive index, where `conj uᴴ = uᵀ`. |
| 415 | have h_coord (y : ι → ℂ) (i : ι) : |
| 416 | holomorphicCoord ε (u⁻¹ • y) i = ∑ j : ι, A i j * holomorphicCoord ε y j := by |
| 417 | have h_term (j : ι) : A i j * holomorphicCoord ε y j = |
| 418 | if ε i = 1 then star ((↑u⁻¹ : Matrix ι ι ℂ) i j * y j) |
| 419 | else (↑u⁻¹ : Matrix ι ι ℂ) i j * y j := by |
| 420 | simp only [A, h_inv] |
| 421 | by_cases h_sign : ε j = ε i |
| 422 | · by_cases hi : ε i = 1 <;> simp [holomorphicCoord_eq, h_sign, hi] |
| 423 | · simp [mem_blockDiagAlg.1 hu j i h_sign] |
| 424 | have h_smul : (u⁻¹ • y) i = ∑ j : ι, (↑u⁻¹ : Matrix ι ι ℂ) i j * y j := rfl |
| 425 | simp only [h_term, Finset.sum_ite_irrel, ← star_sum, ← h_smul] |
| 426 | simp only [holomorphicCoord_eq, Pi.star_apply] |
| 427 | have h_value (y : ι → ℂ) : polyVector ε P (u⁻¹ • y) = |
| 428 | polyVector ε (aeval (fun i : ι ↦ ∑ j : ι, A i j • X j) P) y := by |
| 429 | rw [polyVector_apply, polyVector_apply, ← h_gauss (u⁻¹ • y), smul_inv_smul, funext (h_coord y), |
| 430 | ← aeval_eq_eval, ← aeval_eq_eval, comp_aeval_apply] |
| 431 | simp only [map_sum, map_smul, aeval_X, smul_eq_mul] |
| 432 | have h_delta : (realAction ε).Δ u = realMultiplier u := rfl |
| 433 | ext y |
| 434 | rw [weilRep_apply_of_vacuum_smul _ _ _ h_gauss, h_delta, Heisenberg.IsVacuum.smul_apply, |
| 435 | ← realMultiplier_of_mem_blockDiagAlg hu, h_value] |
| 436 | |
| 437 | /-- The Kronecker product of matrices that are block diagonal for the signs `s'` and `s` is block |
| 438 | diagonal for the product signs `New.homSigns s s'`. -/ |
| 439 | private lemma kronecker_mem_blockDiagAlg {A : Matrix n' n' ℂ} {B : Matrix n n ℂ} |
| 440 | (hA : A ∈ blockDiagAlg s') (hB : B ∈ blockDiagAlg s) : |
| 441 | A ⊗ₖ B ∈ blockDiagAlg (homSigns s s') := by |
| 442 | refine mem_blockDiagAlg.2 fun ⟨a, b⟩ ⟨i, j⟩ h_sign ↦ ?_ |
| 443 | by_cases h_row : s' a = s' i |
| 444 | · have h_col : s b ≠ s j := fun h_col ↦ h_sign (by simp [pairSign, h_row, h_col]) |
| 445 | simp [mem_blockDiagAlg.1 hB b j h_col] |
| 446 | · simp [mem_blockDiagAlg.1 hA a i h_row] |
| 447 | |
| 448 | /-- For finite index types `n` and `n'` with signs `s` and `s'`, an element `x` of |
| 449 | `U (signMatrix s)`, and an element `y` of `U (signMatrix s')` that is block diagonal for `s'`, the |
| 450 | real multiplier of `pairHom s' s (x, y)` is |
| 451 | `(det x⁻) ^ p' * (det x⁺) ^ q' / ((det y⁻) ^ p * (det y⁺) ^ q)`, where `det x⁺`, `det x⁻` are the |
| 452 | principal minors of `x` on the `+1` and `-1` signs of `s` (and similarly for `y` and `s'`), and |
| 453 | `(p, q)`, `(p', q')` are the counts of `+1` and `-1` signs of `s` and `s'`. -/ |
| 454 | private lemma realMultiplier_pairHom (x : U (signMatrix s)) (y : U (signMatrix s')) |
| 455 | (hy : (y : Matrix n' n' ℂ) ∈ blockDiagAlg s') : |
| 456 | realMultiplier (pairHom s' s (x, y)) = |
| 457 | principalMinor x (s · = -1) ^ card {i : n' // s' i = 1} * |
| 458 | principalMinor x (s · = 1) ^ card {i : n' // s' i = -1} / |
| 459 | (principalMinor y (s' · = -1) ^ card {i : n // s i = 1} * |
| 460 | principalMinor y (s' · = 1) ^ card {i : n // s i = -1}) := by |
| 461 | -- `realMultiplier` is the negative minor of `(y ⊗ₖ x⁻¹ᵀ)⁻¹`, that of `1 ⊗ₖ xᵀ` divided by that of |
| 462 | -- `y ⊗ₖ 1`. |
| 463 | have hy_mem : (y : Matrix n' n' ℂ) ⊗ₖ 1 ∈ blockDiagAlg (homSigns s s') := |
| 464 | kronecker_mem_blockDiagAlg hy (one_mem _) |
| 465 | have hy_ne : principalMinor ((y : Matrix n' n' ℂ) ⊗ₖ 1) (homSigns s s' · = -1) ≠ 0 := by |
| 466 | simpa [pairHom] using U.principalMinor_sign_ne_zero (-1) (pairHom s' s (1, y)) |
| 467 | rw [realMultiplier, ← U.principalMinor_coe_inv, |
| 468 | eq_div_of_mul_eq hy_ne (principalMinor_mul_blockDiag hy_mem _ (-1)).symm] |
| 469 | -- Group the rows and the columns by their sign. |
| 470 | simp [← map_inv, ← mul_kronecker_mul, principalMinor_kronecker_one, one_kronecker, |
| 471 | principalMinor_blockDiagonal, pairHom, pairSign, |
| 472 | ← prod_fiberwise' s fun c ↦ principalMinor y (s' · * c = -1), |
| 473 | ← prod_fiberwise' s' fun c ↦ principalMinor x (c * s · = -1)] |
| 474 | |
| 475 | /-- The maximal compact subgroups act by a substitution and the character of the vacuum. Let `x`, |
| 476 | `y` be block diagonal for the signs `s`, `s'` of signatures `(p, q)`, `(p', q')`. The scalar |
| 477 | is the product over the places of |
| 478 | `(det y⁺) ^ (γ - q) (det y⁻) ^ (γ - p) (det x⁺) ^ (q' - γ') (det x⁻) ^ (p' - γ')`. |
| 479 | At each place, the variable `X a b` goes to `∑ y i a * x⁻¹ b j * X i j` if `s' a = s b`, and to |
| 480 | `∑ y⁻¹ a i * x j b * X i j` otherwise, with the sums over the variables of that place. |
| 481 | |
| 482 | A special case of the standard action of the maximal compact subgroup in the Bargmann–Fock model, |
| 483 | for a unitary dual pair. -/ |
| 484 | lemma realPairWeil_polyVector {x : GInf E s} {y : GInf E s'} |
| 485 | (hx : ∀ w : NumberField.InfinitePlace E, (x w : Matrix n n ℂ) ∈ blockDiagAlg s) |
| 486 | (hy : ∀ w : NumberField.InfinitePlace E, (y w : Matrix n' n' ℂ) ∈ blockDiagAlg s') |
| 487 | (P : MvPolynomial (NumberField.InfinitePlace E × n' × n) ℂ) : |
| 488 | realPairWeil γ γ' (x, y) (polyVector (realSigns E (homSigns s s')) P) = |
| 489 | -- the character of the vacuum |
| 490 | (∏ w : NumberField.InfinitePlace E, ∏ σ ∈ ({1, -1} : Finset ℤˣ), |
| 491 | principalMinor (y w) (s' · = σ) ^ (γ w - Nat.card {i : n // s i = -σ}) * |
| 492 | principalMinor (x w) (s · = σ) ^ (Nat.card {i : n' // s' i = -σ} - γ' w)) • |
| 493 | -- the linear substitution of the variables |
| 494 | polyVector (realSigns E (homSigns s s')) |
| 495 | (aeval (fun ((w, a, b) : NumberField.InfinitePlace E × n' × n) ↦ ∑ i : n', ∑ j : n, |
| 496 | (if s' a = s b then (y w : Matrix n' n' ℂ) i a * (↑(x w)⁻¹ : Matrix n n ℂ) b j |
| 497 | else (↑(y w)⁻¹ : Matrix n' n' ℂ) a i * (x w : Matrix n n ℂ) j b) • X (w, i, j)) P) := by |
| 498 | -- The point `pairHomInf (x, y)` is block diagonal, so it acts by its multiplier times a |
| 499 | -- substitution (`realWeil_polyVector_of_mem_blockDiagAlg`). Compute both from `x` and `y`. |
| 500 | have h_place (w : NumberField.InfinitePlace E) : |
| 501 | (y w : Matrix n' n' ℂ) ⊗ₖ (x w : Matrix n n ℂ)⁻¹ᵀ ∈ blockDiagAlg (homSigns s s') := |
| 502 | kronecker_mem_blockDiagAlg (hy w) (mem_blockDiagAlg.2 fun i j h_sign ↦ |
| 503 | mem_blockDiagAlg.1 (blockDiagAlg.inv_mem (hx w)) j i h_sign.symm) |
| 504 | have h_mem : ↑(pairHomInf (x, y)) ∈ blockDiagAlg (realSigns E (homSigns s s')) := by |
| 505 | refine mem_blockDiagAlg.2 fun ⟨w, c⟩ ⟨w', c'⟩ h_sign ↦ ?_ |
| 506 | have h_zero : ((y w : Matrix n' n' ℂ) ⊗ₖ (x w : Matrix n n ℂ)⁻¹ᵀ) c c' = 0 := |
| 507 | mem_blockDiagAlg.1 (h_place w) c c' h_sign |
| 508 | simpa [pairHomInf, pairHom, blockDiagonal_apply] using fun _ ↦ mul_eq_zero.1 h_zero |
| 509 | have hΔ (w : NumberField.InfinitePlace E) : realMultiplier (pairHom s' s (x w, y w)) = |
| 510 | principalMinor (x w) (s · = -1) ^ card {i : n' // s' i = 1} * |
| 511 | principalMinor (x w) (s · = 1) ^ card {i : n' // s' i = -1} / |
| 512 | (principalMinor (y w) (s' · = -1) ^ card {i : n // s i = 1} * |
| 513 | principalMinor (y w) (s' · = 1) ^ card {i : n // s i = -1}) := |
| 514 | realMultiplier_pairHom (x w) (y w) (hy w) |
| 515 | -- The multiplier of `pairHomInf (x, y)` is the product of those at the places. |
| 516 | have h_multiplier : realMultiplier (pairHomInf (x, y)) = |
| 517 | ∏ w : NumberField.InfinitePlace E, realMultiplier (pairHom s' s (x w, y w)) := |
| 518 | realMultiplier_blockU _ |
| 519 | rw [realPairWeil_apply_apply, realWeil_polyVector_of_mem_blockDiagAlg h_mem, |
| 520 | ← realMultiplier_of_mem_blockDiagAlg h_mem, h_multiplier, smul_smul, ← prod_mul_distrib] |
| 521 | congrm (∏ w, ?_) • polyVector _ (aeval (fun c ↦ ?_) P) |
| 522 | · -- The determinants of `x w` and `y w` are products of their two principal minors. |
| 523 | rw [hΔ] |
| 524 | simp [det_eq_prod_principalMinor, hx, hy, mul_zpow, zpow_sub₀, U.principalMinor_sign_ne_zero] |
| 525 | ring |
| 526 | · -- Only the variables at the place of `c` occur; there the entries are those of `y ⊗ₖ x⁻¹ᵀ` |
| 527 | -- and of its inverse. |
| 528 | rw [← map_inv] |
| 529 | simp [pairHom, pairHomInf, pairSign, blockDiagonal_apply, sum_prod_type, mul_eq_one_iff_eq_inv] |
| 530 | |
| 531 | end |
| 532 | |
| 533 | open Matrix Kronecker |
| 534 | Fock Fintype Finset Space MvPolynomial Heisenberg.IsVacuum AutChar |
| 535 | |
| 536 | variable {E : Type} [Field E] [CMType E] {n n' : Type} [Fintype n] [DecidableEq n] [Fintype n'] |
| 537 | [DecidableEq n'] {s : n → ℤˣ} {s' : n' → ℤˣ} {γ γ' : NumberField.InfinitePlace E → ℤ} [WeilData E] |
| 538 | (S : Space E n s) (T : Space E n' s') (a b : AutChar E) |
| 539 | {ψ ψ' : (w : FinPlace E) → MulChar (ResField w) ℂ} |
| 540 | |
| 541 | /-- The theta kernel of the pair: the action `New.pairWeil S T a b` with the theta functional. It is |
| 542 | continuous and left invariant under the rational points of both groups. -/ |
| 543 | @[simps] |
| 544 | abbrev pairThetaKer : ThetaKernel (𝒮 (S.hom T)) S T where |
| 545 | ω := pairWeil S T a b |
| 546 | θ := θ (S.hom T) |
| 547 | continuous := by fun_prop |
| 548 | rat_mul := by simp_all [← Prod.mk_mul_mk, pairWeil_of_mem_Gamma] |
| 549 | |
| 550 | /-- Let `a` have weight `γ` and `b` weight `γ'` (`HasWeight`, tame parts `ψ`, `ψ'`): at a real point |
| 551 | `z` of U(1), `a z = ∏_w z_w ^ γ w`, and likewise `b` with `γ'`. For a Fock vector `v` and `f` in |
| 552 | 𝒮(`S.hom T`), write v ⊗ f = ∫ v(y) ϱ(y)f dy for the integrated Heisenberg action |
| 553 | (`New.Space.integrated`). Then for archimedean points x ∈ G_∞(s), y ∈ G_∞(s′), taken as adelic |
| 554 | elements with trivial finite part, ω_{a,b}(x,y)(v ⊗ f) = (Ω(x,y)v) ⊗ f, where ω_{a,b} is |
| 555 | `New.pairWeil S T a b` and Ω is `New.realPairWeil γ γ'`. -/ |
| 556 | lemma pairWeil_integrated [HasWeight a γ ψ] [HasWeight b γ' ψ'] (x : GInf E s) (y : GInf E s') |
| 557 | (v : Model (realHeisenberg (realSigns E (homSigns s s')))) (f : 𝒮 (S.hom T)) : |
| 558 | pairWeil S T a b ((x, 1), y, 1) (integrated (S.hom T) v f) = |
| 559 | integrated (S.hom T) (realPairWeil γ γ' (x, y) v) f := by |
| 560 | -- At a real point the characters act through their weights (`HasWeight.apply_eq`), and `ω` |
| 561 | -- splits into the real action on `v` and the finite action on `f` (`omega_integrated`). |
| 562 | simp [← Submonoid.one_def, pairWeil, G.onHom_eq, HasWeight.apply_eq, Prod.mk_one_one, |
| 563 | omega_integrated, realPairWeil, prod_mul_distrib, pairHomInf, MonoidHom.pi] |
| 564 | |
| 565 | /-- Finite points `(k, k')` act on `v ⊗ f` (`New.Space.integrated`, `v` a vector of the Fock space |
| 566 | `New.PairFock E s s'`) through `f`. -/ |
| 567 | @[simp] |
| 568 | lemma pairWeil_integrated_fin (k : Gf E n) (k' : Gf E n') |
| 569 | (v : Model (realHeisenberg (realSigns E (homSigns s s')))) (f : 𝒮 (S.hom T)) : |
| 570 | pairWeil S T a b ((1, k), 1, k') (integrated (S.hom T) v f) = |
| 571 | integrated (S.hom T) v (pairWeil S T a b ((1, k), 1, k') f) := by |
| 572 | simp [← Pi.one_def, pairWeil, G.onHom_eq, Prod.mk_one_one, omega_integrated] |
| 573 | |
| 574 | /-- Let the character `a` have weight `γ` (with tame part `ψ`). For a Fock vector `v` and `f` in |
| 575 | 𝒮(`S.hom T`), let v ⊗ f = ∫ v(y) ϱ(y)f dy be the integrated Heisenberg action |
| 576 | (`New.Space.integrated`). For an archimedean point h ∈ G_∞(s′), taken with trivial finite part and |
| 577 | paired with 1 in the first group, `New.pairWeil S T a b` sends v ⊗ f to (Ω(1,h)v) ⊗ f with |
| 578 | Ω = `New.realPairWeil γ 0`; no weight of `b` is needed. -/ |
| 579 | lemma pairWeil_integrated_right {S : Space E n s} {T : Space E n' s'} (a b : AutChar E) |
| 580 | {ψ : (w : FinPlace E) → MulChar (ResField w) ℂ} {f : 𝒮 (S.hom T)} [ha : HasWeight a γ ψ] |
| 581 | (h : GInf E s') (v : Model (realHeisenberg (realSigns E (homSigns s s')))) : |
| 582 | pairWeil S T a b (1, h, 1) (integrated (S.hom T) v f) = |
| 583 | integrated (S.hom T) (realPairWeil γ 0 (1, h) v) f := by |
| 584 | simp [← Submonoid.one_def, pairWeil, G.onHom_eq, HasWeight.apply_eq, Prod.mk_one_one, |
| 585 | omega_integrated, realPairWeil, pairHomInf, MonoidHom.pi] |
| 586 | |
| 587 | /-- On `v ⊗ f`, for spaces `S`, `T` and characters `a`, `b` of weights `γ`, `γ'` (with tame parts |
| 588 | `ψ`, `ψ'`), the real part `(x, y)` of a pair acts on the Fock vector `v` by |
| 589 | `New.realPairWeil γ γ'`, and the finite part `(k, k')` acts on `f`. -/ |
| 590 | lemma pairWeil_integrated_all {S : Space E n s} {T : Space E n' s'} |
| 591 | {ψ ψ' : (w : FinPlace E) → MulChar (ResField w) ℂ} {a b : AutChar E} [HasWeight a γ ψ] |
| 592 | [HasWeight b γ' ψ'] (x : GInf E s) (k : Gf E n) (y : GInf E s') (k' : Gf E n') |
| 593 | (v : Model (realHeisenberg (realSigns E (homSigns s s')))) (f : 𝒮 (S.hom T)) : |
| 594 | pairWeil S T a b ((x, k), y, k') (integrated (S.hom T) v f) = |
| 595 | integrated (S.hom T) (realPairWeil γ γ' (x, y) v) (pairWeil S T a b (k, k') f) := by |
| 596 | -- Split the point into its real and its finite part. |
| 597 | rw [← pairWeil_integrated_fin, ← pairWeil_integrated S T a b, rep_apply_apply] |
| 598 | simp |
| 599 | |
| 600 | end PairReal |
| 601 | |
| 602 | /-! ## Open levels fixing finite data -/ |
| 603 | |
| 604 | /-- Let `E` be a CM field with Weil data, `S`, `T` hermitian spaces with points, and `a`, `b` |
| 605 | characters of U(1)(𝔸) trivial on its rational (norm-one) points. Suppose `f` lies in the finite |
| 606 | part of 𝒮(Hom(S, T)), which is the span of the translates of the vacuum under the finite Heisenberg |
| 607 | operators. Then there are open subgroups `K`, `K'` of the finite adelic unitary groups `Gf E n`, |
| 608 | `Gf E n'` such that `pairWeil S T a b` fixes `f` at every `((1, k), 1, k')` with `k ∈ K` and |
| 609 | `k' ∈ K'` (these elements are trivial at the infinite places). -/ |
| 610 | lemma exists_level_pairWeil {E : Type*} {n n' : Type} {s : n → ℤˣ} {s' : n' → ℤˣ} [Field E] |
| 611 | [CMType E] [WeilData E] [Fintype n] [DecidableEq n] [Fintype n'] [DecidableEq n'] |
| 612 | {S : Space E n s} {T : Space E n' s'} (a b : AutChar E) {f : 𝒮 (S.hom T)} |
| 613 | (hf : f ∈ (S.hom T).finitePart) : |
| 614 | ∃ (K : OpenSubgroup (Gf E n)) (K' : OpenSubgroup (Gf E n')), ∀ k ∈ K, ∀ k' ∈ K', |
| 615 | pairWeil S T a b ((1, k), 1, k') f = f := by |
| 616 | -- Near `1` the character `pairChar a b` is trivial and the Weil representation fixes `f`; such a |
| 617 | -- neighbourhood contains a product of open subgroups. |
| 618 | -- `embed` sends the two finite groups to the points with trivial real parts. |
| 619 | let embed : Gf E n × Gf E n' →ₜ* G E s × G E s' := |
| 620 | (ContinuousMonoidHom.inr (GInf E s) (Gf E n)).prodMap |
| 621 | (ContinuousMonoidHom.inr (GInf E s') (Gf E n')) |
| 622 | -- No small subgroups: a continuous character to the circle is trivial near `1`. Here `χ` is |
| 623 | -- `pairChar a b ∘ embed` with values in the circle. |
| 624 | let χ : Gf E n × Gf E n' →* Circle := |
| 625 | (((b⁻¹).val.toMonoidHom.comp G.det).coprod (a.val.toMonoidHom.comp G.det)).comp |
| 626 | embed.toMonoidHom |
| 627 | have h_χ_cont : Continuous χ := by |
| 628 | simp only [InvMemClass.coe_inv, ContinuousMonoidHom.coe_toMonoidHom, MonoidHom.coe_comp, |
| 629 | MonoidHom.coe_ofClass, Function.comp_def, MonoidHom.coprod_apply, Function.comp_apply, |
| 630 | circleChar_inv_apply, χ] |
| 631 | fun_prop |
| 632 | have h_char : ∀ᶠ k in nhds 1, pairChar a b (embed k) = 1 := |
| 633 | (char_eventually_eq_one χ h_χ_cont).mono fun k hk ↦ |
| 634 | show ((χ k : Circle) : ℂ) = 1 by rw [hk, Circle.coe_one] |
| 635 | have h_fix : ∀ᶠ k in nhds 1, (S.hom T).ω (1, (G.onHom (embed k)).2) f = f := |
| 636 | ((G.continuous_onHom.comp embed.continuous).snd.tendsto' 1 1 (by simp)).eventually |
| 637 | (Space.eventually_omega_eq_self hf) |
| 638 | obtain ⟨K, K', hK_subset⟩ : ∃ (K : OpenSubgroup (Gf E n)) (K' : OpenSubgroup (Gf E n')), |
| 639 | (K : Set (Gf E n)) ×ˢ (K' : Set (Gf E n')) ⊆ |
| 640 | {k | pairChar a b (embed k) = 1 ∧ (S.hom T).ω (1, (G.onHom (embed k)).2) f = f} := |
| 641 | NonarchimedeanGroup.prod_subset (h_char.and h_fix) |
| 642 | refine ⟨K, K', fun k hk k' hk' ↦ ?_⟩ |
| 643 | obtain ⟨h_char_k, h_fix_k⟩ : |
| 644 | pairChar a b (embed (k, k')) = 1 ∧ (S.hom T).ω (1, (G.onHom (embed (k, k'))).2) f = f := |
| 645 | hK_subset (Set.mk_mem_prod hk hk') |
| 646 | have h_embed : embed (k, k') = ((1, k), 1, k') := rfl |
| 647 | rw [h_embed] at h_char_k h_fix_k |
| 648 | -- `G.onHom` of a finite point has trivial archimedean part. |
| 649 | rw [pairWeil_apply, G.onHom_fin k k', h_char_k, h_fix_k, one_smul] |
| 650 | |
| 651 | end New |
| 652 | |
| 653 | /-! |
| 654 | ## Maps in rational coordinates, Heisenberg cocycle and theta lifts |
| 655 | |
| 656 | A space (`New.Space`) has a Gram matrix `J` over `E` and an adelic point `x`. The Weil |
| 657 | representation of `Hom(V, V')` is written in the adelic coordinates that the points give. |
| 658 | |
| 659 | * `New.Space.homAtPoint`: passes from a matrix `w` in rational coordinates to `x'⁻¹ w x`. |
| 660 | * `New.Space.homBicharacter_eq`: the Heisenberg bicharacter in rational coordinates is the |
| 661 | standard character of a trace. |
| 662 | * `New.Space.homHeisenbergOp`: the Heisenberg operator of a matrix in rational coordinates. |
| 663 | -/ |
| 664 | |
| 665 | namespace New.Space |
| 666 | |
| 667 | open Matrix Prod |
| 668 | |
| 669 | section HomAtPoint |
| 670 | |
| 671 | variable {E ι ι' : Type} [Field E] [CMType E] [Fintype ι] [DecidableEq ι] [Fintype ι'] |
| 672 | [DecidableEq ι'] {ε : ι → ℤˣ} {ε' : ι' → ℤˣ} (V : Space E ι ε) |
| 673 | (V' : Space E ι' ε') [A : WeilData E] (x y : Matrix ι' ι (𝔸 E)) |
| 674 | |
| 675 | /-- The additive map sending an adelic matrix w : V → V' in rational coordinates to x'⁻¹wx, its |
| 676 | vector in the adelic coordinates of Hom(V,V'); here x = `V.x` and x' = `V'.x` are the points. -/ |
| 677 | def homAtPoint : Matrix ι' ι (𝔸 E) →+ ι' × ι → 𝔸 E := |
| 678 | show Matrix ι' ι (𝔸 E) →+ ι' × ι → 𝔸 E from AddMonoidHom.mk' |
| 679 | (matrixToVec <| V'.x⁻¹.val * · * V.x.val) (by simp [Matrix.mul_add, Matrix.add_mul]) |
| 680 | |
| 681 | /-- The Heisenberg bicharacter β of Hom(V,V') evaluated at two adelic matrices x, y given in |
| 682 | rational coordinates. -/ |
| 683 | abbrev homBicharacter : ℂ := |
| 684 | (adelicHeisenberg E (homSigns ε ε')).β (V.homAtPoint V' x) (V.homAtPoint V' y) |
| 685 | |
| 686 | end HomAtPoint |
| 687 | |
| 688 | variable {E ι ι' : Type} [Field E] [CMType E] [Fintype ι] [DecidableEq ι] [Fintype ι'] |
| 689 | [DecidableEq ι'] {ε : ι → ℤˣ} {ε' : ι' → ℤˣ} {V : Space E ι ε} |
| 690 | {V' : Space E ι' ε'} [A : WeilData E] |
| 691 | (x y : Matrix ι' ι (𝔸 E)) (a : ∀ (n : Type) [Fintype n], AutChar E) |
| 692 | |
| 693 | /-- The representation `New.pairWeil` of U(V) × U(V′) on 𝒮(Hom(V, V′)) with the characters `a ι` and |
| 694 | `a ι′`, where ι, ι′ index the bases of V, V′. -/ |
| 695 | abbrev twistedPairWeil : G E ε × G E ε' →* 𝒮 (V.hom V') →L[ℂ] 𝒮 (V.hom V') := |
| 696 | pairWeil V V' (a ι) (a ι') |
| 697 | |
| 698 | /-- The Heisenberg bicharacter of `Hom(V, V')` at two adelic matrices `x`, `y` in rational |
| 699 | coordinates is the standard additive character of `ȷ / 2` times the trace of `y^* x`. Here `y^*` |
| 700 | (`New.Space.formAdjoint`) is the adjoint of `y` for the hermitian forms of `V` and `V'`, and `ȷ` |
| 701 | is the element of the Weil data. -/ |
| 702 | lemma homBicharacter_eq : |
| 703 | V.homBicharacter V' x y = |
| 704 | stdAddChar E (toAdele (A.j / 2) * (V.formAdjoint V' y * x).trace) := by |
| 705 | simp [homBicharacter, adelicHeisenberg, homAtPoint, kronecker_mulVec_eq_matrixToVec, formAdjoint, |
| 706 | map_J_inv, map_J, V.x.val.trace_mul_cycle', Matrix.mul_assoc] |
| 707 | |
| 708 | /-- The finite coordinates (`New.finCoord`) of `New.Space.homAtPoint` of `x` form the matrix |
| 709 | `α⁻¹ x'_f⁻¹ x_fin x_f`. Here `x_fin` is the finite part of `x`, `x_f` and `x'_f` are the finite |
| 710 | parts of the points of `V` and `V'` (`New.Space.xFin`), and `α` is the finite idele of the Weil |
| 711 | data. -/ |
| 712 | lemma finCoord_homAtPoint : |
| 713 | finCoord (V.homAtPoint V' x) = |
| 714 | matrixToVec (A.α⁻¹.val • (V'.xFin⁻¹.val * x.map snd * V.xFin.val)) := by |
| 715 | funext c |
| 716 | simp [homAtPoint, matrixToVec, xFin, Matrix.mul_apply, snd_sum, ← map_inv] |
| 717 | |
| 718 | /-- The Heisenberg operator ϱ on 𝒮(Hom(V, V′)) at `New.Space.homAtPoint` of an adelic matrix x : |
| 719 | V → V′ given in rational coordinates. -/ |
| 720 | abbrev homHeisenbergOp : 𝒮 (V.hom V') →L[ℂ] 𝒮 (V.hom V') := (V.hom V').ϱ (V.homAtPoint V' x) |
| 721 | |
| 722 | /-- A family of maps `k`, indexed by `O`, computes the theta lifts between the standard positive |
| 723 | spaces on ι and ι′. For every polynomial `P` and every linear functional `t` on `WeylIndex ι κ → ℂ`, |
| 724 | there is a linear functional `t'` on `WeylIndex ι' κ → ℂ` with the following property. For every |
| 725 | `o`, `Φ`, `φ` and `h`, take the integral over `g` of θ of `twistedPairWeil (a o) (g, h)` applied to |
| 726 | `P` tensored with `Φ`, times the coefficient of `φ` at `g` taken with `t`. This integral is the |
| 727 | coefficient of `k o Φ φ` at `h` taken with `t'`. -/ |
| 728 | def IsThetaLift {O : Type*} (κ : NumberField.InfinitePlace E → ℕ → ℕ) |
| 729 | (e e' : NumberField.InfinitePlace E → ℤ) (a : O → (n : Type) → [Fintype n] → AutChar E) |
| 730 | (k : O → ((stdSpace E ι).hom (stdSpace E ι')).finitePart →ₗ[ℂ] |
| 731 | AlgForm (E := E) ι κ e →ₗ[ℂ] AlgForm ι' κ e') : Prop := |
| 732 | ∀ (P : MvPolynomial (NumberField.InfinitePlace E × ι' × ι) ℂ) (t : (WeylIndex ι κ → ℂ) →ₗ[ℂ] ℂ), |
| 733 | ∃ t' : (WeylIndex ι' κ → ℂ) →ₗ[ℂ] ℂ, |
| 734 | ∀ (o : O) (Φ : ↥((stdSpace E ι).hom (stdSpace E ι')).finitePart) |
| 735 | (φ : ↥(AlgForm ι κ e)) (h : G E 1), |
| 736 | ∫ g : G E 1, θ ((stdSpace E ι).hom (stdSpace E ι')) |
| 737 | (twistedPairWeil (a o) (g, h) |
| 738 | (integrated ((stdSpace E ι).hom (stdSpace E ι')) |
| 739 | (Fock.polyVector (realSigns E (homSigns 1 1)) P) Φ.val)) * |
| 740 | algFormCoeff 1 t φ g ∂(stdSpace E ι).quotMeasure = |
| 741 | algFormCoeff 1 t' (k o Φ φ) h |
| 742 | |
| 743 | end New.Space |
| 744 | |
| 745 | end |