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.WeightedComponentKernel |
| 4 | public import ConditionalGoldbach.Proofs.HardyArithmeticTheorems |
| 5 | |
| 6 | /-! The three actual component operators and the exact residual decomposition. -/ |
| 7 | public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open MeasureTheory Filter Set Complex |
| 12 | open scoped Topology ComplexConjugate BigOperators |
| 13 | namespace ConditionalGoldbach |
| 14 | |
| 15 | lemma component_kernel_hermitian (N : ℕ) [NeZero N] : |
| 16 | HermitianKernel (fun s z => characterKernel N s (conj z)) ∧ |
| 17 | HermitianKernel (fun s z => diagonalSeries N (s + conj z)) ∧ |
| 18 | HermitianKernel (fun s z => continuedModel N s (conj z)) := by |
| 19 | refine ⟨?_, ?_, ?_⟩ |
| 20 | · intro s z |
| 21 | rw [characterKernel_conjugation, Complex.conj_conj, characterKernel_symmetric] |
| 22 | · intro s z |
| 23 | rw [diagonalSeries_conj, map_add, Complex.conj_conj, add_comm] |
| 24 | · intro s z |
| 25 | rw [continuedModel_conj, Complex.conj_conj, continuedModel_symmetric] |
| 26 | |
| 27 | lemma component_kernel_differentiableOn (N : ℕ) [NeZero N] (hN : 0 < N) (hGRH : GRH N) : |
| 28 | DifferentiableOn ℂ (Function.uncurry (characterKernel N)) analyticDomain ∧ |
| 29 | DifferentiableOn ℂ (fun p : ℂ × ℂ => diagonalSeries N (p.1 + p.2)) analyticDomain ∧ |
| 30 | DifferentiableOn ℂ (Function.uncurry (continuedModel N)) analyticDomain := by |
| 31 | refine ⟨(characterKernel_differentiableOn_of_GRH hGRH).mono |
| 32 | (fun p hp => ⟨hp.1, hp.2.2.1⟩), ?_, continuedModel_differentiableOn N hN⟩ |
| 33 | intro p hp |
| 34 | have hs : 0 < (p.1 + p.2).re := by simp; linarith [hp.1, hp.2.2.1] |
| 35 | exact ((diagonalSeries_differentiableAt N hs).comp p |
| 36 | (show DifferentiableAt ℂ (fun q : ℂ × ℂ => q.1 + q.2) p by fun_prop)).differentiableWithinAt |
| 37 | |
| 38 | lemma component_kernel_power_bounds (N : ℕ) [NeZero N] |
| 39 | (hlarge : Real.exp 10 < (N : ℝ)) (hGRH : GRH N) (ha : alpha N < beta) : |
| 40 | ∀ F ∈ ([characterKernel N, (fun s z => diagonalSeries N (s + z)), continuedModel N] : List (ℂ → ℂ → ℂ)), |
| 41 | ∃ C : ℝ, 0 ≤ C ∧ ∀ s z : ℂ, s.re ∈ Icc (alpha N) beta → z.re ∈ Icc (alpha N) beta → |
| 42 | ‖F s (conj z)‖ ≤ C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ) := by |
| 43 | obtain ⟨L, Z, hL, hZ, hlog, hζ⟩ := arithmeticKernel_growth_inputs N hlarge hGRH ha |
| 44 | intro F hF |
| 45 | simp only [List.mem_cons, List.not_mem_nil, or_false] at hF |
| 46 | rcases hF with rfl | rfl | rfl |
| 47 | · have hN1 : (1 : ℝ) ≤ N := by exact_mod_cast (show 1 ≤ N by have := (large_parameters hlarge).1; omega) |
| 48 | apply characterKernel_power_bound N (L * (64 * (2 * N) ^ (1 / 4 : ℝ))) (by positivity) |
| 49 | intro χ hχ s hs |
| 50 | calc |
| 51 | _ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2 := hlog χ hχ s hs |
| 52 | _ ≤ L * ((64 * (2 * N) ^ (1 / 4 : ℝ)) * (1 + |s.im|) ^ (1 / 4 : ℝ)) := |
| 53 | mul_le_mul_of_nonneg_left (logarithm_square_le_quarter_power hN1 s.im) hL |
| 54 | _ = _ := by ring |
| 55 | · obtain ⟨D, hD, hd⟩ := diagonalSeries_uniform_bound N |
| 56 | (show 0 < 2 * alpha N by have := large_alpha_pos hlarge; positivity) |
| 57 | refine ⟨D, hD, ?_⟩ |
| 58 | intro s z hs hz |
| 59 | apply (hd _ (by simp; linarith [hs.1, hz.1])).trans |
| 60 | calc |
| 61 | D = D * 1 * 1 := by ring |
| 62 | _ ≤ _ := by |
| 63 | gcongr <;> exact Real.one_le_rpow (by linarith [abs_nonneg s.im, abs_nonneg z.im]) (by norm_num) |
| 64 | · exact continuedModel_power_bound (large_alpha_pos hlarge) ha N (large_parameters hlarge).1 Z hZ hζ |
| 65 | |
| 66 | lemma component_kernel_operator_spec (N : ℕ) [NeZero N] |
| 67 | (hlarge : Real.exp 10 < (N : ℝ)) (hGRH : GRH N) (ha : alpha N < beta) : |
| 68 | ∀ F ∈ ([characterKernel N, (fun s z => diagonalSeries N (s + z)), continuedModel N] : List (ℂ → ℂ → ℂ)), |
| 69 | RepresentsKernel ha N (weightedAnalyticKernel F) (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 70 | IsHilbertSchmidt (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 71 | (∀ (h : HardySpace (alpha N) beta) (s : ℂ), s ∈ strip (alpha N) beta → |
| 72 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line (alpha N) t) * (boundaryTraces ha h).1 t) ∧ |
| 73 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line beta t) * (boundaryTraces ha h).2 t)) := by |
| 74 | intro F hF |
| 75 | obtain ⟨C, hC, hbound⟩ := component_kernel_power_bounds N hlarge hGRH ha F hF |
| 76 | have hd := component_kernel_differentiableOn N (by have := (large_parameters hlarge).1; omega) hGRH |
| 77 | have hh := component_kernel_hermitian N |
| 78 | apply weightedAnalyticKernel_operator_spec N hlarge ha F _ _ C hC hbound |
| 79 | · simp only [List.mem_cons, List.not_mem_nil, or_false] at hF |
| 80 | rcases hF with rfl | rfl | rfl |
| 81 | · exact hd.1 |
| 82 | · exact hd.2.1 |
| 83 | · exact hd.2.2 |
| 84 | · simp only [List.mem_cons, List.not_mem_nil, or_false] at hF |
| 85 | rcases hF with rfl | rfl | rfl |
| 86 | · exact hh.1 |
| 87 | · exact hh.2.1 |
| 88 | · exact hh.2.2 |
| 89 | |
| 90 | lemma RepresentsKernel.sub_integrable {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 91 | (K L : ℂ → ℂ → ℂ) (T S : HardySpace a beta →L[ℂ] HardySpace a beta) |
| 92 | (hT : RepresentsKernel ha N K T) (hS : RepresentsKernel ha N L S) |
| 93 | (hK : ∀ (h : HardySpace a beta) (s : ℂ), s ∈ strip a beta → |
| 94 | Integrable (fun t : ℝ => K s (line a t) * (boundaryTraces ha h).1 t) ∧ |
| 95 | Integrable (fun t : ℝ => K s (line beta t) * (boundaryTraces ha h).2 t)) |
| 96 | (hL : ∀ (h : HardySpace a beta) (s : ℂ), s ∈ strip a beta → |
| 97 | Integrable (fun t : ℝ => L s (line a t) * (boundaryTraces ha h).1 t) ∧ |
| 98 | Integrable (fun t : ℝ => L s (line beta t) * (boundaryTraces ha h).2 t)) : |
| 99 | RepresentsKernel ha N (fun s z => K s z - L s z) (T - S) := by |
| 100 | intro h s hs |
| 101 | change fourierLaplace (T h - S h) s = _ |
| 102 | rw [← hardyEvaluationFunctional_apply hs, map_sub, |
| 103 | hardyEvaluationFunctional_apply hs, hardyEvaluationFunctional_apply hs, hT h s hs, hS h s hs] |
| 104 | unfold kernelAction |
| 105 | simp only [sub_mul] |
| 106 | rw [integral_sub (hK h s hs).1 (hL h s hs).1, |
| 107 | integral_sub (hK h s hs).2 (hL h s hs).2] |
| 108 | ring |
| 109 | |
| 110 | theorem proposition_6_5_components_spec (N : ℕ) [NeZero N] (_hN : Even N) |
| 111 | (hlarge : Real.exp 10 < (N : ℝ)) (hGRH : GRH N) (ha : alpha N < beta) : |
| 112 | let α := alpha N |
| 113 | let P := arithmeticOperator ha N |
| 114 | let D := diagonalOperator ha N |
| 115 | let K := modelOperator ha N |
| 116 | let κP := fun s z : ℂ => characterKernel N s (conj z) / ((1 + s) * (1 + conj z)) |
| 117 | let κD := fun s z : ℂ => diagonalSeries N (s + conj z) / ((1 + s) * (1 + conj z)) |
| 118 | let κK := fun s z : ℂ => continuedModel N s (conj z) / ((1 + s) * (1 + conj z)) |
| 119 | RepresentsKernel ha N κP P ∧ RepresentsKernel ha N κD D ∧ RepresentsKernel ha N κK K ∧ |
| 120 | (∀ κ ∈ ([κP, κD, κK] : List (ℂ → ℂ → ℂ)), |
| 121 | ∀ (h : HardySpace α beta) (s : ℂ), s ∈ strip α beta → |
| 122 | Integrable (fun t : ℝ => κ s (line α t) * (boundaryTraces ha h).1 t) ∧ |
| 123 | Integrable (fun t : ℝ => κ s (line beta t) * (boundaryTraces ha h).2 t)) ∧ |
| 124 | residualOperator ha N = P - D - K := by |
| 125 | have hP := component_kernel_operator_spec N hlarge hGRH ha (characterKernel N) (by simp) |
| 126 | have hD := component_kernel_operator_spec N hlarge hGRH ha (fun s z => diagonalSeries N (s + z)) (by simp) |
| 127 | have hK := component_kernel_operator_spec N hlarge hGRH ha (continuedModel N) (by simp) |
| 128 | refine ⟨hP.1, hD.1, hK.1, ?_, ?_⟩ |
| 129 | · intro κ hκ |
| 130 | simp only [List.mem_cons, List.not_mem_nil, or_false] at hκ |
| 131 | rcases hκ with rfl | rfl | rfl |
| 132 | · exact hP.2.2 |
| 133 | · exact hD.2.2 |
| 134 | · exact hK.2.2 |
| 135 | · apply kernelOperator_eq_of_represents ha N |
| 136 | have hPD := RepresentsKernel.sub_integrable ha N _ _ _ _ hP.1 hD.1 hP.2.2 hD.2.2 |
| 137 | have hi : ∀ (h : HardySpace (alpha N) beta) (s : ℂ), s ∈ strip (alpha N) beta → |
| 138 | Integrable (fun t : ℝ => (weightedAnalyticKernel (characterKernel N) s (line (alpha N) t) - |
| 139 | weightedAnalyticKernel (fun u v => diagonalSeries N (u + v)) s (line (alpha N) t)) * (boundaryTraces ha h).1 t) ∧ |
| 140 | Integrable (fun t : ℝ => (weightedAnalyticKernel (characterKernel N) s (line beta t) - |
| 141 | weightedAnalyticKernel (fun u v => diagonalSeries N (u + v)) s (line beta t)) * (boundaryTraces ha h).2 t) := by |
| 142 | intro h s hs |
| 143 | constructor |
| 144 | · convert ((hP.2.2 h s hs).1.sub (hD.2.2 h s hs).1) using 1 |
| 145 | funext t |
| 146 | exact sub_mul _ _ _ |
| 147 | · convert ((hP.2.2 h s hs).2.sub (hD.2.2 h s hs).2) using 1 |
| 148 | funext t |
| 149 | exact sub_mul _ _ _ |
| 150 | have hPDK := RepresentsKernel.sub_integrable ha N _ _ _ _ hPD hK.1 hi hK.2.2 |
| 151 | convert hPDK using 1 |
| 152 | · funext s z |
| 153 | simp only [weightedAnalyticKernel, weightedKernel, residual, sub_div] |
| 154 | · rfl |
| 155 | |
| 156 | end ConditionalGoldbach |
