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.ArithmeticComponentOperators |
| 4 | public import ConditionalGoldbach.Proofs.VariableStripOperators |
| 5 | public import ConditionalGoldbach.Proofs.SpectralModelOperator |
| 6 | |
| 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_power_bounds_at (a : ℝ) (N : ℕ) [NeZero N] |
| 16 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 17 | ∀ F ∈ ([characterKernel N, (fun s z => diagonalSeries N (s + z)), continuedModel N] : List (ℂ → ℂ → ℂ)), |
| 18 | ∃ C : ℝ, 0 ≤ C ∧ ∀ s z : ℂ, s.re ∈ Icc (a) beta → z.re ∈ Icc (a) beta → |
| 19 | ‖F s (conj z)‖ ≤ C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ) := by |
| 20 | obtain ⟨L, Z, hL, hZ, hlog, hζ⟩ := arithmeticKernel_growth_inputs_at a N ha0 hN4 hGRH ha |
| 21 | intro F hF |
| 22 | simp only [List.mem_cons, List.not_mem_nil, or_false] at hF |
| 23 | rcases hF with rfl | rfl | rfl |
| 24 | · have hN1 : (1 : ℝ) ≤ N := by exact_mod_cast (show 1 ≤ N by have := hN4; omega) |
| 25 | apply characterKernel_power_bound N (L * (64 * (2 * N) ^ (1 / 4 : ℝ))) (by positivity) |
| 26 | intro χ hχ s hs |
| 27 | calc |
| 28 | _ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2 := hlog χ hχ s hs |
| 29 | _ ≤ L * ((64 * (2 * N) ^ (1 / 4 : ℝ)) * (1 + |s.im|) ^ (1 / 4 : ℝ)) := |
| 30 | mul_le_mul_of_nonneg_left (logarithm_square_le_quarter_power hN1 s.im) hL |
| 31 | _ = _ := by ring |
| 32 | · obtain ⟨D, hD, hd⟩ := diagonalSeries_uniform_bound N |
| 33 | (show 0 < 2 * a by have := ha0; positivity) |
| 34 | refine ⟨D, hD, ?_⟩ |
| 35 | intro s z hs hz |
| 36 | apply (hd _ (by simp; linarith [hs.1, hz.1])).trans |
| 37 | calc |
| 38 | D = D * 1 * 1 := by ring |
| 39 | _ ≤ _ := by |
| 40 | gcongr <;> exact Real.one_le_rpow (by linarith [abs_nonneg s.im, abs_nonneg z.im]) (by norm_num) |
| 41 | · exact continuedModel_power_bound (ha0) ha N hN4 Z hZ hζ |
| 42 | |
| 43 | lemma component_kernel_operator_spec_at (a : ℝ) (N : ℕ) [NeZero N] |
| 44 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 45 | ∀ F ∈ ([characterKernel N, (fun s z => diagonalSeries N (s + z)), continuedModel N] : List (ℂ → ℂ → ℂ)), |
| 46 | RepresentsKernel ha N (weightedAnalyticKernel F) (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 47 | IsHilbertSchmidt (kernelOperator ha N (weightedAnalyticKernel F)) ∧ |
| 48 | (∀ (h : HardySpace (a) beta) (s : ℂ), s ∈ strip (a) beta → |
| 49 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line (a) t) * (boundaryTraces ha h).1 t) ∧ |
| 50 | Integrable (fun t : ℝ => weightedAnalyticKernel F s (line beta t) * (boundaryTraces ha h).2 t)) := by |
| 51 | intro F hF |
| 52 | obtain ⟨C, hC, hbound⟩ := component_kernel_power_bounds_at a N ha0 hN4 hGRH ha F hF |
| 53 | have hd := component_kernel_differentiableOn N (by have := hN4; omega) hGRH |
| 54 | have hh := component_kernel_hermitian N |
| 55 | have hdiff : DifferentiableOn ℂ (Function.uncurry F) analyticDomain := by |
| 56 | simp only [List.mem_cons,List.not_mem_nil,or_false] at hF |
| 57 | rcases hF with rfl|rfl|rfl |
| 58 | · exact hd.1 |
| 59 | · exact hd.2.1 |
| 60 | · exact hd.2.2 |
| 61 | have hherm : HermitianKernel (weightedAnalyticKernel F) := by |
| 62 | apply weightedAnalyticKernel_hermitian |
| 63 | simp only [List.mem_cons,List.not_mem_nil,or_false] at hF |
| 64 | rcases hF with rfl|rfl|rfl |
| 65 | · exact hh.1 |
| 66 | · exact hh.2.1 |
| 67 | · exact hh.2.2 |
| 68 | obtain ⟨hbound,hcol⟩ := weightedAnalyticKernel_inputs_at ha0 ha F hdiff C hC hbound |
| 69 | have hspec := kernelOperator_spec_of_hardyColumns ha N _ hherm hbound hcol |
| 70 | exact ⟨hspec.1,hspec.2.2.2.1,kernelAction_integrable_of_hardyColumns ha _ hherm hcol⟩ |
| 71 | |
| 72 | lemma residualOperator_components_at (a : ℝ) (N : ℕ) [NeZero N] |
| 73 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 74 | residualOperator ha N = arithmeticOperator ha N-diagonalOperator ha N-modelOperator ha N := by |
| 75 | have hP := component_kernel_operator_spec_at a N ha0 hN4 hGRH ha (characterKernel N) (by simp) |
| 76 | have hD := component_kernel_operator_spec_at a N ha0 hN4 hGRH ha (fun s z => diagonalSeries N (s+z)) (by simp) |
| 77 | have hK := component_kernel_operator_spec_at a N ha0 hN4 hGRH ha (continuedModel N) (by simp) |
| 78 | apply kernelOperator_eq_of_represents ha N |
| 79 | have hPD := RepresentsKernel.sub_integrable ha N _ _ _ _ hP.1 hD.1 hP.2.2 hD.2.2 |
| 80 | have hi : ∀ (h : HardySpace (a) beta) (s : ℂ), s ∈ strip (a) beta → |
| 81 | Integrable (fun t : ℝ => (weightedAnalyticKernel (characterKernel N) s (line (a) t) - |
| 82 | weightedAnalyticKernel (fun u v => diagonalSeries N (u + v)) s (line (a) t)) * (boundaryTraces ha h).1 t) ∧ |
| 83 | Integrable (fun t : ℝ => (weightedAnalyticKernel (characterKernel N) s (line beta t) - |
| 84 | weightedAnalyticKernel (fun u v => diagonalSeries N (u + v)) s (line beta t)) * (boundaryTraces ha h).2 t) := by |
| 85 | intro h s hs |
| 86 | constructor |
| 87 | · convert ((hP.2.2 h s hs).1.sub (hD.2.2 h s hs).1) using 1 |
| 88 | funext t |
| 89 | exact sub_mul _ _ _ |
| 90 | · convert ((hP.2.2 h s hs).2.sub (hD.2.2 h s hs).2) using 1 |
| 91 | funext t |
| 92 | exact sub_mul _ _ _ |
| 93 | have hPDK := RepresentsKernel.sub_integrable ha N _ _ _ _ hPD hK.1 hi hK.2.2 |
| 94 | convert hPDK using 1 |
| 95 | · funext s z |
| 96 | simp only [weightedAnalyticKernel, weightedKernel, residual, sub_div] |
| 97 | · rfl |
| 98 | |
| 99 | end ConditionalGoldbach |
