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.BalanceBounds |
| 4 | |
| 5 | public section |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | open scoped Topology |
| 10 | open Filter Set |
| 11 | namespace ConditionalGoldbach |
| 12 | |
| 13 | lemma balanceFactor_tendsto_zero : Tendsto balanceFactor (nhdsWithin 0 (Ioi 0)) atTop := by |
| 14 | have hpow : Tendsto (fun c : ℝ => (c⁻¹)^2) (nhdsWithin 0 (Ioi 0)) atTop := |
| 15 | (tendsto_pow_atTop (by norm_num : 2 ≠ 0)).comp tendsto_inv_nhdsGT_zero |
| 16 | apply tendsto_atTop_mono' _ ?_ hpow |
| 17 | filter_upwards [self_mem_nhdsWithin] with c hc |
| 18 | change 0<c at hc |
| 19 | have he : 1 ≤ Real.exp (2*c) := Real.one_le_exp_iff.mpr (by positivity) |
| 20 | unfold balanceFactor |
| 21 | nlinarith [sq_nonneg c⁻¹, mul_nonneg (sub_nonneg.mpr he) (sq_nonneg c⁻¹)] |
| 22 | |
| 23 | lemma balanceFactor_tendsto_infty : Tendsto balanceFactor atTop atTop := by |
| 24 | have he : Tendsto (fun c : ℝ => Real.exp (2*c)) atTop atTop := |
| 25 | Real.tendsto_exp_atTop.comp (tendsto_id.const_mul_atTop (by norm_num : (0:ℝ)<2)) |
| 26 | apply tendsto_atTop_mono' _ ?_ he |
| 27 | filter_upwards [] with c |
| 28 | unfold balanceFactor |
| 29 | nlinarith [mul_nonneg (Real.exp_pos (2*c)).le (sq_nonneg c⁻¹)] |
| 30 | |
| 31 | end ConditionalGoldbach |
