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.SpectralModelGrowth |
| 4 | public import ConditionalGoldbach.Proofs.WeightedComponentKernel |
| 5 | import ConditionalGoldbach.Proofs.HalfPlaneWeightedCauchy |
| 6 | |
| 7 | /-! Integration of the model kernel's pole along the four Hardy boundary blocks. -/ |
| 8 | public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | open scoped BigOperators ComplexConjugate Topology |
| 13 | open MeasureTheory Filter Set Complex |
| 14 | namespace ConditionalGoldbach |
| 15 | |
| 16 | /-- The pole at `s + conj z = 0` depends on the difference of the two heights. -/ |
| 17 | private lemma boundary_pole_weight_le {a x y w : ℝ} (ha : 0 < a) (hxy : a ≤ x + y) |
| 18 | (hw : 0 ≤ w) (hw1 : w ≤ 1) (t u : ℝ) : |
| 19 | (max 1 ‖line x t + conj (line y u)‖⁻¹)^2 * w ≤ w + (a^2 + (t-u)^2)⁻¹ := by |
| 20 | have hnorm : ‖line x t + conj (line y u)‖^2 = (x+y)^2 + (t-u)^2 := by |
| 21 | rw [← Complex.normSq_eq_norm_sq, Complex.normSq_apply] |
| 22 | simp [line] <;> ring |
| 23 | rcases le_total ‖line x t + conj (line y u)‖⁻¹ 1 with h | h |
| 24 | · rw [max_eq_left h, one_pow, one_mul] |
| 25 | exact le_add_of_nonneg_right (by positivity) |
| 26 | · rw [max_eq_right h] |
| 27 | calc |
| 28 | _ ≤ (‖line x t + conj (line y u)‖⁻¹)^2 := mul_le_of_le_one_right (sq_nonneg _) hw1 |
| 29 | _ ≤ (a^2 + (t-u)^2)⁻¹ := by |
| 30 | rw [inv_pow, hnorm] |
| 31 | have hd : a^2 + (t-u)^2 ≤ (x+y)^2 + (t-u)^2 := by gcongr |
| 32 | simpa only [one_div] using div_le_div_of_nonneg_left zero_le_one (by positivity) hd |
| 33 | _ ≤ _ := le_add_of_nonneg_left hw |
| 34 | |
| 35 | /-- Integrate an ordinary boundary weight and a translated Cauchy kernel in each row. -/ |
| 36 | private lemma boundary_square_le_of_cauchy_majorant {a b M : ℝ} (ha : 0 < a) (hab : a < b) |
| 37 | (K : ℂ → ℂ → ℂ) (d : ℝ → ℝ) (hd : Integrable d) |
| 38 | (hbound : ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ t u : ℝ, |
| 39 | ‖K (line x t) (line y u)‖^2 ≤ M * d t * (d u + (a^2 + (t-u)^2)⁻¹)) : |
| 40 | BoundaryKernelSquareIntegral a b K ≤ 4 * M * (∫ t, d t) * ((∫ t, d t) + Real.pi / a) := by |
| 41 | obtain ⟨hi, he⟩ := cauchy_weight_integral ha |
| 42 | have hblock (x : ℝ) (hx : x ∈ Icc a b) (y : ℝ) (hy : y ∈ Icc a b) : |
| 43 | (∫ t : ℝ, ∫ u : ℝ, ‖K (line x t) (line y u)‖^2) ≤ |
| 44 | M * (∫ t, d t) * ((∫ t, d t) + Real.pi / a) := by |
| 45 | calc |
| 46 | _ ≤ ∫ t, M * d t * ((∫ u, d u) + Real.pi / a) := by |
| 47 | apply integral_mono_of_nonneg (Eventually.of_forall fun t => integral_nonneg fun u => sq_nonneg _) |
| 48 | ((hd.const_mul M).mul_const _) |
| 49 | apply Eventually.of_forall |
| 50 | intro t |
| 51 | have ht : Integrable (fun u : ℝ => (a^2 + (t-u)^2)⁻¹) := hi.comp_sub_left t |
| 52 | calc |
| 53 | _ ≤ ∫ u, M * d t * (d u + (a^2 + (t-u)^2)⁻¹) := |
| 54 | integral_mono_of_nonneg (Eventually.of_forall fun u => sq_nonneg _) |
| 55 | ((hd.add ht).const_mul _) (Eventually.of_forall (hbound x hx y hy t)) |
| 56 | _ = _ := by |
| 57 | rw [integral_const_mul, integral_add hd ht, |
| 58 | integral_sub_left_eq_self (fun v : ℝ => (a^2 + v^2)⁻¹) volume t, he] |
| 59 | _ = _ := by rw [integral_mul_const, integral_const_mul] |
| 60 | have hl : a ∈ Icc a b := ⟨le_rfl, hab.le⟩ |
| 61 | have hr : b ∈ Icc a b := ⟨hab.le, le_rfl⟩ |
| 62 | simp only [BoundaryKernelSquareIntegral, Finset.sum_pair hab.ne] |
| 63 | linarith only [hblock a hl a hl, hblock a hl b hr, hblock b hr a hl, hblock b hr b hr] |
| 64 | |
| 65 | /-- The sum of the four squared boundary integrals for the genuine model is at most |
| 66 | a uniform constant times the inverse cube of the left boundary. -/ |
| 67 | theorem continuedModel_boundary_square_bound : |
| 68 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 < a → a < beta → ∀ N : ℕ, 0 < N → |
| 69 | BoundaryKernelSquareIntegral a beta (weightedAnalyticKernel (continuedModel N)) ≤ |
| 70 | C * (a⁻¹)^3 := by |
| 71 | obtain ⟨B, hB, hb⟩ := continuedModel_uniform_pole_bound |
| 72 | let d : ℝ → ℝ := fun t => (1 + |t|)^(-(3 / 2 : ℝ)) |
| 73 | let J := ∫ t, d t |
| 74 | have hd (t : ℝ) : 0 ≤ d t := Real.rpow_nonneg (by positivity) _ |
| 75 | have hJ : 0 ≤ J := integral_nonneg hd |
| 76 | refine ⟨64 * B^2 * (J + 1) * (J + Real.pi), by positivity, ?_⟩ |
| 77 | intro a ha hab N hN |
| 78 | have henergy : BoundaryKernelSquareIntegral a beta (weightedAnalyticKernel (continuedModel N)) ≤ |
| 79 | 4 * (16 * (B * a⁻¹)^2) * J * (J + Real.pi / a) := by |
| 80 | apply boundary_square_le_of_cauchy_majorant ha hab _ d hardy_decay_integrable |
| 81 | intro x hx y hy t u |
| 82 | let m := max 1 ‖line x t + conj (line y u)‖⁻¹ |
| 83 | have hn := hb a ha hab N hN (line x t) (line y u) (by simpa [line] using hx) (by simpa [line] using hy) |
| 84 | have hpoint := weightedAnalyticKernel_power_bound_at (ha.le.trans hx.1) (ha.le.trans hy.1) |
| 85 | (continuedModel N) t u (B * a⁻¹ * m) (by dsimp [m]; positivity) (by simpa [m, line] using hn) |
| 86 | have hweight : m^2 * d u ≤ d u + (a^2 + (t-u)^2)⁻¹ := |
| 87 | boundary_pole_weight_le ha (by linarith [hx.1, hy.1]) (hd u) |
| 88 | (Real.rpow_le_one_of_one_le_of_nonpos (by linarith [abs_nonneg u]) (by norm_num)) t u |
| 89 | calc |
| 90 | _ ≤ 16 * (B * a⁻¹ * m)^2 * d t * d u := hpoint |
| 91 | _ = 16 * (B * a⁻¹)^2 * d t * (m^2 * d u) := by ring |
| 92 | _ ≤ _ := mul_le_mul_of_nonneg_left hweight (mul_nonneg (by positivity) (hd t)) |
| 93 | have hinv : 1 ≤ a⁻¹ := (one_le_inv₀ ha).mpr (hab.le.trans (by norm_num [beta])) |
| 94 | have hscale : J + Real.pi / a ≤ (J + Real.pi) * a⁻¹ := by |
| 95 | rw [div_eq_mul_inv, add_mul] |
| 96 | exact add_le_add_right (le_mul_of_one_le_right hJ hinv) _ |
| 97 | calc |
| 98 | _ ≤ _ := henergy |
| 99 | _ ≤ 4 * (16 * (B * a⁻¹)^2) * (J + 1) * ((J + Real.pi) * a⁻¹) := by |
| 100 | gcongr <;> linarith |
| 101 | _ = _ := by ring |
| 102 | |
| 103 | end ConditionalGoldbach |
