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.VariableComponentOperators |
| 4 | public import ConditionalGoldbach.Proofs.CharacterStripTrace |
| 5 | public import ConditionalGoldbach.Proofs.SpectralDiagonalBound |
| 6 | public import ConditionalGoldbach.Proofs.HilbertSchmidtTriangle |
| 7 | |
| 8 | public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | lemma component_bounds_of_average (A : ℝ) (hA : 0<A) : |
| 15 | ∃ C : ℝ, 0<C ∧ ∀ N : ℕ, ∀ (_ : NeZero N), 4≤N → GRH N → |
| 16 | (∀ σ : ℝ, 0<σ → σ≤beta → averagedLogDerivative N σ≤A*(Real.log N^2+σ⁻¹^2)) → |
| 17 | ∀ a : ℝ, 0<a → ∀ ha : a<beta, |
| 18 | IsPositiveTraceClass (arithmeticOperator ha N) ∧ |
| 19 | IsPositiveTraceClass (diagonalOperator ha N) ∧ |
| 20 | IsHilbertSchmidt (modelOperator ha N) ∧ |
| 21 | (hsNorm (arithmeticOperator ha N)≤positiveTrace (arithmeticOperator ha N) ∧ |
| 22 | positiveTrace (arithmeticOperator ha N)≤C*(Real.log N^2+a⁻¹^2)) ∧ |
| 23 | (hsNorm (diagonalOperator ha N)≤positiveTrace (diagonalOperator ha N) ∧ |
| 24 | positiveTrace (diagonalOperator ha N)≤C*a⁻¹^2) ∧ |
| 25 | hsNorm (modelOperator ha N)≤C*a⁻¹^2 := by |
| 26 | obtain ⟨K,hK,hmodel⟩ := modelOperator_uniform_hs_bound |
| 27 | let D := 2*Real.pi*(Real.log 4+4) |
| 28 | have hD : 0<D := by dsimp [D]; positivity |
| 29 | refine ⟨2*A+D+K,by positivity,?_⟩ |
| 30 | intro N _ hN4 hGRH havg a ha0 ha |
| 31 | obtain ⟨hp,hps,hpt⟩ := arithmeticOperator_trace_bound_of_average_on_strip N hN4 hGRH ha0 ha A hA.le havg |
| 32 | obtain ⟨hd,hds,hdt⟩ := diagonalOperator_trace_bound ha ha0 N |
| 33 | obtain ⟨hk,hks⟩ := hmodel a ha0 ha N inferInstance |
| 34 | refine ⟨hp,hd,hk,⟨hps,?_⟩,⟨hds,?_⟩,?_⟩ |
| 35 | · exact hpt.trans (mul_le_mul_of_nonneg_right (by linarith) (by positivity)) |
| 36 | · exact hdt.trans (mul_le_mul_of_nonneg_right (by dsimp [D] at *; linarith) (by positivity)) |
| 37 | · exact hks.trans (mul_le_mul_of_nonneg_right (by linarith) (by positivity)) |
| 38 | |
| 39 | lemma residual_bound_of_components (a : ℝ) (N : ℕ) [NeZero N] |
| 40 | (ha0 : 0<a) (hN4 : 4≤N) (hGRH : GRH N) (ha : a<beta) (C : ℝ) (hC : 0≤C) |
| 41 | (hP : IsPositiveTraceClass (arithmeticOperator ha N)) |
| 42 | (hD : IsPositiveTraceClass (diagonalOperator ha N)) |
| 43 | (hK : IsHilbertSchmidt (modelOperator ha N)) |
| 44 | (hp : positiveTrace (arithmeticOperator ha N)≤C*(Real.log N^2+a⁻¹^2)) |
| 45 | (hd : positiveTrace (diagonalOperator ha N)≤C*a⁻¹^2) |
| 46 | (hk : hsNorm (modelOperator ha N)≤C*a⁻¹^2) : |
| 47 | IsHilbertSchmidt (residualOperator ha N) ∧ |
| 48 | ‖residualOperator ha N‖≤hsNorm (residualOperator ha N) ∧ |
| 49 | hsNorm (residualOperator ha N)≤12*C*(Real.log N^2+a⁻¹^2) := by |
| 50 | rw [residualOperator_components_at a N ha0 hN4 hGRH ha] |
| 51 | obtain ⟨hR,hr⟩ := hilbertSchmidt_sub_sub_bound hP.isHilbertSchmidt hD.isHilbertSchmidt hK |
| 52 | refine ⟨hR,hR.norm_le_hsNorm,?_⟩ |
| 53 | have hp' := hP.hsNorm_le_trace.trans hp |
| 54 | have hd' := hD.hsNorm_le_trace.trans hd |
| 55 | nlinarith [mul_nonneg hC (sq_nonneg (Real.log N))] |
| 56 | |
| 57 | lemma residual_bound_of_average (A : ℝ) (hA : 0<A) : |
| 58 | ∃ C : ℝ, 0<C ∧ ∀ N : ℕ, ∀ (_ : NeZero N), 4≤N → GRH N → |
| 59 | (∀ σ : ℝ, 0<σ → σ≤beta → averagedLogDerivative N σ≤A*(Real.log N^2+σ⁻¹^2)) → |
| 60 | ∀ a : ℝ, 0<a → ∀ ha : a<beta, |
| 61 | IsHilbertSchmidt (residualOperator ha N) ∧ |
| 62 | ‖residualOperator ha N‖≤hsNorm (residualOperator ha N) ∧ |
| 63 | hsNorm (residualOperator ha N)≤C*(Real.log N^2+a⁻¹^2) := by |
| 64 | obtain ⟨C,hC,hcomp⟩ := component_bounds_of_average A hA |
| 65 | refine ⟨12*C,by positivity,?_⟩ |
| 66 | intro N _ hN4 hGRH havg a ha0 ha |
| 67 | obtain ⟨hP,hD,hK,hp,hd,hk⟩ := hcomp N inferInstance hN4 hGRH havg a ha0 ha |
| 68 | exact residual_bound_of_components a N ha0 hN4 hGRH ha C hC.le hP hD hK hp.2 hd.2 hk |
| 69 | |
| 70 | end ConditionalGoldbach |
