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 Mathlib.Analysis.CStarAlgebra.Classes |
| 4 | public import Mathlib.Analysis.Complex.CauchyIntegral |
| 5 | import Mathlib.Tactic.NormNum.RealSqrt |
| 6 | |
| 7 | /-! Derivative convergence from pointwise convergence and a common circular majorant. -/ |
| 8 | public section |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | open scoped Topology |
| 13 | open Set Complex Metric Filter MeasureTheory |
| 14 | namespace ConditionalGoldbach |
| 15 | |
| 16 | lemma deriv_tendsto_of_bounded_circle (F : ℕ → ℂ → ℂ) (f : ℂ → ℂ) |
| 17 | (c : ℂ) (r B : ℝ) (hr : 0 < r) |
| 18 | (hF : ∀ᶠ n in atTop, DifferentiableOn ℂ (F n) (closedBall c r)) |
| 19 | (hf : DifferentiableOn ℂ f (closedBall c r)) |
| 20 | (hb : ∀ᶠ n in atTop, ∀z ∈ sphere c r, ‖F n z‖ ≤ B) |
| 21 | (hlim : ∀z ∈ sphere c r, Tendsto (fun n => F n z) atTop (𝓝 (f z))) : |
| 22 | Tendsto (fun n => deriv (F n) c) atTop (𝓝 (deriv f c)) := by |
| 23 | let K : ℝ → ℂ := fun θ => deriv (circleMap c r) θ * (1/(circleMap c r θ-c)^2) |
| 24 | have hne : ∀θ, circleMap c r θ-c ≠ 0 := by |
| 25 | intro θ |
| 26 | rw [circleMap_sub_center] |
| 27 | exact norm_ne_zero_iff.mp (by simpa [norm_circleMap_zero,abs_of_pos hr] using hr.ne') |
| 28 | have hK : Continuous K := by |
| 29 | dsimp [K] |
| 30 | simp_rw [deriv_circleMap] |
| 31 | exact (by fun_prop : Continuous (fun θ => circleMap 0 r θ * I)).mul |
| 32 | (continuous_const.div ((continuous_circleMap _ _).sub continuous_const |>.pow 2) |
| 33 | (fun θ => pow_ne_zero _ (hne θ))) |
| 34 | have hKb : ∀θ, ‖K θ‖ = r*(1/r^2) := by |
| 35 | intro θ |
| 36 | simp [K,deriv_circleMap,norm_pow,circleMap_sub_center, |
| 37 | norm_circleMap_zero,abs_of_pos hr] |
| 38 | have hcF : ∀ᶠ n in atTop, Continuous (fun θ => K θ * F n (circleMap c r θ)) := by |
| 39 | filter_upwards [hF] with n hn |
| 40 | apply hK.mul |
| 41 | exact hn.continuousOn.comp_continuous (continuous_circleMap _ _) |
| 42 | (fun θ => sphere_subset_closedBall (circleMap_mem_sphere _ hr.le _)) |
| 43 | have hi := tendsto_integral_filter_of_dominated_convergence |
| 44 | (μ := volume.restrict (Icc 0 (2*Real.pi))) (fun _ : ℝ => r*(1/r^2)*B) |
| 45 | (hcF.mono fun n hn => hn.aestronglyMeasurable) |
| 46 | (hb.mono fun n hn => ae_of_all _ fun θ => by |
| 47 | rw [norm_mul,hKb] |
| 48 | exact mul_le_mul_of_nonneg_left (hn _ (circleMap_mem_sphere _ hr.le _)) (by positivity)) |
| 49 | (integrable_const _) (ae_of_all _ fun θ => |
| 50 | (hlim _ (circleMap_mem_sphere _ hr.le _)).const_mul (K θ)) |
| 51 | have hi' : Tendsto (fun n => ∮ z in C(c,r), (1/(z-c)^2) • F n z) atTop |
| 52 | (𝓝 (∮ z in C(c,r), (1/(z-c)^2) • f z)) := by |
| 53 | simpa only [circleIntegral_def_Icc,smul_eq_mul,mul_assoc,K] using hi |
| 54 | have he : ∀ᶠ n in atTop, (∮ z in C(c,r), (1/(z-c)^2) • F n z) = |
| 55 | (2*Real.pi*I) * deriv (F n) c := |
| 56 | hF.mono fun n hn => hn.deriv_eq_smul_circleIntegral hr |
| 57 | rw [hf.deriv_eq_smul_circleIntegral hr,smul_eq_mul] at hi' |
| 58 | have hlim' := (hi'.congr' he).const_mul ((2*Real.pi*I : ℂ)⁻¹) |
| 59 | simpa [← mul_assoc, two_pi_I_ne_zero] using hlim' |
| 60 | |
| 61 | end ConditionalGoldbach |
