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 | public import ConditionalGoldbach.Proofs.SpectralTraceBounds |
| 6 | |
| 7 | /-! Uniform Hilbert--Schmidt estimates for the genuine model operator. -/ |
| 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 | lemma weightedAnalyticKernel_inputs_at {a : ℝ} (ha0 : 0 < a) (ha : a < beta) |
| 17 | (F : ℂ → ℂ → ℂ) (hF : DifferentiableOn ℂ (Function.uncurry F) analyticDomain) |
| 18 | (C : ℝ) (hC : 0 ≤ C) |
| 19 | (hbound : ∀ s z : ℂ, s.re ∈ Icc a beta → z.re ∈ Icc a beta → |
| 20 | ‖F s (conj z)‖ ≤ C * (1 + |s.im|) ^ (1 / 4 : ℝ) * (1 + |z.im|) ^ (1 / 4 : ℝ)) : |
| 21 | (∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 22 | MemLp (fun p : ℝ × ℝ => weightedAnalyticKernel F (line x p.1) (line y p.2)) 2 volume) ∧ |
| 23 | HasHardyKernelColumns ha (weightedAnalyticKernel F) := by |
| 24 | have hsub {s z : ℂ} (hs : s.re ∈ Icc a beta) (hz : z.re ∈ Icc a beta) : |
| 25 | (s, conj z) ∈ analyticDomain := |
| 26 | ⟨ha0.trans_le hs.1, hs.2.trans_lt (by norm_num [beta]), |
| 27 | by simpa using ha0.trans_le hz.1, by simpa using hz.2.trans_lt (by norm_num [beta] : beta < 3 / 2)⟩ |
| 28 | have hd := weightedAnalyticKernel_conj_differentiableOn F hF |
| 29 | have hc : ContinuousOn (Function.uncurry (weightedAnalyticKernel F)) |
| 30 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := by |
| 31 | have hj : ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj (conj p.2))) |
| 32 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := |
| 33 | hd.continuousOn.comp (f := fun p : ℂ × ℂ => (p.1, conj p.2)) (by fun_prop) |
| 34 | (fun p hp => hsub hp.1 hp.2) |
| 35 | change ContinuousOn (fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 p.2) _ |
| 36 | simpa only [Complex.conj_conj] using hj |
| 37 | have hhol (z : ℂ) (hz : z.re ∈ Icc a beta) : |
| 38 | DifferentiableOn ℂ (fun s => weightedAnalyticKernel F s z) (strip a beta) := by |
| 39 | intro s hs |
| 40 | have hp := hsub ⟨hs.1.le, hs.2.le⟩ hz |
| 41 | have hj := hd.differentiableAt (analyticDomain_isOpen.mem_nhds hp) |
| 42 | have hh := DifferentiableAt.comp (g := fun p : ℂ × ℂ => weightedAnalyticKernel F p.1 (conj p.2)) |
| 43 | (f := fun w : ℂ => (w, conj z)) s hj (by fun_prop) |
| 44 | simpa only [Function.comp_def, Complex.conj_conj] using hh.differentiableWithinAt (s := strip a beta) |
| 45 | exact hardyKernel_inputs_of_power_bound ha (weightedAnalyticKernel F) hc hhol |
| 46 | (16 * C ^ 2) (by positivity) |
| 47 | (weightedAnalyticKernel_power_bound ha0.le F C hC hbound) |
| 48 | |
| 49 | lemma boundaryKernelSquareIntegral_power_bound {a b : ℝ} (hab : a < b) |
| 50 | (K : ℂ → ℂ → ℂ) |
| 51 | (hK : ∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 52 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) |
| 53 | (C : ℝ) (_hC : 0 ≤ C) |
| 54 | (hbound : ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ v t : ℝ, |
| 55 | ‖K (line x v) (line y t)‖ ^ 2 ≤ |
| 56 | C * (1 + |v|)^(-(3 / 2 : ℝ)) * (1 + |t|)^(-(3 / 2 : ℝ))) : |
| 57 | BoundaryKernelSquareIntegral a b K ≤ |
| 58 | 4 * C * (∫ t : ℝ, (1 + |t|)^(-(3 / 2 : ℝ)))^2 := by |
| 59 | let d : ℝ → ℝ := fun t => (1 + |t|)^(-(3 / 2 : ℝ)) |
| 60 | have hd : Integrable (fun p : ℝ × ℝ => C * d p.1 * d p.2) volume := by |
| 61 | simpa only [smul_eq_mul, Measure.volume_eq_prod] using |
| 62 | (hardy_decay_integrable.const_mul C).smul_prod hardy_decay_integrable |
| 63 | have hi (x : ℝ) (hx : x ∈ ({a, b} : Finset ℝ)) (y : ℝ) (hy : y ∈ ({a, b} : Finset ℝ)) : |
| 64 | (∫ t : ℝ, ∫ u : ℝ, ‖K (line x t) (line y u)‖^2) ≤ C * (∫ t, d t)^2 := by |
| 65 | have hxi : x ∈ Icc a b := by |
| 66 | simp only [Finset.mem_insert, Finset.mem_singleton] at hx |
| 67 | rcases hx with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 68 | have hyi : y ∈ Icc a b := by |
| 69 | simp only [Finset.mem_insert, Finset.mem_singleton] at hy |
| 70 | rcases hy with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 71 | calc |
| 72 | _ = ∫ p : ℝ × ℝ, ‖K (line x p.1) (line y p.2)‖^2 := by |
| 73 | simpa only [Measure.volume_eq_prod] using (integral_prod _ (hK x hx y hy).norm.integrable_sq).symm |
| 74 | _ ≤ ∫ p : ℝ × ℝ, C * d p.1 * d p.2 := by |
| 75 | apply integral_mono (hK x hx y hy).norm.integrable_sq hd |
| 76 | intro p |
| 77 | exact hbound x hxi y hyi p.1 p.2 |
| 78 | _ = C * (∫ t, d t)^2 := by |
| 79 | rw [Measure.volume_eq_prod, integral_prod_mul (fun v : ℝ => C * d v) d, integral_const_mul] |
| 80 | ring |
| 81 | unfold BoundaryKernelSquareIntegral |
| 82 | calc |
| 83 | _ ≤ ∑ x ∈ ({a, b} : Finset ℝ), ∑ y ∈ ({a, b} : Finset ℝ), C * (∫ t, d t)^2 := by |
| 84 | apply Finset.sum_le_sum |
| 85 | intro x hx |
| 86 | exact Finset.sum_le_sum (fun y hy => hi x hx y hy) |
| 87 | _ = _ := by simp [Finset.sum_pair hab.ne, d]; ring |
| 88 | |
| 89 | /-- The model operator has a uniform inverse-square Hilbert--Schmidt bound on every admissible strip. -/ |
| 90 | theorem modelOperator_uniform_hs_bound : |
| 91 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 < a → ∀ ha : a < beta, |
| 92 | ∀ N : ℕ, ∀ (_ : NeZero N), |
| 93 | IsHilbertSchmidt (modelOperator ha N) ∧ hsNorm (modelOperator ha N) ≤ C * (a⁻¹)^2 := by |
| 94 | obtain ⟨B, hB, hmodel⟩ := continuedModel_uniform_power_bound |
| 95 | let J : ℝ := ∫ t : ℝ, (1 + |t|)^(-(3 / 2 : ℝ)) |
| 96 | refine ⟨8 * B * (|J| + 1), by positivity, ?_⟩ |
| 97 | intro a ha0 ha N hNZ |
| 98 | let := hNZ |
| 99 | have hN : 0 < N := Nat.pos_of_ne_zero (NeZero.ne N) |
| 100 | let Q := B * (a⁻¹)^2 |
| 101 | have hQ : 0 ≤ Q := by dsimp [Q]; positivity |
| 102 | have hbound := hmodel a ha0 ha N hN |
| 103 | obtain ⟨hK, hcol⟩ := weightedAnalyticKernel_inputs_at ha0 ha (continuedModel N) |
| 104 | (continuedModel_differentiableOn N hN) Q hQ hbound |
| 105 | have hherm : HermitianKernel (weightedAnalyticKernel (continuedModel N)) := by |
| 106 | apply weightedAnalyticKernel_hermitian |
| 107 | intro s z |
| 108 | rw [continuedModel_conj, Complex.conj_conj, continuedModel_symmetric] |
| 109 | obtain ⟨_, _, _, hHilbertSchmidt, _, _, hSquareIntegral, _⟩ := |
| 110 | kernelOperator_spec_of_hardyColumns ha N _ hherm hK hcol |
| 111 | have hhs : IsHilbertSchmidt (modelOperator ha N) := hHilbertSchmidt |
| 112 | have he : hsNorm (modelOperator ha N)^2 = |
| 113 | BoundaryKernelSquareIntegral a beta (weightedAnalyticKernel (continuedModel N)) := |
| 114 | hSquareIntegral |
| 115 | refine ⟨hhs, ?_⟩ |
| 116 | have henergy := boundaryKernelSquareIntegral_power_bound ha _ hK (16 * Q^2) (by positivity) |
| 117 | (weightedAnalyticKernel_power_bound ha0.le (continuedModel N) Q hQ hbound) |
| 118 | rw [← he] at henergy |
| 119 | apply (sq_le_sq₀ (hsNorm_nonneg _) (by positivity)).mp |
| 120 | have hI : J^2 ≤ (|J| + 1)^2 := by nlinarith [sq_abs J, abs_nonneg J] |
| 121 | calc |
| 122 | hsNorm (modelOperator ha N)^2 ≤ 4 * (16 * Q^2) * J^2 := henergy |
| 123 | _ ≤ 4 * (16 * Q^2) * (|J| + 1)^2 := by gcongr |
| 124 | _ = _ := by dsimp [Q]; ring |
| 125 | |
| 126 | end ConditionalGoldbach |
