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.LogDerivativeDisk |
| 4 | |
| 5 | /-! The vanishing error in Hadamard's difference formula: Cauchy estimates for a holomorphic logarithm. -/ |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators ComplexConjugate Topology |
| 11 | open Set Complex Metric Filter |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | lemma logarithm_derivative_variation (g : ℂ → ℂ) (R M : ℝ) (hR : 0 < R) (hM : 0 < M) |
| 15 | (hg : AnalyticOnNhd ℂ g (ball 0 (4*R))) (hg0 : g 0 = 0) |
| 16 | (hb : ∀ z ∈ ball (0 : ℂ) (4*R), (g z).re ≤ M) |
| 17 | (u v : ℂ) (hu : u ∈ ball (0 : ℂ) R) (hv : v ∈ ball (0 : ℂ) R) : |
| 18 | ‖deriv g u-deriv g v‖ ≤ (4*M/R^2)*‖u-v‖ := by |
| 19 | have hnorm (z : ℂ) (hz : ‖z‖ ≤ 2*R) : ‖g z‖ ≤ 2*M := by |
| 20 | have hzr : z ∈ ball (0 : ℂ) (4*R) := mem_ball_zero_iff.mpr (by linarith) |
| 21 | have hh := Complex.borelCaratheodory_zero hM hg.differentiableOn hb (by linarith) hzr hg0 |
| 22 | apply hh.trans |
| 23 | apply (div_le_iff₀ (by linarith : 0 < 4*R-‖z‖)).mpr |
| 24 | nlinarith |
| 25 | have hsecond (z : ℂ) (hz : z ∈ ball (0 : ℂ) R) : ‖deriv (deriv g) z‖ ≤ 4*M/R^2 := by |
| 26 | have hzR := mem_ball_zero_iff.mp hz |
| 27 | have hsub : closedBall z R ⊆ ball (0 : ℂ) (4*R) := by |
| 28 | intro w hw |
| 29 | have hdist : ‖w-z‖ ≤ R := by simpa only [mem_closedBall,dist_eq_norm] using hw |
| 30 | have hh := norm_add_le (w-z) z |
| 31 | rw [sub_add_cancel] at hh |
| 32 | apply mem_ball_zero_iff.mpr |
| 33 | linarith |
| 34 | have hdiff : DiffContOnCl ℂ g (ball z R) := by |
| 35 | apply DifferentiableOn.diffContOnCl |
| 36 | rw [closure_ball z hR.ne'] |
| 37 | exact hg.differentiableOn.mono hsub |
| 38 | have hh := Complex.norm_iteratedDeriv_le_of_forall_mem_sphere_norm_le 2 hR hdiff |
| 39 | (C := 2*M) (by |
| 40 | intro w hw |
| 41 | apply hnorm |
| 42 | have hd : ‖w-z‖ = R := by simpa only [mem_sphere,dist_eq_norm] using hw |
| 43 | have hn := norm_add_le (w-z) z |
| 44 | rw [sub_add_cancel,hd] at hn |
| 45 | linarith) |
| 46 | norm_num [iteratedDeriv_succ, Nat.factorial, ← mul_assoc] at hh |
| 47 | exact hh |
| 48 | apply (convex_ball (0 : ℂ) R).norm_image_sub_le_of_norm_deriv_le _ hsecond hv hu |
| 49 | intro z hz |
| 50 | exact (hg.deriv z (ball_subset_ball (by linarith : R ≤ 4*R) hz)).differentiableAt |
| 51 | |
| 52 | end ConditionalGoldbach |
