goldbach-spectral-bridge
Li and Liu's GRH + S ⇒ Goldbach in Lean, checked against the paper by Comparator: clean it up together, and settle S
| 1 | module |
| 2 | |
| 3 | public import Mathlib.MeasureTheory.Function.L2Space |
| 4 | public import ConditionalGoldbach.Proofs.SpectralL2Kernel |
| 5 | |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators ComplexConjugate Topology |
| 11 | open MeasureTheory Filter Set Complex InnerProductSpace |
| 12 | namespace ConditionalGoldbach |
| 13 | attribute [local instance] Classical.propDecidable |
| 14 | variable {α β : Type*} [MeasurableSpace α] [MeasurableSpace β] |
| 15 | variable {μ : Measure α} {ν : Measure β} |
| 16 | |
| 17 | /-- Products of two scalar L² functions on separate variables remain L². -/ |
| 18 | theorem l2Kernel_product_memLp (f : Lp ℂ 2 μ) (g : Lp ℂ 2 ν) : |
| 19 | MemLp (fun p : α × β => conj (f p.1) * g p.2) 2 (μ.prod ν) := by |
| 20 | have hm : AEStronglyMeasurable (fun p : α × β => conj (f p.1) * g p.2) (μ.prod ν) := |
| 21 | ((Lp.aestronglyMeasurable f).comp_fst.star).mul (Lp.aestronglyMeasurable g).comp_snd |
| 22 | apply (memLp_two_iff_integrable_sq_norm hm).mpr |
| 23 | simpa only [norm_mul, Complex.norm_conj, mul_pow] using |
| 24 | (Lp.memLp f).norm.integrable_sq.mul_prod (Lp.memLp g).norm.integrable_sq |
| 25 | |
| 26 | /-- The mixed kernel pairing is absolutely integrable on the product measure. -/ |
| 27 | theorem l2Kernel_pairing_integrable [SFinite μ] [SFinite ν] |
| 28 | {K : α × β → ℂ} (hK : MemLp K 2 (μ.prod ν)) |
| 29 | (f : Lp ℂ 2 μ) (g : Lp ℂ 2 ν) : |
| 30 | Integrable (fun p : α × β => conj (f p.1) * K p * g p.2) (μ.prod ν) := by |
| 31 | have hi := memLp_one_iff_integrable.mp (hK.fun_mul (l2Kernel_product_memLp f g)) |
| 32 | convert hi using 1 |
| 33 | funext p |
| 34 | ring |
| 35 | |
| 36 | variable [SFinite μ] [SFinite ν] |
| 37 | |
| 38 | /-- The bounded integral operator has the expected product-integral sesquilinear pairing. -/ |
| 39 | theorem l2KernelOperator_pairing {K : α × β → ℂ} (hK : MemLp K 2 (μ.prod ν)) |
| 40 | (f : Lp ℂ 2 μ) (g : Lp ℂ 2 ν) : |
| 41 | inner ℂ f (l2KernelOperator hK g) = |
| 42 | ∫ p : α × β, conj (f p.1) * K p * g p.2 ∂(μ.prod ν) := by |
| 43 | rw [L2.inner_def, integral_prod _ (l2Kernel_pairing_integrable hK f g)] |
| 44 | apply integral_congr_ae |
| 45 | filter_upwards [l2KernelOperator_coeFn hK g] with x hx |
| 46 | rw [hx] |
| 47 | change (∫ y, K (x, y) * g y ∂ν) * conj (f x) = _ |
| 48 | rw [mul_comm, ← integral_const_mul] |
| 49 | congr 1 |
| 50 | funext y |
| 51 | ring |
| 52 | |
| 53 | /-- An almost-everywhere Hermitian square-integrable kernel defines a self-adjoint operator. -/ |
| 54 | theorem l2KernelOperator_isSelfAdjoint {K : α × α → ℂ} (hK : MemLp K 2 (μ.prod μ)) |
| 55 | (hherm : ∀ᵐ p ∂(μ.prod μ), K p.swap = conj (K p)) : |
| 56 | IsSelfAdjoint (l2KernelOperator hK) := by |
| 57 | apply ContinuousLinearMap.isSelfAdjoint_iff_isSymmetric.mpr |
| 58 | intro f g |
| 59 | change inner ℂ (l2KernelOperator hK f) g = inner ℂ f (l2KernelOperator hK g) |
| 60 | rw [← inner_conj_symm (𝕜 := ℂ) (l2KernelOperator hK f) g, |
| 61 | l2KernelOperator_pairing hK g f, l2KernelOperator_pairing hK f g, ← integral_conj] |
| 62 | rw [← integral_prod_swap (fun p : α × α => conj (f p.1) * K p * g p.2)] |
| 63 | apply integral_congr_ae |
| 64 | filter_upwards [hherm] with p hp |
| 65 | simp only [map_mul, Complex.conj_conj, Prod.fst_swap, Prod.snd_swap] |
| 66 | rw [hp] |
| 67 | ring |
| 68 | |
| 69 | end ConditionalGoldbach |
