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.ArithmeticKernelRealization |
| 4 | |
| 5 | /-! Reusable weighted component kernels on the same Hardy strip. -/ |
| 6 | @[expose] public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open MeasureTheory Filter Set Complex |
| 11 | open scoped Topology ComplexConjugate BigOperators |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | def weightedAnalyticKernel (F : ℂ → ℂ → ℂ) (s z : ℂ) : ℂ := |
| 15 | F s (conj z) / ((1 + s) * (1 + conj z)) |
| 16 | |
| 17 | lemma weightedAnalyticKernel_power_bound {a b : ℝ} (ha : 0 ≤ a) |
| 18 | (F : ℂ → ℂ → ℂ) (C : ℝ) (hC : 0 ≤ C) |
| 19 | (hR : ∀ s z : ℂ, s.re ∈ Icc a b → z.re ∈ Icc a b → |
| 20 | ‖F s (conj z)‖ ≤ |
| 21 | C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ)) : |
| 22 | ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ v t : ℝ, |
| 23 | ‖weightedAnalyticKernel F (line x v) (line y t)‖ ^ 2 ≤ |
| 24 | (16 * C ^ 2) * (1 + |v|) ^ (- (3 / 2 : ℝ)) * |
| 25 | (1 + |t|) ^ (- (3 / 2 : ℝ)) := by |
| 26 | intro x hx y hy v t |
| 27 | have hv0 : 0 < 1 + |v| := by positivity |
| 28 | have ht0 : 0 < 1 + |t| := by positivity |
| 29 | have hvl := one_add_line_norm_lower (ha.trans hx.1) v |
| 30 | have htl := one_add_line_norm_lower (ha.trans hy.1) t |
| 31 | have hR' : ‖F (line x v) (conj (line y t))‖ ≤ |
| 32 | C * (1 + |v|) ^ (1 / 4 : ℝ) * (1 + |t|) ^ (1 / 4 : ℝ) := by |
| 33 | simpa [line] using hR (line x v) (line y t) (by simpa [line] using hx) (by simpa [line] using hy) |
| 34 | have hnorm : ‖weightedAnalyticKernel F (line x v) (line y t)‖ ≤ |
| 35 | (4 * C) * (1 + |v|) ^ (- (3 / 4 : ℝ)) * (1 + |t|) ^ (- (3 / 4 : ℝ)) := by |
| 36 | rw [weightedAnalyticKernel, norm_div, norm_mul] |
| 37 | have hc : ‖1 + conj (line y t)‖ = ‖1 + line y t‖ := by |
| 38 | simpa only [map_add, map_one] using Complex.norm_conj (1 + line y t) |
| 39 | rw [hc] |
| 40 | calc |
| 41 | _ ≤ (C * (1 + |v|) ^ (1 / 4 : ℝ) * (1 + |t|) ^ (1 / 4 : ℝ)) / |
| 42 | (((1 + |v|) / 2) * ((1 + |t|) / 2)) := |
| 43 | div_le_div₀ (by positivity) hR' (by positivity) |
| 44 | (mul_le_mul hvl htl (by positivity) (norm_nonneg _)) |
| 45 | _ = _ := by |
| 46 | have hv : (1 + |v|) ^ (- (3 / 4 : ℝ)) = |
| 47 | (1 + |v|) ^ (1 / 4 : ℝ) / (1 + |v|) := by |
| 48 | rw [show - (3 / 4 : ℝ) = 1 / 4 - 1 by norm_num, Real.rpow_sub hv0, Real.rpow_one] |
| 49 | have ht : (1 + |t|) ^ (- (3 / 4 : ℝ)) = |
| 50 | (1 + |t|) ^ (1 / 4 : ℝ) / (1 + |t|) := by |
| 51 | rw [show - (3 / 4 : ℝ) = 1 / 4 - 1 by norm_num, Real.rpow_sub ht0, Real.rpow_one] |
| 52 | rw [hv, ht] |
| 53 | field_simp; ring |
| 54 | have hsq := (sq_le_sq₀ (norm_nonneg _) (by positivity)).mpr hnorm |
| 55 | have hp (u : ℝ) (hu : 0 < 1 + |u|) : |
| 56 | ((1 + |u|) ^ (- (3 / 4 : ℝ))) ^ 2 = (1 + |u|) ^ (- (3 / 2 : ℝ)) := by |
| 57 | rw [← Real.rpow_natCast, ← Real.rpow_mul hu.le] |
| 58 | norm_num |
| 59 | simpa only [mul_pow, hp v hv0, hp t ht0, show (4 : ℝ)^2 = 16 by norm_num] using hsq |
| 60 | |
| 61 | |
| 62 | lemma weightedAnalyticKernel_hermitian (F : ℂ → ℂ → ℂ) |
| 63 | (hF : HermitianKernel (fun s z => F s (conj z))) : |
| 64 | HermitianKernel (weightedAnalyticKernel F) := by |
| 65 | intro s z |
| 66 | unfold weightedAnalyticKernel |
| 67 | rw [map_div₀, map_mul, map_add, map_add, map_one, Complex.conj_conj, ← hF s z] |
| 68 | congr 1 |
| 69 | ring |
| 70 | |
| 71 | lemma weightedAnalyticKernel_conj_differentiableOn (F : ℂ → ℂ → ℂ) |
| 72 | (hF : DifferentiableOn ℂ (Function.uncurry F) analyticDomain) : |
| 73 | DifferentiableOn ℂ (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj p.2)) analyticDomain := by |
| 74 | intro p hp |
| 75 | have hs : (1 : ℂ) + p.1 ≠ 0 := by |
| 76 | intro he |
| 77 | have hh := congrArg Complex.re he |
| 78 | simp only [Complex.add_re, Complex.one_re, Complex.zero_re] at hh |
| 79 | linarith [hp.1] |
| 80 | have hz : (1 : ℂ) + p.2 ≠ 0 := by |
| 81 | intro he |
| 82 | have hh := congrArg Complex.re he |
| 83 | simp only [Complex.add_re, Complex.one_re, Complex.zero_re] at hh |
| 84 | linarith [hp.2.2.1] |
| 85 | simp only [weightedAnalyticKernel, Complex.conj_conj] |
| 86 | have hd : DifferentiableWithinAt ℂ (fun q : ℂ × ℂ => (1 + q.1) * (1 + q.2)) analyticDomain p := by fun_prop |
| 87 | have hf : DifferentiableWithinAt ℂ (fun q : ℂ × ℂ => F q.1 q.2) analyticDomain p := hF p hp |
| 88 | simpa only [div_eq_mul_inv, Pi.mul_apply, Pi.inv_apply] using! |
| 89 | hf.mul (hd.inv (mul_ne_zero hs hz)) |
| 90 | |
| 91 | lemma weightedAnalyticKernel_inputs (N : ℕ) (hlarge : Real.exp 10 < (N : ℝ)) (ha : alpha N < beta) |
| 92 | (F : ℂ → ℂ → ℂ) (hF : DifferentiableOn ℂ (Function.uncurry F) analyticDomain) |
| 93 | (C : ℝ) (hC : 0 ≤ C) |
| 94 | (hbound : ∀ s z : ℂ, s.re ∈ Icc (alpha N) beta → z.re ∈ Icc (alpha N) beta → |
| 95 | ‖F s (conj z)‖ ≤ C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ)) : |
| 96 | (∀ x ∈ ({alpha N, beta} : Finset ℝ), ∀ y ∈ ({alpha N, beta} : Finset ℝ), |
| 97 | MemLp (fun p : ℝ × ℝ => weightedAnalyticKernel F (line x p.1) (line y p.2)) 2 volume) ∧ |
| 98 | HasHardyKernelColumns ha (weightedAnalyticKernel F) := by |
| 99 | have hd := weightedAnalyticKernel_conj_differentiableOn F hF |
| 100 | have hc : ContinuousOn (Function.uncurry (weightedAnalyticKernel F)) |
| 101 | {p : ℂ × ℂ | p.1.re ∈ Icc (alpha N) beta ∧ p.2.re ∈ Icc (alpha N) beta} := by |
| 102 | have hj : ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj (conj p.2))) |
| 103 | {p : ℂ × ℂ | p.1.re ∈ Icc (alpha N) beta ∧ p.2.re ∈ Icc (alpha N) beta} := by |
| 104 | apply hd.continuousOn.comp (f := fun p : ℂ × ℂ => (p.1, conj p.2)) (by fun_prop) |
| 105 | intro p hp |
| 106 | exact large_closed_strip_subset hlarge ⟨hp.1.1, hp.1.2, hp.2.1, hp.2.2⟩ |
| 107 | change ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 p.2) _ |
| 108 | simpa only [Complex.conj_conj] using hj |
| 109 | have hhol (z : ℂ) (hz : z.re ∈ Icc (alpha N) beta) : |
| 110 | DifferentiableOn ℂ (fun s => weightedAnalyticKernel F s z) (strip (alpha N) beta) := by |
| 111 | intro s hs |
| 112 | have hp : (s, conj z) ∈ analyticDomain := large_closed_strip_subset hlarge |
| 113 | ⟨hs.1.le, hs.2.le, hz.1, hz.2⟩ |
| 114 | have hj := hd.differentiableAt (analyticDomain_isOpen.mem_nhds hp) |
| 115 | have hh := DifferentiableAt.comp (g := fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj p.2)) |
| 116 | (f := fun w : ℂ => (w, conj z)) s hj (by fun_prop) |
| 117 | simpa only [Function.comp_def, Complex.conj_conj] using hh.differentiableWithinAt (s := strip (alpha N) beta) |
| 118 | exact hardyKernel_inputs_of_power_bound ha (weightedAnalyticKernel F) hc hhol |
| 119 | (16 * C ^ 2) (by positivity) |
| 120 | (weightedAnalyticKernel_power_bound (large_alpha_pos hlarge).le F C hC hbound) |
| 121 | |
| 122 | lemma weightedAnalyticKernel_operator_spec (N : ℕ) [NeZero N] |
| 123 | (hlarge : Real.exp 10 < (N : ℝ)) (ha : alpha N < beta) |
| 124 | (F : ℂ → ℂ → ℂ) (hF : DifferentiableOn ℂ (Function.uncurry F) analyticDomain) |
| 125 | (hherm : HermitianKernel (fun s z => F s (conj z))) |
| 126 | (C : ℝ) (hC : 0 ≤ C) |
| 127 | (hbound : ∀ s z : ℂ, s.re ∈ Icc (alpha N) beta → z.re ∈ Icc (alpha N) beta → |
| 128 | ‖F s (conj z)‖ ≤ C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ)) : |
| 129 | RepresentsKernel ha N (weightedAnalyticKernel F) (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 130 | IsHilbertSchmidt (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 131 | (∀ (h : HardySpace (alpha N) beta) (s : ℂ), s ∈ strip (alpha N) beta → |
| 132 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line (alpha N) t) * (boundaryTraces ha h).1 t) ∧ |
| 133 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line beta t) * (boundaryTraces ha h).2 t)) := by |
| 134 | obtain ⟨hK, hcol⟩ := weightedAnalyticKernel_inputs N hlarge ha F hF C hC hbound |
| 135 | have hsym := weightedAnalyticKernel_hermitian F hherm |
| 136 | have hspec := kernelOperator_spec_of_hardyColumns ha N (weightedAnalyticKernel F) hsym hK hcol |
| 137 | exact ⟨hspec.1, hspec.2.2.2.1, |
| 138 | kernelAction_integrable_of_hardyColumns ha (weightedAnalyticKernel F) hsym hcol⟩ |
| 139 | |
| 140 | end ConditionalGoldbach |
