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.SpectralModelEnergy |
| 4 | public import ConditionalGoldbach.Proofs.SpectralTraceBounds |
| 5 | |
| 6 | /-! Uniform Hilbert--Schmidt estimates for the genuine model operator. -/ |
| 7 | public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open scoped BigOperators ComplexConjugate Topology |
| 12 | open MeasureTheory Filter Set Complex |
| 13 | namespace ConditionalGoldbach |
| 14 | |
| 15 | lemma weightedAnalyticKernel_inputs_at {a : ℝ} (ha0 : 0 < a) (ha : a < beta) |
| 16 | (F : ℂ → ℂ → ℂ) (hF : DifferentiableOn ℂ (Function.uncurry F) analyticDomain) |
| 17 | (C : ℝ) (hC : 0 ≤ C) |
| 18 | (hbound : ∀ 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 : ℝ)) : |
| 20 | (∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 21 | MemLp (fun p : ℝ × ℝ => weightedAnalyticKernel F (line x p.1) (line y p.2)) 2 volume) ∧ |
| 22 | HasHardyKernelColumns ha (weightedAnalyticKernel F) := by |
| 23 | have hsub {s z : ℂ} (hs : s.re ∈ Icc a beta) (hz : z.re ∈ Icc a beta) : |
| 24 | (s, conj z) ∈ analyticDomain := |
| 25 | ⟨ha0.trans_le hs.1, hs.2.trans_lt (by norm_num [beta]), |
| 26 | by simpa using ha0.trans_le hz.1, by simpa using hz.2.trans_lt (by norm_num [beta] : beta < 3 / 2)⟩ |
| 27 | have hd := weightedAnalyticKernel_conj_differentiableOn F hF |
| 28 | have hc : ContinuousOn (Function.uncurry (weightedAnalyticKernel F)) |
| 29 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := by |
| 30 | have hj : ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj (conj p.2))) |
| 31 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := |
| 32 | hd.continuousOn.comp (f := fun p : ℂ × ℂ => (p.1, conj p.2)) (by fun_prop) |
| 33 | (fun p hp => hsub hp.1 hp.2) |
| 34 | change ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 p.2) _ |
| 35 | simpa only [Complex.conj_conj] using hj |
| 36 | have hhol (z : ℂ) (hz : z.re ∈ Icc a beta) : |
| 37 | DifferentiableOn ℂ (fun s => weightedAnalyticKernel F s z) (strip a beta) := by |
| 38 | intro s hs |
| 39 | have hp := hsub ⟨hs.1.le, hs.2.le⟩ hz |
| 40 | have hj := hd.differentiableAt (analyticDomain_isOpen.mem_nhds hp) |
| 41 | have hh := DifferentiableAt.comp (g := fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj p.2)) |
| 42 | (f := fun w : ℂ => (w, conj z)) s hj (by fun_prop) |
| 43 | simpa only [Function.comp_def, Complex.conj_conj] using hh.differentiableWithinAt (s := strip a beta) |
| 44 | exact hardyKernel_inputs_of_power_bound ha (weightedAnalyticKernel F) hc hhol |
| 45 | (16 * C ^ 2) (by positivity) |
| 46 | (weightedAnalyticKernel_power_bound ha0.le F C hC hbound) |
| 47 | |
| 48 | lemma boundaryKernelSquareIntegral_power_bound {a b : ℝ} (hab : a < b) |
| 49 | (K : ℂ → ℂ → ℂ) |
| 50 | (hK : ∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 51 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 52 | (C : ℝ) (_hC : 0 ≤ C) |
| 53 | (hbound : ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ v t : ℝ, |
| 54 | ‖K (line x v) (line y t)‖ ^ 2 ≤ |
| 55 | C * (1 + |v|)^(-(3 / 2 : ℝ)) * (1 + |t|)^(-(3 / 2 : ℝ))) : |
| 56 | BoundaryKernelSquareIntegral a b K ≤ |
| 57 | 4 * C * (∫ t : ℝ, (1 + |t|)^(-(3 / 2 : ℝ)))^2 := by |
| 58 | let d : ℝ → ℝ := fun t => (1 + |t|)^(-(3 / 2 : ℝ)) |
| 59 | have hd : Integrable (fun p : ℝ × ℝ => C * d p.1 * d p.2) volume := by |
| 60 | simpa only [smul_eq_mul, Measure.volume_eq_prod] using |
| 61 | (hardy_decay_integrable.const_mul C).smul_prod hardy_decay_integrable |
| 62 | have hi (x : ℝ) (hx : x ∈ ({a, b} : Finset ℝ)) (y : ℝ) (hy : y ∈ ({a, b} : Finset ℝ)) : |
| 63 | (∫ t : ℝ, ∫ u : ℝ, ‖K (line x t) (line y u)‖^2) ≤ C * (∫ t, d t)^2 := by |
| 64 | have hxi : x ∈ Icc a b := by |
| 65 | simp only [Finset.mem_insert, Finset.mem_singleton] at hx |
| 66 | rcases hx with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 67 | have hyi : y ∈ Icc a b := by |
| 68 | simp only [Finset.mem_insert, Finset.mem_singleton] at hy |
| 69 | rcases hy with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 70 | calc |
| 71 | _ = ∫ p : ℝ × ℝ, ‖K (line x p.1) (line y p.2)‖^2 := by |
| 72 | simpa only [Measure.volume_eq_prod] using (integral_prod _ (hK x hx y hy).norm.integrable_sq).symm |
| 73 | _ ≤ ∫ p : ℝ × ℝ, C * d p.1 * d p.2 := by |
| 74 | apply integral_mono (hK x hx y hy).norm.integrable_sq hd |
| 75 | intro p |
| 76 | exact hbound x hxi y hyi p.1 p.2 |
| 77 | _ = C * (∫ t, d t)^2 := by |
| 78 | rw [Measure.volume_eq_prod, integral_prod_mul (fun v : ℝ => C * d v) d, integral_const_mul] |
| 79 | ring |
| 80 | unfold BoundaryKernelSquareIntegral |
| 81 | calc |
| 82 | _ ≤ ∑ x ∈ ({a, b} : Finset ℝ), ∑ y ∈ ({a, b} : Finset ℝ), C * (∫ t, d t)^2 := by |
| 83 | apply Finset.sum_le_sum |
| 84 | intro x hx |
| 85 | exact Finset.sum_le_sum (fun y hy => hi x hx y hy) |
| 86 | _ = _ := by simp [Finset.sum_pair hab.ne, d]; ring |
| 87 | |
| 88 | /-- The model's squared Hilbert--Schmidt norm is its four-block boundary integral. -/ |
| 89 | lemma modelOperator_hs_square {a : ℝ} (ha0 : 0 < a) (ha : a < beta) (N : ℕ) [NeZero N] : |
| 90 | IsHilbertSchmidt (modelOperator ha N) ∧ hsNorm (modelOperator ha N)^2 = |
| 91 | BoundaryKernelSquareIntegral a beta (weightedAnalyticKernel (continuedModel N)) := by |
| 92 | obtain ⟨B, hB, hmodel⟩ := continuedModel_uniform_power_bound |
| 93 | have hN : 0 < N := Nat.pos_of_ne_zero (NeZero.ne N) |
| 94 | let Q := B * (a⁻¹)^2 |
| 95 | have hQ : 0 ≤ Q := by dsimp [Q]; positivity |
| 96 | have hbound := hmodel a ha0 ha N hN |
| 97 | obtain ⟨hK, hcol⟩ := weightedAnalyticKernel_inputs_at ha0 ha (continuedModel N) |
| 98 | (continuedModel_differentiableOn N hN) Q hQ hbound |
| 99 | have hherm : HermitianKernel (weightedAnalyticKernel (continuedModel N)) := by |
| 100 | apply weightedAnalyticKernel_hermitian |
| 101 | intro s z |
| 102 | rw [continuedModel_conj, Complex.conj_conj, continuedModel_symmetric] |
| 103 | obtain ⟨_, _, _, hHilbertSchmidt, _, _, hSquareIntegral, _⟩ := |
| 104 | kernelOperator_spec_of_hardyColumns ha N _ hherm hK hcol |
| 105 | exact ⟨hHilbertSchmidt, hSquareIntegral⟩ |
| 106 | |
| 107 | /-- The Hilbert--Schmidt norm of the genuine model grows at most as `a⁻¹` to the |
| 108 | power `3/2`, uniformly in the modulus. -/ |
| 109 | theorem modelOperator_uniform_hs_three_halves_bound : |
| 110 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 < a → ∀ ha : a < beta, ∀ N : ℕ, ∀ (_ : NeZero N), |
| 111 | IsHilbertSchmidt (modelOperator ha N) ∧ |
| 112 | hsNorm (modelOperator ha N) ≤ C * (a⁻¹)^(3 / 2 : ℝ) := by |
| 113 | obtain ⟨B, hB, hb⟩ := continuedModel_boundary_square_bound |
| 114 | refine ⟨Real.sqrt B, Real.sqrt_pos.mpr hB, ?_⟩ |
| 115 | intro a ha0 ha N hNZ |
| 116 | let := hNZ |
| 117 | obtain ⟨hHS, he⟩ := modelOperator_hs_square ha0 ha N |
| 118 | refine ⟨hHS, ?_⟩ |
| 119 | apply (sq_le_sq₀ (hsNorm_nonneg _) (by positivity)).mp |
| 120 | have hp : ((a⁻¹)^(3 / 2 : ℝ))^2 = (a⁻¹)^3 := by |
| 121 | rw [← Real.rpow_natCast, ← Real.rpow_mul (inv_nonneg.mpr ha0.le)] |
| 122 | norm_num |
| 123 | rw [he, mul_pow, Real.sq_sqrt hB.le, hp] |
| 124 | exact hb a ha0 ha N (Nat.pos_of_ne_zero (NeZero.ne N)) |
| 125 | |
| 126 | /-- On the standard strip the model alone costs at most the three-halves power of `log N`. -/ |
| 127 | theorem modelOperator_log_three_halves_bound : |
| 128 | ∃ C : ℝ, 0 < C ∧ ∀ (N : ℕ) [NeZero N], Real.exp 10 < (N : ℝ) → ∀ ha : alpha N < beta, |
| 129 | hsNorm (modelOperator ha N) ≤ C * (Real.log N)^(3 / 2 : ℝ) := by |
| 130 | obtain ⟨C, hC, hb⟩ := modelOperator_uniform_hs_three_halves_bound |
| 131 | refine ⟨C, hC, ?_⟩ |
| 132 | intro N _ hlarge ha |
| 133 | simpa only [alpha, one_div, inv_inv] using (hb (alpha N) (large_alpha_pos hlarge) ha N inferInstance).2 |
| 134 | |
| 135 | /-- The model operator has a uniform inverse-square Hilbert--Schmidt bound on every admissible strip. -/ |
| 136 | theorem modelOperator_uniform_hs_bound : |
| 137 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 < a → ∀ ha : a < beta, |
| 138 | ∀ N : ℕ, ∀ (_ : NeZero N), |
| 139 | IsHilbertSchmidt (modelOperator ha N) ∧ hsNorm (modelOperator ha N) ≤ C * (a⁻¹)^2 := by |
| 140 | obtain ⟨C, hC, hb⟩ := modelOperator_uniform_hs_three_halves_bound |
| 141 | refine ⟨C, hC, ?_⟩ |
| 142 | intro a ha0 ha N hNZ |
| 143 | obtain ⟨hHS, hn⟩ := hb a ha0 ha N hNZ |
| 144 | have hi : 1 ≤ a⁻¹ := (one_le_inv₀ ha0).mpr (ha.le.trans (by norm_num [beta])) |
| 145 | refine ⟨hHS, hn.trans (mul_le_mul_of_nonneg_left ?_ hC.le)⟩ |
| 146 | simpa only [Real.rpow_two] using Real.rpow_le_rpow_of_exponent_le hi (by norm_num : (3 / 2 : ℝ) ≤ 2) |
| 147 | |
| 148 | end ConditionalGoldbach |
