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.SpectralDiagonalVector |
| 4 | public import ConditionalGoldbach.Proofs.SpectralRankOneSeries |
| 5 | public import ConditionalGoldbach.Proofs.SpectralL2BasisExistence |
| 6 | public import ConditionalGoldbach.Proofs.DensitySeries |
| 7 | |
| 8 | @[expose] public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | open scoped BigOperators ComplexConjugate Topology |
| 13 | open MeasureTheory Filter Set Complex InnerProductSpace |
| 14 | namespace ConditionalGoldbach |
| 15 | attribute [local instance] Classical.propDecidable |
| 16 | |
| 17 | /-- The nonnegative diagonal Dirichlet coefficient, indexed without a zero integer term. -/ |
| 18 | def diagonalCoefficient (N j : ℕ) : ℝ := |
| 19 | if Nat.Coprime (j + 1) N then mangoldt (j + 1) ^ 2 / (j + 1 : ℕ) else 0 |
| 20 | |
| 21 | theorem diagonalCoefficient_nonneg (N j : ℕ) : 0 ≤ diagonalCoefficient N j := by |
| 22 | unfold diagonalCoefficient |
| 23 | split_ifs <;> positivity |
| 24 | |
| 25 | /-- Absolute Dirichlet convergence gives the exact weighted power summability needed for the trace. -/ |
| 26 | theorem diagonalCoefficient_power_summable (N : ℕ) (x : ℝ) (hx : 0 < x) : |
| 27 | Summable (fun j => diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * x)) := by |
| 28 | have hs := diagonalSeries_summable N (w := (2 * x : ℝ)) (by simpa using mul_pos two_pos hx) |
| 29 | have hs' := (summable_nat_add_iff 1).mpr hs |
| 30 | apply hs'.congr |
| 31 | intro j |
| 32 | simp only [Nat.succ_pos, true_and, diagonalCoefficient] |
| 33 | split_ifs with h |
| 34 | · rw [norm_div, norm_pow, Complex.norm_natCast_cpow_of_pos (by omega)] |
| 35 | simp only [Complex.norm_real, Real.norm_eq_abs, sq_abs, add_re, one_re, ofReal_re] |
| 36 | rw [show -2 * x = -(2 * x) by ring, Real.rpow_neg (Nat.cast_nonneg _), |
| 37 | Real.rpow_add (by positivity : (0 : ℝ) < (j + 1 : ℕ)), Real.rpow_one] |
| 38 | ring |
| 39 | · simp |
| 40 | |
| 41 | /-- The square-root coefficient converts the diagonal expansion to a positive rank-one series. -/ |
| 42 | def diagonalRankVector {a : ℝ} (N j : ℕ) : HardySpace a beta := |
| 43 | (Real.sqrt (diagonalCoefficient N j) : ℂ) • diagonalHardyVector (j + 1) |
| 44 | |
| 45 | theorem diagonalRankVector_norm_sq {a : ℝ} (N j : ℕ) : |
| 46 | ‖diagonalRankVector (a := a) N j‖ ^ 2 = |
| 47 | diagonalCoefficient N j * ‖diagonalHardyVector (a := a) (j + 1)‖ ^ 2 := by |
| 48 | simp only [diagonalRankVector, norm_smul, mul_pow, Complex.norm_real, Real.norm_eq_abs, |
| 49 | sq_abs, Real.sq_sqrt (diagonalCoefficient_nonneg N j)] |
| 50 | |
| 51 | /-- The diagonal rank-one vectors are square summable on every strictly positive strip. -/ |
| 52 | theorem diagonalRankVector_summable {a : ℝ} (ha : a < beta) (ha0 : 0 < a) (N : ℕ) : |
| 53 | Summable (fun j => ‖diagonalRankVector (a := a) N j‖ ^ 2) := by |
| 54 | have h₁ := (diagonalCoefficient_power_summable N a ha0).mul_left (Real.pi / (1 + a)) |
| 55 | have h₂ := (diagonalCoefficient_power_summable N beta (by norm_num [beta])).mul_left |
| 56 | (Real.pi / (1 + beta)) |
| 57 | apply (h₁.add h₂).congr |
| 58 | intro j |
| 59 | rw [diagonalRankVector_norm_sq, diagonalHardyVector_norm_sq ha ha0.le _ (by omega)] |
| 60 | ring |
| 61 | |
| 62 | /-- A concrete positive operator representing the diagonal rank-one expansion. -/ |
| 63 | def diagonalRankOperator {a : ℝ} (N : ℕ) : HardySpace a beta →L[ℂ] HardySpace a beta := |
| 64 | ∑' j, rankOne ℂ (diagonalRankVector N j) (diagonalRankVector N j) |
| 65 | |
| 66 | /-- The diagonal expansion is positive trace class, with both exact boundary contributions to its trace. -/ |
| 67 | theorem diagonalRankOperator_positiveTraceClass {a : ℝ} (ha : a < beta) (ha0 : 0 < a) (N : ℕ) : |
| 68 | IsPositiveTraceClass (diagonalRankOperator (a := a) N) ∧ |
| 69 | positiveTrace (diagonalRankOperator (a := a) N) = |
| 70 | Real.pi / (1 + a) * (∑' j, diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * a)) + |
| 71 | Real.pi / (1 + beta) * (∑' j, diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * beta)) := by |
| 72 | have hv := diagonalRankVector_summable ha ha0 N |
| 73 | have ht := rankOne_tsum_positiveTraceClass (diagonalRankVector (a := a) N) hv |
| 74 | (Classical.choice (hardySpace_exists_nat_hilbertBasis a beta)) |
| 75 | refine ⟨ht.1, ht.2.trans ?_⟩ |
| 76 | rw [← tsum_mul_left, ← tsum_mul_left, ← Summable.tsum_add |
| 77 | ((diagonalCoefficient_power_summable N a ha0).mul_left _) |
| 78 | ((diagonalCoefficient_power_summable N beta (by norm_num [beta])).mul_left _)] |
| 79 | apply tsum_congr |
| 80 | intro j |
| 81 | rw [diagonalRankVector_norm_sq, diagonalHardyVector_norm_sq ha ha0.le _ (by omega)] |
| 82 | ring |
| 83 | |
| 84 | end ConditionalGoldbach |
