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.HardyArithmeticTheorems |
| 4 | public import ConditionalGoldbach.Proofs.SpectralRankOneSeries |
| 5 | public import ConditionalGoldbach.Proofs.SpectralTraceBounds |
| 6 | |
| 7 | /-! Hardy representatives of the finitely many logarithmic derivatives in the Gram kernel. -/ |
| 8 | @[expose] public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | open MeasureTheory Filter Set Complex InnerProductSpace |
| 13 | open scoped Topology ComplexConjugate BigOperators |
| 14 | namespace ConditionalGoldbach |
| 15 | |
| 16 | lemma weighted_line_square_bound {x : ℝ} (hx : 0 ≤ x) (t L : ℝ) (hL : 0 ≤ L) |
| 17 | (v : ℂ) (hv : ‖v‖ ≤ L * (1 + |t|) ^ (1 / 4 : ℝ)) : |
| 18 | ‖v / (1 + line x t)‖ ^ 2 ≤ 4 * L ^ 2 * (1 + |t|) ^ (- (3 / 2 : ℝ)) := by |
| 19 | have ht : 0 < 1 + |t| := by positivity |
| 20 | have hl := one_add_line_norm_lower hx t |
| 21 | have hb : ‖v / (1 + line x t)‖ ≤ 2 * L * (1 + |t|) ^ (- (3 / 4 : ℝ)) := by |
| 22 | rw [norm_div] |
| 23 | calc |
| 24 | _ ≤ (L * (1 + |t|) ^ (1 / 4 : ℝ)) / ((1 + |t|) / 2) := |
| 25 | div_le_div₀ (by positivity) hv (by positivity) hl |
| 26 | _ = _ := by |
| 27 | rw [show - (3 / 4 : ℝ) = 1 / 4 - 1 by norm_num, Real.rpow_sub ht, Real.rpow_one] |
| 28 | field_simp |
| 29 | have hh := (sq_le_sq₀ (norm_nonneg _) (by positivity)).mpr hb |
| 30 | have hp : ((1 + |t|) ^ (- (3 / 4 : ℝ))) ^ 2 = (1 + |t|) ^ (- (3 / 2 : ℝ)) := by |
| 31 | rw [← Real.rpow_natCast, ← Real.rpow_mul ht.le] |
| 32 | norm_num |
| 33 | simpa only [mul_pow, hp, show (2 : ℝ)^2 = 4 by norm_num] using hh |
| 34 | |
| 35 | /-- The holomorphic function whose rank-one Gram sum is the arithmetic component. -/ |
| 36 | def characterHardyFunction {N : ℕ} [NeZero N] (χ : Character N) (s : ℂ) : ℂ := |
| 37 | logDerivative χ s / (1 + s) |
| 38 | |
| 39 | lemma characterHardyFunction_differentiableAt {N : ℕ} [NeZero N] (hGRH : GRH N) |
| 40 | (χ : Character N) (hχ : χ ∈ oddCharacters N) {s : ℂ} (hs : 0 < s.re) : |
| 41 | DifferentiableAt ℂ (characterHardyFunction χ) s := by |
| 42 | apply (odd_logDerivative_analyticAt_of_GRH hGRH χ hχ hs).differentiableAt.div (by fun_prop) |
| 43 | intro he |
| 44 | have hh := congrArg Complex.re he |
| 45 | simp only [Complex.add_re, Complex.one_re, Complex.zero_re] at hh |
| 46 | linarith |
| 47 | |
| 48 | lemma characterHardyFunction_representation (N : ℕ) [NeZero N] |
| 49 | (hlarge : Real.exp 10 < (N : ℝ)) (hGRH : GRH N) (ha : alpha N < beta) |
| 50 | (χ : Character N) (hχ : χ ∈ oddCharacters N) : |
| 51 | ∃ g : HardySpace (alpha N) beta, |
| 52 | (∀ s ∈ strip (alpha N) beta, fourierLaplace g s = characterHardyFunction χ s) ∧ |
| 53 | ((boundaryTraces ha g).1 =ᵐ[volume] fun t => characterHardyFunction χ (line (alpha N) t)) ∧ |
| 54 | ((boundaryTraces ha g).2 =ᵐ[volume] fun t => characterHardyFunction χ (line beta t)) := by |
| 55 | obtain ⟨L, _, hL, _, hlog, _⟩ := arithmeticKernel_growth_inputs N hlarge hGRH ha |
| 56 | let A : ℝ := L * (64 * (2 * N) ^ (1 / 4 : ℝ)) |
| 57 | have hA : 0 ≤ A := by dsimp [A]; positivity |
| 58 | have hN1 : (1 : ℝ) ≤ N := by exact_mod_cast (show 1 ≤ N by have := (large_parameters hlarge).1; omega) |
| 59 | have hd (s : ℂ) (hs : s.re ∈ Icc (alpha N) beta) := |
| 60 | characterHardyFunction_differentiableAt hGRH χ hχ ((large_alpha_pos hlarge).trans_le hs.1) |
| 61 | apply hardy_column_of_closedStrip_majorant ha |
| 62 | (fun s hs => (hd s ⟨hs.1.le, hs.2.le⟩).differentiableWithinAt) |
| 63 | (fun s hs => (hd s hs).continuousAt.continuousWithinAt) |
| 64 | (hardy_decay_integrable.const_mul (4 * A ^ 2)) |
| 65 | intro x hx t |
| 66 | apply weighted_line_square_bound ((large_alpha_pos hlarge).le.trans hx.1) t A hA |
| 67 | have hx' : (line x t).re ∈ Icc (alpha N) beta := by simpa [line] using hx |
| 68 | have hh := hlog χ hχ (line x t) hx' |
| 69 | simp only [line, Complex.add_im, Complex.ofReal_im, Complex.mul_im, |
| 70 | Complex.ofReal_re, Complex.I_re, Complex.I_im, mul_one, mul_zero, add_zero, zero_add] at hh |
| 71 | apply hh.trans |
| 72 | calc |
| 73 | L * Real.log (N * (|t| + 2)) ^ 2 ≤ |
| 74 | L * ((64 * (2 * N) ^ (1 / 4 : ℝ)) * (1 + |t|) ^ (1 / 4 : ℝ)) := |
| 75 | mul_le_mul_of_nonneg_left (logarithm_square_le_quarter_power hN1 t) hL |
| 76 | _ = A * (1 + |t|) ^ (1 / 4 : ℝ) := by dsimp [A]; ring |
| 77 | |
| 78 | end ConditionalGoldbach |
