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.HardyKernelResidual |
| 4 | public import ConditionalGoldbach.Proofs.CharacterGrowth |
| 5 | public import ConditionalGoldbach.Proofs.ZetaTruncation |
| 6 | public import ConditionalGoldbach.Proofs.KernelGrowthBounds |
| 7 | public import ConditionalGoldbach.Proofs.HardyKernelMajorant |
| 8 | |
| 9 | /-! The arithmetic Hardy realization from its two explicit vertical growth estimates. -/ |
| 10 | public section |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | open MeasureTheory Filter Set Complex |
| 15 | open scoped Topology ComplexConjugate BigOperators |
| 16 | namespace ConditionalGoldbach |
| 17 | |
| 18 | lemma closed_strip_subset_at {a : ℝ} (ha0 : 0 < a) : |
| 19 | {p : ℂ × ℂ | a ≤ p.1.re ∧ p.1.re ≤ beta ∧ a ≤ p.2.re ∧ p.2.re ≤ beta} ⊆ analyticDomain := by |
| 20 | intro p hp |
| 21 | exact ⟨ha0.trans_le hp.1, hp.2.1.trans_lt (by norm_num [beta]), |
| 22 | ha0.trans_le hp.2.2.1, hp.2.2.2.trans_lt (by norm_num [beta])⟩ |
| 23 | |
| 24 | lemma weightedKernel_closed_column_regular_at (a : ℝ) (N : ℕ) [NeZero N] |
| 25 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (z : ℂ) |
| 26 | (hz : a ≤ z.re ∧ z.re ≤ beta) : |
| 27 | DifferentiableOn ℂ (fun s => weightedKernel N s z) (strip a beta) ∧ |
| 28 | ContinuousOn (fun s => weightedKernel N s z) {s | a ≤ s.re ∧ s.re ≤ beta} := by |
| 29 | have hd (s : ℂ) (hs : a ≤ s.re ∧ s.re ≤ beta) : |
| 30 | DifferentiableAt ℂ (fun w => weightedKernel N w z) s := |
| 31 | weightedKernel_column_differentiableAt N (by omega) hGRH s z |
| 32 | (closed_strip_subset_at ha0 ⟨hs.1, hs.2, hz.1, hz.2⟩) |
| 33 | exact ⟨fun s hs => (hd s ⟨hs.1.le, hs.2.le⟩).differentiableWithinAt, |
| 34 | fun s hs => (hd s hs).continuousAt.continuousWithinAt⟩ |
| 35 | |
| 36 | |
| 37 | lemma weightedKernel_closed_joint_continuous_at (a : ℝ) (N : ℕ) [NeZero N] |
| 38 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) : |
| 39 | ContinuousOn (Function.uncurry (weightedKernel N)) |
| 40 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := by |
| 41 | have hN : 0 < N := by have := hN4; omega |
| 42 | have hc := (weightedKernel_conj_differentiableOn N hN hGRH).continuousOn |
| 43 | have hj : ContinuousOn (fun p : ℂ × ℂ => weightedKernel N p.1 (conj (conj p.2))) |
| 44 | {p : ℂ × ℂ | p.1.re ∈ Icc a beta ∧ p.2.re ∈ Icc a beta} := by |
| 45 | apply hc.comp (f := fun p : ℂ × ℂ => (p.1, conj p.2)) (by fun_prop) |
| 46 | intro p hp |
| 47 | exact closed_strip_subset_at ha0 ⟨hp.1.1, hp.1.2, hp.2.1, hp.2.2⟩ |
| 48 | change ContinuousOn (fun p : ℂ × ℂ => weightedKernel N p.1 p.2) _ |
| 49 | simpa only [Complex.conj_conj] using hj |
| 50 | |
| 51 | lemma weightedKernel_inputs_of_growth_at (a : ℝ) (N : ℕ) [NeZero N] |
| 52 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) |
| 53 | (L Z : ℝ) (hL : 0 ≤ L) (hZ : 0 ≤ Z) |
| 54 | (hlog : ∀ χ ∈ oddCharacters N, ∀ s : ℂ, s.re ∈ Icc a beta → |
| 55 | ‖logDerivative χ s‖ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2) |
| 56 | (hζ : ∀ w : ℂ, w.re ∈ Icc (3 / 4) (1 - 2 * a) → |
| 57 | ‖riemannZeta w‖ ≤ Z * (1 + |w.im|) ^ (1 / 4 : ℝ)) : |
| 58 | (∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 59 | MemLp (fun p : ℝ × ℝ => weightedKernel N (line x p.1) (line y p.2)) 2 volume) ∧ |
| 60 | HasHardyKernelColumns ha (weightedKernel N) := by |
| 61 | have hN4 := hN4 |
| 62 | have hN1 : (1 : ℝ) ≤ N := by exact_mod_cast (by omega : 1 ≤ N) |
| 63 | have hlog' : ∀ χ ∈ oddCharacters N, ∀ s : ℂ, s.re ∈ Icc a beta → |
| 64 | ‖logDerivative χ s‖ ≤ (L * (64 * (2 * N) ^ (1 / 4 : ℝ))) * |
| 65 | (1 + |s.im|) ^ (1 / 4 : ℝ) := by |
| 66 | intro χ hχ s hs |
| 67 | calc |
| 68 | _ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2 := hlog χ hχ s hs |
| 69 | _ ≤ L * ((64 * (2 * N) ^ (1 / 4 : ℝ)) * (1 + |s.im|) ^ (1 / 4 : ℝ)) := |
| 70 | mul_le_mul_of_nonneg_left (logarithm_square_le_quarter_power hN1 s.im) hL |
| 71 | _ = _ := by ring |
| 72 | obtain ⟨P, hP, hchar⟩ := characterKernel_power_bound N _ (by positivity) hlog' |
| 73 | obtain ⟨Q, hQ, hmodel⟩ := continuedModel_power_bound ha0 ha N hN4 Z hZ hζ |
| 74 | obtain ⟨C, hC, hR⟩ := residual_power_bound_of_components ha0 N P Q hP hQ hchar hmodel |
| 75 | apply hardyKernel_inputs_of_power_bound ha (weightedKernel N) |
| 76 | (weightedKernel_closed_joint_continuous_at a N ha0 hN4 hGRH) |
| 77 | (fun z hz => (weightedKernel_closed_column_regular_at a N ha0 hN4 hGRH z hz).1) |
| 78 | (16 * C ^ 2) (by positivity) |
| 79 | exact weightedKernel_power_bound_of_residual ha0.le N C hC hR |
| 80 | |
| 81 | lemma residualOperator_spec_of_growth_at (a : ℝ) (N : ℕ) [NeZero N] |
| 82 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) |
| 83 | (L Z : ℝ) (hL : 0 ≤ L) (hZ : 0 ≤ Z) |
| 84 | (hlog : ∀ χ ∈ oddCharacters N, ∀ s : ℂ, s.re ∈ Icc a beta → |
| 85 | ‖logDerivative χ s‖ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2) |
| 86 | (hζ : ∀ w : ℂ, w.re ∈ Icc (3 / 4) (1 - 2 * a) → |
| 87 | ‖riemannZeta w‖ ≤ Z * (1 + |w.im|) ^ (1 / 4 : ℝ)) : |
| 88 | (∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 89 | MemLp (fun p : ℝ × ℝ => weightedKernel N (line x p.1) (line y p.2)) 2 volume) ∧ |
| 90 | RepresentsKernel ha N (weightedKernel N) (residualOperator ha N) ∧ |
| 91 | IsCompactOperator (residualOperator ha N) ∧ IsSelfAdjoint (residualOperator ha N) ∧ |
| 92 | IsHilbertSchmidt (residualOperator ha N) ∧ Nonempty (SpectralData (residualOperator ha N)) ∧ |
| 93 | (∑' j, eigenvalues (residualOperator ha N) j ^ 2) = hsNorm (residualOperator ha N) ^ 2 ∧ |
| 94 | hsNorm (residualOperator ha N) ^ 2 = BoundaryKernelSquareIntegral a beta (weightedKernel N) ∧ |
| 95 | ‖residualOperator ha N‖ = sSup (Set.range (fun j => |eigenvalues (residualOperator ha N) j|)) ∧ |
| 96 | (residualOperator ha N ≠ 0 → ∃ j, |eigenvalues (residualOperator ha N) j| = ‖residualOperator ha N‖) := by |
| 97 | obtain ⟨hK, hcol⟩ := weightedKernel_inputs_of_growth_at a N ha0 hN4 hGRH ha L Z hL hZ hlog hζ |
| 98 | exact ⟨hK, kernelOperator_spec_of_hardyColumns ha N (weightedKernel N) (weightedKernel_hermitian N) hK hcol⟩ |
| 99 | |
| 100 | lemma residualOperator_pairing_of_growth_at (a : ℝ) (N : ℕ) [NeZero N] |
| 101 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) |
| 102 | (L Z : ℝ) (hL : 0 ≤ L) (hZ : 0 ≤ Z) |
| 103 | (hlog : ∀ χ ∈ oddCharacters N, ∀ s : ℂ, s.re ∈ Icc a beta → |
| 104 | ‖logDerivative χ s‖ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2) |
| 105 | (hζ : ∀ w : ℂ, w.re ∈ Icc (3 / 4) (1 - 2 * a) → |
| 106 | ‖riemannZeta w‖ ≤ Z * (1 + |w.im|) ^ (1 / 4 : ℝ)) |
| 107 | (s z : ℂ) (hs : s ∈ strip a beta) (hz : z ∈ strip a beta) : |
| 108 | weightedKernel N s z = paperInner (residualOperator ha N (evaluationVector z)) (evaluationVector s) := by |
| 109 | obtain ⟨hK, hcol⟩ := weightedKernel_inputs_of_growth_at a N ha0 hN4 hGRH ha L Z hL hZ hlog hζ |
| 110 | exact kernelOperator_pairing_of_hardyColumns ha N (weightedKernel N) (weightedKernel_hermitian N) hK hcol s z hs hz |
| 111 | |
| 112 | lemma arithmeticKernel_growth_inputs_at (a : ℝ) (N : ℕ) [NeZero N] |
| 113 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 114 | ∃ L Z : ℝ, 0 ≤ L ∧ 0 ≤ Z ∧ |
| 115 | (∀ χ ∈ oddCharacters N, ∀ s : ℂ, s.re ∈ Icc a beta → |
| 116 | ‖logDerivative χ s‖ ≤ L * Real.log (N * (|s.im| + 2)) ^ 2) ∧ |
| 117 | (∀ w : ℂ, w.re ∈ Icc (3 / 4) (1 - 2 * a) → |
| 118 | ‖riemannZeta w‖ ≤ Z * (1 + |w.im|) ^ (1 / 4 : ℝ)) := by |
| 119 | obtain ⟨L, hL, hlog⟩ := logDerivative_uniform_bound a beta ha0 ha.le |
| 120 | obtain ⟨Z, hZ, hζ⟩ := riemannZeta_three_quarter_uniform |
| 121 | (by linarith : 1 - 2 * a < 1) |
| 122 | refine ⟨L, Z, hL.le, hZ, ?_, hζ⟩ |
| 123 | intro χ hχ s hs |
| 124 | have hh := hlog N inferInstance hN4 hGRH χ |
| 125 | (odd_character_ne_one χ (Finset.mem_filter.mp hχ).2) s.re hs s.im |
| 126 | have he : line s.re s.im = s := by apply Complex.ext <;> simp [line] |
| 127 | simpa only [he] using hh |
| 128 | |
| 129 | lemma residualOperator_pairing_at (a : ℝ) (N : ℕ) [NeZero N] |
| 130 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) |
| 131 | (s z : ℂ) (hs : s ∈ strip a beta) (hz : z ∈ strip a beta) : |
| 132 | weightedKernel N s z = paperInner (residualOperator ha N (evaluationVector z)) (evaluationVector s) := by |
| 133 | obtain ⟨L,Z,hL,hZ,hlog,hζ⟩ := arithmeticKernel_growth_inputs_at a N ha0 hN4 hGRH ha |
| 134 | exact residualOperator_pairing_of_growth_at a N ha0 hN4 hGRH ha L Z hL hZ hlog hζ s z hs hz |
| 135 | |
| 136 | lemma alpha_pos_at (N : ℕ) (hN4 : 4 ≤ N) (c : ℝ) (hc : 0 < c) : 0 < alpha N c := by |
| 137 | exact div_pos hc (Real.log_pos (by exact_mod_cast (show 1<N by omega))) |
| 138 | |
| 139 | lemma residualOperator_spec_at (a : ℝ) (N : ℕ) [NeZero N] (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 140 | (∀ x ∈ ({a, beta} : Finset ℝ), ∀ y ∈ ({a, beta} : Finset ℝ), |
| 141 | MemLp (fun p : ℝ × ℝ => weightedKernel N (line x p.1) (line y p.2)) 2 volume) ∧ |
| 142 | RepresentsKernel ha N (weightedKernel N) (residualOperator ha N) ∧ |
| 143 | IsCompactOperator (residualOperator ha N) ∧ IsSelfAdjoint (residualOperator ha N) ∧ |
| 144 | IsHilbertSchmidt (residualOperator ha N) ∧ Nonempty (SpectralData (residualOperator ha N)) ∧ |
| 145 | (∑' j, eigenvalues (residualOperator ha N) j ^ 2) = hsNorm (residualOperator ha N) ^ 2 ∧ |
| 146 | hsNorm (residualOperator ha N) ^ 2 = BoundaryKernelSquareIntegral a beta (weightedKernel N) ∧ |
| 147 | ‖residualOperator ha N‖ = sSup (Set.range (fun j => |eigenvalues (residualOperator ha N) j|)) ∧ |
| 148 | (residualOperator ha N ≠ 0 → ∃ j, |eigenvalues (residualOperator ha N) j| = ‖residualOperator ha N‖) := by |
| 149 | obtain ⟨L, Z, hL, hZ, hlog, hζ⟩ := arithmeticKernel_growth_inputs_at a N ha0 hN4 hGRH ha |
| 150 | exact residualOperator_spec_of_growth_at a N ha0 hN4 hGRH ha L Z hL hZ hlog hζ |
| 151 | |
| 152 | /-- The spectral realization on a strip with a variable left boundary. -/ |
| 153 | lemma residualOperator_has_spectral_data_at (a : ℝ) (N : ℕ) [NeZero N] |
| 154 | (ha0 : 0 < a) (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 155 | Nonempty (SpectralData (residualOperator ha N)) := by |
| 156 | obtain ⟨_, _, _, _, _, hspectral, _⟩ := residualOperator_spec_at a N ha0 hN4 hGRH ha |
| 157 | exact hspectral |
| 158 | |
| 159 | theorem proposition_A_1_operator_spec (N : ℕ) [NeZero N] (_hN : Even N) |
| 160 | (hN4 : 4 ≤ N) (c : ℝ) (hc : 0 < c) (_hlarge : Real.exp (10 * c) < (N : ℝ)) |
| 161 | (hGRH : GRH N) (ha : alpha N c < beta) : |
| 162 | (∀ x ∈ ({alpha N c, beta} : Finset ℝ), ∀ y ∈ ({alpha N c, beta} : Finset ℝ), |
| 163 | MemLp (fun p : ℝ × ℝ => weightedKernel N (line x p.1) (line y p.2)) 2 volume) ∧ |
| 164 | RepresentsKernel ha N (weightedKernel N) (residualOperator ha N) ∧ |
| 165 | Nonempty (SpectralData (residualOperator ha N)) ∧ |
| 166 | (∀ (h : HardySpace (alpha N c) beta) (s : ℂ), s ∈ strip (alpha N c) beta → |
| 167 | Integrable (fun t : ℝ => weightedKernel N s (line (alpha N c) t) * |
| 168 | (boundaryTraces ha h).1 t) ∧ |
| 169 | Integrable (fun t : ℝ => weightedKernel N s (line beta t) * |
| 170 | (boundaryTraces ha h).2 t)) := by |
| 171 | have ha0 := alpha_pos_at N hN4 c hc |
| 172 | obtain ⟨L,Z,hL,hZ,hlog,hζ⟩ := arithmeticKernel_growth_inputs_at (alpha N c) N ha0 hN4 hGRH ha |
| 173 | obtain ⟨hK,hcol⟩ := weightedKernel_inputs_of_growth_at (alpha N c) N ha0 hN4 hGRH ha L Z hL hZ hlog hζ |
| 174 | obtain ⟨_, hRepresents, _, _, _, hSpectral, _⟩ := |
| 175 | residualOperator_spec_at (alpha N c) N ha0 hN4 hGRH ha |
| 176 | exact ⟨hK, hRepresents, hSpectral, |
| 177 | kernelAction_integrable_of_hardyColumns ha (weightedKernel N) (weightedKernel_hermitian N) hcol⟩ |
| 178 | |
| 179 | end ConditionalGoldbach |
