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.VariableStripOperators |
| 4 | public import ConditionalGoldbach.Proofs.VariableWeightAsymptotic |
| 5 | public import ConditionalGoldbach.Proofs.DictionaryApplication |
| 6 | |
| 7 | public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open scoped BigOperators ComplexConjugate Topology ContDiff |
| 12 | open MeasureTheory Filter Set Complex |
| 13 | namespace ConditionalGoldbach |
| 14 | |
| 15 | lemma variable_parameters (N : ℕ) (hN4 : 4 ≤ N) (c : ℝ) (hc : 0<c) |
| 16 | (hlarge : Real.exp (10*c) < (N : ℝ)) : |
| 17 | 0 < alpha N c ∧ alpha N c < 1/10 ∧ 1/40 < width (alpha N c) ∧ |
| 18 | 1/90 < sigmaStar-alpha N c ∧ beta-sigmaStar=1/72 := by |
| 19 | have hl : 10*c < Real.log N := by simpa using Real.log_lt_log (Real.exp_pos (10*c)) hlarge |
| 20 | have hl0 : 0 < Real.log N := Real.log_pos (by exact_mod_cast (show 1<N by omega)) |
| 21 | have ha : alpha N c < 1/10 := by |
| 22 | unfold alpha |
| 23 | apply (div_lt_div_iff₀ hl0 (by norm_num : (0:ℝ)<10)).2 |
| 24 | nlinarith |
| 25 | exact ⟨alpha_pos_at N hN4 c hc,ha,by dsimp [width,beta]; linarith, |
| 26 | by dsimp [sigmaStar]; linarith,by norm_num [beta,sigmaStar]⟩ |
| 27 | |
| 28 | lemma residual_quadratic_at (a : ℝ) (ha0 : 0<a) (ha10 : a<1/10) (N : ℕ) [NeZero N] (hN : Even N) |
| 29 | (hN4 : 4 ≤ N) (hGRH : GRH N) |
| 30 | (φ : ℝ → ℝ) (hφ : IsWeight φ) (ha : a < beta) : |
| 31 | (weightMass φ * singularSeries N - goldbach N φ : ℝ) = |
| 32 | paperInner (residualOperator ha N (rieszVector N φ)) (rieszVector N φ) ∧ |
| 33 | |weightMass φ * singularSeries N - goldbach N φ| ≤ |
| 34 | normFunctional N φ a * ‖residualOperator ha N‖ := by |
| 35 | have hσ : sigmaStar ∈ Ioo a beta := ⟨by dsimp [sigmaStar]; linarith,by norm_num [sigmaStar,beta]⟩ |
| 36 | have hσ0 : 0 < sigmaStar := by norm_num [sigmaStar] |
| 37 | have heq : (weightMass φ * singularSeries N - goldbach N φ : ℝ) = |
| 38 | paperInner (residualOperator ha N (rieszVector N φ)) (rieszVector N φ) := by |
| 39 | rw [quadratic_residual_integral N φ hφ sigmaStar hσ hσ0 hσ (residualOperator ha N) |
| 40 | (fun s z hs hz => residualOperator_pairing_at a N ha0 hN4 hGRH ha s z hs hz)] |
| 41 | exact (proposition_7_3 N hN hN4 hGRH φ hφ sigmaStar hσ0 (by norm_num [sigmaStar])).symm |
| 42 | refine ⟨heq, ?_⟩ |
| 43 | have hn := (rieszVector_density_spec N (by omega) φ hφ hσ).2 |
| 44 | rw [← normFunctional_density_integral N (by omega)] at hn |
| 45 | have hbound : ‖paperInner (residualOperator ha N (rieszVector N φ)) (rieszVector N φ)‖ ≤ |
| 46 | ‖(rieszVector N φ : HardySpace a beta)‖ ^ 2 * ‖residualOperator ha N‖ := by |
| 47 | unfold paperInner |
| 48 | calc |
| 49 | _ ≤ ‖(rieszVector N φ : HardySpace a beta)‖ * |
| 50 | ‖residualOperator ha N (rieszVector N φ)‖ := norm_inner_le_norm _ _ |
| 51 | _ ≤ ‖(rieszVector N φ : HardySpace a beta)‖ * |
| 52 | (‖residualOperator ha N‖ * ‖(rieszVector N φ : HardySpace a beta)‖) := |
| 53 | mul_le_mul_of_nonneg_left ((residualOperator ha N).le_opNorm _) (norm_nonneg _) |
| 54 | _ = _ := by ring |
| 55 | rw [← heq, Complex.norm_real, Real.norm_eq_abs, hn] at hbound |
| 56 | exact hbound |
| 57 | |
| 58 | theorem proposition_A_1 (φ : ℝ → ℝ) (hφ : IsWeight φ) (c : ℝ) (hc : 0 < c) : |
| 59 | (∀ N : ℕ, ∀ (_ : NeZero N), Even N → 4 ≤ N → Real.exp (10 * c) < (N : ℝ) → GRH N → |
| 60 | alpha N c < 1 / 10 ∧ 1 / 40 < width (alpha N c) ∧ |
| 61 | 1 / 90 < sigmaStar - alpha N c ∧ beta - sigmaStar = 1 / 72 ∧ |
| 62 | (∀ σ ∈ Ioo (alpha N c) beta, |
| 63 | (∀ h : HardySpace (alpha N c) beta, |
| 64 | Integrable (fun t : ℝ => (N : ℂ) ^ (line σ t) * mellinWeight φ (line σ t) * |
| 65 | (1 + line σ t) * fourierLaplace h (line σ t)) ∧ |
| 66 | functionalValue N φ σ h = paperInner h (rieszVector N φ)) ∧ |
| 67 | ∃ ℓ : HardySpace (alpha N c) beta →L[ℂ] ℂ, |
| 68 | (∀ h, ℓ h = functionalValue N φ σ h) ∧ |
| 69 | ‖ℓ‖ ^ 2 = normFunctional N φ (alpha N c)) ∧ |
| 70 | ‖(rieszVector N φ : HardySpace (alpha N c) beta)‖ ^ 2 = normFunctional N φ (alpha N c) ∧ |
| 71 | (∀ ha : alpha N c < beta, |
| 72 | IsCompactOperator (residualOperator ha N) ∧ IsSelfAdjoint (residualOperator ha N) ∧ |
| 73 | IsHilbertSchmidt (residualOperator ha N) ∧ |
| 74 | (∀ s z : ℂ, s ∈ strip (alpha N c) beta → z ∈ strip (alpha N c) beta → |
| 75 | ‖residual N s (conj z)‖ ≤ ‖residualOperator ha N‖ * ‖1 + s‖ * ‖1 + z‖ / |
| 76 | (8 * Real.sqrt (pointDistance (alpha N c) beta s * pointDistance (alpha N c) beta z))) ∧ |
| 77 | (weightMass φ * singularSeries N - goldbach N φ : ℝ) = |
| 78 | paperInner (residualOperator ha N (rieszVector N φ)) (rieszVector N φ) ∧ |
| 79 | |weightMass φ * singularSeries N - goldbach N φ| ≤ |
| 80 | normFunctional N φ (alpha N c) * ‖residualOperator ha N‖) ∧ |
| 81 | normFunctional N φ (alpha N c) ≤ Real.exp (2 * c) * weightEnergy φ) ∧ |
| 82 | (∃ C : ℝ, 0 < C ∧ EvenEventually (fun N => |
| 83 | |normFunctional N φ (alpha N c) - Real.exp (2 * c) * weightEnergy φ| ≤ C / Real.log N)) := by |
| 84 | refine ⟨?_,normFunctional_asymptotic_at c hc φ hφ⟩ |
| 85 | intro N hNZ hN hN4 hlarge hGRH |
| 86 | obtain ⟨ha0,ha10,hw,hd,hβ⟩ := variable_parameters N hN4 c hc hlarge |
| 87 | have hstar : sigmaStar ∈ Ioo (alpha N c) beta := ⟨by linarith,by norm_num [sigmaStar,beta]⟩ |
| 88 | have hNpos : 0 < N := by omega |
| 89 | obtain ⟨hv,hn⟩ := rieszVector_density_spec N hNpos φ hφ hstar |
| 90 | rw [← normFunctional_density_integral N hNpos] at hn |
| 91 | have hu := normFunctional_uniform_upper N hNpos φ hφ (alpha N c) ha0.le |
| 92 | rw [nat_rpow_alpha N (by omega) c] at hu |
| 93 | refine ⟨ha10,hw,hd,hβ,?_,hn,?_,hu⟩ |
| 94 | · intro σ hσ |
| 95 | constructor |
| 96 | · intro h |
| 97 | exact ⟨functionalValue_integrable N hNpos φ hφ σ hσ h,hv σ hσ h⟩ |
| 98 | · obtain ⟨ℓ,hℓ,hnorm⟩ := functionalValue_continuousLinearMap N hNpos φ hφ σ hσ |
| 99 | rw [← normFunctional_density_integral N hNpos] at hnorm |
| 100 | exact ⟨ℓ,hℓ,hnorm⟩ |
| 101 | · intro ha |
| 102 | obtain ⟨_, _, hCompact, hSelfAdjoint, hHilbertSchmidt, _⟩ := |
| 103 | residualOperator_spec_at (alpha N c) N ha0 hN4 hGRH ha |
| 104 | refine ⟨hCompact, hSelfAdjoint, hHilbertSchmidt, ?_, |
| 105 | residual_quadratic_at (alpha N c) ha0 ha10 N hN hN4 hGRH φ hφ ha⟩ |
| 106 | intro s z hs hz |
| 107 | exact residual_norm_le_of_kernel_pairing ha ha0.le N (residualOperator ha N) s z hs hz |
| 108 | (residualOperator_pairing_at (alpha N c) N ha0 hN4 hGRH ha s z hs hz) |
| 109 | |
| 110 | lemma variable_spectral_dictionary (a : ℝ) (ha0 : 0<a) (N : ℕ) [NeZero N] |
| 111 | (hN4 : 4 ≤ N) (hGRH : GRH N) (ha : a < beta) : |
| 112 | (SpectralR N a ha ↔ ‖residualOperator ha N‖ ≤ spectralScale N) ∧ |
| 113 | (∀ η : ℝ, 0 < η → η < 1/2 → (SpectralZeroFree N a ha η ↔ |
| 114 | ‖residualOperator ha N‖ ≤ spectralScale N/(2*Real.sqrt (η*(1-η))))) := by |
| 115 | have hSpectral := residualOperator_has_spectral_data_at a N ha0 hN4 hGRH ha |
| 116 | have hδ := spectralScale_pos N (by exact_mod_cast (show 0<N by omega)) (singularSeries_pos N) |
| 117 | (Real.log_pos (by exact_mod_cast (show 1<N by omega))) |
| 118 | exact theorem_6_1_abstract_dictionary N (residualOperator ha N) hSpectral hδ |
| 119 | |
| 120 | theorem proposition_A_2_pointwise (φ : ℝ → ℝ) (hφ : IsWeight φ) (c : ℝ) (hc : 0 < c) : |
| 121 | ∃ C : ℝ, 0 < C ∧ ∀ N : ℕ, ∀ (_ : NeZero N), Even N → 4 ≤ N → |
| 122 | Real.exp (10 * c) < (N : ℝ) → GRH N → ∀ ha : alpha N c < beta, |
| 123 | (∀ h : ℕ → ℝ, 0 < h N → 0 < zeroFreeWidth N h → zeroFreeWidth N h ≤ 1 / 4 → |
| 124 | SpectralZeroFree N (alpha N c) ha (zeroFreeWidth N h) → |
| 125 | |goldbach N φ - weightMass φ * singularSeries N| ≤ C * singularSeries N / h N) ∧ |
| 126 | (SpectralR N (alpha N c) ha → |
| 127 | |goldbach N φ - weightMass φ * singularSeries N| ≤ C * spectralScale N) := by |
| 128 | let C := Real.exp (2*c)*weightEnergy φ |
| 129 | have hC : 0<C := mul_pos (Real.exp_pos _) (weightEnergy_pos hφ) |
| 130 | refine ⟨C,hC,?_⟩ |
| 131 | intro N hNZ hN hN4 hlarge hGRH ha |
| 132 | have ha0 := alpha_pos_at N hN4 c hc |
| 133 | obtain ⟨_, _, _, _, _, _, hOperator, hNorm⟩ := |
| 134 | (proposition_A_1 φ hφ c hc).1 N hNZ hN hN4 hlarge hGRH |
| 135 | obtain ⟨_, _, _, _, _, hQuadraticBound⟩ := hOperator ha |
| 136 | have herr : |goldbach N φ-weightMass φ*singularSeries N| ≤ C*‖residualOperator ha N‖ := by |
| 137 | apply le_trans _ (mul_le_mul_of_nonneg_right hNorm (norm_nonneg _)) |
| 138 | simpa only [abs_sub_comm] using hQuadraticBound |
| 139 | have hd := variable_spectral_dictionary (alpha N c) ha0 N hN4 hGRH ha |
| 140 | constructor |
| 141 | · intro h hh hη hη' hz |
| 142 | have hn := (hd.2 _ hη (by linarith)).1 hz |
| 143 | have hs := spectralScale_div_sqrt_width_le N h (by exact_mod_cast (show 0<N by omega)) |
| 144 | (singularSeries_pos N) (Real.log_pos (by exact_mod_cast (show 1<N by omega))) hh hη' |
| 145 | calc |
| 146 | _ ≤ C*‖residualOperator ha N‖ := herr |
| 147 | _ ≤ C*(singularSeries N/h N) := mul_le_mul_of_nonneg_left (hn.trans hs) hC.le |
| 148 | _ = _ := by ring |
| 149 | · intro hR |
| 150 | exact herr.trans (mul_le_mul_of_nonneg_left (hd.1.mp hR) hC.le) |
| 151 | |
| 152 | end ConditionalGoldbach |
