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.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic |
| 4 | import Mathlib.Analysis.Matrix.Order |
| 5 | import Mathlib.LinearAlgebra.Matrix.FiniteDimensional |
| 6 | import Mathlib.RingTheory.MvPolynomial.EulerIdentity |
| 7 | import Mathlib.Topology.Algebra.Group.Matrix |
| 8 | import TauCeti.RingTheory.MvPolynomial.PoincareLemma |
| 9 | public import Lib.Weil.Fock.PolynomialVectors |
| 10 | public import Lib.DiscreteSeries.Theta.FockDualPair |
| 11 | public import Lib.Weil.DualPair.Kronecker |
| 12 | import Lib.Cohomology.Etale.Basic |
| 13 | import Lib.DiscreteSeries.FlenstedJensen.RightDerivatives |
| 14 | import Lib.DiscreteSeries.Haar.TotalMass |
| 15 | import Lib.General.Analysis.HolomorphicIntegrals |
| 16 | import Lib.General.LinearAlgebra.MatricesNearIdentity |
| 17 | import Lib.General.Measure.HaarModulus |
| 18 | |
| 19 | /-! |
| 20 | # Harmonic matrix coefficients of the Weil representation and oscillator pairs on matrices |
| 21 | |
| 22 | Let ω₀ = `New.Fock.realWeil` be the Weil representation of U(ε) on the Fock space. Let u be block |
| 23 | diagonal with respect to labels d, and let P, Q be harmonic: ∂_i∂_j kills them whenever d_i = d_j |
| 24 | and ε_i ≠ ε_j. Then the coefficient ⟨v_Q, ω₀(u) v_P⟩ is an inner product after a linear |
| 25 | substitution, divided by the determinant of the negative block of u. The dual pair U(ε) × U(ε′) acts |
| 26 | on the Fock space of R × C matrices, and the pulled-back, det-twisted Weil representations of the |
| 27 | two factors form an oscillator pair. |
| 28 | |
| 29 | ## Main definitions and results |
| 30 | |
| 31 | * `New.Fock.complexLinearPart`: the matrix formed from the positive block of u and the conjugate of |
| 32 | its negative block; it is invertible. |
| 33 | * `New.Fock.fockMatrixCoeff_eq_fockInner`: the coefficient is an inner product after a linear |
| 34 | substitution (`New.linSubst`), divided by the determinant of the negative block of u. |
| 35 | * `New.Fock.detTwist`: the Weil representation `New.Fock.realWeil` pulled back along a homomorphism |
| 36 | f and twisted by det^γ; `New.Fock.isUnitaryRep_detTwist`, `New.Fock.isDerivedAction_detTwist`, |
| 37 | `New.Fock.fockInner_detTwist_pos` give unitarity with polynomial growth of the operator norm |
| 38 | (`New.IsUnitaryRep`), the derivative (`New.IsDerivedAction`) and positivity at positive definite |
| 39 | elements. |
| 40 | * `New.OscillatorRep`, `New.OscillatorPair`: these three properties as a structure, for U(ε) acting |
| 41 | on the Fock space of an arbitrary dual-pair datum `T : New.FockDualPair ε ε' ι`, and for commuting |
| 42 | actions of U(ε) and of U(ε′) (the latter via `T.swap`). |
| 43 | * `New.Fock.oscillatorPair_detTwist`: the twisted left and right actions on matrices form such a |
| 44 | pair. |
| 45 | |
| 46 | Notions from other files: |
| 47 | * `New.USign`: for a vector of signs ε, the unitary group U(ε) of the diagonal matrix diag(ε). |
| 48 | * `New.Fock.fockInner`: the bounded sesquilinear form (c, c′) ↦ ∫ c̄ c′ on the Fock space, |
| 49 | conjugate-linear in the first variable. |
| 50 | * `New.Fock.polyVector`: the linear map P ↦ v_P from complex polynomials to the Fock space, |
| 51 | v_P(x) = P(ζ(x))exp(−|x|²/2), where ζ(x)_i is x̄_i at positive and x_i at negative coordinates. |
| 52 | * `New.Fock.fockMatrixCoeff`: the coefficient ⟨v_Q, ω₀(u) v_P⟩, written `fockMatrixCoeff u Q P`. |
| 53 | * `New.Fock.weilDeriv`: the derivative of `New.Fock.realWeil` on polynomials, the linear map u ↦ Σ |
| 54 | u_ab A_a B_b, where (A_a, B_a) is (X_a, ∂_a) if ε_a = 1 and (−∂_a, X_a) otherwise; A_a is |
| 55 | `raiseOp ε a` and B_a is `lowerOp ε a`. |
| 56 | |
| 57 | ## Relation to the literature |
| 58 | |
| 59 | Known result: Bargmann–Fock model of the harmonic (oscillator) representation of U(p,q). Here the |
| 60 | space is the L¹ (Feichtinger) space of vacuum coefficients rather than the Hilbert Fock space, and |
| 61 | weighted moments replace Schwartz seminorms. This file treats unitarity, growth, the derivative and |
| 62 | the coefficients between harmonic polynomials. Source: M. G. Davidson, The harmonic representation |
| 63 | of U(p,q) and its connection with the generalized unit disk, Pacific J. Math. 129 (1987), §1 and |
| 64 | Prop. 2.2; G. B. Folland, Harmonic Analysis in Phase Space (1989), ch. 1, 4; H. Reiter, Metaplectic |
| 65 | Groups and Segal Algebras, LNM 1382 (1989). |
| 66 | -/ |
| 67 | |
| 68 | @[expose] public section |
| 69 | |
| 70 | /-! |
| 71 | ## Matrix coefficients between harmonic polynomial vectors |
| 72 | |
| 73 | The identities `New.Fock.fockMatrixCoeff_raiseOp` and `New.Fock.fockMatrixCoeff_lowerOp`, which |
| 74 | move `raiseOp` and `lowerOp` from one polynomial of a coefficient to the other, are solved for a |
| 75 | factor X_j on the left (`New.Fock.fockMatrixCoeff_X_mul`). Induction by Euler's identity |
| 76 | (`New.Fock.harmonic_induction`) then reduces `New.Fock.fockMatrixCoeff_eq_fockInner` to the overlap |
| 77 | of the vacuum with its image. |
| 78 | -/ |
| 79 | |
| 80 | namespace New.Fock |
| 81 | |
| 82 | open Matrix MvPolynomial Finset Int Heisenberg.IsVacuum |
| 83 | |
| 84 | variable {ι : Type _} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} (u : USign ε) |
| 85 | |
| 86 | /-- For u in U(diag ε), the matrix P₊ u P₊ + P₋ ū P₋, with P₊, P₋ the projections `New.Fock.posProj` |
| 87 | on the positive and negative coordinates and ū the entrywise conjugate of u (written `uᴴᵀ`). -/ |
| 88 | noncomputable def complexLinearPart : Matrix ι ι ℂ := |
| 89 | posProj ε * u * posProj ε + posProj (-ε) * (u : Matrix ι ι ℂ)ᴴᵀ * posProj (-ε) |
| 90 | |
| 91 | /-- The entry of `complexLinearPart u` at (i, j) is u_ij if both signs are positive, its conjugate |
| 92 | if both are negative, and zero if the signs differ. -/ |
| 93 | lemma complexLinearPart_apply (i j : ι) : |
| 94 | complexLinearPart u i j = |
| 95 | if ε i = ε j then |
| 96 | (if ε i = 1 then (u : Matrix ι ι ℂ) i j else star ((u : Matrix ι ι ℂ) i j)) |
| 97 | else 0 := by |
| 98 | obtain hi | hi := units_eq_one_or (ε i) <;> obtain hj | hj := units_eq_one_or (ε j) <;> |
| 99 | simp [complexLinearPart, posProj, hi, hj] |
| 100 | |
| 101 | /-- The determinant of `complexLinearPart u` is the conjugate of the determinant of the negative |
| 102 | block of u (`New.Fock.realMultiplier`) times the principal minor of u on the indices whose sign is |
| 103 | not −1, that is, the determinant of the positive block. -/ |
| 104 | lemma det_complexLinearPart : |
| 105 | (complexLinearPart u).det = |
| 106 | realMultiplier u * principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ¬ε i = -1 := by |
| 107 | have h_block (i : ι) (hi : ¬ε i = -1) (j : ι) (hj : ε j = -1) : complexLinearPart u i j = 0 := by |
| 108 | simp [complexLinearPart_apply, hj, hi] |
| 109 | rw [twoBlockTriangular_det _ _ h_block, realMultiplier, principalMinor, principalMinor, |
| 110 | RingHom.map_det] |
| 111 | congr 2 <;> ext ⟨i, hi⟩ ⟨j, hj⟩ |
| 112 | · simp [toSquareBlockProp, complexLinearPart_apply, hi, hj] |
| 113 | · simp [toSquareBlockProp, complexLinearPart_apply, units_ne_iff_eq_neg.1 hi, |
| 114 | units_ne_iff_eq_neg.1 hj] |
| 115 | |
| 116 | /-- For u in U(ε), the conjugate `realMultiplier u` of the determinant of the negative block of u is |
| 117 | not zero. -/ |
| 118 | lemma realMultiplier_ne_zero : realMultiplier u ≠ 0 := fun h_zero ↦ by |
| 119 | -- The cocycle identity at `(u, u)` writes `1` as a product with the factor `realMultiplier u`. |
| 120 | simpa [realAction, h_zero] using (realAction ε).cocycle u u |
| 121 | |
| 122 | /-- The matrix `complexLinearPart u` is invertible, since both diagonal blocks of u are. -/ |
| 123 | noncomputable instance : Invertible (complexLinearPart u) := |
| 124 | invertibleOfIsUnitDet (complexLinearPart u) <| by |
| 125 | have h_pos : principalMinor (u : Matrix ι ι ℂ) (fun i : ι ↦ ¬ε i = -1) = |
| 126 | (u : Matrix ι ι ℂ).det * realMultiplier u := U.principalMinor_compl u |
| 127 | rw [det_complexLinearPart, h_pos] |
| 128 | simp [realMultiplier_ne_zero, GeneralLinearGroup.det_ne_zero] |
| 129 | |
| 130 | omit [DecidableEq ι] in |
| 131 | /-- Induction for polynomials P with ∂_i∂_j P = 0 whenever r(i, j). A subspace S contains all of |
| 132 | them if it contains 1 and contains X_j P whenever P ∈ S and ∂_i P = 0 for all i with r(i, j). -/ |
| 133 | lemma harmonic_induction {r : Rel ι ι} (S : Submodule ℂ (MvPolynomial ι ℂ)) (h_one : 1 ∈ S) |
| 134 | (h_mul : ∀ j : ι, ∀ P ∈ S, (∀ i : ι, r i j → pderiv i P = 0) → X j * P ∈ S) |
| 135 | (P : MvPolynomial ι ℂ) (hP : ∀ i j : ι, r i j → pderiv i (pderiv j P) = 0) : P ∈ S := by |
| 136 | -- It suffices to treat the homogeneous components, by induction on the degree. Euler's identity |
| 137 | -- writes the component of degree `n + 1` through those of degree `n` of the derivatives. |
| 138 | have h_comp (n : ℕ) : homogeneousComponent n P ∈ S := by |
| 139 | induction n generalizing P with |
| 140 | | zero => simpa [C_eq_smul_one] using S.smul_mem _ h_one |
| 141 | | succ n ih => |
| 142 | have h_euler : ((n + 1 : ℕ) : ℂ) • homogeneousComponent (n + 1) P = |
| 143 | ∑ j : ι, X j * homogeneousComponent n (pderiv j P) := by |
| 144 | simp [homogeneousComponent_pderiv, (homogeneousComponent_mem (n + 1) P).sum_X_mul_pderiv, |
| 145 | ← Nat.cast_smul_eq_nsmul ℂ] |
| 146 | rw [← S.smul_mem_iff (NeZero.natCast_ne (n + 1) ℂ), h_euler] |
| 147 | have h_deriv (j i k : ι) (hik : r i k) : pderiv i (pderiv k (pderiv j P)) = 0 := by |
| 148 | rw [pderiv_comm k j, pderiv_comm i j, hP i k hik, map_zero] |
| 149 | refine sum_mem fun j _ ↦ h_mul j _ (ih _ (h_deriv j)) fun i hij ↦ ?_ |
| 150 | cases n <;> simp [← homogeneousComponent_pderiv, hP i j hij] |
| 151 | rw [← P.sum_homogeneousComponent] |
| 152 | exact sum_mem fun n _ ↦ h_comp n |
| 153 | |
| 154 | variable {κ : Sort*} {d : ι → κ} |
| 155 | |
| 156 | /-- Let u in U(ε) be block diagonal for the labels d, and let C = `New.Fock.complexLinearPart` u be |
| 157 | the matrix P₊uP₊ + P₋ūP₋, where P₊, P₋ project on the coordinates with εᵢ = 1 and εᵢ = −1 and ū is |
| 158 | the entrywise conjugate of u. If ∂_k Q = 0 for all k with d_k = d_i and ε_k ≠ ε_i, then ⟨v_Q, ω₀(u) |
| 159 | v_{∂_i P}⟩ = ∑_k conj(C_ki) ⟨v_{X_k Q}, ω₀(u) v_P⟩. Here `fockMatrixCoeff u Q P` is ⟨v_Q, ω₀(u) |
| 160 | v_P⟩, a coefficient of the Weil representation ω₀, and v_P = `polyVector ε P` is the Fock vector of |
| 161 | P. -/ |
| 162 | lemma fockMatrixCoeff_pderiv (hd : ∀ i j : ι, d i ≠ d j → (u : Matrix ι ι ℂ) i j = 0) |
| 163 | (P : MvPolynomial ι ℂ) {Q : MvPolynomial ι ℂ} {i : ι} |
| 164 | (hQ : ∀ k : ι, d k = d i → ε k ≠ ε i → pderiv k Q = 0) : |
| 165 | fockMatrixCoeff u Q (pderiv i P) = |
| 166 | ∑ k : ι, star (complexLinearPart u k i) * fockMatrixCoeff u (X k * Q) P := by |
| 167 | -- In the relations between `raiseOp` and `lowerOp` the terms `k` of the other sign vanish: they |
| 168 | -- are derivatives of `Q` if `d k = d i`, and otherwise the entry of `u` is zero. |
| 169 | have h_other (k : ι) (hk : ε k ≠ ε i) : |
| 170 | (u : Matrix ι ι ℂ) k i = 0 ∨ fockMatrixCoeff u (pderiv k Q) P = 0 := by |
| 171 | by_cases h_label : d k = d i |
| 172 | · simp [hQ k h_label hk] |
| 173 | · simp [hd k i h_label] |
| 174 | obtain hi | hi := units_eq_one_or (ε i) |
| 175 | · have h_left : fockMatrixCoeff u Q (pderiv i P) = ε i * fockMatrixCoeff u Q (lowerOp ε i P) := by |
| 176 | simp [lowerOp, hi] |
| 177 | rw [h_left, fockMatrixCoeff_lowerOp] |
| 178 | refine sum_congr rfl fun k _ ↦ ?_ |
| 179 | obtain hk | hk := units_eq_one_or (ε k) |
| 180 | · simp [complexLinearPart_apply, raiseOp, hi, hk] |
| 181 | · simpa [complexLinearPart_apply, raiseOp, hi, hk] using h_other k |
| 182 | · have h_left : fockMatrixCoeff u Q (pderiv i P) = -fockMatrixCoeff u Q (raiseOp ε i P) := by |
| 183 | simp [raiseOp, hi] |
| 184 | rw [h_left, fockMatrixCoeff_raiseOp, ← sum_neg_distrib] |
| 185 | refine sum_congr rfl fun k _ ↦ ?_ |
| 186 | obtain hk | hk := units_eq_one_or (ε k) |
| 187 | · simpa [complexLinearPart_apply, lowerOp, hi, hk] using h_other k |
| 188 | · simp [complexLinearPart_apply, lowerOp, hi, hk] |
| 189 | |
| 190 | /-- Let u ∈ U(diag ε) satisfy u_ij = 0 whenever d_i ≠ d_j. Let A = (`New.Fock.complexLinearPart` |
| 191 | u)⁻¹, where `complexLinearPart u` = P₊ u P₊ + P₋ ū P₋, with P₊ and P₋ the projections onto the |
| 192 | positive and negative coordinates and ū the entrywise conjugate of u. If ∂_i Q = 0 for all i with |
| 193 | d_i = d_j and ε_i ≠ ε_j, then ⟨v_{X_j Q}, ω₀(u) v_P⟩ = ∑_i conj(A_ij) ⟨v_Q, ω₀(u) v_{∂_i P}⟩. Here |
| 194 | `fockMatrixCoeff u Q P` is the Weil-representation coefficient ⟨v_Q, ω₀(u) v_P⟩, and conj(A_ij) is |
| 195 | written as the entry (j, i) of the inverse of the conjugate transpose. -/ |
| 196 | lemma fockMatrixCoeff_X_mul (hd : ∀ i j : ι, d i ≠ d j → (u : Matrix ι ι ℂ) i j = 0) |
| 197 | (P : MvPolynomial ι ℂ) {Q : MvPolynomial ι ℂ} {j : ι} |
| 198 | (hQ : ∀ i : ι, d i = d j → ε i ≠ ε j → pderiv i Q = 0) : |
| 199 | fockMatrixCoeff u (X j * Q) P = |
| 200 | ∑ i : ι, (complexLinearPart u)ᴴ⁻¹ j i * fockMatrixCoeff u Q (pderiv i P) := by |
| 201 | -- Solve the equations `fockMatrixCoeff_pderiv` for the indices with the label and sign of `j`. |
| 202 | let w (k : ι) : ℂ := fockMatrixCoeff u (X k * Q) P |
| 203 | let b (i : ι) : Prop := d i = d j ∧ ε i = ε j |
| 204 | have h_row (i : ι) (hi : b i) : |
| 205 | ((complexLinearPart u)ᴴ *ᵥ w) i = fockMatrixCoeff u Q (pderiv i P) := by |
| 206 | obtain ⟨hi_label, hi_sign⟩ := hi |
| 207 | rw [fockMatrixCoeff_pderiv u hd P fun k hk_label hk_sign ↦ |
| 208 | hQ k (hk_label.trans hi_label) (hk_sign.trans_eq hi_sign)] |
| 209 | simp [mulVec, dotProduct, w] |
| 210 | -- The indices that are not in `b` do not enter row `j` of the inverse: `(complexLinearPart u)ᴴ` |
| 211 | -- is block triangular for `b`, with the order `False < True` on propositions. |
| 212 | let := Prop.linearOrder |
| 213 | have h_block : (complexLinearPart u)ᴴ.BlockTriangular b := fun i k hik ↦ by |
| 214 | obtain ⟨⟨hi_label, hi_sign⟩, hk⟩ : b i ∧ ¬b k := by simpa [lt_iff_le_not_ge] using hik.not_ge |
| 215 | by_cases h_label : d k = d i |
| 216 | · have h_sign : ε k ≠ ε i := fun h_eq ↦ hk ⟨h_label.trans hi_label, h_eq.trans hi_sign⟩ |
| 217 | simp [complexLinearPart_apply, h_sign] |
| 218 | · simp [complexLinearPart_apply, hd k i h_label] |
| 219 | have h_zero (i : ι) (hi : ¬b i) : (complexLinearPart u)ᴴ⁻¹ j i = 0 := |
| 220 | blockTriangular_inv_of_blockTriangular h_block (by simp [b, lt_iff_le_not_ge, hi]) |
| 221 | calc w j = ((complexLinearPart u)ᴴ⁻¹ *ᵥ (complexLinearPart u)ᴴ *ᵥ w) j := by simp |
| 222 | _ = ∑ i : ι, (complexLinearPart u)ᴴ⁻¹ j i * fockMatrixCoeff u Q (pderiv i P) := by |
| 223 | refine sum_congr rfl fun i _ ↦ ?_ |
| 224 | by_cases hi : b i <;> simp [h_row, h_zero, hi] |
| 225 | |
| 226 | /-- Let u in U(ε) be block diagonal for the labels d, and let P be killed by ∂_i∂_j whenever |
| 227 | d_i = d_j and ε_i ≠ ε_j. Then ⟨v_1, ω₀(u) v_P⟩ = (det z)⁻¹ ⟨v_1, v_P⟩. Here ω₀ is the Weil |
| 228 | representation, v_P = `polyVector ε P` is the Fock vector of P (v_1 is the vacuum), and z is the |
| 229 | negative block of u (its determinant is the `principalMinor`). -/ |
| 230 | lemma fockMatrixCoeff_one_left (hd : ∀ i j : ι, d i ≠ d j → (u : Matrix ι ι ℂ) i j = 0) |
| 231 | (P : MvPolynomial ι ℂ) (hP : ∀ i j : ι, d i = d j → ε i ≠ ε j → pderiv i (pderiv j P) = 0) : |
| 232 | fockMatrixCoeff u 1 P = |
| 233 | (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ * |
| 234 | fockInner (polyVector ε 1) (polyVector ε P) := by |
| 235 | -- Induct on the polynomials where the vacuum functional after `u` agrees |
| 236 | -- with its scalar multiple. |
| 237 | set c : ℂ := (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ |
| 238 | let L := (fockInner (polyVector ε 1)).toLinearMap |
| 239 | let S := ((L.comp (realWeil u).toLinearMap).eqLocus (c • L)).comap (polyVector ε) |
| 240 | -- For `P = 1` this is the overlap of the vacuum with its image. |
| 241 | have h_one : 1 ∈ S := by |
| 242 | simp [S, L, LinearMap.mem_eqLocus, c, realVac, realWeil_vacVector_apply_zero] |
| 243 | refine harmonic_induction (r := fun i j ↦ d i = d j ∧ ε i ≠ ε j) S h_one (fun j R _ hR ↦ ?_) P |
| 244 | fun i j ⟨h_label, h_sign⟩ ↦ hP i j h_label h_sign |
| 245 | -- Both sides vanish on `X j * R`. On the left move `u` across as `u⁻¹`, which is block diagonal |
| 246 | -- too, and apply `fockMatrixCoeff_X_mul`. |
| 247 | have hd_inv (i k : ι) (hik : d i ≠ d k) : ((u⁻¹ : USign ε) : Matrix ι ι ℂ) i k = 0 := by |
| 248 | rw [U.coe_inv IsHermitianInvolution.mul_self] |
| 249 | simp [signMatrix, hd k i hik.symm] |
| 250 | have h_inv : fockMatrixCoeff u⁻¹ (X j * R) 1 = 0 := by |
| 251 | simpa using fockMatrixCoeff_X_mul u⁻¹ hd_inv 1 fun i h_label h_sign ↦ hR i ⟨h_label, h_sign⟩ |
| 252 | have h_left : fockMatrixCoeff u 1 (X j * R) = star (fockMatrixCoeff u⁻¹ (X j * R) 1) := by |
| 253 | rw [RCLike.star_def, conj_modelInner, |
| 254 | ← modelInner_weilRep (realAction ε) u (realWeil u⁻¹ (polyVector ε 1)), rep_apply_apply] |
| 255 | simp |
| 256 | change fockMatrixCoeff u 1 (X j * R) = c * fockInner (polyVector ε 1) (polyVector ε (X j * R)) |
| 257 | rw [h_left, h_inv, ← conj_modelInner (polyVector ε (X j * R)), fockInner_X_mul] |
| 258 | simp |
| 259 | |
| 260 | /-- Matrix coefficients of the Weil representation ω₀ between harmonic polynomials. Let u in U(ε) be |
| 261 | block diagonal for the labels d, and let P, Q be killed by ∂_i∂_j whenever d_i = d_j and ε_i ≠ ε_j. |
| 262 | Then ⟨v_Q, ω₀(u) v_P⟩ = (det z)⁻¹ ⟨v_Q′, v_P⟩. Here v_P = `polyVector ε P` is the Fock vector of P, |
| 263 | z is the block of u on the coordinates with εᵢ = −1 (its determinant is the `principalMinor`), and |
| 264 | Q′ = `linSubst A Q` is Q after the substitution X_j ↦ Σ_i A_ij X_i, with A = C⁻¹ for |
| 265 | C = `New.Fock.complexLinearPart` u = P₊uP₊ + P₋ūP₋ (P₊, P₋ the projections on the positive and |
| 266 | negative coordinates, ū the entrywise conjugate). -/ |
| 267 | lemma fockMatrixCoeff_eq_fockInner (hd : ∀ i j : ι, d i ≠ d j → (u : Matrix ι ι ℂ) i j = 0) |
| 268 | (Q : MvPolynomial ι ℂ) (hQ : ∀ i j : ι, d i = d j → ε i ≠ ε j → pderiv i (pderiv j Q) = 0) |
| 269 | (P : MvPolynomial ι ℂ) (hP : ∀ i j : ι, d i = d j → ε i ≠ ε j → pderiv i (pderiv j P) = 0) : |
| 270 | fockMatrixCoeff u Q P = |
| 271 | (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ * |
| 272 | fockInner (polyVector ε (linSubst (complexLinearPart u)⁻¹ Q)) (polyVector ε P) := by |
| 273 | -- Induction on `Q`, for all harmonic `P` at once: both sides obey the rule |
| 274 | -- `fockMatrixCoeff_X_mul`, and derivatives of harmonic polynomials are harmonic. |
| 275 | set c : ℂ := (principalMinor (u : Matrix ι ι ℂ) fun i : ι ↦ ε i = -1)⁻¹ |
| 276 | set A : Matrix ι ι ℂ := (complexLinearPart u)⁻¹ with hA |
| 277 | let S : Submodule ℂ (MvPolynomial ι ℂ) := |
| 278 | { carrier := {Q : MvPolynomial ι ℂ | ∀ P : MvPolynomial ι ℂ, |
| 279 | (∀ i j : ι, d i = d j → ε i ≠ ε j → pderiv i (pderiv j P) = 0) → |
| 280 | fockMatrixCoeff u Q P = c * fockInner (polyVector ε (linSubst A Q)) (polyVector ε P)} |
| 281 | add_mem' := by simp +contextual [mul_add] |
| 282 | zero_mem' := by simp |
| 283 | smul_mem' := by simp +contextual [mul_left_comm] } |
| 284 | have h_one : 1 ∈ S := fun P hP ↦ by rw [map_one, fockMatrixCoeff_one_left u hd P hP] |
| 285 | refine harmonic_induction (r := fun i j ↦ d i = d j ∧ ε i ≠ ε j) S h_one |
| 286 | (fun j R h_ind hR P hP ↦ ?_) Q (fun i j ⟨h_label, h_sign⟩ ↦ hQ i j h_label h_sign) P hP |
| 287 | have h_deriv (i k l : ι) (h_label : d k = d l) (h_sign : ε k ≠ ε l) : |
| 288 | pderiv k (pderiv l (pderiv i P)) = 0 := by |
| 289 | rw [pderiv_comm l i, pderiv_comm k i, hP k l h_label h_sign, map_zero] |
| 290 | have h_subst : linSubst A (X j * R) = ∑ i : ι, A i j • (X i * linSubst A R) := by |
| 291 | simp [linSubst, sum_mul] |
| 292 | calc fockMatrixCoeff u (X j * R) P |
| 293 | _ = ∑ i : ι, star (A i j) * fockMatrixCoeff u R (pderiv i P) := by |
| 294 | simp only [fockMatrixCoeff_X_mul u hd P fun i h_label h_sign ↦ hR i ⟨h_label, h_sign⟩, hA, |
| 295 | ← conjTranspose_nonsing_inv, conjTranspose_apply] |
| 296 | _ = ∑ i : ι, star (A i j) * |
| 297 | (c * fockInner (polyVector ε (linSubst A R)) (polyVector ε (pderiv i P))) := |
| 298 | sum_congr rfl fun i _ ↦ by rw [h_ind (pderiv i P) (h_deriv i)] |
| 299 | _ = c * fockInner (polyVector ε (linSubst A (X j * R))) (polyVector ε P) := by |
| 300 | simp [h_subst, fockInner_X_mul, mul_sum, mul_left_comm] |
| 301 | |
| 302 | end New.Fock |
| 303 | |
| 304 | /-! |
| 305 | ## Oscillator pairs on the Fock space of matrices |
| 306 | |
| 307 | The dual pair U(ε) × U(ε′) acts on the Fock space `New.Fock.fockSpace` of R × C matrices, with sign |
| 308 | ε_r ε′_c at the entry (r, c). |
| 309 | -/ |
| 310 | |
| 311 | namespace New.Fock |
| 312 | |
| 313 | open MvPolynomial Matrix ComplexOrder Kronecker MatrixOrder Fintype Norms.L2Operator |
| 314 | Algebra.TensorProduct NonUnitalStarAlgHom Heisenberg.IsVacuum |
| 315 | |
| 316 | variable {R C : Type} [Fintype R] [DecidableEq R] [Fintype C] [DecidableEq C] (ε : R → ℤˣ) |
| 317 | (ε' : C → ℤˣ) |
| 318 | |
| 319 | /-! ### The twisted Weil representation -/ |
| 320 | |
| 321 | /-- The Kronecker homomorphism (not injective) from the dual pair U(ε′) × U(ε) to the unitary group |
| 322 | for the signs ε_r ε′_c on `R × C`: the pair `(g, h)` goes to `h ⊗ₖ g⁻¹ᵀ`, which is the action x ↦ h |
| 323 | x g⁻¹ on `R × C` matrices. -/ |
| 324 | noncomputable def pairHom : USign ε' × USign ε →* USign (pairSign 1 ε ε') := |
| 325 | U.kroneckerHom IsHermitianInvolution.mul_self |
| 326 | (by simp [signMatrix, pairSign, diagonal_kronecker_diagonal]) |
| 327 | |
| 328 | /-- The matrix of `pairHom ε ε' (g, h)` is `h ⊗ₖ g⁻¹ᵀ`. -/ |
| 329 | lemma coe_pairHom (g : USign ε') (h : USign ε) : |
| 330 | (pairHom ε ε' (g, h) : Matrix (R × C) (R × C) ℂ) = |
| 331 | (h : Matrix R R ℂ) ⊗ₖ (g : Matrix C C ℂ)⁻¹ᵀ := by |
| 332 | simp [pairHom] |
| 333 | |
| 334 | /-- For `g` in U(ε′) and `h` in U(ε), the ℓ² operator norm of the matrix `h ⊗ₖ g⁻¹ᵀ` of |
| 335 | `pairHom ε ε' (g, h)` is at most `‖g‖ * ‖h‖`. -/ |
| 336 | lemma norm_pairHom_le (g : USign ε') (h : USign ε) : |
| 337 | ‖(pairHom ε ε' (g, h) : Matrix (R × C) (R × C) ℂ)‖ ≤ |
| 338 | ‖(g : Matrix C C ℂ)‖ * ‖(h : Matrix R R ℂ)‖ := by |
| 339 | -- The matrix is `(1 ⊗ₖ g⁻¹ᵀ) * (h ⊗ₖ 1)`. Both factors are values of star algebra homomorphisms |
| 340 | -- between C⋆-algebras, which do not increase the norm. |
| 341 | let k : TensorProduct ℂ (Matrix R R ℂ) (Matrix C C ℂ) →⋆ₐ[ℂ] Matrix (R × C) (R × C) ℂ := |
| 342 | (kroneckerStarAlgEquiv R C ℂ).toStarAlgHom |
| 343 | let left : Matrix R R ℂ →⋆ₐ[ℂ] Matrix (R × C) (R × C) ℂ := k.comp ⟨includeLeft, by simp⟩ |
| 344 | let right : (Matrix C C ℂ)ᵐᵒᵖ →⋆ₐ[ℂ] Matrix (R × C) (R × C) ℂ := |
| 345 | k.comp ⟨includeRight.comp (transposeAlgEquiv C ℂ ℂ).symm.toAlgHom, fun x ↦ by |
| 346 | simp [star_eq_conjTranspose, conjTranspose, transpose_map]⟩ |
| 347 | have h_prod : (pairHom ε ε' (g, h) : Matrix (R × C) (R × C) ℂ) = |
| 348 | right (.op (g⁻¹ : USign ε')) * left h := by |
| 349 | change _ = (1 ⊗ₖ ((g⁻¹ : USign ε') : Matrix C C ℂ)ᵀ) * ((h : Matrix R R ℂ) ⊗ₖ 1) |
| 350 | simp [← mul_kronecker_mul, coe_pairHom] |
| 351 | calc _ ≤ ‖right (.op (g⁻¹ : USign ε'))‖ * ‖left h‖ := by grw [h_prod, norm_mul_le] |
| 352 | _ ≤ ‖(g : Matrix C C ℂ)‖ * ‖(h : Matrix R R ℂ)‖ := by |
| 353 | grw [norm_apply_le right, norm_apply_le left, MulOpposite.norm_op, U.norm_inv] |
| 354 | |
| 355 | variable {ε : R → ℤˣ} {ε' : C → ℤˣ} (f : USign ε →* USign ε') (γ : ℤ) |
| 356 | |
| 357 | /-- The Weil representation `realWeil` of U(ε′) on the Fock space, pulled back along a homomorphism |
| 358 | `f` from U(ε) to U(ε′) and twisted by `det ^ γ`: `g` acts by `det g ^ γ • realWeil (f g)`. -/ |
| 359 | @[simps] noncomputable def detTwist : USign ε →* fockSpace ε' →L[ℂ] fockSpace ε' where |
| 360 | toFun g := (g : Matrix R R ℂ).det ^ γ • realWeil (f g) |
| 361 | map_one' := by simp |
| 362 | map_mul' := by simp [mul_zpow, mul_comm, smul_smul] |
| 363 | |
| 364 | variable {f : USign ε →* USign ε'} {γ : ℤ} |
| 365 | |
| 366 | /-- For `g` in U(ε′), the operator norm of the Weil operator `realWeil g` on the Fock space is at |
| 367 | most the norm of the vacuum vector times the modulus of `realMultiplier g`, the conjugate of the |
| 368 | determinant of the negative block of `g`. -/ |
| 369 | lemma norm_realWeil_le (g : USign ε') : |
| 370 | ‖realWeil g‖ ≤ ‖(vacVector : fockSpace ε')‖ * ‖realMultiplier g‖ := |
| 371 | norm_weilRep_le (realAction ε') g |
| 372 | |
| 373 | /-- Let `f` be a continuous homomorphism from U(ε) to U(ε′) with `‖f g‖ ≤ a * ‖g‖`. Then |
| 374 | `detTwist f γ`, the Weil representation pulled back along `f` and twisted by `det ^ γ`, is strongly |
| 375 | continuous, preserves the positive definite hermitian form `fockInner`, and has operator norm |
| 376 | `O(‖g‖ ^ card C)`. -/ |
| 377 | lemma isUnitaryRep_detTwist {a : ℝ} |
| 378 | (h_norm : ∀ {g : USign ε}, ‖(f g : Matrix C C ℂ)‖ ≤ a * ‖(g : Matrix R R ℂ)‖) |
| 379 | (hf : Continuous f := by |
| 380 | rw [continuous_U_iff_matrix] |
| 381 | fun_prop [kroneckerMap]) : |
| 382 | IsUnitaryRep (card C) (detTwist f γ) fockInner := by |
| 383 | refine ⟨fun x ↦ ?_, fun g x y ↦ ?_, conj_modelInner, fun x hx ↦ ?_, |
| 384 | ‖(vacVector : fockSpace ε')‖ * a ^ card C, fun g ↦ ?_⟩ |
| 385 | · -- Strong continuity. |
| 386 | change Continuous fun g : USign ε ↦ (g : Matrix R R ℂ).det ^ γ • realWeil (f g) x |
| 387 | fun_prop (disch := simp [GeneralLinearGroup.det_ne_zero]) |
| 388 | · -- `realWeil` preserves the form, and the determinant has modulus one. |
| 389 | have h_det : (g : Matrix R R ℂ).det ^ γ * starRingEnd ℂ (g : Matrix R R ℂ).det ^ γ = 1 := by |
| 390 | simp [← mul_zpow, RCLike.mul_conj] |
| 391 | simp [← mul_assoc, h_det] |
| 392 | · -- The form is a square norm, and it vanishes only at `0`. |
| 393 | have h_ne : fockInner x x ≠ 0 := mt eq_zero_of_modelInner_self hx |
| 394 | simp only [modelInner_self, Complex.ofReal_ne_zero, Complex.ofReal_re] at h_ne ⊢ |
| 395 | positivity |
| 396 | · -- The determinant has modulus one, and the multiplier grows at most like `‖f g‖ ^ card C`. |
| 397 | calc ‖detTwist f γ g‖ = ‖realWeil (f g)‖ := by simp [norm_smul] |
| 398 | _ ≤ ‖(vacVector : fockSpace ε')‖ * ‖realMultiplier (f g)‖ := norm_realWeil_le (f g) |
| 399 | _ ≤ ‖(vacVector : fockSpace ε')‖ * a ^ card C * ‖(g : Matrix R R ℂ)‖ ^ card C := by |
| 400 | grw [mul_assoc, ← mul_pow, norm_realMultiplier_le, h_norm] |
| 401 | |
| 402 | /-- Let `f` be a homomorphism from U(ε) to U(ε′) with `f (exp Y) = c • F (exp (c • Y))` for `Y` in |
| 403 | the Lie algebra of U(ε), where `F` is a linear map and `c` a sign. Let `ρ` be the `gl R`-module on |
| 404 | polynomials with action `Y ↦ weilDeriv ε' (F Y) + γ * trace Y`. Then `ρ` is the derivative of |
| 405 | `detTwist f γ` on the vectors `polyVector ε' P` of polynomials `P`. -/ |
| 406 | lemma isDerivedAction_detTwist {ρ : GlModule R (MvPolynomial C ℂ)} |
| 407 | (F : Matrix R R ℂ →ₗ[ℂ] Matrix C C ℂ) (c : ℤˣ) |
| 408 | (hρ : ρ.ρ = weilDeriv ε' ∘ₗ F + (γ : ℂ) • (traceLinearMap R ℂ ℂ).smulRight 1) |
| 409 | (h_exp : ∀ Y : unitaryLie (signMatrix ε), |
| 410 | (f (expU Y) : Matrix C C ℂ) = c • F (NormedSpace.exp (c • (Y : Matrix R R ℂ)))) : |
| 411 | IsDerivedAction (detTwist f γ) (polyVector ε') ρ := by |
| 412 | -- Product rule for `det ^ γ` times `realWeil ∘ f` along `t ↦ expU (t • Y)`. |
| 413 | intro Y P |
| 414 | have h_one : expU ((0 : ℝ) • Y) = 1 := Subtype.ext (Units.ext (by simp)) |
| 415 | have h_det : HasDerivAt (fun t : ℝ ↦ (expU (t • Y) : Matrix R R ℂ).det) Y.val.trace 0 := by |
| 416 | simpa using hasDerivAt_det_of_eq_one (by simp) (hasDerivAt_exp_smul_const Y.val (0 : ℝ)) |
| 417 | have h_zpow : |
| 418 | HasDerivAt (fun t : ℝ ↦ (expU (t • Y) : Matrix R R ℂ).det ^ γ) (γ * Y.val.trace) 0 := by |
| 419 | simpa [Function.comp_def] using (hasDerivAt_zpow γ _ (by simp)).comp 0 h_det |
| 420 | -- The matrix of `f (expU (t • Y))` is `c • F (exp (t • c • Y))`, and `c * c = 1`. |
| 421 | have h_f : HasDerivAt (fun t : ℝ ↦ (f (expU (t • Y)) : Matrix C C ℂ)) (F Y) 0 := by |
| 422 | have h_curve : HasDerivAt (fun t : ℝ ↦ c • F (NormedSpace.exp (t • c • Y.val))) (F Y) 0 := by |
| 423 | refine ((hasDerivAt_exp_smul_const (c • Y.val) 0).map_clm |
| 424 | (.mk (c • F) (c • F).continuous_of_finiteDimensional)).congr_deriv ?_ |
| 425 | simp [smul_smul] |
| 426 | simpa [h_exp, smul_comm c] using h_curve |
| 427 | have h_weil : HasDerivAt (fun t : ℝ ↦ realWeil (f (expU (t • Y))) (polyVector ε' P)) |
| 428 | (polyVector ε' (weilDeriv ε' (F Y) P)) 0 := |
| 429 | hasDerivAt_realWeil (by rw [h_one, map_one]) h_f P |
| 430 | exact (h_zpow.smul h_weil).congr_deriv (by simp [hρ, smul_smul]) |
| 431 | |
| 432 | /-- Let π = `detTwist f γ` be the representation of U(ε) on the Fock space in which g acts by |
| 433 | det(g)^γ · `realWeil` (f g), the Weil representation of U(ε′) pulled back along the homomorphism `f` |
| 434 | and twisted by the γ-th power of the determinant. Let `z` in U(ε) and its image `f z` in U(ε′) be |
| 435 | positive definite, with `f z` block diagonal for labels `d` of the variables, and let `P ≠ 0` be a |
| 436 | polynomial killed by ∂_i∂_j whenever `i` and `j` have the same label and opposite signs. Then the |
| 437 | matrix coefficient ⟨v_P, π(z) v_P⟩ at the Fock vector v_P = `polyVector ε' P` is a positive real |
| 438 | number. -/ |
| 439 | lemma fockInner_detTwist_pos {κ : Sort*} (d : C → κ) {P : MvPolynomial C ℂ} {z : USign ε} |
| 440 | (hP_ne : P ≠ 0) (hz_pos : (z : Matrix R R ℂ).PosDef) (hfz_pos : (f z : Matrix C C ℂ).PosDef) |
| 441 | (h_block : ∀ i j : C, d i ≠ d j → (f z : Matrix C C ℂ) i j = 0) |
| 442 | (h_harmonic : ∀ i j : C, d i = d j → ε' i ≠ ε' j → pderiv i (pderiv j P) = 0) : |
| 443 | 0 < fockInner (polyVector ε' P) (detTwist f γ z (polyVector ε' P)) := by |
| 444 | -- The determinant of `z` is positive and of modulus one, so the twist `det z ^ γ` is `1`. |
| 445 | have h_det : (z : Matrix R R ℂ).det = 1 := by |
| 446 | simpa using Complex.eq_coe_norm_of_nonneg hz_pos.det_pos.le |
| 447 | suffices h_pos : 0 < fockInner (polyVector ε' P) (realWeil (f z) (polyVector ε' P)) by |
| 448 | simpa [h_det] using h_pos |
| 449 | -- The diagonal blocks of `f z` are positive, so `(complexLinearPart (f z))⁻¹ = b * bᴴ`. |
| 450 | have h_nonneg : 0 ≤ complexLinearPart (f z) := by |
| 451 | have h_proj (η : C → ℤˣ) : 0 ≤ posProj η := by simp [le_iff, posProj, apply_ite] |
| 452 | exact add_nonneg (conjugate_nonneg_of_nonneg hfz_pos.posSemidef.nonneg (h_proj ε')) |
| 453 | (conjugate_nonneg_of_nonneg (by simp [le_iff, hfz_pos.posSemidef]) (h_proj (-ε'))) |
| 454 | obtain ⟨b, hb⟩ : ∃ b : Matrix C C ℂ, (complexLinearPart (f z))⁻¹ = b * bᴴ := |
| 455 | CStarAlgebra.nonneg_iff_eq_mul_star_self.1 h_nonneg.posSemidef.inv.nonneg |
| 456 | have h_subst_ne : linSubst bᴴ P ≠ 0 := fun h_zero ↦ by |
| 457 | -- Substitution by `b`, then by `complexLinearPart (f z)`, undoes substitution by `bᴴ`. |
| 458 | have h_undo : linSubst (complexLinearPart (f z)) (linSubst b (linSubst bᴴ P)) = P := by |
| 459 | simp [← linSubst_mul, ← hb] |
| 460 | simp [h_zero, hP_ne.symm] at h_undo |
| 461 | -- The coefficient is the inverse determinant of the negative block of `f z` times `⟨v_Q, v_P⟩`, |
| 462 | -- where `Q = linSubst (b * bᴴ) P`. Moving `b` to the other side turns the second factor into |
| 463 | -- the square norm of `linSubst bᴴ P`. |
| 464 | have h_coeff : fockInner (polyVector ε' P) (realWeil (f z) (polyVector ε' P)) = |
| 465 | (principalMinor (f z) (ε' · = -1))⁻¹ * |
| 466 | fockPairing ℂ (map (starRingEnd ℂ) (linSubst bᴴ P)) (linSubst bᴴ P) := by |
| 467 | refine (fockMatrixCoeff_eq_fockInner (f z) h_block P h_harmonic P h_harmonic).trans ?_ |
| 468 | rw [hb, linSubst_mul, fockInner_polyVector, map_linSubst, |
| 469 | show b.map (starRingEnd ℂ) = bᴴᵀ from rfl, ← fockPairing_linSubst] |
| 470 | rw [h_coeff] |
| 471 | exact mul_pos (inv_pos.2 (hfz_pos.submatrix Subtype.val_injective).det_pos) |
| 472 | (fockPairing_star_self_pos h_subst_ne) |
| 473 | |
| 474 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {η : ι → ℤˣ} (T : FockDualPair ε ε' ι) |
| 475 | (π : USign ε →* fockSpace η →L[ℂ] fockSpace η) |
| 476 | |
| 477 | /-! ### Oscillator pairs -/ |
| 478 | |
| 479 | /-- π is a strongly continuous representation of U(ε) on the Fock space with variables ι, which |
| 480 | preserves the form `New.Fock.fockInner` and has norm O(‖g‖ ^ |ι|). Its derivative on polynomials is |
| 481 | the row action `New.FockDualPair.oscRows` of the dual pair data `T` (a sign, two constants and a |
| 482 | bijection of R × C with ι), and ⟨v_P, π(z) v_P⟩ > 0 for z positive definite and P ≠ 0 satisfying |
| 483 | `New.FockDualPair.IsTermwiseHarmonic`. -/ |
| 484 | structure _root_.New.OscillatorRep where |
| 485 | /-- π is strongly continuous, preserves the positive definite hermitian form `fockInner`, and has |
| 486 | norm O(‖g‖ ^ |ι|). -/ |
| 487 | unitary_rep : IsUnitaryRep (card ι) π fockInner |
| 488 | /-- On the vectors v_P of polynomials P, the derivative of π is the action `oscRows` on the |
| 489 | rows. -/ |
| 490 | derives : IsDerivedAction π (polyVector η) T.oscRows |
| 491 | /-- ⟨v_P, π(z) v_P⟩ > 0 for z positive definite and P ≠ 0 satisfying `IsTermwiseHarmonic`: no |
| 492 | monomial of P has two variables of one column from rows of opposite signs. -/ |
| 493 | inner_pos (P : MvPolynomial ι ℂ) (z : USign ε) (hP_ne : P ≠ 0) |
| 494 | (hP_harmonic : T.IsTermwiseHarmonic P) (hz_pos : (z : Matrix R R ℂ).PosDef) : |
| 495 | 0 < fockInner (polyVector η P) (π z (polyVector η P)) |
| 496 | |
| 497 | /-- π of U(ε) and π′ of U(ε′) are commuting representations on one Fock space, each a |
| 498 | `New.OscillatorRep`. π acts on the rows, with the data `T`, whose sign is `T.globalSign` and whose |
| 499 | constant on the rows is `T.rowShift`, and π′ acts on the columns, with the data `T.swap`, whose |
| 500 | sign is `-T.globalSign` and whose constant on the rows is `T.columnShift`. -/ |
| 501 | structure _root_.New.OscillatorPair (π' : USign ε' →* fockSpace η →L[ℂ] fockSpace η) extends |
| 502 | OscillatorRep T π where |
| 503 | /-- π' has the same properties for `T.swap`, the columns read as rows. -/ |
| 504 | column_rep : OscillatorRep T.swap π' |
| 505 | /-- π and π' commute. -/ |
| 506 | commute (g : USign ε) (h : USign ε') : Commute (π g) (π' h) |
| 507 | |
| 508 | /-! ### The left and right actions on matrices -/ |
| 509 | |
| 510 | variable {R C : Type} [Fintype R] [DecidableEq R] [Fintype C] [DecidableEq C] {ε : R → ℤˣ} |
| 511 | {ε' : C → ℤˣ} |
| 512 | |
| 513 | /-- Let η be signs on the R × C matrix entries, and `weilDeriv η` the derivative of the Weil |
| 514 | representation on polynomials. It sends `E_ab ⊗ 1`, with `E_ab = single a b 1` a matrix unit in the |
| 515 | rows, to the sum over the columns `c` of the operators `glOp η (a, c) (b, c)`, that is, of the |
| 516 | images under `weilDeriv η` of the matrix units at ((a, c), (b, c)), so `glOp η i j` is A_i B_j. -/ |
| 517 | lemma weilDeriv_single_kronecker_one (η : R × C → ℤˣ) (a b : R) : |
| 518 | weilDeriv η (single a b 1 ⊗ₖ 1) = ∑ c : C, glOp η (a, c) (b, c) := by |
| 519 | simp [weilDeriv, sum_prod_type, single_apply, ite_and, Matrix.one_apply] |
| 520 | |
| 521 | /-- Let η be signs on the R × C matrix entries, and `weilDeriv η` the derivative of the Weil |
| 522 | representation on polynomials. It sends `1 ⊗ E_ab`, with `E_ab = single a b 1` a matrix unit in the |
| 523 | columns, to the sum over the rows `r` of the operators `glOp η (r, a) (r, b)`, that is, of the |
| 524 | images under `weilDeriv η` of the matrix units at ((r, a), (r, b)), so `glOp η i j` is A_i B_j. -/ |
| 525 | lemma weilDeriv_one_kronecker_single (η : R × C → ℤˣ) (a b : C) : |
| 526 | weilDeriv η (1 ⊗ₖ single a b 1) = ∑ r : R, glOp η (r, a) (r, b) := by |
| 527 | simp [weilDeriv, sum_prod_type, single_apply, ite_and, Matrix.one_apply, mul_comm] |
| 528 | |
| 529 | /-- For finite R, C with signs ε, ε′, let U(ε) act on R × C matrices by x ↦ hx (`pairHom ε ε'` at |
| 530 | (1, h)). On the Fock space with sign ε_r ε′_c at the entry (r, c), the representation π : h ↦ (det |
| 531 | h)^γ ω(x ↦ hx) (`detTwist`), with ω = `New.Fock.realWeil`, is a `New.OscillatorRep`, for the data |
| 532 | `New.FockDualPair.std` (sign 1, constants γ and γ′ + |R|): it is unitary, its derivative is the row |
| 533 | action of these data, and ⟨v_P, π(z) v_P⟩ > 0 for positive definite z and nonzero P satisfying |
| 534 | `IsTermwiseHarmonic`. -/ |
| 535 | lemma oscillatorRep_detTwist_inr (γ γ' : ℤ) : |
| 536 | OscillatorRep (FockDualPair.std ε ε' γ γ') |
| 537 | (detTwist ((pairHom ε ε').comp (MonoidHom.inr (USign ε') (USign ε))) γ) := by |
| 538 | refine ⟨isUnitaryRep_detTwist (fun {z} ↦ norm_pairHom_le ε ε' 1 z) (by |
| 539 | simp only [continuous_U_iff_matrix, MonoidHom.comp_apply, MonoidHom.inr_apply, coe_pairHom] |
| 540 | fun_prop [kroneckerMap]), ?_, ?_⟩ |
| 541 | · -- `Y` acts by `Y ⊗ 1`; compare the two actions on the matrix units. |
| 542 | refine isDerivedAction_detTwist (kroneckerBilinear.flip 1) 1 |
| 543 | (ext_linearMap ℂ fun a b ↦ LinearMap.ext_ring <| LinearMap.ext fun Q ↦ ?_) |
| 544 | (fun Y ↦ by simp [coe_pairHom, kroneckerBilinear]) |
| 545 | obtain rfl | h_ne := eq_or_ne a b <;> |
| 546 | simp [kroneckerBilinear, weilDeriv_single_kronecker_one, |
| 547 | oscRows, oscRowsUnit, smul_eq_C_mul, *] |
| 548 | · -- `z ⊗ 1` is positive definite and keeps the columns. |
| 549 | refine fun P z hP_ne hP hz_pos ↦ fockInner_detTwist_pos Prod.snd hP_ne hz_pos |
| 550 | (by simpa [coe_pairHom] using hz_pos.kronecker (PosDef.one (n := C))) |
| 551 | (fun i j hij ↦ by simp [coe_pairHom, one_apply_ne hij]) ?_ |
| 552 | rintro ⟨a, c⟩ ⟨b, -⟩ rfl h_sign |
| 553 | exact hP a b c (by simpa [pairSign] using h_sign) |
| 554 | |
| 555 | /-- For finite R, C with signs ε, ε′, let U(ε′) act on R × C matrices by x ↦ xg⁻¹ (`pairHom ε ε'` at |
| 556 | (g, 1)). On the Fock space with sign ε_r ε′_c at the entry (r, c), the representation |
| 557 | π : g ↦ (det g)^γ′ ω(x ↦ xg⁻¹) (`detTwist`), with ω = `New.Fock.realWeil`, is a `New.OscillatorRep` |
| 558 | for the data `New.FockDualPair.std` with rows and columns exchanged by `swap`: it is unitary, its |
| 559 | derivative is the column action with constant γ′ + |R|, and ⟨v_P, π(z) v_P⟩ > 0 for positive |
| 560 | definite z and nonzero P satisfying `IsTermwiseHarmonic` for the exchanged data. -/ |
| 561 | lemma oscillatorRep_detTwist_inl (γ γ' : ℤ) : |
| 562 | OscillatorRep (FockDualPair.std ε ε' γ γ').swap |
| 563 | (detTwist ((pairHom ε ε').comp (MonoidHom.inl (USign ε') (USign ε))) γ') := by |
| 564 | refine ⟨isUnitaryRep_detTwist (fun {z} ↦ (norm_pairHom_le ε ε' z 1).trans_eq (mul_comm _ _)) (by |
| 565 | rw [continuous_U_iff_matrix]; simp only [MonoidHom.comp_apply, MonoidHom.inl_apply, coe_pairHom, |
| 566 | ← Matrix.coe_units_inv] |
| 567 | fun_prop [kroneckerMap, Units.continuous_coe_inv]), ?_, |
| 568 | fun P z hP_ne hP hz_pos ↦ ?_⟩ |
| 569 | · -- `Y` acts by `-(1 ⊗ Yᵀ)`; compare the two actions on the matrix units. |
| 570 | refine isDerivedAction_detTwist |
| 571 | (-kroneckerBilinear 1 ∘ₗ (transposeLinearEquiv C C ℂ ℂ).toLinearMap) (-1) |
| 572 | (ext_linearMap ℂ fun a b ↦ LinearMap.ext_ring ?_) fun Y ↦ ?_ |
| 573 | · suffices h_unit : (FockDualPair.std ε ε' γ γ').swap.oscRows.E a b = |
| 574 | -weilDeriv (pairSign 1 ε ε') (1 ⊗ₖ single b a 1) + |
| 575 | (γ' : ℂ) • (single a b (1 : ℂ)).trace • 1 by |
| 576 | simpa [GlModule.E, kroneckerBilinear] using h_unit |
| 577 | rw [weilDeriv_one_kronecker_single, swap_oscRows_E] |
| 578 | -- The commutation relations `canonical_commutation` shift `γ'` by `card R`. |
| 579 | refine LinearMap.ext fun Q ↦ ?_ |
| 580 | obtain rfl | h_ne := eq_or_ne a b <;> |
| 581 | simp [glOp, add_comm, smul_eq_C_mul, Finset.sum_add_distrib, |
| 582 | canonical_commutation, *] |
| 583 | · simp [coe_pairHom, exp_neg, kroneckerBilinear] |
| 584 | · -- `1 ⊗ z⁻¹ᵀ` is positive definite and keeps the rows. |
| 585 | refine fockInner_detTwist_pos Prod.fst hP_ne hz_pos ?_ (fun i j hij ↦ ?_) ?_ |
| 586 | · simpa [coe_pairHom] using (PosDef.one (n := R)).kronecker hz_pos.inv.transpose |
| 587 | · simp [coe_pairHom, one_apply_ne hij] |
| 588 | · rintro ⟨r, a⟩ ⟨-, b⟩ rfl h_sign |
| 589 | exact hP a b r (by simpa [pairSign] using h_sign) |
| 590 | |
| 591 | /-- For finite R, C with signs ε, ε′, consider the Fock space of R × C matrices, with sign ε_r ε′_c |
| 592 | at the entry (r, c). The representations h ↦ (det h)^γ ω(x ↦ hx) of U(ε) and g ↦ (det g)^γ′ |
| 593 | ω(x ↦ xg⁻¹) of U(ε′) (`detTwist` along `pairHom ε ε'`), with ω = `New.Fock.realWeil`, form a |
| 594 | `New.OscillatorPair`. That is, they commute, and each is a `New.OscillatorRep`: the first for the |
| 595 | data below, the second for their `swap` (rows and columns exchanged). The data are |
| 596 | `New.FockDualPair.std` (sign 1, constants γ and γ′ + |R|). For this data E_ab acts on the rows by |
| 597 | ∑_c raiseOp(a,c) lowerOp(b,c) + γ δ_ab and on the columns by −∑_r raiseOp(r,b) lowerOp(r,a) + γ′ |
| 598 | δ_ab. -/ |
| 599 | lemma oscillatorPair_detTwist {γ γ' : ℤ} : |
| 600 | OscillatorPair (FockDualPair.std ε ε' γ γ') |
| 601 | (detTwist ((pairHom ε ε').comp (MonoidHom.inr (USign ε') (USign ε))) γ) |
| 602 | (detTwist ((pairHom ε ε').comp (MonoidHom.inl (USign ε') (USign ε))) γ') := by |
| 603 | refine ⟨oscillatorRep_detTwist_inr γ γ', oscillatorRep_detTwist_inl γ γ', fun h g ↦ ?_⟩ |
| 604 | have h_comm : ((1, h) : USign ε' × USign ε) * (g, 1) = (g, 1) * (1, h) := by simp |
| 605 | simp [commute_iff_eq, mul_comm, ← map_mul, smul_smul, h_comm] |
| 606 | |
| 607 | /-- Let R, C be finite and g a complex R × R matrix. The `principalMinor` (determinant of the |
| 608 | principal submatrix) of `g ⊗ₖ 1` on the indices in R × C satisfying `p` is the product over the |
| 609 | columns `c` of the principal minors of `g` on the rows `r` with `p (r, c)`. -/ |
| 610 | lemma principalMinor_kronecker_one (g : Matrix R R ℂ) (p : R × C → Prop) [DecidablePred p] : |
| 611 | principalMinor (g ⊗ₖ 1) p = ∏ c : C, principalMinor g fun r : R ↦ p (r, c) := by |
| 612 | -- `g ⊗ₖ 1` is block diagonal with all blocks equal to `g`; swap the two indices. |
| 613 | rw [kronecker_one, ← principalMinor_submatrix (Equiv.prodComm C R)] |
| 614 | exact principalMinor_blockDiagonal _ _ |
| 615 | |
| 616 | end New.Fock |