Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Real |
| 4 | import Mathlib.RingTheory.PicardGroup |
| 5 | public import Lib.Weil.Construction.ProductsAndTransport |
| 6 | public import Lib.Weil.MixedModel.IsotropicSplitting |
| 7 | import Lib.Base |
| 8 | import Lib.General.Measure.IdempotentKernel |
| 9 | import Lib.Weil.Construction.VacuumProjections |
| 10 | |
| 11 | /-! |
| 12 | # Real data, the entire theta function, and the real vacuum in the mixed model |
| 13 | |
| 14 | A datum f in `New.𝒮` V is a function on adelic vectors, f(x) = θ(ϱ(x)f), where θ is the theta |
| 15 | functional and ϱ the Heisenberg operators. For v in Fock space we write v ⊗ f = ∫ v(y) ϱ(y) f dy |
| 16 | over real vectors y, and compute its inner products and theta value. If all signs are +1 and f is |
| 17 | fixed by the real vacuum projection, then the theta function Θ_f(y) = f(y) exp(|y|²/2) is entire. |
| 18 | The last part computes the real vacuum and the map `T 0` in a mixed Schrödinger model `T`. |
| 19 | |
| 20 | ## Main definitions and results |
| 21 | |
| 22 | * `New.Space.eq_zero_of_apply_realVec_eq_zero`: f is determined by its values on real vectors, by |
| 23 | strong approximation and quasi-periodicity under rational vectors. |
| 24 | * `New.Space.entireTheta`: the function Θ_f(y) = f(y) exp(|y|²/2). |
| 25 | * `New.Space.entireTheta_eq_integral`, `New.Space.differentiable_entireTheta`: if all signs are +1 |
| 26 | and inserting the Gaussian as real vector (`New.Space.projReal`) fixes f, then Θ_f is an integral |
| 27 | against the kernel exp(∑ y_p conj w_p), hence entire. |
| 28 | * `New.Space.Splitting.IsAdapted.omega_projReal_of_isMixedLaw`: in a mixed Schrödinger model `T`, |
| 29 | the value `T x (ω(g) P f)` is a Gaussian in the real point `x`, for `P` the real vacuum projection |
| 30 | and `g` adapted to the splitting. |
| 31 | * `New.Space.Splitting.IsAdapted.exists_apply_zero_omega_integrated_eq`: `T 0 ∘ ω(g)` acts on the |
| 32 | real part by a bounded map of Fock spaces. Here `V.integrated v f`, written v ⊗ f, gives `f` the |
| 33 | real part `v`, and `V.projReal` is the case of the real vacuum. |
| 34 | |
| 35 | Notions from other files: |
| 36 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx |
| 37 | equal to the diagonal matrix of its signs at the infinite places and 1 at the finite places. |
| 38 | * `New.realVec`: the additive map from ℂ^{places × n} to 𝔸^n that multiplies the coordinates at τ by |
| 39 | (2π Im τȷ)^(−1/2) and puts zero at the finite places. |
| 40 | * `New.Fock.realVac`: the function on ℂ^ι sending x to exp(−|x|²/2). |
| 41 | * `New.Space.Splitting.IsMixedLaw`: the law of a mixed Schrödinger model `T x : 𝒮 V → 𝒮 V₀`, |
| 42 | `x ∈ 𝔸ᵖ`: for `y = l a + ι w + k b`, `T x (ϱ y f)` is `β (2 x + a) b` times `ϱ w (T (x + a) f)`. |
| 43 | |
| 44 | ## Relation to the literature |
| 45 | |
| 46 | Known; see `Lib.Weil.Fock.OscillatorPair` and `Lib.Weil.MixedModel.ZeroTerm` for sources. |
| 47 | -/ |
| 48 | |
| 49 | @[expose] public section |
| 50 | |
| 51 | namespace New.Space |
| 52 | |
| 53 | /-! ## Inner products and theta values of real data -/ |
| 54 | |
| 55 | section RealData |
| 56 | |
| 57 | open Fock Heisenberg Rep |
| 58 | |
| 59 | variable {E n : Type*} |
| 60 | {s : n → ℤˣ} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] |
| 61 | (V : Space E n s) (v w : IsVacuum.Model (realHeisenberg (realSigns E s))) (f f' : 𝒮 V) |
| 62 | |
| 63 | /-- For v in the Fock space, f in 𝒮(V) and a bounded linear map T from 𝒮(V) to a Banach space, |
| 64 | T(v ⊗ f) = ∫ v(y) T(ϱ(y) f) dy, with y over real vectors in Fock coordinates (`New.realVec`). -/ |
| 65 | lemma map_integrated_eq_integral_realVec {Y : Type*} [NormedAddCommGroup Y] [NormedSpace ℂ Y] |
| 66 | [CompleteSpace Y] (T : 𝒮 V →L[ℂ] Y) : |
| 67 | T (V.integrated v f) = ∫ y : NumberField.InfinitePlace E × n → ℂ, |
| 68 | v y • T (V.ϱ (realVec y) f) ∂normalizedVolume (NumberField.InfinitePlace E × n) := by |
| 69 | rw [integrated, map_integrated_eq_integral] |
| 70 | simp_rw [heisenbergRep_left_rho] |
| 71 | |
| 72 | /-- For v, w in the Fock space and f, f′ in 𝒮(V), ⟨v ⊗ f, w ⊗ f′⟩ = ⟨v, w⟩ · ⟨Pf, Pf′⟩, where |
| 73 | v ⊗ f = ∫ v(y) ϱ(y) f dy over real vectors y and P is the real vacuum projection. -/ |
| 74 | lemma dataInner_integrated : |
| 75 | V.dataInner (V.integrated v f) (V.integrated w f') = |
| 76 | fockInner v w * V.dataInner (V.projReal f) (V.projReal f') := by |
| 77 | -- With the restriction `r` to the finite coordinates, `u ⊗ f` is the product of `u` and `r f`, |
| 78 | -- and the inner product of two products is the product of the inner products. |
| 79 | obtain ⟨r, -, hr_integrated⟩ := (adelicSum E s).exists_restriction |
| 80 | have h_tmul (u : fockSpace (realSigns E s)) (g : 𝒮 V) : |
| 81 | V.integrated u g = (adelicSum E s).tmul u (r g) := |
| 82 | hr_integrated u g |
| 83 | have h_product (u u' : fockSpace (realSigns E s)) : |
| 84 | V.dataInner (V.integrated u f) (V.integrated u' f') = |
| 85 | fockInner u u' * IsVacuum.modelInner (r f) (r f') := by |
| 86 | rw [h_tmul, h_tmul] |
| 87 | exact (adelicSum E s).modelInner_tmul u u' (r f) (r f') |
| 88 | -- `Pf = vac ⊗ f`, and the vacuum is a unit vector. |
| 89 | have h_vac : fockInner (Fock.vacVector : fockSpace (realSigns E s)) Fock.vacVector = 1 := by |
| 90 | have h0 := IsVacuum.modelInner_heisenbergOp_vacElem (H := realHeisenberg (realSigns E s)) |
| 91 | (0 : NumberField.InfinitePlace E × n → ℂ) IsVacuum.vacElem |
| 92 | rw [Rep.rho_zero_apply, IsVacuum.vacElem_apply] at h0 |
| 93 | exact h0.trans (IsVacuum.apply_zero (H := realHeisenberg (realSigns E s))) |
| 94 | have h_proj : V.dataInner (V.projReal f) (V.projReal f') = IsVacuum.modelInner (r f) (r f') := |
| 95 | (h_product Fock.vacVector Fock.vacVector).trans (by rw [h_vac, one_mul]) |
| 96 | rw [h_product, h_proj] |
| 97 | |
| 98 | /-- For `v` in the Fock space and `f` in 𝒮(V), `θ(v ⊗ f) = ∫ v(y) f(realVec y) dy`, where |
| 99 | `v ⊗ f = ∫ v(y) ϱ(y)f dy` is `New.Space.integrated` and `f(x) = θ(ϱ(x)f)`. Here `y` runs over |
| 100 | complex vectors indexed by (infinite place, coordinate) with the measure |
| 101 | `New.Fock.normalizedVolume`, and `realVec` turns `y` into an adelic vector by scaling the |
| 102 | coordinates at `τ` by `(2π Im τ(ȷ))^(−1/2)`, with zero at the finite places. -/ |
| 103 | lemma theta_integrated : |
| 104 | V.θ (V.integrated v f) = ∫ y : NumberField.InfinitePlace E × n → ℂ, |
| 105 | v y * f (realVec y) ∂normalizedVolume (NumberField.InfinitePlace E × n) := by |
| 106 | rw [map_integrated_eq_integral_realVec] |
| 107 | simp only [theta_rho, smul_eq_mul] |
| 108 | |
| 109 | end RealData |
| 110 | |
| 111 | /-! |
| 112 | ## The theta function on real vectors |
| 113 | |
| 114 | A datum f in `New.𝒮` V is applied to an adelic vector x as f(x) = θ(ϱ(x)f), θ the theta functional |
| 115 | of V. Here this function is restricted to real vectors, `New.realVec` y, with y in complex Fock |
| 116 | coordinates and finite part zero. |
| 117 | -/ |
| 118 | |
| 119 | section EntireTheta |
| 120 | |
| 121 | open MeasureTheory Matrix ComplexConjugate Fock Complex Finset Prod |
| 122 | |
| 123 | variable {E : Type _} [Field E] [CMType E] [WeilData E] {n : Type _} [Fintype n] [DecidableEq n] |
| 124 | {s : n → ℤˣ} {V : Space E n s} (f : 𝒮 V) |
| 125 | |
| 126 | omit [Fintype n] [DecidableEq n] in |
| 127 | @[fun_prop] |
| 128 | lemma continuous_realVec : |
| 129 | Continuous (realVec : (NumberField.InfinitePlace E × n → ℂ) → n → 𝔸 E) := by |
| 130 | refine continuous_pi fun i ↦ Continuous.prodMk ?_ continuous_const |
| 131 | exact continuous_const.mul (continuous_pi fun w ↦ continuous_apply (w, i)) |
| 132 | |
| 133 | /-- For f in 𝒮(V), the function Θ_f(y) = θ(ϱ(y)f)·exp(|y|²/2) of a real vector y in Fock |
| 134 | coordinates, placed in the adelic vectors with finite part zero. -/ |
| 135 | noncomputable def entireTheta (y : NumberField.InfinitePlace E × n → ℂ) : ℂ := |
| 136 | f (realVec y) / realVac y |
| 137 | |
| 138 | variable {f} |
| 139 | |
| 140 | /-- An element f of 𝒮(V) whose values f(y) = θ(ϱ(y)f) vanish at all adelic vectors y with finite |
| 141 | part zero is zero. -/ |
| 142 | lemma eq_zero_of_apply_realVec_eq_zero |
| 143 | (h_vanish : ∀ y : NumberField.InfinitePlace E × n → ℂ, f (realVec y) = 0) : |
| 144 | f = 0 := by |
| 145 | -- By strong approximation the vectors `y` with rational finite part are dense, so it suffices |
| 146 | -- to show that `f` vanishes at `V.x⁻¹ • y` for these. Translating by a rational vector changes |
| 147 | -- `f` by a factor only, and removes the finite part. |
| 148 | let emb : (n → (NumberField.InfinitePlace E → ℂ) × E) → n → 𝔸 E := |
| 149 | Pi.map fun _ ↦ Prod.map id (algebraMap E (𝔸f E)) |
| 150 | have h_dense : DenseRange emb := |
| 151 | .piMap fun _ ↦ denseRange_id.prodMap denseRange_algebraMap_finAdele |
| 152 | have h_real (y : n → 𝔸 E) (hy : ∀ i, (y i).2 = 0) : f y = 0 := by |
| 153 | have hy0 : (fun i : n ↦ ((0 : NumberField.InfinitePlace E → ℂ), (y i).2)) = 0 := |
| 154 | funext fun i ↦ Prod.ext rfl (hy i) |
| 155 | rw [← realVec_realCoord_add y, hy0, add_zero] |
| 156 | exact h_vanish (realCoord y) |
| 157 | -- At `V.x⁻¹ • emb a`, adding the vector of the rational `-(a i).2` removes the finite part. |
| 158 | have h_on_range (a : n → (NumberField.InfinitePlace E → ℂ) × E) : f (V.x⁻¹ • emb a) = 0 := by |
| 159 | have h_finite (i : n) : ((V.vecAtPoint (-snd ∘ a) + V.x⁻¹ • emb a) i).2 = 0 := by |
| 160 | change ((V.x⁻¹.val *ᵥ (toAdele ∘ (-snd ∘ a)) + V.x⁻¹.val *ᵥ emb a) i).2 = 0 |
| 161 | rw [← mulVec_add, mulVec, dotProduct, snd_sum] |
| 162 | refine sum_eq_zero fun j _ ↦ ?_ |
| 163 | rw [snd_mul, Pi.add_apply, snd_add] |
| 164 | change (V.x⁻¹.val i j).2 * |
| 165 | (algebraMap E (𝔸f E) (-(a j).2) + algebraMap E (𝔸f E) (a j).2) = 0 |
| 166 | rw [(algebraMap E (𝔸f E)).map_neg, neg_add_cancel, mul_zero] |
| 167 | rw [← V.apply_vecAtPoint_add f (-snd ∘ a), h_real _ h_finite, mul_zero] |
| 168 | have hf_cont : Continuous fun z : n → 𝔸 E ↦ f (V.x⁻¹ • z) := |
| 169 | V.rawTheta.cont.comp |
| 170 | (V.heisenbergRep.cont.comp ((continuous_const_smul V.x⁻¹).prodMk continuous_const)) |
| 171 | have h_translate (z : n → 𝔸 E) : f (V.x⁻¹ • z) = 0 := |
| 172 | congrFun (h_dense.equalizer hf_cont continuous_const (funext h_on_range)) z |
| 173 | refine V.data_ext fun x ↦ ?_ |
| 174 | obtain ⟨z, rfl⟩ := MulAction.surjective V.x⁻¹ x |
| 175 | rw [Space.zero_apply] |
| 176 | exact h_translate z |
| 177 | |
| 178 | /-- If all signs are +1 and inserting the Gaussian as real vector fixes f, then |
| 179 | Θ_f(y) = ∫ exp(∑_p y_p conj w_p) exp(−|w|²/2) f(w) dw, over real vectors w with Lebesgue |
| 180 | measure divided by π to the number of coordinates. -/ |
| 181 | lemma entireTheta_eq_integral (hs : s = 1) (h_projReal : V.projReal f = f) |
| 182 | (y : NumberField.InfinitePlace E × n → ℂ) : |
| 183 | entireTheta f y = ∫ w : NumberField.InfinitePlace E × n → ℂ, |
| 184 | Complex.exp (∑ p : NumberField.InfinitePlace E × n, y p * conj (w p)) * |
| 185 | (realVac w * f (realVec w)) ∂normalizedVolume (NumberField.InfinitePlace E × n) := by |
| 186 | -- As `f` is `V.integrated vacVector f`, its value at `realVec y` is an integral against the |
| 187 | -- translated vacuum. |
| 188 | have h_value : f (realVec y) = ∫ w, realHeisenbergOp y (Fock.vacVector (ε := realSigns E s)) w * |
| 189 | f (realVec w) ∂normalizedVolume _ := by |
| 190 | rw [← theta_integrated, integrated_realHeisenbergOp, h_projReal, theta_rho] |
| 191 | -- By `beta_mul_realVac` the translated vacuum at `w` is `realVac w * realVac y` times the |
| 192 | -- exponential. |
| 193 | have h_hol (x : NumberField.InfinitePlace E × n → ℂ) : |
| 194 | holomorphicCoord (realSigns E s) x = star x := by |
| 195 | rw [holomorphicCoord_eq] |
| 196 | funext p |
| 197 | simp only [realSigns, hs, Pi.one_apply, ↓reduceIte, Pi.star_apply] |
| 198 | have h_translate (w : NumberField.InfinitePlace E × n → ℂ) : |
| 199 | realHeisenbergOp y (Fock.vacVector (ε := realSigns E s)) w = |
| 200 | realVac w * realVac y * exp (∑ p, y p * conj (w p)) := by |
| 201 | rw [Heisenberg.IsVacuum.heisenbergOp_apply (H := realHeisenberg (realSigns E s)), |
| 202 | Heisenberg.IsVacuum.vacElem_apply (H := realHeisenberg (realSigns E s)), |
| 203 | beta_mul_realVac, h_hol, h_hol, star_star] |
| 204 | rfl |
| 205 | have h_ne : realVac y ≠ 0 := exp_ne_zero _ |
| 206 | rw [entireTheta, h_value, ← integral_div] |
| 207 | congr 1 |
| 208 | funext w |
| 209 | rw [h_translate w, show realVac w * realVac y * exp (∑ p, y p * conj (w p)) * f (realVec w) = |
| 210 | realVac y * (exp (∑ p, y p * conj (w p)) * (realVac w * f (realVec w))) by ring, |
| 211 | mul_div_cancel_left₀ _ h_ne] |
| 212 | |
| 213 | /-- Suppose all signs `s` are +1 and `f` is fixed by the real vacuum projection |
| 214 | `f ↦ ∫ exp(−|y|²/2) ϱ(y)f dy` (`projReal`). Then `Θ_f(y) = θ(ϱ(y)f)·exp(|y|²/2)` is complex |
| 215 | differentiable everywhere as a function of the complex vector `y`, indexed by (infinite place, |
| 216 | coordinate), that gives a real vector in Fock coordinates. -/ |
| 217 | @[fun_prop] |
| 218 | lemma differentiable_entireTheta (hs : s = 1) (h_projReal : V.projReal f = f) : |
| 219 | Differentiable ℂ (entireTheta f) := by |
| 220 | -- Differentiate the integral formula `entireTheta_eq_integral` under the integral sign. |
| 221 | rw [funext (entireTheta_eq_integral hs h_projReal)] |
| 222 | have h_vac_f : Continuous fun w : NumberField.InfinitePlace E × n → ℂ ↦ |
| 223 | realVac w * f (realVec w) := |
| 224 | (Heisenberg.IsVacuum.cont (H := realHeisenberg (realSigns E s))).mul |
| 225 | (V.rawTheta.cont.comp |
| 226 | (V.heisenbergRep.cont.comp (continuous_realVec.prodMk continuous_const))) |
| 227 | have h_meas (z : NumberField.InfinitePlace E × n → ℂ) : |
| 228 | AEStronglyMeasurable |
| 229 | (fun w ↦ (∑ p, z p * conj (w p)).exp * (realVac w * f (realVec w))) |
| 230 | (normalizedVolume _) := |
| 231 | (((continuous_finsetSum univ fun p _ ↦ |
| 232 | continuous_const.mul (Complex.continuous_conj.comp (continuous_apply p))).cexp).mul |
| 233 | h_vac_f).aestronglyMeasurable |
| 234 | intro y |
| 235 | -- For `‖z‖ < ‖y‖ + 1` the integrand is dominated by one integrable function of `w`. |
| 236 | let C : ℝ := ∑ _p : NumberField.InfinitePlace E × n, (‖y‖ + 1) |
| 237 | have h_dominated : ∀ᶠ z in nhds y, ∀ w : NumberField.InfinitePlace E × n → ℂ, |
| 238 | DifferentiableAt ℂ (fun z' ↦ (∑ p, z' p * conj (w p)).exp * (realVac w * f (realVec w))) z ∧ |
| 239 | ‖(∑ p, z p * conj (w p)).exp * (realVac w * f (realVec w))‖ ≤ |
| 240 | (C * ‖w‖).exp * ‖realVac w‖ * (‖V.θ‖ * ‖f‖) := by |
| 241 | filter_upwards [tendsto_norm.eventually_lt_const (lt_add_one ‖y‖)] with z hz w |
| 242 | refine ⟨((DifferentiableAt.fun_sum fun p _ ↦ |
| 243 | (ContinuousLinearMap.proj (R := ℂ) (φ := fun _ : NumberField.InfinitePlace E × n ↦ ℂ) |
| 244 | p).differentiableAt.mul_const (conj (w p))).cexp).mul_const _, ?_⟩ |
| 245 | have h_exponent : ‖∑ p, z p * conj (w p)‖ ≤ C * ‖w‖ := by |
| 246 | refine (norm_sum_le_of_le _ fun p _ ↦ ?_).trans_eq (sum_mul univ (fun _ ↦ ‖y‖ + 1) ‖w‖).symm |
| 247 | rw [norm_mul, norm_conj] |
| 248 | exact mul_le_mul ((norm_le_pi_norm z p).trans hz.le) (norm_le_pi_norm w p) (norm_nonneg _) |
| 249 | ((norm_nonneg z).trans hz.le) |
| 250 | rw [norm_mul, norm_mul, ← mul_assoc] |
| 251 | exact mul_le_mul |
| 252 | (mul_le_mul_of_nonneg_right |
| 253 | ((norm_exp_le_exp_norm _).trans (Real.exp_le_exp.mpr h_exponent)) (norm_nonneg _)) |
| 254 | (V.norm_apply_le (realVec w) f) (norm_nonneg _) |
| 255 | (mul_nonneg (Real.exp_nonneg _) (norm_nonneg _)) |
| 256 | exact (analyticAt_integral ((integrable_exp_mul_realVac C).mul_const _) |
| 257 | h_meas h_dominated).differentiableAt |
| 258 | |
| 259 | end EntireTheta |
| 260 | |
| 261 | end New.Space |
| 262 | |
| 263 | /-! |
| 264 | ## The real vacuum in a mixed Schrödinger model |
| 265 | |
| 266 | A splitting `D` (`New.Space.Splitting`) writes `V` as `l Eᵖ ⊕ ι V₀ ⊕ k Eᵖ` with `l`, `k` isotropic |
| 267 | and dual. Only the infinite places are treated. The last three results concern an element `g` of |
| 268 | `G E s` adapted to some `t` in `GL_p(𝔸)` (`New.Space.Splitting.IsAdapted`): the matrix |
| 269 | `g⁻¹ (l (t⁻¹)ᴴ, k t, ι)` has orthonormal columns at the infinite places and integral finite entries. |
| 270 | -/ |
| 271 | |
| 272 | namespace New.Space.Splitting |
| 273 | |
| 274 | open NumberField Matrix Fock Exchange Prod Complex Fintype ComplexOrder MeasureTheory Heisenberg Rep |
| 275 | IsVacuum |
| 276 | |
| 277 | variable {E : Type _} [Field E] [CMType E] [WeilData E] {n n₀ p : Type _} [Fintype n] |
| 278 | [DecidableEq n] [Fintype n₀] [DecidableEq n₀] [Fintype p] [DecidableEq p] {s : n → ℤˣ} |
| 279 | {s₀ : n₀ → ℤˣ} {V : Space E n s} {V₀ : Space E n₀ s₀} {D : V.Splitting V₀ p} |
| 280 | (L : 𝒮 V →L[ℂ] 𝒮 V₀) (A : Matrix n p (𝔸 E)) {T : (p → 𝔸 E) → 𝒮 V →L[ℂ] 𝒮 V₀} |
| 281 | |
| 282 | /-- The archimedean part of an adelic matrix A as one complex matrix, block diagonal over the |
| 283 | infinite places, whose block at τ is the τ-component of A. -/ |
| 284 | noncomputable def realMatrix {E : Type _} [Field E] [NumberField E] (A : Matrix n p (𝔸 E)) : |
| 285 | Matrix (InfinitePlace E × n) (InfinitePlace E × p) ℂ := |
| 286 | (blockDiagonal (A.map <| evalInf ·)).submatrix Prod.swap Prod.swap |
| 287 | |
| 288 | /-- In the coordinates of the orthogonal sum of `s` and `s₀` (`New.Fock.realCoordSum`, whose `equiv` |
| 289 | joins a pair into one function on places × (n ⊕ n₀); `⊕ᵥ` joins two vectors likewise), `realVec` of |
| 290 | a pair is the pair of the `realVec`s. -/ |
| 291 | lemma realVec_realCoordSum (x : (InfinitePlace E × n → ℂ) × (InfinitePlace E × n₀ → ℂ)) : |
| 292 | realVec |
| 293 | ((realCoordSum (realSigns_comp_split (E := E) (signs_comp_refl (t := s ⊕ᵥ s₀)))).equiv x) = |
| 294 | realVec x.fst ⊕ᵥ realVec x.snd := by |
| 295 | simp only [realCoordSum] |
| 296 | funext i |
| 297 | rcases i with i | i <;> rfl |
| 298 | |
| 299 | omit [WeilData E] [Fintype n] [DecidableEq n] [DecidableEq p] in |
| 300 | /-- The block of `realMatrix A` at `w` acts on the coordinates at `w` by the component of `A`. -/ |
| 301 | lemma realMatrix_mulVec_apply (y : InfinitePlace E × p → ℂ) (w : InfinitePlace E) (i : n) : |
| 302 | (realMatrix A *ᵥ y) (w, i) = ((A.map (evalInf w)) *ᵥ fun j ↦ y (w, j)) i := by |
| 303 | simp [realMatrix, mulVec, dotProduct, sum_prod_type, blockDiagonal_apply, ite_mul] |
| 304 | |
| 305 | omit [Fintype n] [DecidableEq n] [DecidableEq p] in |
| 306 | /-- Acting by `realMatrix A` in Fock's coordinates is acting by `A` on real adelic vectors. -/ |
| 307 | lemma realVec_realMatrix_mulVec (y : InfinitePlace E × p → ℂ) : |
| 308 | realVec (realMatrix A *ᵥ y) = A *ᵥ realVec y := by |
| 309 | funext i |
| 310 | refine Prod.ext (funext fun w ↦ ?_) ?_ |
| 311 | · let scale : ℂ := (WeilData.scaleIdele E).val.1 w |
| 312 | change scale * (realMatrix A *ᵥ y) (w, i) = evalInf w ((A *ᵥ realVec y) i) |
| 313 | have h_scale : evalInf w ∘ realVec y = scale • (fun j : p ↦ y (w, j)) := rfl |
| 314 | rw [realMatrix_mulVec_apply, (evalInf w).map_mulVec, h_scale, mulVec_smul] |
| 315 | rfl |
| 316 | · let evalFinite := RingHom.snd (InfinitePlace E → ℂ) (𝔸f E) |
| 317 | change (0 : 𝔸f E) = evalFinite ((A *ᵥ realVec y) i) |
| 318 | have h_zero : evalFinite ∘ realVec y = 0 := rfl |
| 319 | rw [evalFinite.map_mulVec, h_zero, mulVec_zero] |
| 320 | rfl |
| 321 | |
| 322 | omit [WeilData E] [DecidableEq n] [Fintype p] in |
| 323 | /-- If `A` has orthonormal columns at the infinite places (and integral finite entries), then |
| 324 | `realMatrix A` has orthonormal columns. -/ |
| 325 | lemma conjTranspose_realMatrix_mul_self (hA : IsOrthoIntegral A) : |
| 326 | (realMatrix A)ᴴ * realMatrix A = 1 := by |
| 327 | -- `realMatrix A` reorders a block diagonal matrix; by `h_orth` each block, the component of |
| 328 | -- `A` at an infinite place, has orthonormal columns. |
| 329 | obtain ⟨h_orth, -⟩ := hA |
| 330 | rw [realMatrix, conjTranspose_submatrix, ← submatrix_mul _ _ _ _ _ Prod.swap_bijective, |
| 331 | blockDiagonal_conjTranspose, ← blockDiagonal_mul, |
| 332 | show (fun w ↦ (A.map (evalInf w))ᴴ * A.map (evalInf w)) = 1 from funext h_orth, |
| 333 | blockDiagonal_one, submatrix_one _ Prod.swap_injective] |
| 334 | |
| 335 | /-- For a splitting of V over V₀, write y = la + ιw + kb and y' = la' + ιw' + kb'. Then |
| 336 | β(y,y') = ψ(½ȷ(a'*b + b'*a)) β₀(w,w'), with β₀ the bicharacter for the signs of V₀. -/ |
| 337 | lemma beta_eq_coords (y y' : n → 𝔸 E) : |
| 338 | (adelicHeisenberg E s).β y y' = |
| 339 | (adelicHeisenberg E 1).β (D.kCoord *ᵥ y) (D.lCoord *ᵥ y') * |
| 340 | (adelicHeisenberg E 1).β (D.lCoord *ᵥ y) (D.kCoord *ᵥ y') * |
| 341 | (adelicHeisenberg E s₀).β (D.iCoord *ᵥ y) (D.iCoord *ᵥ y') := by |
| 342 | -- Split `y` along `k`, `ι`, `l` and pair each part with `y'`. |
| 343 | have h_i : D.iCoordᴴ * stdForm E s₀ = stdForm E s * D.iAdelic := by |
| 344 | rw [D.conjTranspose_iCoord, Matrix.mul_assoc, stdForm_mul_self, Matrix.mul_one] |
| 345 | have h_form : D.lCoordᴴ * stdForm E 1 * D.kCoord + D.kCoordᴴ * stdForm E 1 * D.lCoord + |
| 346 | D.iCoordᴴ * stdForm E s₀ * D.iCoord = stdForm E s := by |
| 347 | rw [h_i, stdForm_one, Matrix.mul_one, Matrix.mul_one, D.conjTranspose_lCoord, |
| 348 | D.conjTranspose_kCoord] |
| 349 | simp only [Matrix.mul_assoc, ← Matrix.mul_add] |
| 350 | rw [add_right_comm, D.sum_frame_mul_coord_eq_one, Matrix.mul_one] |
| 351 | have h_dot : star y' ⬝ᵥ stdForm E s *ᵥ y = |
| 352 | star (D.lCoord *ᵥ y') ⬝ᵥ stdForm E 1 *ᵥ (D.kCoord *ᵥ y) + |
| 353 | star (D.kCoord *ᵥ y') ⬝ᵥ stdForm E 1 *ᵥ (D.lCoord *ᵥ y) + |
| 354 | star (D.iCoord *ᵥ y') ⬝ᵥ stdForm E s₀ *ᵥ (D.iCoord *ᵥ y) := by |
| 355 | simpa only [star_mulVec_dotProduct, mulVec_mulVec, Matrix.mul_assoc, add_mulVec, |
| 356 | dotProduct_add] using congrArg (fun A ↦ star y' ⬝ᵥ A *ᵥ y) h_form.symm |
| 357 | simp only [adelicHeisenberg, h_dot, mul_add, AddChar.map_add_eq_mul, Circle.coe_mul] |
| 358 | |
| 359 | /-- If a bounded map `L : 𝒮 V → 𝒮 V₀` is (a) invariant under the Heisenberg operators along `k` |
| 360 | and (b) intertwines those of `V₀`, then the family `x ↦ L ϱ(l x)` obeys the law of a mixed |
| 361 | model. -/ |
| 362 | lemma isMixedLaw_comp_rho |
| 363 | (hk : ∀ (b : p → 𝔸 E) (f : 𝒮 V), L (V.ϱ (D.kAdelic *ᵥ b) f) = L f) |
| 364 | (hi : ∀ (w : n₀ → 𝔸 E) (f : 𝒮 V), L (V.ϱ (D.iAdelic *ᵥ w) f) = V₀.ϱ w (L f)) : |
| 365 | D.IsMixedLaw fun x : p → 𝔸 E ↦ L ∘L V.ϱ (D.lAdelic *ᵥ x) := by |
| 366 | intro x y f |
| 367 | -- Split y = k b + ι w + l a. By `hk` the left side may be preceded by ϱ(-k b), and by `hi` the |
| 368 | -- operator ϱ(w) on the right moves inside L as ϱ(ι w). |
| 369 | set b : p → 𝔸 E := D.kCoord *ᵥ y |
| 370 | set w : n₀ → 𝔸 E := D.iCoord *ᵥ y |
| 371 | set a : p → 𝔸 E := D.lCoord *ᵥ y |
| 372 | have h_split : y = D.kAdelic *ᵥ b + D.iAdelic *ᵥ w + D.lAdelic *ᵥ a := by |
| 373 | simp only [b, w, a, mulVec_mulVec, ← add_mulVec, D.sum_frame_mul_coord_eq_one, one_mulVec] |
| 374 | have h_beta_l (u : p → 𝔸 E) : |
| 375 | (adelicHeisenberg E s).β (D.lAdelic *ᵥ u) y = (adelicHeisenberg E 1).β u b := by |
| 376 | rw [D.beta_eq_coords] |
| 377 | simp only [mulVec_mulVec, D.coord_mul_frame, one_mulVec, zero_mulVec, |
| 378 | beta_zero_left, one_mul, mul_one, b] |
| 379 | have h_beta_k (u : p → 𝔸 E) (v : n → 𝔸 E) : |
| 380 | (adelicHeisenberg E s).β (D.kAdelic *ᵥ u) v = |
| 381 | (adelicHeisenberg E 1).β u (D.lCoord *ᵥ v) := by |
| 382 | rw [D.beta_eq_coords] |
| 383 | simp only [mulVec_mulVec, D.coord_mul_frame, one_mulVec, zero_mulVec, |
| 384 | beta_zero_left, mul_one] |
| 385 | have h_beta_i (u : n₀ → 𝔸 E) (v : p → 𝔸 E) : |
| 386 | (adelicHeisenberg E s).β (D.iAdelic *ᵥ u) (D.lAdelic *ᵥ v) = 1 := by |
| 387 | rw [D.beta_eq_coords] |
| 388 | simp only [mulVec_mulVec, D.coord_mul_frame, one_mulVec, zero_mulVec, |
| 389 | beta_zero_left, beta_zero_right, mul_one] |
| 390 | have h_vec : |
| 391 | D.kAdelic *ᵥ (-b) + D.lAdelic *ᵥ x + y = D.iAdelic *ᵥ w + D.lAdelic *ᵥ (x + a) := by |
| 392 | rw [h_split, mulVec_neg, mulVec_add] |
| 393 | abel |
| 394 | simp only [ContinuousLinearMap.comp_apply] |
| 395 | rw [← hk (-b), ← hi w, V.heisenbergRep.mul, V.heisenbergRep.mul, V.heisenbergRep.mul, |
| 396 | L.map_smul, L.map_smul, L.map_smul, h_beta_k, mulVec_mulVec, D.lCoord_mul_lAdelic, one_mulVec, |
| 397 | add_left, h_beta_k, h_beta_l, beta_neg_left, beta_neg_left, h_beta_i, one_smul, h_vec, |
| 398 | smul_smul, ← add_left, add_comm a x, ← add_left] |
| 399 | |
| 400 | /-- The Gaussian integral along the isotropic frame `k`. With e(y) = exp(−|y|²/2) and β the |
| 401 | bicharacter of `realHeisenberg 1` on ℂ^ι, the integral of β(2x + c, b) e(c) e(b) over b is |
| 402 | exp(−|x|²) e(x + c)² 2^|ι|. -/ |
| 403 | lemma integral_beta_mul_realVac {ι : Type*} [Fintype ι] [DecidableEq ι] (x c : ι → ℂ) : |
| 404 | ∫ b : ι → ℂ, (realHeisenberg 1).β (x + (x + c)) b * (realVac c * realVac b) ∂normalizedVolume ι |
| 405 | = exp (-(star x ⬝ᵥ x)) * (realVac (x + c) ^ 2 * 2 ^ Fintype.card ι) := by |
| 406 | set y : ι → ℂ := x + (x + c) with hy |
| 407 | -- The integral of exp(-(b + y)*(b - y) / 2) over b, by a shift in `integral_gauss`. |
| 408 | have h_gauss : |
| 409 | ∫ b : ι → ℂ, exp (-(2⁻¹ * (star b ⬝ᵥ b + star y ⬝ᵥ b - (star b ⬝ᵥ y + star y ⬝ᵥ y)))) |
| 410 | ∂normalizedVolume ι = 2 ^ Fintype.card ι := by |
| 411 | simpa using (integral_add_right_eq_self _ y).trans |
| 412 | (integral_gauss (A := scalar ι 2⁻¹) (by simp [IsAccretive, add_pos]) (y + y)) |
| 413 | have h_square (b : ι → ℂ) : |
| 414 | (realHeisenberg 1).β y b * (realVac c * realVac b) = realVac c * realVac y * |
| 415 | exp (-(2⁻¹ * (star b ⬝ᵥ b + star y ⬝ᵥ b - (star b ⬝ᵥ y + star y ⬝ᵥ y)))) := by |
| 416 | have h_β : (realHeisenberg 1).β y b = exp ((star b ⬝ᵥ y - star y ⬝ᵥ b) / 2) := by |
| 417 | simp only [realHeisenberg, signMatrix, Pi.one_apply, Units.val_one, Int.cast_one, |
| 418 | diagonal_one, one_mulVec] |
| 419 | simp only [h_β, realVac, ← exp_add] |
| 420 | congr 1 |
| 421 | ring |
| 422 | -- The parallelogram identity |c|² + |2x + c|² = 2|x|² + 2|x + c|². |
| 423 | have h_parallelogram : realVac c * realVac y = exp (-(star x ⬝ᵥ x)) * realVac (x + c) ^ 2 := by |
| 424 | simp only [hy, realVac, sq, ← exp_add, star_add, add_dotProduct, dotProduct_add] |
| 425 | congr 1 |
| 426 | ring |
| 427 | simp_rw [h_square, integral_const_mul, h_gauss, h_parallelogram, mul_assoc] |
| 428 | |
| 429 | /-- The real vacuum is a Gaussian in the mixed model. Let `T` obey the law of a mixed model |
| 430 | (`IsMixedLaw`) for the splitting `D`, and let `g` be adapted to `t` (`IsAdapted`). With `P`, `P₀` |
| 431 | the real vacuum projections of `V`, `V₀`, we have |
| 432 | `T x (ω(g) P f) = exp(−|a|²) P₀ (T 0 (ω(g) P f))` at the point `x = (t⁻¹)ᴴ (realVec a)`. -/ |
| 433 | lemma IsAdapted.omega_projReal_of_isMixedLaw (hT : D.IsMixedLaw T) {g : G E s} |
| 434 | {t : GL p (𝔸 E)} (hg : D.IsAdapted g t) (a : InfinitePlace E × p → ℂ) (f : 𝒮 V) : |
| 435 | T (t.val⁻¹ᴴ *ᵥ realVec a) (V.ω g (V.projReal f)) = |
| 436 | exp (-(Star.star a ⬝ᵥ a)) • V₀.projReal (T 0 (V.ω g (V.projReal f))) := by |
| 437 | -- Write P f = ∫ e(y) ϱ(y) f dy, e the Gaussian, in the coordinates y = (c, b, w) of the adapted |
| 438 | -- frame. Under T the b-integral is a Gaussian integral and the w-integral is P₀. This gives |
| 439 | -- T((t⁻¹)ᴴ realVec x) ω(g) P f = exp(-|x|²) C with C independent of x; compare with x = 0. |
| 440 | have h_orth : (realMatrix (D.frameAt g t))ᴴ * realMatrix (D.frameAt g t) = 1 := |
| 441 | conjTranspose_realMatrix_mul_self _ hg |
| 442 | have h_card : card (InfinitePlace E × ((p ⊕ p) ⊕ n₀)) = card (InfinitePlace E × n) := by |
| 443 | simp only [card_prod, card_sum, D.card_eq] |
| 444 | ring |
| 445 | have h_orth' : realMatrix (D.frameAt g t) * (realMatrix (D.frameAt g t))ᴴ = 1 := |
| 446 | (mul_eq_one_comm_of_card_eq _ _ _ h_card).1 h_orth |
| 447 | -- The frame is a unitary matrix, so it keeps the Gaussian and hence (`measurePreserving_equiv`) |
| 448 | -- the measure. |
| 449 | have h_vac (y : InfinitePlace E × ((p ⊕ p) ⊕ n₀) → ℂ) : |
| 450 | realVac (realMatrix (D.frameAt g t) *ᵥ y) = realVac y := by |
| 451 | rw [realVac, realVac, star_mulVec_dotProduct, mulVec_mulVec, h_orth, one_mulVec] |
| 452 | let φ : (InfinitePlace E × ((p ⊕ p) ⊕ n₀) → ℂ) ≃ₜ+ (InfinitePlace E × n → ℂ) := |
| 453 | { toFun := (realMatrix (D.frameAt g t) *ᵥ ·) |
| 454 | invFun := ((realMatrix (D.frameAt g t))ᴴ *ᵥ ·) |
| 455 | left_inv y := by dsimp only; rw [mulVec_mulVec, h_orth, one_mulVec] |
| 456 | right_inv y := by dsimp only; rw [mulVec_mulVec, h_orth', one_mulVec] |
| 457 | map_add' := mulVec_add _ |
| 458 | continuous_toFun := continuous_pi fun i ↦ continuous_finsetSum Finset.univ fun j _ ↦ |
| 459 | continuous_const.mul (continuous_apply j) |
| 460 | continuous_invFun := continuous_pi fun i ↦ continuous_finsetSum Finset.univ fun j _ ↦ |
| 461 | continuous_const.mul (continuous_apply j) } |
| 462 | have h_frame : MeasurePreserving (realMatrix (D.frameAt g t) *ᵥ ·) (normalizedVolume _) |
| 463 | (normalizedVolume _) := |
| 464 | measurePreserving_equiv (realHeisenberg 1) (realHeisenberg 1) (φ := φ) h_vac |
| 465 | -- Splitting the coordinates as ((c, b), w), and then as (c, b), preserves the measure too. |
| 466 | let outer : (realHeisenberg (realSigns E ((1 : p ⊕ p → ℤˣ) ⊕ᵥ s₀))).OrthogonalSum |
| 467 | (realHeisenberg (realSigns E (1 : p ⊕ p → ℤˣ))) (realHeisenberg (realSigns E s₀)) realVac := |
| 468 | realCoordSum (realSigns_comp_split signs_comp_refl) |
| 469 | let inner : (realHeisenberg (realSigns E ((1 : p → ℤˣ) ⊕ᵥ (1 : p → ℤˣ)))).OrthogonalSum |
| 470 | (realHeisenberg (realSigns E (1 : p → ℤˣ))) (realHeisenberg (realSigns E (1 : p → ℤˣ))) |
| 471 | realVac := |
| 472 | realCoordSum (realSigns_comp_split signs_comp_refl) |
| 473 | let coord (c b : InfinitePlace E × p → ℂ) (w : InfinitePlace E × n₀ → ℂ) : |
| 474 | InfinitePlace E × n → ℂ := |
| 475 | realMatrix (D.frameAt g t) *ᵥ outer.equiv (inner.equiv (c, b), w) |
| 476 | have h_fubini (F : (InfinitePlace E × n → ℂ) → 𝒮 V₀) (hF : Integrable F (normalizedVolume _)) : |
| 477 | ∫ y, F y ∂normalizedVolume _ = |
| 478 | ∫ c, ∫ b, ∫ w, F (coord c b w) ∂normalizedVolume _ ∂normalizedVolume _ ∂normalizedVolume |
| 479 | _ := by |
| 480 | obtain ⟨h_int, h_outer⟩ := (h_frame.comp outer.measurePreserving_equiv).fubini hF |
| 481 | exact h_outer.symm.trans |
| 482 | (inner.measurePreserving_equiv.integral_integral_comp h_int.integral_prod_left).symm |
| 483 | -- The character of the law at real vectors is the real bicharacter. |
| 484 | have h_char (y b : InfinitePlace E × p → ℂ) : |
| 485 | (adelicHeisenberg E 1).β (realVec y) (realVec b) = (realHeisenberg 1).β y b := by |
| 486 | have h := (adelicSum E (n := p) 1).beta_equiv (y, 0) (b, 0) |
| 487 | rw [adelicSum_real_eq_realVec, adelicSum_real_eq_realVec, beta_zero_left, mul_one] at h |
| 488 | exact h |
| 489 | let N (x : InfinitePlace E × p → ℂ) : 𝒮 V →L[ℂ] 𝒮 V₀ := T (t.val⁻¹ᴴ *ᵥ realVec x) ∘L V.ω g |
| 490 | -- The law of T in the coordinates (c, b, w). |
| 491 | have h_law (x c b : InfinitePlace E × p → ℂ) (w : InfinitePlace E × n₀ → ℂ) : |
| 492 | N x (V.ϱ (realVec (coord c b w)) f) = |
| 493 | (realHeisenberg 1).β (x + (x + c)) b • V₀.ϱ (realVec w) (N (x + c) f) := by |
| 494 | have h_vec : realVec (outer.equiv (inner.equiv (c, b), w)) = |
| 495 | (realVec c ⊕ᵥ realVec b) ⊕ᵥ realVec w := by |
| 496 | simp only [outer, inner, realVec_realCoordSum] |
| 497 | have h_g_coord : g.adeleMatrix *ᵥ realVec (coord c b w) = |
| 498 | D.lAdelic *ᵥ (t.val⁻¹ᴴ *ᵥ realVec c) + D.kAdelic *ᵥ (t.val *ᵥ realVec b) + |
| 499 | D.iAdelic *ᵥ realVec w := by |
| 500 | dsimp only [coord] |
| 501 | rw [realVec_realMatrix_mulVec, h_vec, mulVec_mulVec, frameAt, ← Matrix.mul_assoc, |
| 502 | ← G.adeleMatrix_mul, mul_inv_cancel, G.adeleMatrix_one, Matrix.one_mul, |
| 503 | fromCols_mulVec, Sum.elim_comp_inl, Sum.elim_comp_inr, |
| 504 | fromCols_mulVec, Sum.elim_comp_inl, Sum.elim_comp_inr, |
| 505 | ← mulVec_mulVec, ← mulVec_mulVec, coe_units_inv] |
| 506 | have h_l : D.lCoord *ᵥ (g.adeleMatrix *ᵥ realVec (coord c b w)) = t.val⁻¹ᴴ *ᵥ realVec c := by |
| 507 | rw [h_g_coord, mulVec_add, mulVec_add, mulVec_mulVec _ D.lCoord D.lAdelic, |
| 508 | D.lCoord_mul_lAdelic, one_mulVec, mulVec_mulVec _ D.lCoord D.kAdelic, D.lCoord_mul_kAdelic, |
| 509 | zero_mulVec, mulVec_mulVec _ D.lCoord D.iAdelic, D.lCoord_mul_iAdelic, zero_mulVec, |
| 510 | add_zero, add_zero] |
| 511 | have h_k : D.kCoord *ᵥ (g.adeleMatrix *ᵥ realVec (coord c b w)) = t.val *ᵥ realVec b := by |
| 512 | rw [h_g_coord, mulVec_add, mulVec_add, mulVec_mulVec _ D.kCoord D.lAdelic, |
| 513 | D.kCoord_mul_lAdelic, zero_mulVec, mulVec_mulVec _ D.kCoord D.kAdelic, D.kCoord_mul_kAdelic, |
| 514 | one_mulVec, mulVec_mulVec _ D.kCoord D.iAdelic, D.kCoord_mul_iAdelic, zero_mulVec, |
| 515 | zero_add, add_zero] |
| 516 | have h_i : D.iCoord *ᵥ (g.adeleMatrix *ᵥ realVec (coord c b w)) = realVec w := by |
| 517 | rw [h_g_coord, mulVec_add, mulVec_add, mulVec_mulVec _ D.iCoord D.lAdelic, |
| 518 | D.iCoord_mul_lAdelic, zero_mulVec, mulVec_mulVec _ D.iCoord D.kAdelic, D.iCoord_mul_kAdelic, |
| 519 | zero_mulVec, mulVec_mulVec _ D.iCoord D.iAdelic, D.iCoord_mul_iAdelic, one_mulVec, |
| 520 | zero_add, zero_add] |
| 521 | have h_sum : t.val⁻¹ᴴ *ᵥ realVec x + t.val⁻¹ᴴ *ᵥ realVec c = t.val⁻¹ᴴ *ᵥ realVec (x + c) := by |
| 522 | rw [← mulVec_add, ← realVec.map_add] |
| 523 | have h_beta : |
| 524 | (adelicHeisenberg E 1).β (t.val⁻¹ᴴ *ᵥ realVec x + t.val⁻¹ᴴ *ᵥ realVec (x + c)) |
| 525 | (t.val *ᵥ realVec b) = (adelicHeisenberg E 1).β (realVec (x + (x + c))) (realVec b) := by |
| 526 | rw [← mulVec_add, ← realVec.map_add] |
| 527 | dsimp only [adelicHeisenberg] |
| 528 | congr 2 |
| 529 | rw [stdForm_one, one_mulVec, one_mulVec, star_mulVec_dotProduct, mulVec_mulVec, |
| 530 | ← conjTranspose_mul, ← coe_units_inv, ← Units.val_mul, inv_mul_cancel, Units.val_one, |
| 531 | conjTranspose_one, one_mulVec] |
| 532 | dsimp only [N] |
| 533 | rw [ContinuousLinearMap.comp_apply, omega_rho, hT, h_l, h_k, h_i, h_sum, h_beta, h_char] |
| 534 | rfl |
| 535 | have h_vac_coord (c b : InfinitePlace E × p → ℂ) (w : InfinitePlace E × n₀ → ℂ) : |
| 536 | realVac (coord c b w) = realVac c * realVac b * realVac w := by |
| 537 | simp only [coord, h_vac, OrthogonalSum.vac_equiv] |
| 538 | -- The main formula, after any bounded operator M. |
| 539 | have key (x : InfinitePlace E × p → ℂ) (M : 𝒮 V₀ →L[ℂ] 𝒮 V₀) : |
| 540 | M (N x (V.projReal f)) = exp (-(star x ⬝ᵥ x)) • |
| 541 | ∫ c, (realVac c ^ 2 * 2 ^ Fintype.card (InfinitePlace E × p)) • |
| 542 | M (V₀.projReal (N c f)) ∂normalizedVolume _ := by |
| 543 | have h_int : Integrable (fun y ↦ realVac y • M (N x (V.ϱ (realVec y) f))) |
| 544 | (normalizedVolume _) := |
| 545 | (Fock.vacVector (ε := realSigns E s)).integrable.smul_bdd (‖M ∘L N x‖ * ‖f‖) |
| 546 | ((M ∘L N x).continuous.comp |
| 547 | (V.heisenbergRep.cont.comp |
| 548 | (continuous_realVec.prodMk continuous_const))).aestronglyMeasurable |
| 549 | (.of_forall fun y ↦ |
| 550 | ((M ∘L N x).le_opNorm (V.ϱ (realVec y) f)).trans_eq (by rw [Rep.norm_map])) |
| 551 | -- The w-integral is the projection on the real vacuum of `V₀`. |
| 552 | have h_proj (u : 𝒮 V₀) : |
| 553 | ∫ w, realVac w • M (V₀.ϱ (realVec w) u) ∂normalizedVolume _ = M (V₀.projReal u) := |
| 554 | (V₀.map_integrated_eq_integral_realVec Fock.vacVector u M).symm |
| 555 | have h_step (c : InfinitePlace E × p → ℂ) : |
| 556 | (∫ b, ∫ w, realVac (coord c b w) • M (N x (V.ϱ (realVec (coord c b w)) f)) |
| 557 | ∂normalizedVolume _ ∂normalizedVolume _) = |
| 558 | exp (-(star x ⬝ᵥ x)) • |
| 559 | (realVac (x + c) ^ 2 * 2 ^ Fintype.card (InfinitePlace E × p)) • |
| 560 | M (V₀.projReal (N (x + c) f)) := by |
| 561 | have h_inner (b : InfinitePlace E × p → ℂ) : |
| 562 | (∫ w, realVac (coord c b w) • M (N x (V.ϱ (realVec (coord c b w)) f)) |
| 563 | ∂normalizedVolume _) = |
| 564 | ((realHeisenberg 1).β (x + (x + c)) b * (realVac c * realVac b)) • |
| 565 | M (V₀.projReal (N (x + c) f)) := by |
| 566 | rw [← h_proj (N (x + c) f), ← integral_smul] |
| 567 | congr 1; funext w |
| 568 | rw [h_law, h_vac_coord, M.map_smul, smul_smul, smul_smul] |
| 569 | congr 1 |
| 570 | ring |
| 571 | simp_rw [h_inner] |
| 572 | rw [integral_smul_const, integral_beta_mul_realVac, mul_smul] |
| 573 | rw [show M (N x (V.projReal f)) = |
| 574 | ∫ y, realVac y • M (N x (V.ϱ (realVec y) f)) ∂normalizedVolume _ from |
| 575 | V.map_integrated_eq_integral_realVec Fock.vacVector f (M ∘L N x), h_fubini _ h_int] |
| 576 | simp_rw [h_step] |
| 577 | rw [integral_smul] |
| 578 | exact congrArg _ (integral_add_left_eq_self (fun c ↦ |
| 579 | (realVac c ^ 2 * 2 ^ Fintype.card (InfinitePlace E × p)) • M (V₀.projReal (N c f))) x) |
| 580 | -- At x = 0 the formula with M = P₀ identifies the integral with P₀ T₀ ω(g) P f. |
| 581 | have h_proj_idem (u : 𝒮 V₀) : V₀.projReal (V₀.projReal u) = V₀.projReal u := by |
| 582 | rw [projReal, integrated_integrated, |
| 583 | IsVacuum.vacElem_apply (H := realHeisenberg (realSigns E s₀)), |
| 584 | IsVacuum.apply_zero (H := realHeisenberg (realSigns E s₀)), one_smul] |
| 585 | have h_zero : V₀.projReal (T 0 (V.ω g (V.projReal f))) = |
| 586 | ∫ c, (realVac c ^ 2 * 2 ^ Fintype.card (InfinitePlace E × p)) • |
| 587 | V₀.projReal (N c f) ∂normalizedVolume _ := by |
| 588 | have h0 := key 0 V₀.projReal |
| 589 | simp only [star_zero, zero_dotProduct, neg_zero, Complex.exp_zero, one_smul, |
| 590 | h_proj_idem] at h0 |
| 591 | have hN0 : N 0 = T 0 ∘L V.ω g := by |
| 592 | dsimp only [N] |
| 593 | rw [realVec.map_zero, mulVec_zero] |
| 594 | rw [hN0, ContinuousLinearMap.comp_apply] at h0 |
| 595 | exact h0 |
| 596 | rw [h_zero] |
| 597 | exact key a 1 |
| 598 | |
| 599 | /-- Let `T` obey the law of a mixed model (`IsMixedLaw`) for the splitting `D`, and let `g` be |
| 600 | adapted to `t` (`IsAdapted`). Then there is a bounded map `L` between the Fock spaces of `V` and |
| 601 | `V₀` with `T 0 (ω(g)(v ⊗ f)) = L v ⊗ T 0 (ω(g) P f)`, where `P` is the projection on the real |
| 602 | vacuum and `⊗` stands for `New.Space.integrated`. -/ |
| 603 | lemma IsAdapted.exists_apply_zero_omega_integrated_eq (hT : D.IsMixedLaw T) {g : G E s} |
| 604 | {t : GL p (𝔸 E)} (hg : D.IsAdapted g t) : |
| 605 | ∃ L : Model (realHeisenberg (realSigns E s)) →L[ℂ] Model (realHeisenberg (realSigns E s₀)), |
| 606 | ∀ (v : Model (realHeisenberg (realSigns E s))) (f : 𝒮 V), |
| 607 | T 0 (V.ω g (V.integrated v f)) = V₀.integrated (L v) (T 0 (V.ω g (V.projReal f))) := by |
| 608 | -- L is determined by the images K y of the translated vacua ρ(y) vac. Let g `realVec y` have the |
| 609 | -- parts c, w, b along l, V₀, k. The law gives the character `χ y` and ϱ(w), and |
| 610 | -- `omega_projReal_of_isMixedLaw` gives a Gaussian in `a y`, the real vector t* c. |
| 611 | let a (y : InfinitePlace E × n → ℂ) : InfinitePlace E × p → ℂ := |
| 612 | realMatrix (t.valᴴ * D.lCoord * g.adeleMatrix) *ᵥ y |
| 613 | let χ (y : InfinitePlace E × n → ℂ) : ℂ := |
| 614 | (adelicHeisenberg E 1).β ((D.lCoord * g.adeleMatrix) *ᵥ realVec y) |
| 615 | ((D.kCoord * g.adeleMatrix) *ᵥ realVec y) |
| 616 | let K (y : InfinitePlace E × n → ℂ) : fockSpace (realSigns E s₀) := |
| 617 | (χ y * exp (-(star (a y) ⬝ᵥ a y))) • |
| 618 | realHeisenbergOp (realMatrix (D.iCoord * g.adeleMatrix) *ᵥ y) Fock.vacVector |
| 619 | have h_vec (M : Matrix p n (𝔸 E)) : |
| 620 | Continuous fun y : InfinitePlace E × n → ℂ ↦ M *ᵥ realVec y := |
| 621 | continuous_pi fun i ↦ continuous_finsetSum Finset.univ fun j _ ↦ |
| 622 | continuous_const.mul ((continuous_apply j).comp continuous_realVec) |
| 623 | have hχ_cont : Continuous χ := (adelicHeisenberg E 1).cont.comp₂ (h_vec _) (h_vec _) |
| 624 | have ha_cont : Continuous a := |
| 625 | continuous_pi fun i ↦ continuous_finsetSum Finset.univ fun j _ ↦ |
| 626 | continuous_const.mul (continuous_apply j) |
| 627 | have hi_cont : Continuous fun y : InfinitePlace E × n → ℂ ↦ |
| 628 | realMatrix (D.iCoord * g.adeleMatrix) *ᵥ y := |
| 629 | continuous_pi fun i ↦ continuous_finsetSum Finset.univ fun j _ ↦ |
| 630 | continuous_const.mul (continuous_apply j) |
| 631 | have h_dot_cont : Continuous fun y : InfinitePlace E × n → ℂ ↦ star (a y) ⬝ᵥ a y := |
| 632 | continuous_finsetSum Finset.univ fun i _ ↦ |
| 633 | (Complex.continuous_conj.comp ((continuous_apply i).comp ha_cont)).mul |
| 634 | ((continuous_apply i).comp ha_cont) |
| 635 | have hK_cont : Continuous K := |
| 636 | (hχ_cont.mul h_dot_cont.neg.cexp).smul |
| 637 | ((Heisenberg.IsVacuum.heisenbergRep (H := realHeisenberg (realSigns E s₀))).cont.comp |
| 638 | (hi_cont.prodMk continuous_const)) |
| 639 | have hK_bdd (y : InfinitePlace E × n → ℂ) : |
| 640 | ‖K y‖ ≤ ‖(Fock.vacVector : fockSpace (realSigns E s₀))‖ := by |
| 641 | -- `χ y` has modulus one, the Heisenberg operator is isometric and the Gaussian is at most 1. |
| 642 | have h_gauss_le : Real.exp (-(star (a y) ⬝ᵥ a y).re) ≤ 1 := |
| 643 | Real.exp_le_one_iff.mpr |
| 644 | (neg_nonpos.mpr ((sq_nonneg ‖a y‖).trans (norm_sq_le_re_star_dotProduct_self (a y)))) |
| 645 | rw [show ‖K y‖ = Real.exp (-(star (a y) ⬝ᵥ a y).re) * |
| 646 | ‖(Fock.vacVector : fockSpace (realSigns E s₀))‖ by |
| 647 | simp only [K, χ, norm_smul, norm_mul, norm_eq_one, one_mul, norm_exp, neg_re, Rep.norm_map]] |
| 648 | exact mul_le_of_le_one_left (norm_nonneg _) h_gauss_le |
| 649 | -- `exists_lift` gives a bounded `L` with `M ∘ L = N` once `M (K y) = N (ρ(y) vacuum)` for all |
| 650 | -- `y`. |
| 651 | obtain ⟨L, hL⟩ := exists_lift (H := realHeisenberg (realSigns E s)) (Y := 𝒮 V₀) hK_cont hK_bdd |
| 652 | refine ⟨L, fun v f ↦ ?_⟩ |
| 653 | set u : 𝒮 V := V.ω g (V.projReal f) |
| 654 | have h_translate (y : InfinitePlace E × n → ℂ) : |
| 655 | V₀.integrated (K y) (T 0 u) = |
| 656 | T 0 (V.ω g (V.integrated (realHeisenbergOp y Fock.vacVector) f)) := by |
| 657 | let c : p → 𝔸 E := (D.lCoord * g.adeleMatrix) *ᵥ realVec y |
| 658 | have h_gauss : T c u = exp (-(star (a y) ⬝ᵥ a y)) • V₀.projReal (T 0 u) := by |
| 659 | rw [← hg.omega_projReal_of_isMixedLaw hT (a y) f] |
| 660 | congr 1 |
| 661 | dsimp only [a, c] |
| 662 | rw [realVec_realMatrix_mulVec, mulVec_mulVec, ← Matrix.mul_assoc, ← Matrix.mul_assoc, |
| 663 | ← coe_units_inv, ← conjTranspose_mul, ← Units.val_mul, mul_inv_cancel, Units.val_one, |
| 664 | conjTranspose_one, Matrix.one_mul] |
| 665 | dsimp only [K] |
| 666 | rw [V₀.integrated.map_smul, _root_.smul_apply, integrated_realHeisenbergOp, |
| 667 | realVec_realMatrix_mulVec, mul_smul, ← (V₀.ϱ _).map_smul, ← h_gauss, |
| 668 | integrated_realHeisenbergOp, omega_rho, hT 0 (g.adeleMatrix *ᵥ realVec y) u] |
| 669 | simp only [zero_add, mulVec_mulVec] |
| 670 | rfl |
| 671 | exact (hL (V₀.integrated.flip (T 0 u)) (T 0 ∘L V.ω g ∘L V.integrated.flip f) h_translate v).symm |
| 672 | |
| 673 | end New.Space.Splitting |