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 ConditionalGoldbach.Proofs.HardyContinuousBoundary |
| 4 | public import ConditionalGoldbach.Proofs.HardyKernelPairing |
| 5 | public import ConditionalGoldbach.Proofs.SpectralL2BasisExistence |
| 6 | |
| 7 | /-! Hardy kernel columns determine the entire range and the exact action of the boundary operator. -/ |
| 8 | @[expose] public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | open MeasureTheory Filter Set Complex |
| 13 | open scoped Topology ComplexConjugate |
| 14 | namespace ConditionalGoldbach |
| 15 | |
| 16 | /-- Every column, including those indexed by boundary points, is a Hardy function with its |
| 17 | literal boundary restrictions as traces. -/ |
| 18 | def HasHardyKernelColumns {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) : Prop := |
| 19 | ∀ s : ℂ, s.re ∈ Icc a b → ∃ g : HardySpace a b, |
| 20 | (∀ z ∈ strip a b, fourierLaplace g z = K z s) ∧ |
| 21 | ((boundaryTraces hab g).1 =ᵐ[volume] fun t => K (line a t) s) ∧ |
| 22 | ((boundaryTraces hab g).2 =ᵐ[volume] fun t => K (line b t) s) |
| 23 | |
| 24 | lemma hardyKernelColumns_of_majorant {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| 25 | (hhol : ∀ s : ℂ, s.re ∈ Icc a b → DifferentiableOn ℂ (fun z => K z s) (strip a b)) |
| 26 | (hc : ∀ s : ℂ, s.re ∈ Icc a b → ContinuousOn (fun z => K z s) {z : ℂ | z.re ∈ Icc a b}) |
| 27 | (hbound : ∀ s : ℂ, s.re ∈ Icc a b → ∃ M : ℝ → ℝ, |
| 28 | Integrable M ∧ ∀ x ∈ Icc a b, ∀ t : ℝ, ‖K (line x t) s‖ ^ 2 ≤ M t) : |
| 29 | HasHardyKernelColumns hab K := by |
| 30 | intro s hs |
| 31 | obtain ⟨M, hM, hbound⟩ := hbound s hs |
| 32 | exact hardy_column_of_closedStrip_majorant hab (hhol s hs) (hc s hs) hM hbound |
| 33 | |
| 34 | lemma hardyBoundary_inner_column {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| 35 | (hK : HermitianKernel K) (g : HardySpace a b) (s : ℂ) |
| 36 | (hga : (boundaryTraces hab g).1 =ᵐ[volume] fun t => K (line a t) s) |
| 37 | (hgb : (boundaryTraces hab g).2 =ᵐ[volume] fun t => K (line b t) s) |
| 38 | (f : HardyBoundarySpace) : |
| 39 | inner ℂ (hardyTraceIsometry hab g) f = |
| 40 | (∫ t : ℝ, K s (line a t) * f.fst t) + ∫ t : ℝ, K s (line b t) * f.snd t := by |
| 41 | change inner ℂ (WithLp.toLp 2 (boundaryTraces hab g)) f = _ |
| 42 | rw [WithLp.prod_inner_apply, L2.inner_def, L2.inner_def] |
| 43 | congr 1 |
| 44 | · apply integral_congr_ae |
| 45 | filter_upwards [hga] with t ht |
| 46 | simp only [RCLike.inner_apply] |
| 47 | rw [ht, ← hK s (line a t), mul_comm] |
| 48 | rfl |
| 49 | · apply integral_congr_ae |
| 50 | filter_upwards [hgb] with t ht |
| 51 | simp only [RCLike.inner_apply] |
| 52 | rw [ht, ← hK s (line b t), mul_comm] |
| 53 | rfl |
| 54 | |
| 55 | lemma boundaryKernelOperator_kills_trace_orthogonal {a b : ℝ} (hab : a < b) |
| 56 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 57 | (hK : ∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 58 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 59 | (hcol : HasHardyKernelColumns hab K) |
| 60 | (f : HardyBoundarySpace) |
| 61 | (hf : f ∈ (hardyTraceIsometry hab).toLinearMap.rangeᗮ) : |
| 62 | boundaryKernelOperator a b K hK f = 0 := by |
| 63 | have hp (x : ℝ) (hx : x ∈ Icc a b) (t : ℝ) : |
| 64 | (∫ u : ℝ, K (line x t) (line a u) * f.fst u) + |
| 65 | ∫ u : ℝ, K (line x t) (line b u) * f.snd u = 0 := by |
| 66 | have hs : (line x t).re ∈ Icc a b := by simpa [line] using hx |
| 67 | obtain ⟨g, _, hga, hgb⟩ := hcol (line x t) hs |
| 68 | rw [← hardyBoundary_inner_column hab K hherm g (line x t) hga hgb f] |
| 69 | exact (Submodule.mem_orthogonal _ _).mp hf _ ⟨g, rfl⟩ |
| 70 | obtain ⟨ha, hb⟩ := boundaryKernelOperator_coeFn a b K hK f |
| 71 | apply WithLp.ofLp_injective 2 |
| 72 | apply Prod.ext |
| 73 | · apply Lp.ext |
| 74 | filter_upwards [ha, Lp.coeFn_zero ℂ 2 (volume : Measure ℝ)] with t ht hz |
| 75 | change (boundaryKernelOperator a b K hK f).fst t = _ |
| 76 | rw [ht, hp a ⟨le_rfl, hab.le⟩ t] |
| 77 | exact hz.symm |
| 78 | · apply Lp.ext |
| 79 | filter_upwards [hb, Lp.coeFn_zero ℂ 2 (volume : Measure ℝ)] with t ht hz |
| 80 | change (boundaryKernelOperator a b K hK f).snd t = _ |
| 81 | rw [ht, hp b ⟨hab.le, le_rfl⟩ t] |
| 82 | exact hz.symm |
| 83 | |
| 84 | lemma boundaryKernelOperator_range_hardy {a b : ℝ} (hab : a < b) |
| 85 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 86 | (hK : ∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 87 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 88 | (hcol : HasHardyKernelColumns hab K) (f : HardyBoundarySpace) : |
| 89 | boundaryKernelOperator a b K hK f ∈ Set.range (hardyTraceIsometry hab) := by |
| 90 | let S := (hardyTraceIsometry hab).toLinearMap.range |
| 91 | have hclosed : IsClosed (S : Set HardyBoundarySpace) := (hardyTraceIsometry hab).isometry.isClosedEmbedding.isClosed_range |
| 92 | have he : Sᗮᗮ = S := by |
| 93 | rw [Submodule.orthogonal_orthogonal_eq_closure, hclosed.submodule_topologicalClosure_eq] |
| 94 | change boundaryKernelOperator a b K hK f ∈ S |
| 95 | rw [← he, Submodule.mem_orthogonal] |
| 96 | intro g hg |
| 97 | have hs := (boundaryKernelOperator_isSelfAdjoint a b K hK |
| 98 | (fun x _ y _ t u => hherm (line y u) (line x t))).isSymmetric |
| 99 | calc |
| 100 | inner ℂ g (boundaryKernelOperator a b K hK f) = |
| 101 | inner ℂ (boundaryKernelOperator a b K hK g) f := (hs g f).symm |
| 102 | _ = 0 := by rw [boundaryKernelOperator_kills_trace_orthogonal hab K hherm hK hcol g hg, |
| 103 | inner_zero_left] |
| 104 | |
| 105 | lemma boundaryKernelOperator_trace_evaluation {a b : ℝ} (hab : a < b) |
| 106 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 107 | (hK : ∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 108 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 109 | (hcol : HasHardyKernelColumns hab K) (s : ℂ) (hs : s ∈ strip a b) |
| 110 | (g : HardySpace a b) |
| 111 | (hga : (boundaryTraces hab g).1 =ᵐ[volume] fun t => K (line a t) s) |
| 112 | (hgb : (boundaryTraces hab g).2 =ᵐ[volume] fun t => K (line b t) s) : |
| 113 | boundaryKernelOperator a b K hK (hardyTraceIsometry hab (evaluationVector s)) = |
| 114 | hardyTraceIsometry hab g := by |
| 115 | have hp (x : ℝ) (hx : x ∈ Icc a b) (t : ℝ) : |
| 116 | (∫ u : ℝ, K (line x t) (line a u) * (boundaryTraces hab (evaluationVector s)).1 u) + |
| 117 | ∫ u : ℝ, K (line x t) (line b u) * (boundaryTraces hab (evaluationVector s)).2 u = |
| 118 | K (line x t) s := by |
| 119 | have hz : (line x t).re ∈ Icc a b := by simpa [line] using hx |
| 120 | obtain ⟨gz, hgz, hgza, hgzb⟩ := hcol (line x t) hz |
| 121 | change (∫ u : ℝ, K (line x t) (line a u) * |
| 122 | (hardyTraceIsometry hab (evaluationVector s)).fst u) + |
| 123 | ∫ u : ℝ, K (line x t) (line b u) * |
| 124 | (hardyTraceIsometry hab (evaluationVector s)).snd u = _ |
| 125 | rw [← hardyBoundary_inner_column hab K hherm gz (line x t) hgza hgzb, |
| 126 | (hardyTraceIsometry hab).inner_map_map] |
| 127 | calc |
| 128 | inner ℂ gz (evaluationVector s) = conj (inner ℂ (evaluationVector s) gz) := |
| 129 | (inner_conj_symm _ _).symm |
| 130 | _ = conj (fourierLaplace gz s) := by rw [evaluationVector_spec hs]; rfl |
| 131 | _ = K (line x t) s := by rw [hgz s hs, ← hherm (line x t) s] |
| 132 | obtain ⟨ha, hb⟩ := boundaryKernelOperator_coeFn a b K hK |
| 133 | (hardyTraceIsometry hab (evaluationVector s)) |
| 134 | apply WithLp.ofLp_injective 2 |
| 135 | apply Prod.ext |
| 136 | · apply Lp.ext |
| 137 | filter_upwards [ha, hga] with t ht hg |
| 138 | change (boundaryKernelOperator a b K hK (hardyTraceIsometry hab (evaluationVector s))).fst t = _ |
| 139 | rw [ht] |
| 140 | exact (hp a ⟨le_rfl, hab.le⟩ t).trans hg.symm |
| 141 | · apply Lp.ext |
| 142 | filter_upwards [hb, hgb] with t ht hg |
| 143 | change (boundaryKernelOperator a b K hK (hardyTraceIsometry hab (evaluationVector s))).snd t = _ |
| 144 | rw [ht] |
| 145 | exact (hp b ⟨hab.le, le_rfl⟩ t).trans hg.symm |
| 146 | |
| 147 | lemma hardyBoundaryCompression_represents {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 148 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 149 | (hK : ∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 150 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 151 | (hcol : HasHardyKernelColumns ha K) : |
| 152 | RepresentsKernel ha N K (hardyBoundaryCompression ha (boundaryKernelOperator a beta K hK)) := by |
| 153 | intro f s hs |
| 154 | obtain ⟨g, hg, hga, hgb⟩ := hcol s ⟨hs.1.le, hs.2.le⟩ |
| 155 | rw [evaluationVector_spec hs] |
| 156 | change inner ℂ (evaluationVector s) |
| 157 | (hardyBoundaryCompression ha (boundaryKernelOperator a beta K hK) f) = _ |
| 158 | rw [hardyBoundaryCompression_inner] |
| 159 | have hself := (boundaryKernelOperator_isSelfAdjoint a beta K hK |
| 160 | (fun x _ y _ t u => hherm (line y u) (line x t))).isSymmetric |
| 161 | calc |
| 162 | inner ℂ (hardyTraceIsometry ha (evaluationVector s)) |
| 163 | (boundaryKernelOperator a beta K hK (hardyTraceIsometry ha f)) = |
| 164 | inner ℂ (boundaryKernelOperator a beta K hK (hardyTraceIsometry ha (evaluationVector s))) |
| 165 | (hardyTraceIsometry ha f) := (hself _ _).symm |
| 166 | _ = inner ℂ (hardyTraceIsometry ha g) (hardyTraceIsometry ha f) := by |
| 167 | rw [boundaryKernelOperator_trace_evaluation ha K hherm hK hcol s hs g hga hgb] |
| 168 | _ = kernelAction ha N K f s := hardyBoundary_inner_column ha K hherm g s hga hgb _ |
| 169 | |
| 170 | lemma kernelOperator_eq_boundaryCompression {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 171 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 172 | (hK : ∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 173 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 174 | (hcol : HasHardyKernelColumns ha K) : |
| 175 | kernelOperator ha N K = hardyBoundaryCompression ha (boundaryKernelOperator a beta K hK) := |
| 176 | kernelOperator_eq_of_represents ha N (hardyBoundaryCompression_represents ha N K hherm hK hcol) |
| 177 | |
| 178 | lemma kernelOperator_pairing_of_hardyColumns {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 179 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 180 | (hK : ∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 181 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 182 | (hcol : HasHardyKernelColumns ha K) (s z : ℂ) |
| 183 | (hs : s ∈ strip a beta) (hz : z ∈ strip a beta) : |
| 184 | K s z = paperInner (kernelOperator ha N K (evaluationVector z)) (evaluationVector s) := by |
| 185 | apply kernelOperator_pairing_of_columns ha N K hherm |
| 186 | ⟨_, hardyBoundaryCompression_represents ha N K hherm hK hcol⟩ |
| 187 | (fun w hw => hcol w ⟨hw.1.le, hw.2.le⟩) s z hs hz |
| 188 | |
| 189 | lemma kernelAction_integrable_of_hardyColumns {a : ℝ} (ha : a < beta) |
| 190 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) (hcol : HasHardyKernelColumns ha K) |
| 191 | (h : HardySpace a beta) (s : ℂ) (hs : s ∈ strip a beta) : |
| 192 | Integrable (fun t : ℝ => K s (line a t) * (boundaryTraces ha h).1 t) ∧ |
| 193 | Integrable (fun t : ℝ => K s (line beta t) * (boundaryTraces ha h).2 t) := by |
| 194 | obtain ⟨g, _, hga, hgb⟩ := hcol s ⟨hs.1.le, hs.2.le⟩ |
| 195 | constructor |
| 196 | · apply (L2.integrable_inner (𝕜 := ℂ) (boundaryTraces ha g).1 (boundaryTraces ha h).1).congr |
| 197 | filter_upwards [hga] with t ht |
| 198 | simp only [RCLike.inner_apply, ht] |
| 199 | rw [← hherm s (line a t), mul_comm] |
| 200 | · apply (L2.integrable_inner (𝕜 := ℂ) (boundaryTraces ha g).2 (boundaryTraces ha h).2).congr |
| 201 | filter_upwards [hgb] with t ht |
| 202 | simp only [RCLike.inner_apply, ht] |
| 203 | rw [← hherm s (line beta t), mul_comm] |
| 204 | |
| 205 | lemma kernelOperator_spec_of_hardyColumns {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 206 | (K : ℂ → ℂ → ℂ) (hherm : HermitianKernel K) |
| 207 | (hK : ∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 208 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 209 | (hcol : HasHardyKernelColumns ha K) : |
| 210 | let T := kernelOperator ha N K |
| 211 | RepresentsKernel ha N K T ∧ IsCompactOperator T ∧ IsSelfAdjoint T ∧ |
| 212 | IsHilbertSchmidt T ∧ Nonempty (SpectralData T) ∧ |
| 213 | (∑' j, eigenvalues T j ^ 2) = hsNorm T ^ 2 ∧ |
| 214 | hsNorm T ^ 2 = BoundaryKernelSquareIntegral a beta K ∧ |
| 215 | ‖T‖ = sSup (Set.range (fun j => |eigenvalues T j|)) ∧ |
| 216 | (T ≠ 0 → ∃ j, |eigenvalues T j| = ‖T‖) := by |
| 217 | dsimp only |
| 218 | rw [kernelOperator_eq_boundaryCompression ha N K hherm hK hcol] |
| 219 | exact ⟨hardyBoundaryCompression_represents ha N K hherm hK hcol, |
| 220 | hardyBoundaryKernel_spectral_spec_no_basis ha K hK |
| 221 | (fun x _ y _ t u => hherm (line y u) (line x t)) |
| 222 | (boundaryKernelOperator_range_hardy ha K hherm hK hcol)⟩ |
| 223 | |
| 224 | end ConditionalGoldbach |
