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.HadamardFactors |
| 4 | |
| 5 | /-! Remove exactly the zeros in a disk, retaining an entire quotient and correct point values. -/ |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators ComplexConjugate Topology |
| 11 | open Set Complex Metric Filter MeromorphicOn |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | lemma entire_disk_factorization (f : ℂ → ℂ) (hf : Differentiable ℂ f) (hf0 : f 0 ≠ 0) |
| 15 | (r : ℝ) : |
| 16 | ∃ g : ℂ → ℂ, Differentiable ℂ g ∧ |
| 17 | (∀ z, f z = (∏ᶠ u, (·-u)^(divisor f (closedBall 0 r) u)) z * g z) ∧ |
| 18 | (∀ z ∈ closedBall (0 : ℂ) r, g z ≠ 0) := by |
| 19 | let D := divisor f (closedBall (0 : ℂ) r) |
| 20 | have ha : AnalyticOnNhd ℂ f (closedBall (0 : ℂ) r) := fun z _ => hf.analyticAt z |
| 21 | have hfin : D.support.Finite := D.finiteSupport (isCompact_closedBall ..) |
| 22 | have hD : ∀ z, 0 ≤ D z := ha.divisor_nonneg |
| 23 | have hDeq (z : ℂ) (hz : z ∈ closedBall (0 : ℂ) r) : |
| 24 | (D z : WithTop ℤ) = meromorphicOrderAt f z := by |
| 25 | change ((divisor f (closedBall (0 : ℂ) r) z : ℤ) : WithTop ℤ) = _ |
| 26 | rw [ha.meromorphicOn.divisor_apply hz] |
| 27 | lift meromorphicOrderAt f z to ℤ using entire_order_ne_top f hf hf0 z with n hn |
| 28 | simp |
| 29 | have hord (z : ℂ) : (D z : WithTop ℤ) ≤ meromorphicOrderAt f z := by |
| 30 | by_cases hz : z ∈ closedBall (0 : ℂ) r |
| 31 | · exact (hDeq z hz).le |
| 32 | · rw [D.apply_eq_zero_of_notMem hz,WithTop.coe_zero] |
| 33 | exact (hf.analyticAt z).meromorphicOrderAt_nonneg |
| 34 | obtain ⟨g,hg,he,hgo⟩ := entire_factorized_quotient f hf hf0 D hfin hD hord |
| 35 | refine ⟨g,hg,he,?_⟩ |
| 36 | intro z hz |
| 37 | apply (hg.analyticAt z).meromorphicNFAt.meromorphicOrderAt_eq_zero_iff.mp |
| 38 | rw [hgo, hDeq z hz] |
| 39 | lift meromorphicOrderAt f z to ℤ using entire_order_ne_top f hf hf0 z with n hn |
| 40 | norm_cast |
| 41 | exact sub_self n |
| 42 | |
| 43 | end ConditionalGoldbach |
