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 TauCeti.MeasureTheory.Measure.Lebesgue.EqHaar |
| 4 | import TauCeti.Analysis.SpecialFunctions.Gaussian.Reproducing |
| 5 | public import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic |
| 6 | public import Mathlib.Analysis.LocallyConvex.AbsConvexOpen |
| 7 | public import Mathlib.RingTheory.Coalgebra.IsFrobenius |
| 8 | public import Mathlib.RingTheory.HopfAlgebra.Basic |
| 9 | import Mathlib.Algebra.Order.Star.Real |
| 10 | import Mathlib.Analysis.Calculus.LineDeriv.Basic |
| 11 | import Mathlib.MeasureTheory.Integral.Pi |
| 12 | import TauCeti.MeasureTheory.Constructions.Pi |
| 13 | import Mathlib.RingTheory.Coalgebra.CoassocSimps |
| 14 | import Mathlib.RingTheory.SimpleRing.Principal |
| 15 | import Mathlib.Topology.Separation.CompletelyRegular |
| 16 | import Mathlib.Topology.Sheaves.Presheaf |
| 17 | public import TauCeti.Topology.Instances.Matrix -- shake: keep (needed public by an exposed definition) |
| 18 | public import Lib.General.LinearAlgebra.HermitianMatrices |
| 19 | public import Lib.Weil.Construction.WeilOperators |
| 20 | public import Lib.General.Analysis.GaussianIntegral |
| 21 | import Lib.Base |
| 22 | import Lib.General.Analysis.HolomorphicIntegrals |
| 23 | import Lib.General.Measure.IntegralOperators |
| 24 | import Lib.General.Topology |
| 25 | |
| 26 | /-! |
| 27 | # The Fock model of the Weil representation of U(ε) at a real place |
| 28 | |
| 29 | For signs ε : ι → {±1}, this file builds the Fock model of the Weil representation of the unitary |
| 30 | group U(ε) = `New.USign` ε. The polynomial vectors v_P(x) = P(ζ(x)) exp(−|x|²/2), where ζ = |
| 31 | `New.Fock.holomorphicCoord` ε conjugates the positive coordinates, lie in the Fock space. Products |
| 32 | along splittings of the coordinates and over real places are compatible with polynomial vectors. |
| 33 | |
| 34 | ## Main definitions and results |
| 35 | |
| 36 | * `New.Fock.realMultiplier`, `New.Fock.norm_realMultiplier_le`: the multiplier of the Weil |
| 37 | representation, the conjugate of the negative minor, is bounded by ‖u‖^{|ι|}. |
| 38 | * `New.Fock.realAction`: the unitary group `U(ε)` acts on the datum in the sense of |
| 39 | `New.Heisenberg.MultiplierAction`, with multiplier `New.Fock.realMultiplier` (the conjugate |
| 40 | determinant of the negative block) and cocycle `1`. |
| 41 | * `New.Fock.fockSpace`, `New.Fock.realWeil`, `New.Fock.realHeisenbergOp`, `New.Fock.vacVector`, |
| 42 | `New.Fock.fockInner`: the space, the Weil representation of U(ε), the Heisenberg action, the |
| 43 | vacuum, the inner product. |
| 44 | * `New.Fock.polyVector`: the vector v_P(x) = P(ζ(x)) exp(−|x|²/2) of a polynomial P. It lies in the |
| 45 | Fock space because derivatives of the Heisenberg action on the vacuum produce all polynomials. |
| 46 | * `New.Fock.polyVector_injective`: P ↦ v_P is injective. |
| 47 | * `New.Fock.piTensor`: the product of a family indexed by `T` (the real places), a vector on |
| 48 | `T × ι`; it is compatible with polynomials and inner products. |
| 49 | * `New.Fock.blockU`, `New.Fock.realWeil_piTensor`: block diagonal unitary matrices act factor by |
| 50 | factor. |
| 51 | |
| 52 | Notions from other files: |
| 53 | * `New.Heisenberg`: A continuous function β on W × W, W a topological abelian group, with values of |
| 54 | modulus one, multiplicative in each variable, and β(x,x) = 1. |
| 55 | * `New.Fock.normalizedVolume`: Lebesgue measure on `ι → ℂ` divided by `π ^ card ι`. |
| 56 | * `New.principalMinor`: the determinant of the block of a square matrix on the indices that |
| 57 | satisfy a condition. |
| 58 | * `New.Heisenberg.IsVacuum.modelSubmodule`: The complex subspace of integrable functions v on W |
| 59 | satisfying the reproducing identity v(x) = ∫ v(y) β(y,x) e(x−y) dμ(y) for every x, where β is the |
| 60 | bicharacter, e the vacuum and μ the measure. |
| 61 | |
| 62 | ## Relation to the literature |
| 63 | |
| 64 | Known; see `Lib.Weil.Fock.OscillatorPair` for sources. |
| 65 | -/ |
| 66 | |
| 67 | @[expose] public section |
| 68 | |
| 69 | noncomputable section |
| 70 | |
| 71 | /-! |
| 72 | ## The real Heisenberg datum and creation and annihilation operators |
| 73 | |
| 74 | * `New.Fock.realHeisenberg`, `New.Fock.realVac`: the bicharacter β(x,y) = exp(i Im y*εx) on ℂ^ι and |
| 75 | the Gaussian exp(−|x|²/2). |
| 76 | * `New.Fock.posProj`, `New.Fock.holomorphicCoord`: the projection on the coordinates of sign +1, and |
| 77 | the map that conjugates these coordinates. |
| 78 | * `New.Fock.raiseOp`, `New.Fock.lowerOp`, `New.Fock.glOp`: the operators A_a, B_b on polynomials |
| 79 | (one multiplies by the variable, the other differentiates, according to the sign) and A_a B_b. |
| 80 | -/ |
| 81 | |
| 82 | section FockBasic |
| 83 | |
| 84 | open Matrix Complex MvPolynomial |
| 85 | |
| 86 | namespace New.Fock |
| 87 | |
| 88 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] (ε : ι → ℤˣ) (x : ι → ℂ) (a b : ι) |
| 89 | |
| 90 | /-- For signs ε, the Heisenberg datum on ℂ^ι given by the continuous unit-modulus bicharacter |
| 91 | β(x,y) = exp((y*εx − x*εy)/2) = exp(i Im y*εx). -/ |
| 92 | def realHeisenberg : Heisenberg (ι → ℂ) where |
| 93 | β x y := Complex.exp ((star y ⬝ᵥ signMatrix ε *ᵥ x - star x ⬝ᵥ signMatrix ε *ᵥ y) / 2) |
| 94 | add_left x x' y := by |
| 95 | simp [← exp_add, mulVec_add] |
| 96 | grind |
| 97 | add_right x y y' := by |
| 98 | simp [← exp_add, mulVec_add] |
| 99 | grind |
| 100 | self_eq_one x := by simp |
| 101 | norm_eq_one x y := by |
| 102 | -- The exponent is purely imaginary. |
| 103 | simp [signMatrix, dotProduct, mulVec_diagonal, norm_exp, Finset.sum_add_distrib, sub_eq_zero] |
| 104 | grind |
| 105 | cont := by fun_prop |
| 106 | |
| 107 | /-- The function on ℂ^ι sending x to exp(−|x|²/2). -/ |
| 108 | def realVac : ℂ := Complex.exp (-(star x ⬝ᵥ x) / 2) |
| 109 | |
| 110 | omit [DecidableEq ι] in |
| 111 | /-- The real vacuum has modulus `exp (-|x|² / 2)`. -/ |
| 112 | lemma _root_.New.norm_realVac (y : ι → ℂ) : |
| 113 | ‖realVac y‖ = Real.exp (-(∑ i : ι, ‖y i‖ ^ 2) / 2) := by |
| 114 | rw [realVac, star_dotProduct_self_eq_sum, Complex.norm_exp] |
| 115 | norm_cast |
| 116 | |
| 117 | /-- The diagonal complex matrix P₊ with entry 1 where ε_i = 1 and 0 elsewhere; for −ε it is the |
| 118 | projection P₋ on the negative coordinates. -/ |
| 119 | def posProj : Matrix ι ι ℂ := diagonal fun i ↦ if ε i = 1 then 1 else 0 |
| 120 | |
| 121 | /-- For signs ε and x in ℂ^ι, the vector whose i-th coordinate is the conjugate of xᵢ if εᵢ = 1 |
| 122 | and xᵢ otherwise. -/ |
| 123 | def holomorphicCoord : (ι → ℂ) →L[ℝ] ι → ℂ := |
| 124 | (1 + |
| 125 | mulVecBilin ℝ ℝ (posProj ε) * ((starL' ℝ).toLinearEquiv.toLinearMap - 1)).toContinuousLinearMap |
| 126 | |
| 127 | lemma holomorphicCoord_eq : holomorphicCoord ε x = fun i : ι ↦ |
| 128 | if ε i = 1 then star x i else x i := by |
| 129 | aesop (add simp [holomorphicCoord, posProj]) (add simp mulVec_diagonal) |
| 130 | |
| 131 | /-- For signs ε and index a, the linear operator on complex polynomials: multiplication by X_a |
| 132 | if ε_a = 1, otherwise −∂/∂X_a. -/ |
| 133 | def raiseOp : MvPolynomial ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ := |
| 134 | if ε a = 1 then .mulLeft ℂ (X a) else -(pderiv a).toLinearMap |
| 135 | |
| 136 | /-- For signs ε and index a, the linear operator on complex polynomials: ∂/∂X_a if ε_a = 1, |
| 137 | otherwise multiplication by X_a. -/ |
| 138 | def lowerOp : MvPolynomial ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ := |
| 139 | if ε a = 1 then (pderiv a).toLinearMap else LinearMap.mulLeft ℂ (X a) |
| 140 | |
| 141 | /-- For signs ε and indices a, b, the composite A_a∘B_b on polynomials, with A_a = X_a or −∂_a and |
| 142 | B_b = ∂_b or X_b according as the sign is positive or negative. -/ |
| 143 | def glOp : MvPolynomial ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ := raiseOp ε a * lowerOp ε b |
| 144 | |
| 145 | /-- For signs ε, the complex-linear map from ι×ι matrices to operators on polynomials, u ↦ |
| 146 | Σ_{a,b} u_{ab} A_a B_b. It is the derivative of the Weil representation on polynomial vectors |
| 147 | (`New.Fock.hasDerivAt_realWeil`). -/ |
| 148 | def weilDeriv : Matrix ι ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ := |
| 149 | ∑ a : ι, ∑ b : ι, (entryLinearMap ℂ ℂ a b).smulRight (glOp ε a b) |
| 150 | |
| 151 | /-- For signs ε and x in ℂ^ι, the operator Σᵢ (conj(ζᵢ(x))·Xᵢ − ζᵢ(x)·∂/∂Xᵢ) on complex |
| 152 | polynomials, where ζ = `holomorphicCoord ε`, written through `raiseOp` and `lowerOp`. It is the |
| 153 | derivative dρ(x) of the Heisenberg action on polynomial vectors |
| 154 | (`New.Fock.hasDerivAt_realHeisenbergOp`). -/ |
| 155 | def heisenbergDeriv : MvPolynomial ι ℂ →ₗ[ℂ] MvPolynomial ι ℂ := |
| 156 | ∑ i : ι, (x i • raiseOp ε i - star (x i * ε i) • lowerOp ε i) |
| 157 | |
| 158 | end New.Fock |
| 159 | |
| 160 | end FockBasic |
| 161 | |
| 162 | /-! |
| 163 | ## Positive and negative projections and the real multiplier |
| 164 | |
| 165 | Matrix facts for the unitary group U(ε) = `New.USign` ε of the diagonal matrix of signs ε. |
| 166 | P₊ = `New.Fock.posProj` ε is the projection on the positive coordinates, and P₋ = 1 − P₊ the |
| 167 | projection on the negative coordinates. |
| 168 | |
| 169 | * `New.Fock.signMatrix_eq_posProj_sub`: the matrix of signs is P₊ − P₋. |
| 170 | * `New.Fock.principalMinor_sign_eq_det`: the minor on the negative indices is det(P₊ + P₋u). |
| 171 | * `New.Fock.norm_realMultiplier_le`: the multiplier, the conjugate of that minor, is at most |
| 172 | ‖u‖^{|ι|}. |
| 173 | -/ |
| 174 | |
| 175 | section FockSignProjections |
| 176 | |
| 177 | open Matrix Fintype Norms.L2Operator |
| 178 | |
| 179 | namespace New.Fock |
| 180 | |
| 181 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} (u : USign ε) |
| 182 | |
| 183 | @[simp] |
| 184 | lemma posProj_mul_posProj : posProj ε * posProj ε = posProj ε := by |
| 185 | simp [posProj] |
| 186 | |
| 187 | omit [Fintype ι] in |
| 188 | @[simp] |
| 189 | lemma conjTranspose_posProj : (posProj ε)ᴴ = posProj ε := by |
| 190 | simp [posProj] |
| 191 | |
| 192 | attribute [simp] conjTranspose_signMatrix |
| 193 | |
| 194 | omit [Fintype ι] in |
| 195 | theorem signMatrix_eq_posProj_sub : signMatrix ε = posProj ε - (1 - posProj ε) := by |
| 196 | -- Both sides are diagonal; compare the entries where εᵢ = 1 and where εᵢ = -1. |
| 197 | rw [signMatrix, posProj, ← diagonal_one, diagonal_sub, diagonal_sub] |
| 198 | congr 1 |
| 199 | funext i |
| 200 | rcases Int.units_eq_one_or (ε i) with h_sign | h_sign <;> simp [h_sign] |
| 201 | |
| 202 | /-- The principal minor of a matrix u on the indices of sign −1 is det(P₊ + P₋u), where |
| 203 | P₋ = 1 − P₊. -/ |
| 204 | theorem principalMinor_sign_eq_det (u : Matrix ι ι ℂ) : |
| 205 | principalMinor u (ε · = -1) = (posProj ε + (1 - posProj ε) * u).det := by |
| 206 | -- The minor is `det (1 - D * (1 - u))`, with `D` the projection on the negative indices; |
| 207 | -- since `D = 1 - P₊`, this matrix is `P₊ + (1 - P₊) * u`. |
| 208 | have h_neg_proj : diagonal (fun i : ι ↦ if ε i = -1 then (1 : ℂ) else 0) = 1 - posProj ε := by |
| 209 | ext i j |
| 210 | rcases Int.units_eq_one_or (ε i) with h_sign | h_sign <;> |
| 211 | simp [posProj, diagonal_apply, Matrix.one_apply, h_sign] |
| 212 | rw [principalMinor_eq_det, h_neg_proj] |
| 213 | congr 1 |
| 214 | noncomm_ring |
| 215 | |
| 216 | /-- For u in the unitary group U(ε), the complex conjugate of the determinant of the block of u on |
| 217 | the indices of sign −1. -/ |
| 218 | noncomputable def realMultiplier : ℂ := starRingEnd ℂ (principalMinor u (ε · = -1)) |
| 219 | |
| 220 | /-- For u in the unitary group U(ε), the multiplier `realMultiplier u` has modulus at most |
| 221 | ‖u‖^{|ι|}, where ‖u‖ is the operator norm of the matrix of u. -/ |
| 222 | theorem norm_realMultiplier_le : ‖realMultiplier u‖ ≤ ‖u.val.val‖ ^ card ι := by |
| 223 | have h_minor : ‖realMultiplier u‖ ≤ ‖u.val.val‖ ^ card {i // ε i = -1} := by |
| 224 | simpa only [realMultiplier, RCLike.norm_conj] using norm_principalMinor_le_pow |
| 225 | -- the exponent may be raised, since `1 ≤ ‖u‖` when `ι` is nonempty |
| 226 | refine h_minor.trans ?_ |
| 227 | cases isEmpty_or_nonempty ι |
| 228 | · simp |
| 229 | · exact pow_le_pow_right₀ (U.one_le_norm u) (card_subtype_le _) |
| 230 | |
| 231 | end New.Fock |
| 232 | |
| 233 | end FockSignProjections |
| 234 | |
| 235 | /-! |
| 236 | ## The Gaussian vacuum |
| 237 | |
| 238 | * `New.Fock.beta_mul_realVac`: the translated Gaussian is the reproducing kernel `exp (ζ(y)* ζ(x))` |
| 239 | times two Gaussians, where `ζ = New.Fock.holomorphicCoord ε` conjugates the positive coordinates. |
| 240 | * `New.Fock.integral_exp_holomorphicCoord`: the reproducing formula for exponentials, a Gaussian |
| 241 | integral. |
| 242 | * `New.Fock.isVacuum_realVac`: the Gaussian is a vacuum, by these two formulas. |
| 243 | -/ |
| 244 | |
| 245 | section FockVacuum |
| 246 | |
| 247 | open MeasureTheory Matrix Complex ComplexOrder Finset MvPolynomial |
| 248 | |
| 249 | namespace New.Fock |
| 250 | |
| 251 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} |
| 252 | |
| 253 | /-- For the Gaussian e and the real bicharacter β of signs ε, β(y,x) e(x − y) = e(x) e(y) |
| 254 | exp(conj ζ(y) · ζ(x)), with ζ = `New.Fock.holomorphicCoord` ε the holomorphic coordinates. -/ |
| 255 | lemma beta_mul_realVac (x y : ι → ℂ) : |
| 256 | (realHeisenberg ε).β y x * realVac (x - y) = |
| 257 | realVac x * realVac y * exp (star (holomorphicCoord ε y) ⬝ᵥ holomorphicCoord ε x) := by |
| 258 | -- Both sides are exponentials; the exponents agree coordinate by coordinate. |
| 259 | have h_exponent : |
| 260 | (star x ⬝ᵥ signMatrix ε *ᵥ y - star y ⬝ᵥ signMatrix ε *ᵥ x) / 2 + |
| 261 | -(star (x - y) ⬝ᵥ (x - y)) / 2 = |
| 262 | -(star x ⬝ᵥ x) / 2 + -(star y ⬝ᵥ y) / 2 + star (holomorphicCoord ε y) ⬝ᵥ holomorphicCoord ε |
| 263 | x := by |
| 264 | simp [posProj, dotProduct, signMatrix_eq_posProj_sub, sub_mulVec, mulVec_diagonal, |
| 265 | ← sum_sub_distrib, sum_div, ← sum_neg_distrib, ← sum_add_distrib, holomorphicCoord_eq] |
| 266 | grind [conj_conj] |
| 267 | simp only [realHeisenberg, realVac, ← exp_add] |
| 268 | rw [h_exponent] |
| 269 | |
| 270 | omit [DecidableEq ι] in |
| 271 | /-- For every real C, the function u ↦ exp(C‖u‖) exp(−|u|²/2) on ℂ^ι, with ‖u‖ the maximum norm |
| 272 | and |u| the Euclidean norm, is integrable for the normalised Lebesgue measure |
| 273 | `New.Fock.normalizedVolume`. -/ |
| 274 | lemma integrable_exp_mul_realVac (C : ℝ) : |
| 275 | Integrable (fun u : ι → ℂ ↦ Real.exp (C * ‖u‖) * ‖realVac u‖) (normalizedVolume ι) := by |
| 276 | -- The wider diagonal Gaussian `exp (-|u|² / 4)` is integrable. |
| 277 | have h_gauss := TauCeti.integrable_cexp_neg_sum_mul_norm_sq_add |
| 278 | (a := fun _ : ι ↦ (4 : ℂ)⁻¹) (fun _ ↦ by norm_num) 0 0 |
| 279 | have h_int : Integrable (fun u : ι → ℂ ↦ exp (-(4⁻¹ * star u ⬝ᵥ u))) (normalizedVolume ι) := by |
| 280 | simpa [normalizedVolume, star_dotProduct_self_eq_sum, Finset.mul_sum, ofReal_pow] using |
| 281 | h_gauss.smul_measure_nnreal (c := NNReal.pi⁻¹ ^ Fintype.card ι) |
| 282 | refine (h_int.norm.const_mul (C ^ 2).exp).mono' (by fun_prop [realVac]) (.of_forall fun u ↦ ?_) |
| 283 | -- As `realVac u = exp (-|u|² / 2)`, the bound on exponents `C ‖u‖ - |u|² / 2 ≤ C² - |u|² / 4` |
| 284 | -- follows from `C ‖u‖ ≤ C² + ‖u‖² / 4 ≤ C² + |u|² / 4` (sup norm against Euclidean norm). |
| 285 | have h_exponent_le : C * ‖u‖ - (star u ⬝ᵥ u).re / 2 ≤ C ^ 2 - 4⁻¹ * (star u ⬝ᵥ u).re := by |
| 286 | linarith only [norm_sq_le_re_star_dotProduct_self u, sq_nonneg (‖u‖ - 2 * C)] |
| 287 | calc |
| 288 | ‖Real.exp (C * ‖u‖) * ‖realVac u‖‖ = Real.exp (C * ‖u‖ - (star u ⬝ᵥ u).re / 2) := by |
| 289 | simp [realVac, norm_exp, ← Real.exp_add, neg_div, ← sub_eq_add_neg] |
| 290 | _ ≤ Real.exp (C ^ 2 - 4⁻¹ * (star u ⬝ᵥ u).re) := Real.exp_le_exp.mpr h_exponent_le |
| 291 | _ = Real.exp (C ^ 2) * ‖exp (-(4⁻¹ * star u ⬝ᵥ u))‖ := by |
| 292 | simp [norm_exp, ← Real.exp_add, ← sub_eq_add_neg] |
| 293 | |
| 294 | /-- The reproducing formula of Fock space for an exponential. With ζ = `New.Fock.holomorphicCoord` ε |
| 295 | z and F(ζ) = exp(c · ζ), the integral of F(ζ) exp(conj ζ · ζ₀) exp(−|z|²) over z in ℂ^ι, for the |
| 296 | normalised Lebesgue measure `New.Fock.normalizedVolume`, is F(ζ₀). A case of Bargmann's reproducing |
| 297 | formula for entire functions (Folland, *Harmonic Analysis in Phase Space*). -/ |
| 298 | lemma integral_exp_holomorphicCoord (c ζ₀ : ι → ℂ) : |
| 299 | ∫ z : ι → ℂ, exp (c ⬝ᵥ holomorphicCoord ε z) * exp (star (holomorphicCoord ε z) ⬝ᵥ ζ₀) * exp |
| 300 | (-(star z ⬝ᵥ z)) |
| 301 | ∂normalizedVolume ι = exp (c ⬝ᵥ ζ₀) := by |
| 302 | have h_measure : ENNReal.ofReal ((1 / Real.pi) ^ Fintype.card ι) • |
| 303 | (volume : Measure (ι → ℂ)) = normalizedVolume ι := by |
| 304 | rw [normalizedVolume, ← Measure.coe_nnreal_smul, ← ENNReal.ofReal_coe_nnreal] |
| 305 | congr 2 |
| 306 | simp |
| 307 | have h := TauCeti.integral_cexp_reproducing (by norm_num : (0 : ℝ) < 1) |
| 308 | (fun i ↦ decide (ε i = 1)) c ζ₀ |
| 309 | rw [h_measure] at h |
| 310 | simpa [dotProduct, holomorphicCoord_eq, ← conj_mul'] using h |
| 311 | |
| 312 | /-- The Gaussian `New.Fock.realVac` is a vacuum for the Heisenberg datum `New.Fock.realHeisenberg ε` |
| 313 | and the normalised measure `New.Fock.normalizedVolume`. -/ |
| 314 | instance isVacuum_realVac : (realHeisenberg ε).IsVacuum (normalizedVolume ι) realVac := by |
| 315 | have h_cont : Continuous (realVac : (ι → ℂ) → ℂ) := by fun_prop [realVac] |
| 316 | refine |
| 317 | { cont := h_cont |
| 318 | apply_zero := by simp [realVac] |
| 319 | apply_neg := by simp [realVac] |
| 320 | conj_apply := by simp [star_dotProduct_self_eq_sum, ← exp_conj, map_ofNat, realVac] |
| 321 | twisted_conv := fun y x ↦ ?_ |
| 322 | integrable := (integrable_exp_mul_realVac 0).mono' h_cont.aestronglyMeasurable (by simp) } |
| 323 | -- The integrand is `realVac z` times the value at `x` of the vacuum translated by `y`, then by |
| 324 | -- `z`. Two uses of the kernel formula turn it into the integrand of the reproducing formula for |
| 325 | -- the function `ζ ↦ exp (conj ζ(y) · (ζ(x) - ζ))`, whose value at `ζ(x)` is `1`. |
| 326 | have h_beta (z : ι → ℂ) : (realHeisenberg ε).β z y * (realHeisenberg ε).β (z + y) x = |
| 327 | (realHeisenberg ε).β z x * (realHeisenberg ε).β y (x - z) := by |
| 328 | rw [sub_eq_add_neg, Heisenberg.add_left, Heisenberg.add_right, Heisenberg.beta_neg_right] |
| 329 | ring |
| 330 | have h_integrand (z : ι → ℂ) : |
| 331 | realVac z * ((realHeisenberg ε).β z y * |
| 332 | ((realHeisenberg ε).β (z + y) x * realVac (x - (z + y)))) = |
| 333 | realVac y * realVac x * exp (star (holomorphicCoord ε y) ⬝ᵥ holomorphicCoord ε x) * |
| 334 | (exp (-star (holomorphicCoord ε y) ⬝ᵥ holomorphicCoord ε z) * |
| 335 | exp (star (holomorphicCoord ε z) ⬝ᵥ holomorphicCoord ε x) * exp (-(star z ⬝ᵥ z))) := by |
| 336 | calc |
| 337 | _ = realVac z * (realHeisenberg ε).β z x * |
| 338 | ((realHeisenberg ε).β y (x - z) * realVac (x - z - y)) := by |
| 339 | rw [← mul_assoc ((realHeisenberg ε).β z y), h_beta, sub_add_eq_sub_sub] |
| 340 | ring |
| 341 | _ = realVac z * realVac y * ((realHeisenberg ε).β z x * realVac (x - z)) * |
| 342 | exp (star (holomorphicCoord ε y) ⬝ᵥ holomorphicCoord ε (x - z)) := by |
| 343 | rw [beta_mul_realVac] |
| 344 | ring |
| 345 | _ = _ := by |
| 346 | have h_sq : exp (-(star z ⬝ᵥ z)) = realVac z * realVac z := by |
| 347 | rw [realVac, ← exp_add, add_halves] |
| 348 | rw [beta_mul_realVac, map_sub, dotProduct_sub, sub_eq_add_neg, exp_add, neg_dotProduct, |
| 349 | h_sq] |
| 350 | ring |
| 351 | simp_rw [h_integrand, integral_const_mul, integral_exp_holomorphicCoord, mul_assoc, ← exp_add, |
| 352 | neg_dotProduct, add_neg_cancel, exp_zero, mul_one] |
| 353 | |
| 354 | @[simp] |
| 355 | lemma norm_holomorphicCoord (y : ι → ℂ) : ‖holomorphicCoord ε y‖ = ‖y‖ ∧ ∀ i : ι, |
| 356 | ‖holomorphicCoord ε y i‖ = ‖y i‖ := by |
| 357 | simp [norm, apply_ite, holomorphicCoord_eq] |
| 358 | |
| 359 | omit [DecidableEq ι] in |
| 360 | /-- A complex polynomial P in the variables ι grows at most exponentially: there are k in ℕ and C |
| 361 | in ℝ with ‖P(l)‖ ≤ |C| exp(k ‖l‖) for every l in ℂ^ι, where ‖l‖ is the maximum norm. -/ |
| 362 | lemma exists_norm_eval_le_exp (P : MvPolynomial ι ℂ) : |
| 363 | ∃ (k : ℕ) (C : ℝ), ∀ l : ι → ℂ, ‖eval l P‖ ≤ |C| * Real.exp (k * ‖l‖) := by |
| 364 | -- Take `k` the sum of the degrees in the variables, `C` the sum of the norms of the coefficients. |
| 365 | refine ⟨∑ i, P.degreeOf i, ∑ d ∈ P.support, ‖P.coeff d‖, fun l ↦ ?_⟩ |
| 366 | -- Each monomial is at most `exp ‖l‖ ^ k`, as `‖l i‖ ≤ exp ‖l‖` and `1 ≤ exp ‖l‖`. |
| 367 | have h_coord (i : ι) : ‖l i‖ ≤ Real.exp ‖l‖ := by |
| 368 | grw [norm_le_pi_norm l, lt_add_one ‖l‖, Real.add_one_le_exp] |
| 369 | have h_mono (d : ι →₀ ℕ) (hd_support : d ∈ P.support) : |
| 370 | ∏ i, ‖l i‖ ^ d i ≤ Real.exp ‖l‖ ^ ∑ i, P.degreeOf i := by |
| 371 | grw [← prod_pow_eq_pow_sum, h_coord, P.monomial_le_degreeOf _ hd_support] |
| 372 | simp |
| 373 | calc |
| 374 | ‖eval l P‖ ≤ ∑ d ∈ P.support, ‖P.coeff d‖ * ∏ i, ‖l i‖ ^ d i := by |
| 375 | simpa [eval_eq', norm_prod] using |
| 376 | norm_sum_le P.support fun d ↦ P.coeff d * ∏ i, l i ^ d i |
| 377 | _ ≤ ∑ d ∈ P.support, ‖P.coeff d‖ * Real.exp ‖l‖ ^ ∑ i, P.degreeOf i := by |
| 378 | gcongr with d hd_support |
| 379 | exact h_mono d hd_support |
| 380 | _ ≤ _ := by grw [← sum_mul, ← le_abs_self, Real.exp_natCast_mul] |
| 381 | |
| 382 | end New.Fock |
| 383 | |
| 384 | end FockVacuum |
| 385 | |
| 386 | namespace New.Fock |
| 387 | |
| 388 | /-! |
| 389 | ## Unitary action on the real Heisenberg datum and sums of data |
| 390 | |
| 391 | * `New.Fock.realCoordSum`: a splitting of the index set splits the datum and the Gaussian. |
| 392 | * `New.Fock.realAction`: the unitary group U(ε) acts on the datum, with multiplier |
| 393 | `New.Fock.realMultiplier` and trivial cocycle; the cocycle identity is |
| 394 | `New.Fock.realMultiplier_mul_integral_eq_one`, a Gaussian integral on ℂ^ι × ℂ^ι. |
| 395 | -/ |
| 396 | |
| 397 | section FockAction |
| 398 | |
| 399 | open MeasureTheory Matrix Complex ComplexOrder U |
| 400 | |
| 401 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 402 | |
| 403 | /-- For a bijection e : ι₁ ⊕ ι₂ ≃ ι with ε ∘ e = ε₁ ⊕ᵥ ε₂ (hypothesis he), the isomorphism |
| 404 | ℂ^ι₁ × ℂ^ι₂ ≅ ℂ^ι under which β of ε and the Gaussian are the products of those of ε₁, ε₂, packaged |
| 405 | as the structure `(realHeisenberg ε).OrthogonalSum`. -/ |
| 406 | def realCoordSum {ι₁ ι₂ : Type*} [Fintype ι₁] [DecidableEq ι₁] [Fintype ι₂] [DecidableEq ι₂] |
| 407 | {ε : ι → ℤˣ} {ε₁ : ι₁ → ℤˣ} {ε₂ : ι₂ → ℤˣ} {e : ι₁ ⊕ ι₂ ≃ ι} (he : ε ∘ e = ε₁ ⊕ᵥ ε₂) : |
| 408 | (realHeisenberg ε).OrthogonalSum (realHeisenberg ε₁) (realHeisenberg ε₂) realVac where |
| 409 | equiv := |
| 410 | { (LinearEquiv.funCongrLeft ℂ ℂ e ≪≫ₗ LinearEquiv.sumArrowLequivProdArrow |
| 411 | ι₁ ι₂ (ℂ) (ℂ)).symm.toContinuousLinearEquiv with toFun x := (x.1 ⊕ᵥ x.2) ∘ e.symm } |
| 412 | -- Both exponents are sums over `ι`, which split along `e` into sums over `ι₁` and `ι₂`. |
| 413 | beta_equiv := by |
| 414 | simp_all [← exp_add, ← e.sum_comp, funext_iff, dotProduct, signMatrix, realHeisenberg, |
| 415 | mulVec_diagonal] |
| 416 | grind |
| 417 | vac_equiv := by |
| 418 | simp [← exp_add, ← e.sum_comp, dotProduct, realVac] |
| 419 | grind |
| 420 | |
| 421 | @[simp] |
| 422 | lemma unitary_smul_eq_mulVec {ε : ι → ℤˣ} (g : USign ε) (x : ι → ℂ) : g • x = g.val.val *ᵥ x := rfl |
| 423 | |
| 424 | /-- For g and h in U(ε), with k = g h, P₊ = `posProj ε` and T a function with |
| 425 | T(x) = P₊ + (1 − P₊) x, the product of the block matrices (T(h), 1 − P₊; 0, T(k⁻¹) k)ᴴ, |
| 426 | (P₊, P₊ − 1; 1, 1) and (1, 1; −T(h), −T(h) + T(g⁻¹) k) has determinant |
| 427 | `realMultiplier g * realMultiplier h * realMultiplier k⁻¹`. -/ |
| 428 | private lemma det_fromBlocks_mul_fromBlocks_eq_realMultiplier_mul {ε : ι → ℤˣ} (g h : USign ε) |
| 429 | (T : Matrix ι ι ℂ → Matrix ι ι ℂ) |
| 430 | (hT : ∀ x : Matrix ι ι ℂ, T x = posProj ε + (1 - posProj ε) * x) : |
| 431 | (((T h).fromBlocks (1 - posProj ε) 0 (T ↑(g * h)⁻¹ * ((g * h : USign ε) : Matrix ι ι ℂ)))ᴴ * |
| 432 | (posProj ε).fromBlocks (posProj ε - 1) 1 1 * |
| 433 | fromBlocks 1 1 (-T h) (-T h + T ↑g⁻¹ * ((g * h : USign ε) : Matrix ι ι ℂ))).det = |
| 434 | realMultiplier g * realMultiplier h * realMultiplier (g * h)⁻¹ := by |
| 435 | set k : USign ε := g * h |
| 436 | -- The determinants of the three factors are `conj (det (T h) * det (T k⁻¹) * det k)`, `1` and |
| 437 | -- `det (T g⁻¹) * det k`. Here `conj (det (T x)) = realMultiplier x`, |
| 438 | -- `det (T x⁻¹) = realMultiplier x`, and `det k` has modulus one. |
| 439 | have h_conj_det_T (x : USign ε) : starRingEnd ℂ (T x).det = realMultiplier x := by |
| 440 | rw [hT, realMultiplier, principalMinor_sign_eq_det] |
| 441 | have h_det_T_inv (x : USign ε) : (T ↑x⁻¹).det = realMultiplier x := by |
| 442 | rw [hT, realMultiplier, ← principalMinor_coe_inv, principalMinor_sign_eq_det] |
| 443 | have h_det_k : starRingEnd ℂ (k : Matrix ι ι ℂ).det * (k : Matrix ι ι ℂ).det = 1 := by |
| 444 | simp [conj_mul', U.norm_det k] |
| 445 | -- In the last two factors the Schur complements are `1` and `T g⁻¹ * k`. |
| 446 | have h_middle : posProj ε - (posProj ε - 1) * 1 = 1 := by simp |
| 447 | have h_last : |
| 448 | -T h + T ↑g⁻¹ * (k : Matrix ι ι ℂ) - -T h * 1 = T ↑g⁻¹ * (k : Matrix ι ι ℂ) := by simp |
| 449 | rw [det_mul, det_mul, det_conjTranspose, det_fromBlocks_zero₂₁, det_fromBlocks_one₂₂, |
| 450 | det_fromBlocks_one₁₁, h_middle, h_last, det_one, det_mul, det_mul] |
| 451 | rw [Complex.star_def, map_mul, map_mul, h_conj_det_T h, h_conj_det_T k⁻¹, h_det_T_inv g] |
| 452 | linear_combination (realMultiplier g * realMultiplier h * realMultiplier k⁻¹) * h_det_k |
| 453 | |
| 454 | /-- The cocycle identity for the multiplier `realMultiplier`: for g and h in U(ε), the product |
| 455 | `realMultiplier g * realMultiplier h * realMultiplier (g * h)⁻¹` times the double integral |
| 456 | ∫∫ e(h x) e(g h y) β(x, y) e(x + y) dx dy is 1. Here e is the Gaussian `New.Fock.realVac`, β the |
| 457 | bicharacter of `New.Fock.realHeisenberg` ε, and both integrals are for `New.Fock.normalizedVolume`; |
| 458 | the double integral is a Gaussian integral on `ℂ^ι × ℂ^ι`. -/ |
| 459 | lemma realMultiplier_mul_integral_eq_one {ε : ι → ℤˣ} (g h : USign ε) : |
| 460 | realMultiplier g * realMultiplier h * realMultiplier (g * h)⁻¹ * |
| 461 | ∫ x : ι → ℂ, ∫ y : ι → ℂ, realVac (h • x) * realVac ((g * h) • y) * (realHeisenberg ε).β x y * |
| 462 | realVac (x + y) ∂normalizedVolume ι ∂normalizedVolume ι = 1 := by |
| 463 | -- The integrand is a Gaussian `exp (-z* A z)` in `z = (x, y)`, with `A` accretive. The |
| 464 | -- Gaussian integral is `(det A)⁻¹`, and a factorisation of `A` into three block matrices gives |
| 465 | -- `det A = realMultiplier g * realMultiplier h * realMultiplier (g * h)⁻¹`. |
| 466 | set k : USign ε := g * h |
| 467 | let J : Matrix (ι ⊕ ι) (ι ⊕ ι) ℂ := fromBlocks (h : Matrix ι ι ℂ) 0 0 (k : Matrix ι ι ℂ) |
| 468 | let A : Matrix (ι ⊕ ι) (ι ⊕ ι) ℂ := |
| 469 | ofReal 2⁻¹ • (Jᴴ * J + fromBlocks 1 (1 + signMatrix ε) (1 - signMatrix ε) 1) |
| 470 | -- `A + Aᴴ = Jᴴ J + (1 1; 1 1)` is positive definite: `Jᴴ J` is positive definite as `J` is |
| 471 | -- invertible, and `(1 1; 1 1)` is positive semidefinite. |
| 472 | have hA_pos : A.IsAccretive := by |
| 473 | have hA_add : A + Aᴴ = Jᴴ * J + (1 : Matrix ι ι ℂ).submatrix (id ⊕ᵥ id) (id ⊕ᵥ id) := by |
| 474 | simp [A, J, ← ext_iff, fromBlocks_conjTranspose, fromBlocks_multiply, fromBlocks_smul, |
| 475 | Matrix.one_apply] |
| 476 | grind |
| 477 | rw [IsAccretive, hA_add] |
| 478 | exact (PosDef.conjTranspose_mul_self J |
| 479 | (by simp [J, mulVec_injective_iff_isUnit])).add_posSemidef (PosSemidef.one.submatrix _) |
| 480 | -- A factorisation of `A` into three block matrices, from the unitarity of `h` and `k`. |
| 481 | let T (x : Matrix ι ι ℂ) : Matrix ι ι ℂ := posProj ε + (1 - posProj ε) * x |
| 482 | have h_blocks : |
| 483 | ofReal 2⁻¹ • fromBlocks ((h : Matrix ι ι ℂ)ᴴ * signMatrix ε * (h : Matrix ι ι ℂ)) 0 0 |
| 484 | (-((k : Matrix ι ι ℂ)ᴴ * signMatrix ε * (k : Matrix ι ι ℂ))) = |
| 485 | ofReal 2⁻¹ • fromBlocks (signMatrix ε) 0 0 (-signMatrix ε) := by |
| 486 | rw [← star_eq_conjTranspose, ← star_eq_conjTranspose, mem_unitaryGroupOf_iff.mp h.prop, |
| 487 | mem_unitaryGroupOf_iff.mp k.prop] |
| 488 | have hA_factor : |
| 489 | A = ((T h).fromBlocks (1 - posProj ε) 0 (T ↑k⁻¹ * (k : Matrix ι ι ℂ)))ᴴ * |
| 490 | (posProj ε).fromBlocks (posProj ε - 1) 1 1 * |
| 491 | fromBlocks 1 1 (-T h) (-T h + T ↑g⁻¹ * (k : Matrix ι ι ℂ)) := by |
| 492 | -- The difference of the two sides is half of `diag (hᴴ ε h - ε, ε - kᴴ ε k) = 0`: expand both |
| 493 | -- sides block by block, with `ε = P₊ - (1 - P₊)`, and compare the four blocks. |
| 494 | linear_combination (norm := |
| 495 | (simp +zetaDelta [mul_sub, mul_add, add_mul, signMatrix_eq_posProj_sub, sub_mul, |
| 496 | ← mul_assoc (posProj _) (posProj _), fromBlocks_conjTranspose, fromBlocks_multiply, |
| 497 | mul_assoc, fromBlocks_smul, fromBlocks_add, sub_eq_zero] |
| 498 | split_ands <;> module) ) h_blocks |
| 499 | have hA_det : realMultiplier g * realMultiplier h * realMultiplier k⁻¹ = A.det := by |
| 500 | rw [hA_factor] |
| 501 | exact (det_fromBlocks_mul_fromBlocks_eq_realMultiplier_mul g h T fun x ↦ rfl).symm |
| 502 | -- The Gaussian integral over `ι ⊕ ι → ℂ`, written as an iterated integral. |
| 503 | have h_gauss : A.det * ∫ z : ι ⊕ ι → ℂ, |
| 504 | cexp (-(star z ⬝ᵥ A *ᵥ z)) ∂normalizedVolume (ι ⊕ ι) = 1 := by |
| 505 | simpa [field, mul_comm, hA_pos.det_ne_zero] using integral_gauss hA_pos 0 |
| 506 | let S : (realHeisenberg (ε ⊕ᵥ ε)).OrthogonalSum (realHeisenberg ε) (realHeisenberg ε) realVac := |
| 507 | realCoordSum (e := .refl _) (ε ⊕ᵥ ε).comp_id |
| 508 | rw [S.integral_eq_integral_prod] at h_gauss |
| 509 | rw [integral_prod _ (.of_integral_ne_zero (right_ne_zero_of_mul_eq_one h_gauss))] at h_gauss |
| 510 | -- It remains to compare the integrands, which have the same exponent. |
| 511 | have h_integrand (x y : ι → ℂ) : |
| 512 | realVac (h • x) * realVac (k • y) * (realHeisenberg ε).β x y * realVac (x + y) = |
| 513 | cexp (-(star (S.equiv (x, y)) ⬝ᵥ A *ᵥ S.equiv (x, y))) := by |
| 514 | simp [S, A, J, field, realCoordSum, ← exp_add, fromBlocks_mulVec, star_mulVec_dotProduct, |
| 515 | Function.star_sumElim, realVac, realHeisenberg, fromBlocks_conjTranspose, fromBlocks_multiply, |
| 516 | fromBlocks_smul, fromBlocks_add, add_mulVec, smul_mulVec, sub_mulVec] |
| 517 | ring_nf |
| 518 | simpa only [h_integrand, hA_det] using h_gauss |
| 519 | |
| 520 | /-- The linear action of the unitary group `U(ε)` on `ℂ^ι` preserves the bicharacter of |
| 521 | `New.Fock.realHeisenberg ε` and the measure. Its multiplier is `New.Fock.realMultiplier g`, the |
| 522 | conjugate of the determinant of the negative block of `g`, and its cocycle is trivial. -/ |
| 523 | def realAction (ε : ι → ℤˣ) : |
| 524 | (realHeisenberg ε).MultiplierAction (normalizedVolume ι) realVac (USign ε) where |
| 525 | beta_smul := by simp [↓form_mulVec_mulVec, realHeisenberg] |
| 526 | measurePreserving g := |
| 527 | ⟨by fun_prop, by simp [TauCeti.map_mulVec_addHaar_eq_smul g.val.det_ne_zero]⟩ |
| 528 | Δ := realMultiplier |
| 529 | continuous_delta := by fun_prop [realMultiplier] |
| 530 | Δ_one := by simp [realMultiplier] |
| 531 | Δ_inv := by simp [↓principalMinor_coe_inv, realMultiplier] |
| 532 | cocycle := realMultiplier_mul_integral_eq_one |
| 533 | |
| 534 | end FockAction |
| 535 | |
| 536 | /-! |
| 537 | ## Fock space and polynomial vectors |
| 538 | |
| 539 | * `New.Fock.fockSpace`, `New.Fock.realWeil`, `New.Fock.realHeisenbergOp`, `New.Fock.vacVector`, |
| 540 | `New.Fock.fockInner`: the Fock space, the Weil representation of U(ε) and the Heisenberg action |
| 541 | on it, the vacuum, the inner product. |
| 542 | * `New.Fock.polyVector`, `New.Fock.polyVector_injective`: the vector v_P of a polynomial P, and |
| 543 | P ↦ v_P is injective. |
| 544 | * `New.Fock.hasDerivAt_realHeisenbergOp`: the derivative of t ↦ `New.Fock.realHeisenbergOp`(tv)v_P |
| 545 | at 0 is v_Q, where Q is `New.Fock.heisenbergDeriv` ε v P. |
| 546 | -/ |
| 547 | |
| 548 | section FockSpace |
| 549 | |
| 550 | open Complex MvPolynomial Heisenberg IsVacuum Finset Int |
| 551 | |
| 552 | variable {ι : Type _} [Fintype ι] [DecidableEq ι] {ε : ι → ℤˣ} |
| 553 | |
| 554 | /-! ### The Fock space and its operators -/ |
| 555 | |
| 556 | /-- The Fock space: integrable functions c on ℂ^ι with c(x) = ∫ c(y)β(y,x)e(x−y) dy, under the L¹ |
| 557 | norm. Here β is the bicharacter of `New.Fock.realHeisenberg` ε and e is the Gaussian |
| 558 | exp(−|x|²/2). -/ |
| 559 | abbrev fockSpace (ε : ι → ℤˣ) : Type _ := Model (realHeisenberg (ι := ι) ε) |
| 560 | |
| 561 | /-- The Weil representation of U(ε) on the Fock space 𝓕: u sends c to Δ(u) ∫ c(y) ρ(uy) e dy, where |
| 562 | ρ is the Heisenberg action `New.Fock.realHeisenbergOp`, e is the Gaussian and Δ is the multiplier of |
| 563 | `New.Fock.realAction`. -/ |
| 564 | abbrev realWeil : USign ε →* fockSpace ε →L[ℂ] fockSpace ε := weilRep (realAction ε) |
| 565 | |
| 566 | /-- For x in ℂ^ι, the Heisenberg operator on the Fock space 𝓕 sending c to z ↦ β(x,z) c(z − x), |
| 567 | where β is the bicharacter of `New.Fock.realHeisenberg` ε. -/ |
| 568 | abbrev realHeisenbergOp (x : ι → ℂ) : fockSpace ε →L[ℂ] fockSpace ε := heisenbergOp x |
| 569 | |
| 570 | /-- The Gaussian exp(−|x|²/2) regarded as an element of the Fock space. -/ |
| 571 | abbrev vacVector : fockSpace ε := vacElem |
| 572 | |
| 573 | /-- The bounded sesquilinear form on the Fock space, conjugate-linear in the first variable: |
| 574 | (c, c′) ↦ ∫ c̄ c′ for the measure `New.Fock.normalizedVolume`. -/ |
| 575 | abbrev fockInner : fockSpace ε →L⋆[ℂ] fockSpace ε →L[ℂ] ℂ := modelInner |
| 576 | |
| 577 | /-! ### Differentiating the Heisenberg action -/ |
| 578 | |
| 579 | /-- Let f(z, y) = (f₁, f₂) in ℂ^ι × ℂ be jointly continuous in z in the finite-dimensional space E |
| 580 | and y = (s, x) in ℂ × ℂ^ι, holomorphic in z, with f₁ and f₂ homogeneous in y of degrees 1 and 2 for |
| 581 | real scalars, and let a in E satisfy f(a, (s, x)) = (ζ(x), −|x|²/2), ζ = `New.Fock.holomorphicCoord` |
| 582 | ε. Then the Fock-space-valued integral ∫ P(f₁) exp(f₂) `New.Fock.realHeisenbergOp`(x) |
| 583 | `New.Fock.vacVector` dx, with f at (z, (1, x)) and for `New.Fock.normalizedVolume` (Lebesgue measure |
| 584 | divided by π^card ι), is complex differentiable in z at a. -/ |
| 585 | lemma differentiableAt_integral_smul_realHeisenbergOp (ε : ι → ℤˣ) {E : Type*} |
| 586 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] (P : MvPolynomial ι ℂ) |
| 587 | (f : E → ℂ × (ι → ℂ) → (ι → ℂ) × ℂ) {a : E} |
| 588 | (hf_diff : ∀ y : ℂ × (ι → ℂ), Differentiable ℂ fun z : E ↦ f z y) |
| 589 | (hf_cont : Continuous f.uncurry) |
| 590 | (hf_base : ∀ y : ℂ × (ι → ℂ), f a y = (holomorphicCoord ε y.2, -(star y.2 ⬝ᵥ y.2) / 2)) |
| 591 | (hf_homog : ∀ (z : E) (r : ℝ) (y : ℂ × (ι → ℂ)), |
| 592 | f z (r • y) = (r • (f z y).1, r ^ 2 • (f z y).2)) : |
| 593 | DifferentiableAt ℂ |
| 594 | (fun z : E ↦ |
| 595 | ∫ x : ι → ℂ, (eval (f z (1, x)).1 P * exp (f z (1, x)).2) • |
| 596 | realHeisenbergOp x (vacVector : fockSpace ε) ∂normalizedVolume ι) |
| 597 | a := by |
| 598 | -- Differentiate under the integral sign in the complex variable `z` near `a`. The integrand is |
| 599 | -- dominated by `exp (k * ‖x‖)` times a Gaussian of twice the width: on the unit ball its exponent |
| 600 | -- is close to the one at `a`, and this extends to all `x` by homogeneity. |
| 601 | have h_eval_cont : Continuous fun l : ι → ℂ ↦ eval l P := P.continuous_eval |
| 602 | obtain ⟨k, A, h_eval_le⟩ : |
| 603 | ∃ (k : ℕ) (A : ℝ), ∀ l : ι → ℂ, ‖eval l P‖ ≤ |A| * Real.exp (k * ‖l‖) := |
| 604 | exists_norm_eval_le_exp P |
| 605 | -- The expression below vanishes at `z = a` by `hf_base`, as `holomorphicCoord ε` keeps the norm; |
| 606 | -- so it is small near `a` (tube lemma). |
| 607 | have h_small_near_a : ∀ᶠ z in nhds a, ∀ y ∈ Metric.closedBall 0 1, |
| 608 | k * ‖y.1‖ * (‖(f z y).1‖ - ‖y.2‖) + (f z y - f a y).2.re ∈ Set.Iio 4⁻¹ := |
| 609 | (isCompact_closedBall 0 1).eventually_forall_mem _ _ fun y _ ↦ Iio_mem_nhds (by simp [hf_base]) |
| 610 | have h_major_int : MeasureTheory.Integrable |
| 611 | (fun x : ι → ℂ ↦ |A| * Real.exp 1 * ‖(vacVector : fockSpace ε)‖ * |
| 612 | (Real.exp (2 * k * ‖(1 / 2 : ℝ) • x‖) * ‖realVac ((1 / 2 : ℝ) • x)‖)) |
| 613 | (normalizedVolume ι) := |
| 614 | ((integrable_exp_mul_realVac (2 * k)).comp_smul one_half_pos.ne').const_mul _ |
| 615 | refine (analyticAt_integral h_major_int (by fun_prop) ?_).differentiableAt |
| 616 | filter_upwards [h_small_near_a] with z hz_small x |
| 617 | refine ⟨by fun_prop, ?_⟩ |
| 618 | -- Scale `(1, x)` into the unit ball; both terms of `hz_small` are homogeneous of degree two. |
| 619 | have h_scaled : |
| 620 | (k * (‖(f z (1, x)).1‖ - ‖x‖) * 2 + (2 * (f z (1, x)).2.re + (star x ⬝ᵥ x).re)) * 4 < |
| 621 | 2 * (1 ⊔ ‖x‖) ^ 2 := by |
| 622 | have h_abs : |1 ⊔ ‖x‖| = 1 ⊔ ‖x‖ := abs_of_pos (by positivity) |
| 623 | have h_ball := hz_small ((1 ⊔ ‖x‖)⁻¹ • (1, x)) |
| 624 | rw [hf_homog z, hf_homog a] at h_ball |
| 625 | simpa [hf_base, norm_smul, sq, field, h_abs] using h_ball |
| 626 | -- Compare with the exponent of the majorant, where `realVac (x / 2) = exp (-|x|² / 8)`. |
| 627 | have h_exponent_le : |
| 628 | k * ‖(f z (1, x)).1‖ + (f z (1, x)).2.re ≤ 1 + k * ‖x‖ - (star x ⬝ᵥ x).re / 8 := by |
| 629 | have h_sup_sq : (1 ⊔ ‖x‖) ^ 2 ≤ 1 + ‖x‖ ^ 2 := by |
| 630 | rcases le_total 1 ‖x‖ with h_le | h_le <;> simp [h_le] |
| 631 | linarith [norm_sq_le_re_star_dotProduct_self x, sq_nonneg ‖x‖] |
| 632 | calc |
| 633 | _ = ‖eval (f z (1, x)).1 P‖ * Real.exp (f z (1, x)).2.re * ‖(vacVector : fockSpace ε)‖ := by |
| 634 | simp [norm_smul, Rep.norm_map, norm_exp] |
| 635 | _ ≤ |A| * Real.exp (k * ‖(f z (1, x)).1‖ + (f z (1, x)).2.re) * |
| 636 | ‖(vacVector : fockSpace ε)‖ := by grw [h_eval_le, Real.exp_add, mul_assoc |A|] |
| 637 | _ ≤ |A| * Real.exp (1 + k * ‖x‖ - (star x ⬝ᵥ x).re / 8) * ‖(vacVector : fockSpace ε)‖ := by |
| 638 | gcongr |
| 639 | _ = _ := by |
| 640 | simp only [mul_right_comm _ ‖(vacVector : fockSpace ε)‖, mul_assoc |A|, realVac, norm_exp, |
| 641 | ← Real.exp_add] |
| 642 | congr 3 |
| 643 | simp [norm_smul] |
| 644 | ring |
| 645 | |
| 646 | /-- For v and l in ℂ^ι and ζ = `New.Fock.holomorphicCoord` ε, the value at l of the polynomial |
| 647 | `New.Fock.heisenbergDeriv` ε v P is (conj ζ(v) · l) P(l) − ∑_i ζ_i(v) (∂_i P)(l). -/ |
| 648 | private lemma eval_heisenbergDeriv (v l : ι → ℂ) (P : MvPolynomial ι ℂ) : |
| 649 | eval l (heisenbergDeriv ε v P) = star (holomorphicCoord ε v) ⬝ᵥ l * eval l P - |
| 650 | ∑ i : ι, holomorphicCoord ε v i * eval l (pderiv i P) := by |
| 651 | simp only [heisenbergDeriv, LinearMap.sum_apply, map_sum, dotProduct, sum_mul, ← sum_sub_distrib] |
| 652 | refine sum_congr rfl fun i _ ↦ ?_ |
| 653 | rcases units_eq_one_or (ε i) with h_sign | h_sign <;> |
| 654 | simp [h_sign, holomorphicCoord_eq, raiseOp, lowerOp, mul_assoc, neg_add_eq_sub] |
| 655 | |
| 656 | /-- If v_P(x) = P(ζ(x))exp(−|x|²/2), ζ = `New.Fock.holomorphicCoord` ε, lies in the Fock space, then |
| 657 | for v in ℂ^ι so does v_Q, Q = ∑_i (conj(ζ_i(v)) X_i − ζ_i(v) ∂_i)P, and v_Q is the derivative at t = |
| 658 | 0 of t ↦ `New.Fock.realHeisenbergOp`(tv)v_P, t real. Here `hP_mem` and `h_mem` are the memberships |
| 659 | of v_P and v_Q in `New.Heisenberg.IsVacuum.modelSubmodule`, the subspace that is the Fock space. -/ |
| 660 | lemma exists_hasDerivAt_realHeisenbergOp {P : MvPolynomial ι ℂ} (v : ι → ℂ) |
| 661 | (hP_mem : (fun x : ι → ℂ ↦ eval (holomorphicCoord ε x) P) * realVac ∈ modelSubmodule |
| 662 | (realHeisenberg ε)) : |
| 663 | ∃ h_mem : (fun x : ι → ℂ ↦ eval (holomorphicCoord ε x) (heisenbergDeriv ε v P)) * realVac ∈ |
| 664 | modelSubmodule (realHeisenberg ε), |
| 665 | HasDerivAt |
| 666 | (fun t : ℝ ↦ |
| 667 | realHeisenbergOp (t • v) ⟨(fun x : ι → ℂ ↦ P.eval (holomorphicCoord ε x)) * realVac, |
| 668 | hP_mem⟩) |
| 669 | (⟨(fun x : ι → ℂ ↦ (heisenbergDeriv ε v P).eval (holomorphicCoord ε x)) * realVac, h_mem⟩ : |
| 670 | fockSpace ε) |
| 671 | 0 := by |
| 672 | -- The values of `realHeisenbergOp (t • v) u` extend to complex `t`. By |
| 673 | -- `differentiableAt_integral_smul_realHeisenbergOp` the curve has some derivative `D` in the Fock |
| 674 | -- space, found by differentiating pointwise. |
| 675 | set u : fockSpace ε := ⟨(fun x ↦ P.eval (holomorphicCoord ε x)) * realVac, hP_mem⟩ |
| 676 | -- `f t (1, w)` pairs the argument of `P` with the exponent of the Gaussian; the variable `s` |
| 677 | -- makes the two components homogeneous of degrees `1` and `2`. |
| 678 | let f (t : ℂ) : ℂ × (ι → ℂ) → (ι → ℂ) × ℂ := fun (s, w) ↦ |
| 679 | (holomorphicCoord ε w + t • s • -holomorphicCoord ε v, -(star w ⬝ᵥ w) / 2 + |
| 680 | t * s * (star (holomorphicCoord ε v) ⬝ᵥ holomorphicCoord ε w - s * star v ⬝ᵥ v / 2 * t)) |
| 681 | have h_val (t : ℝ) (w : ι → ℂ) : |
| 682 | realHeisenbergOp (t • v) u w = P.eval (f t (1, w)).1 * (f t (1, w)).2.exp := by |
| 683 | -- By `heisenbergOp_apply` the left side is `β (t • v) w * u (w - t • v)`; compare the |
| 684 | -- exponents. |
| 685 | have h_u : u (w - t • v) = eval (holomorphicCoord ε (w - t • v)) P * realVac (w - t • v) := rfl |
| 686 | have h_exponent : realVac w * realVac (t • v) * |
| 687 | exp (star (holomorphicCoord ε (t • v)) ⬝ᵥ holomorphicCoord ε w) = exp (f t (1, w)).2 := by |
| 688 | simp [star_trivial, f, realVac, ← exp_add] |
| 689 | ring_nf |
| 690 | rw [realHeisenbergOp, heisenbergOp_apply, h_u, mul_left_comm, beta_mul_realVac, h_exponent] |
| 691 | simp [f, sub_eq_add_neg] |
| 692 | obtain ⟨⟨D, h_mem⟩, hD⟩ : |
| 693 | ∃ D : fockSpace ε, HasDerivAt (fun t : ℝ ↦ realHeisenbergOp (t • v) u) D 0 := by |
| 694 | have hf_base (y : ℂ × (ι → ℂ)) : |
| 695 | f (0 : ℝ) y = (holomorphicCoord ε y.2, -(star y.2 ⬝ᵥ y.2) / 2) := by simp [f] |
| 696 | have hf_homog : ∀ (t : ℂ) (r : ℝ) (y : ℂ × (ι → ℂ)), |
| 697 | f t (r • y) = (r • (f t y).1, r ^ 2 • (f t y).2) := by |
| 698 | simp [star_trivial, f, _root_.funext_iff, field] |
| 699 | -- The integral is the reproducing formula `integrated_vacElem` for the vector |
| 700 | -- `realHeisenbergOp (t • v) u`. |
| 701 | have h_integral (t : ℝ) : |
| 702 | realHeisenbergOp (t • v) u = ∫ x : ι → ℂ, (eval (f t (1, x)).1 P * exp (f t (1, x)).2) • |
| 703 | realHeisenbergOp x (vacVector : fockSpace ε) ∂normalizedVolume ι := by |
| 704 | simp_rw [← h_val, ← Rep.integrated_apply, integrated_vacElem] |
| 705 | simp_rw [h_integral] |
| 706 | have h_diff := |
| 707 | differentiableAt_integral_smul_realHeisenbergOp ε P f (by fun_prop) (by fun_prop) hf_base |
| 708 | hf_homog |
| 709 | -- Restrict the complex derivative of the integral to real `t`. |
| 710 | exact ⟨_, h_diff.hasDerivAt.scomp (0 : ℝ) (hasDerivAt_id 0).ofReal_comp⟩ |
| 711 | obtain rfl : D = (fun x ↦ (heisenbergDeriv ε v P).eval (holomorphicCoord ε x)) * realVac := by |
| 712 | funext w |
| 713 | -- The argument of `P` moves along a line in the direction `-holomorphicCoord ε v`. |
| 714 | have h_poly : HasDerivAt (fun t : ℂ ↦ eval (f t (1, w)).1 P) |
| 715 | (-∑ i : ι, holomorphicCoord ε v i * eval (holomorphicCoord ε w) (pderiv i P)) 0 := by |
| 716 | simpa [f, HasLineDerivAt, mul_comm] using (hasFDerivAt_mvPolynomial_eval P |
| 717 | (holomorphicCoord ε w)).hasLineDerivAt (-holomorphicCoord ε v) |
| 718 | -- The exponent is a constant plus `t` times a differentiable function of `t`. |
| 719 | have h_exp : HasDerivAt (fun t : ℂ ↦ (f t (1, w)).2) |
| 720 | (star (holomorphicCoord ε v) ⬝ᵥ holomorphicCoord ε w) 0 := by |
| 721 | have h_diff : DifferentiableAt ℂ (fun t : ℂ ↦ |
| 722 | star (holomorphicCoord ε v) ⬝ᵥ holomorphicCoord ε w - star v ⬝ᵥ v / 2 * t) 0 := by |
| 723 | fun_prop |
| 724 | simpa [f] using (hasDerivAt_id' (0 : ℂ)).fun_mul h_diff.hasDerivAt |
| 725 | -- The product rule for the two factors, at real `t`. |
| 726 | have h_deriv : HasDerivAt (fun t : ℝ ↦ eval (f t (1, w)).1 P * exp (f t (1, w)).2) |
| 727 | (eval (holomorphicCoord ε w) (heisenbergDeriv ε v P) * realVac w) 0 := by |
| 728 | refine (h_poly.mul h_exp.cexp).comp_ofReal.congr_deriv ?_ |
| 729 | simp [f, realVac, eval_heisenbergDeriv] |
| 730 | ring |
| 731 | -- By `h_val` this is the derivative of the value of the curve at `w`, which is also `D w`. |
| 732 | simp_rw [← h_val] at h_deriv |
| 733 | exact (hD.map_clm (valueAt w)).unique h_deriv |
| 734 | exact ⟨h_mem, hD⟩ |
| 735 | |
| 736 | /-! ### The polynomial vectors -/ |
| 737 | |
| 738 | /-- The linear map P ↦ v_P from complex polynomials to the Fock space, v_P(x) = P(ζ(x))exp(−|x|²/2), |
| 739 | where ζ(x)_i is x̄_i at positive and x_i at negative coordinates. -/ |
| 740 | def polyVector (ε : ι → ℤˣ) : MvPolynomial ι ℂ →ₗ[ℂ] fockSpace ε := |
| 741 | LinearMap.codRestrict (modelSubmodule (realHeisenberg ε)) |
| 742 | (LinearMap.pi fun x ↦ (aeval (holomorphicCoord ε x)).toLinearMap.smulRight (realVac x)) |
| 743 | fun P ↦ by |
| 744 | induction P using induction_on with |
| 745 | | C c => |
| 746 | convert (c • vacVector).property |
| 747 | ext |
| 748 | simp |
| 749 | | add => aesop |
| 750 | | mul_X P i hP => |
| 751 | -- The derivative along `holomorphicCoord ε (Pi.single i c)` is the vector of the polynomial |
| 752 | -- `conj c • X i * P - c • pderiv i P`, for either sign of `i`. Multiply by `c / 2` and add |
| 753 | -- the cases `c = 1` and `c = I`: the terms `pderiv i P` cancel. |
| 754 | have h_deriv (c : ℂ) : (c / 2) • ((fun x : ι → ℂ ↦ eval (holomorphicCoord ε x) |
| 755 | (heisenbergDeriv ε (holomorphicCoord ε (Pi.single i c)) P)) * realVac) ∈ |
| 756 | modelSubmodule (realHeisenberg ε) := |
| 757 | (modelSubmodule _).smul_mem _ (exists_hasDerivAt_realHeisenbergOp _ hP).1 |
| 758 | convert add_mem (h_deriv 1) (h_deriv I) |
| 759 | ext |
| 760 | simp_all [heisenbergDeriv, holomorphicCoord_eq, sum_eq_single i] |
| 761 | split <;> simp_all [units_ne_iff_eq_neg, raiseOp, lowerOp] <;> grind [I_sq] |
| 762 | |
| 763 | instance : Coe (MvPolynomial ι ℂ) (fockSpace ε) := ⟨polyVector ε⟩ |
| 764 | |
| 765 | /-- The Fock vector v_P = `polyVector ε P` of a complex polynomial P in the variables ι is the |
| 766 | function x ↦ P(ζ(x))·exp(−|x|²/2) on ℂ^ι, where ζ(x) = `holomorphicCoord ε x` has i-th coordinate |
| 767 | x̄ᵢ if εᵢ = 1 and xᵢ otherwise, and exp(−|x|²/2) is `realVac x`. -/ |
| 768 | @[simp] |
| 769 | lemma polyVector_apply (P : MvPolynomial ι ℂ) (x : ι → ℂ) : |
| 770 | polyVector ε P x = eval (holomorphicCoord ε x) P * realVac x := |
| 771 | rfl |
| 772 | |
| 773 | @[simp] |
| 774 | lemma polyVector_one : polyVector ε 1 = vacVector := by |
| 775 | ext x |
| 776 | simp [polyVector_apply, vacVector] |
| 777 | |
| 778 | /-- For v in ℂ^ι and a polynomial P with Fock vector v_P = `New.Fock.polyVector` ε P, the curve |
| 779 | t ↦ `New.Fock.realHeisenbergOp`(tv)v_P (t real) has derivative at t = 0 equal to the Fock vector of |
| 780 | the polynomial `New.Fock.heisenbergDeriv` ε v P = Σᵢ (conj(ζᵢ(v))·XᵢP − ζᵢ(v)·∂P/∂Xᵢ), where |
| 781 | ζ = `holomorphicCoord ε`. Here `realHeisenbergOp x` is the Heisenberg operator on the Fock space |
| 782 | sending c to z ↦ β(x,z)c(z − x), with β the bicharacter of `realHeisenberg ε`. -/ |
| 783 | lemma hasDerivAt_realHeisenbergOp (v : ι → ℂ) (P : MvPolynomial ι ℂ) : |
| 784 | HasDerivAt (fun t : ℝ ↦ realHeisenbergOp (t • v) (polyVector ε P)) (heisenbergDeriv ε v P) 0 := |
| 785 | (exists_hasDerivAt_realHeisenbergOp (P := P) v (Subtype.prop (polyVector ε P))).choose_spec |
| 786 | |
| 787 | attribute [irreducible] polyVector |
| 788 | |
| 789 | /-- The map P ↦ v_P = `New.Fock.polyVector` ε P from polynomials to the Fock space is injective. -/ |
| 790 | @[simp] |
| 791 | lemma polyVector_injective : (⇑(polyVector ε)).Injective := by |
| 792 | -- `holomorphicCoord ε` is an involution and `realVac` has no zero, so the two polynomials have |
| 793 | -- the same values. |
| 794 | refine fun P Q h_eq ↦ MvPolynomial.funext fun x ↦ ?_ |
| 795 | have h_inv : holomorphicCoord ε (holomorphicCoord ε x) = x := by |
| 796 | ext i |
| 797 | by_cases h_sign : ε i = 1 <;> simp [holomorphicCoord_eq, h_sign] |
| 798 | simpa [h_inv, realVac] using congrArg (fun c : fockSpace ε ↦ c (holomorphicCoord ε x)) h_eq |
| 799 | |
| 800 | end FockSpace |
| 801 | |
| 802 | /-! |
| 803 | ## Tensor products over coordinate splittings and real places |
| 804 | |
| 805 | * `New.Fock.realBoxProd`: the product of two vectors along a splitting `ι₁ ⊕ ι₂ ≃ ι` of the |
| 806 | coordinates; on polynomial vectors it multiplies the polynomials |
| 807 | (`New.Fock.realBoxProd_polyVector`). |
| 808 | * `New.Fock.piTensor`: the product of a family of Fock vectors indexed by a finite type `T`, a |
| 809 | vector on `T × ι`; `New.Fock.blockU` and `New.Fock.realWeil_piTensor`: block diagonal unitary |
| 810 | matrices act on such products factor by factor. |
| 811 | -/ |
| 812 | |
| 813 | section FockTensor |
| 814 | |
| 815 | open MeasureTheory Matrix Complex MvPolynomial Finset Heisenberg IsVacuum Sum OrthogonalSum Function |
| 816 | Fintype |
| 817 | |
| 818 | variable {ι : Type _} [Fintype ι] [DecidableEq ι] {ε} |
| 819 | {ι₁ ι₂ T : Type*} [Fintype ι₁] [DecidableEq ι₁] [Fintype ι₂] [DecidableEq ι₂] [Fintype T] |
| 820 | [DecidableEq T] {ε₁ ε₂} {e : ι₁ ⊕ ι₂ ≃ ι} (he : ε ∘ e = ε₁ ⊕ᵥ ε₂) (u : T → USign ε) |
| 821 | (v : T → fockSpace ε) |
| 822 | |
| 823 | /-- For signs ε : ι → ℤˣ and coordinates split by a bijection e : ι₁ ⊕ ι₂ ≃ ι under which ε becomes |
| 824 | the signs ε₁ : ι₁ → ℤˣ on ι₁ and ε₂ : ι₂ → ℤˣ on ι₂ (`he`), the bounded bilinear map sending two |
| 825 | Fock vectors c₁, c₂ to their external product x ↦ c₁(x ∘ e ∘ inl) c₂(x ∘ e ∘ inr) in the Fock |
| 826 | space of ε. -/ |
| 827 | def realBoxProd : fockSpace ε₁ →L[ℂ] fockSpace ε₂ →L[ℂ] fockSpace ε := (realCoordSum he).tmul |
| 828 | |
| 829 | /-- Currying x : α × β → γ and evaluating at a gives the function b ↦ x (a, b). -/ |
| 830 | private lemma _root_.MeasurableEquiv.curry_apply_eq {α β γ : Type*} [MeasurableSpace γ] |
| 831 | (x : α × β → γ) (a : α) : MeasurableEquiv.curry α β γ x a = fun b : β ↦ x (a, b) := rfl |
| 832 | |
| 833 | omit [DecidableEq ι] [DecidableEq T] in |
| 834 | /-- The product over T of copies of the measure `New.Fock.normalizedVolume` on ℂ^ι is the image of |
| 835 | `New.Fock.normalizedVolume` on ℂ^(T × ι) under currying. -/ |
| 836 | @[local simp] |
| 837 | lemma pi_normalizedVolume : |
| 838 | Measure.pi (fun _ : T ↦ normalizedVolume ι) = |
| 839 | (normalizedVolume (T × ι)).map (MeasurableEquiv.curry T ι ℂ) := by |
| 840 | refine Measure.pi_eq ?_ |
| 841 | have h_curry : MeasurePreserving (MeasurableEquiv.curry T ι ℂ) := |
| 842 | TauCeti.measurePreserving_curry fun _ _ ↦ (volume : Measure ℂ) |
| 843 | simp [normalizedVolume, pow_mul', -inv_pow, Measure.map_smul, h_curry.map_eq, |
| 844 | (MeasurableEquiv.measurable _).aemeasurable, prod_mul_distrib, ← volume_pi_pi] |
| 845 | |
| 846 | /-- The continuous multilinear map sending (for signs ε : ι → ℤˣ) a T-indexed family of Fock vectors |
| 847 | v_τ to the product function x ↦ ∏ v_τ(x_τ) in the Fock space on T × ι. -/ |
| 848 | def piTensor : |
| 849 | ContinuousMultilinearMap ℂ (fun _ : T ↦ fockSpace ε) (fockSpace fun p : T × ι ↦ ε p.2) := |
| 850 | -- The multilinear map sending `v` to the function `x ↦ ∏ τ, v τ (x (τ, ·))`; it has norm `≤ 1`. |
| 851 | MultilinearMap.mkContinuous |
| 852 | (MultilinearMap.codRestrict |
| 853 | (MultilinearMap.pi fun x : T × ι → ℂ ↦ |
| 854 | MultilinearMap.compLinearMap (MultilinearMap.mkPiAlgebra ℂ T ℂ) fun τ ↦ |
| 855 | (IsVacuum.valueAt (MeasurableEquiv.curry T ι ℂ x τ)).toLinearMap) |
| 856 | (IsVacuum.modelSubmodule (realHeisenberg fun p ↦ ε p.2)) fun v ↦ by |
| 857 | -- Integrability and the reproducing identity hold factor by factor, by Fubini. |
| 858 | refine ⟨(integrable_map_equiv ..).1 |
| 859 | (pi_normalizedVolume.subst (.fintype_prod fun τ ↦ (v τ).property.1)), ?_⟩ |
| 860 | simpa [realHeisenberg, signMatrix, dotProduct, mulVec_diagonal, sum_prod_type, realVac, |
| 861 | ← integral_fintype_prod_eq_prod, prod_mul_distrib, ← exp_sum, ← sum_div, |
| 862 | integral_map_equiv] using! fun _ ↦ congr(∏ τ, $((v τ).property.2 _))) |
| 863 | 1 fun v ↦ by |
| 864 | simp [norm_eq_integral_norm, integral_map_equiv, ← integral_fintype_prod_eq_prod, ← norm_prod, |
| 865 | MeasurableEquiv.curry_apply_eq] |
| 866 | rfl |
| 867 | |
| 868 | @[simp] |
| 869 | lemma piTensor_apply (x : T × ι → ℂ) : piTensor v x = ∏ τ : T, v τ (x ⟨τ, ·⟩) := rfl |
| 870 | |
| 871 | /-- The product of the Fock vectors of the `P τ` is the Fock vector of their product, `P τ` being |
| 872 | written in the variables of the block `τ`. -/ |
| 873 | lemma piTensor_polyVector (P : T → MvPolynomial ι ℂ) : |
| 874 | piTensor (fun τ : T ↦ polyVector ε (P τ)) = ∏ τ : T, rename (τ, ·) (P τ) := by |
| 875 | ext x |
| 876 | simp [holomorphicCoord_eq, realVac, dotProduct, prod_mul_distrib, eval_rename, sum_prod_type, |
| 877 | ← exp_sum, ← sum_div, comp_def] |
| 878 | |
| 879 | lemma fockInner_piTensor (w : T → fockSpace ε) : |
| 880 | fockInner (piTensor v) (piTensor w) = ∏ τ : T, fockInner (v τ) (w τ) := by |
| 881 | simp [modelInner_apply, prod_mul_distrib, integral_map_equiv, ← integral_fintype_prod_eq_prod, |
| 882 | MeasurableEquiv.curry_apply_eq] |
| 883 | |
| 884 | /-- The ring homomorphism sending a T-indexed family of complex ι × ι matrices to the block |
| 885 | diagonal matrix with rows and columns indexed by T × ι. -/ |
| 886 | abbrev blockMatrix : (T → Matrix ι ι ℂ) →+* Matrix (T × ι) (T × ι) ℂ := |
| 887 | (reindexRingEquiv ℂ (Equiv.prodComm ι T)).toRingHom.comp (blockDiagonalRingHom ι T ℂ) |
| 888 | |
| 889 | /-- For a family u of elements of the unitary group U(ε) (matrices g with gᴴ diag(ε) g = diag(ε)), |
| 890 | the block diagonal matrix B with blocks u_τ satisfies Bᴴ J B = J for the diagonal sign matrix J |
| 891 | with entry ε_i at (τ, i). -/ |
| 892 | lemma blockMatrix_preserves_signMatrix : |
| 893 | (blockMatrix fun τ : T ↦ (u τ).val.val)ᴴ * signMatrix (fun p : T × ι ↦ ε p.2) * |
| 894 | blockMatrix (fun τ : T ↦ (u τ).val.val) = |
| 895 | signMatrix fun p : T × ι ↦ ε p.2 := by |
| 896 | -- Apply the ring homomorphism `blockMatrix` to the unitarity relations of the blocks. |
| 897 | have h_blocks : (fun τ : T ↦ (u τ).val.valᴴ * signMatrix ε * (u τ).val.val) = |
| 898 | fun _ ↦ signMatrix ε := funext fun τ ↦ mem_unitaryGroupOf_iff.1 (u τ).prop |
| 899 | simpa [blockMatrix, ← submatrix_mul_equiv (e₂ := .prodComm ..), -Equiv.coe_prodComm, |
| 900 | signMatrix, comp_def] using congrArg blockMatrix h_blocks |
| 901 | |
| 902 | attribute [local simp] signMatrix in |
| 903 | /-- The homomorphism from U(ε)^T to the unitary group of the signs (τ, i) ↦ ε_i on T × ι, by |
| 904 | block diagonal matrices. -/ |
| 905 | @[simps! apply_coe_val] |
| 906 | def blockU : (T → USign ε) →* USign fun p : T × ι ↦ ε p.2 := |
| 907 | MonoidHom.mk' |
| 908 | (fun u ↦ U.of IsHermitianInvolution.isUnit (blockMatrix fun τ ↦ u τ) |
| 909 | (blockMatrix_preserves_signMatrix u)) |
| 910 | fun _ _ ↦ Subtype.ext (Units.ext (map_mul ..)) |
| 911 | |
| 912 | lemma realMultiplier_blockU : realMultiplier (blockU u) = ∏ τ : T, realMultiplier (u τ) := by |
| 913 | simp [realMultiplier] |
| 914 | |
| 915 | /-- The Weil representation of the block diagonal matrix `New.Fock.blockU` u acts on a product |
| 916 | `New.Fock.piTensor` v factor by factor: each v_τ is sent to `New.Fock.realWeil` (u_τ) v_τ. -/ |
| 917 | lemma realWeil_piTensor : |
| 918 | realWeil (blockU u) (piTensor v) = piTensor fun τ : T ↦ realWeil (u τ) (v τ) := by |
| 919 | ext x |
| 920 | -- Both sides are a multiplier times an integral over `T × ι → ℂ` (on the right by Fubini and |
| 921 | -- `pi_normalizedVolume`). |
| 922 | simp [realAction, weilRep, realMultiplier, integrated_apply_eq_integral, realVac, dotProduct, |
| 923 | sum_prod_type, prod_mul_distrib, ← integral_fintype_prod_eq_prod, ← exp_sum, ← sum_div, |
| 924 | integral_map_equiv] |
| 925 | -- The block matrix acts on each block separately; with the curried coordinates written out, |
| 926 | -- the integrands agree. |
| 927 | simp [mulVec, blockDiagonal, realHeisenberg, diagonal, signMatrix, dotProduct, sum_prod_type, |
| 928 | ← exp_sum, ← sum_div, MeasurableEquiv.curry_apply_eq] |
| 929 | |
| 930 | /-- For the splitting e : ι₁ ⊕ ι₂ ≃ ι and signs ε : ι → ℤˣ, ε₁ : ι₁ → ℤˣ, ε₂ : ι₂ → ℤˣ with ε ∘ |
| 931 | e = ε₁ ⊕ᵥ ε₂ (`he`), `New.Fock.realBoxProd` sends the Fock vectors of a polynomial P in the |
| 932 | variables ι₁ and a polynomial Q in the variables ι₂ to the Fock vector of the product of P and Q, |
| 933 | each renamed into the variables ι along e. -/ |
| 934 | lemma realBoxProd_polyVector (P : MvPolynomial ι₁ ℂ) (Q : MvPolynomial ι₂ ℂ) : |
| 935 | realBoxProd he (polyVector ε₁ P) (polyVector ε₂ Q) = |
| 936 | ↑(rename (e ∘ inl) P * rename (e ∘ inr) Q) := by |
| 937 | ext x |
| 938 | have h_sign : (∀ i, ε (e (inl i)) = ε₁ i) ∧ ∀ i, ε (e (inr i)) = ε₂ i := by |
| 939 | simpa using congrFun he |
| 940 | -- By `tmul_apply` the left side is a product of values; split the sums over `ι` along `e`, and |
| 941 | -- the Gaussian factors multiply. |
| 942 | simp [realBoxProd, reindex_equiv e, h_sign, tmul_apply, holomorphicCoord_eq, realVac, dotProduct, |
| 943 | comp_def, eval_rename, add_div, exp_add] |
| 944 | ring! |
| 945 | |
| 946 | end FockTensor |
| 947 | |
| 948 | end New.Fock |
| 949 | |
| 950 | /-- The sign `σ * ε r * ε' c` of the variable in row `r` and column `c`, where `i = (r, c)`. -/ |
| 951 | def New.pairSign {R C : Type} (σ : ℤˣ) (ε : R → ℤˣ) (ε' : C → ℤˣ) (i : R × C) : ℤˣ := |
| 952 | σ * ε i.1 * ε' i.2 |
| 953 | |
| 954 | end |