Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.DiskFactorizationOn |
| 2 | import Mathlib.Analysis.Analytic.Polynomial |
| 3 | |
| 4 | /-! # Closed Disk Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ClosedDiskFactorization.Constructions.DiskFactorization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Closed-disk factorization and actual contour root moments |
| 12 | |
| 13 | If there are no boundary zeros, the analytic unit extends across the circle. |
| 14 | The resulting local identities justify taking logarithmic derivatives in |
| 15 | the contour formulas, starting from the original analytic function. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Polynomial |
| 19 | open scoped _root_.Topology BigOperators |
| 20 | |
| 21 | theorem exists_polynomial_unit_on_closedDisk {f : ℂ → ℂ} {c : ℂ} {R : ℝ} |
| 22 | (hf : AnalyticOnNhd ℂ f (closedBall c R)) |
| 23 | (hn : ∃ z ∈ ball c R, f z ≠ 0) |
| 24 | (hboundary : ∀ z ∈ sphere c R, f z ≠ 0) : |
| 25 | ∃ P : Polynomial ℂ, P.Monic ∧ (∀ z, P.eval z = 0 → z ∈ ball c R) ∧ |
| 26 | ∃ u : ℂ → ℂ, AnalyticOnNhd ℂ u (closedBall c R) ∧ |
| 27 | (∀ z ∈ closedBall c R, u z ≠ 0) ∧ |
| 28 | ∀ z ∈ closedBall c R, f =ᶠ[𝓝 z] (fun w => P.eval w * u w) := by |
| 29 | classical |
| 30 | obtain ⟨P, hP, hPr, g, hg, hgn, hfg⟩ := DiskFactorizationOn.Constructions.DiskFactorization.exists_polynomial_unit_on_disk hf hn |
| 31 | let u : ℂ → ℂ := fun z => if P.eval z = 0 then g z else f z / P.eval z |
| 32 | have hu : EqOn u g (ball c R) := by |
| 33 | intro z hz |
| 34 | by_cases hpz : P.eval z = 0 |
| 35 | · simp [u, hpz] |
| 36 | · simp [u, hpz, hfg z hz] |
| 37 | have hu_div {z : ℂ} (hpz : P.eval z ≠ 0) : |
| 38 | u =ᶠ[𝓝 z] (fun w => f w / P.eval w) := by |
| 39 | filter_upwards [P.continuous.continuousAt.eventually_ne hpz] with w hw |
| 40 | simp only [u, ite_eq_right hw] |
| 41 | refine ⟨P, hP, hPr, u, ?_, ?_, ?_⟩ |
| 42 | · intro z hz |
| 43 | by_cases hzi : z ∈ ball c R |
| 44 | · apply (hg z hzi).congr |
| 45 | filter_upwards [isOpen_ball.mem_nhds hzi] with w hw |
| 46 | exact (hu hw).symm |
| 47 | · have hpz : P.eval z ≠ 0 := fun h => hzi (hPr z h) |
| 48 | exact ((hf z hz).div (AnalyticOnNhd.eval_polynomial P z (mem_univ z)) hpz).congr |
| 49 | (hu_div hpz).symm |
| 50 | · intro z hz |
| 51 | by_cases hzi : z ∈ ball c R |
| 52 | · rw [hu hzi] |
| 53 | exact hgn z hzi |
| 54 | · have hpz : P.eval z ≠ 0 := fun h => hzi (hPr z h) |
| 55 | have hzs : z ∈ sphere c R := by |
| 56 | apply mem_sphere.mpr |
| 57 | exact le_antisymm (mem_closedBall.mp hz) (not_lt.mp hzi) |
| 58 | exact (by simpa only [u, ite_eq_right hpz] using div_ne_zero (hboundary z hzs) hpz) |
| 59 | · intro z hz |
| 60 | by_cases hzi : z ∈ ball c R |
| 61 | · filter_upwards [isOpen_ball.mem_nhds hzi] with w hw |
| 62 | rw [hu hw] |
| 63 | exact hfg w hw |
| 64 | · have hpz : P.eval z ≠ 0 := fun h => hzi (hPr z h) |
| 65 | filter_upwards [P.continuous.continuousAt.eventually_ne hpz] with w hw |
| 66 | simp only [u, ite_eq_right hw] |
| 67 | field_simp |
| 68 | |
| 69 | theorem exists_root_tuple_unit_on_closedDisk {f : ℂ → ℂ} {c : ℂ} {R : ℝ} |
| 70 | (hf : AnalyticOnNhd ℂ f (closedBall c R)) (hn : ∃ z ∈ ball c R, f z ≠ 0) |
| 71 | (hboundary : ∀ z ∈ sphere c R, f z ≠ 0) : |
| 72 | ∃ (d : ℕ) (roots : Fin d → ℂ) (u : ℂ → ℂ), |
| 73 | (∀ i, roots i ∈ ball c R) ∧ AnalyticOnNhd ℂ u (closedBall c R) ∧ |
| 74 | (∀ z ∈ closedBall c R, u z ≠ 0) ∧ |
| 75 | ∀ z ∈ closedBall c R, f =ᶠ[𝓝 z] (fun w => RootMomentsNe.Constructions.RootMoments.rootProduct roots w * u w) := by |
| 76 | obtain ⟨P, hP, hPr, u, hu, hun, hfu⟩ := exists_polynomial_unit_on_closedDisk hf hn hboundary |
| 77 | obtain ⟨d, roots, hroots, hPeval⟩ := DiskFactorizationOn.Constructions.DiskFactorization.exists_root_tuple P hP |
| 78 | refine ⟨d, roots, u, fun i => hPr _ (hroots i), hu, hun, ?_⟩ |
| 79 | intro z hz |
| 80 | simpa only [hPeval] using hfu z hz |
| 81 | |
| 82 | /-- Every analytic function with no boundary zeros supplies its actual |
| 83 | finite root tuple and all contour power sums. -/ |
| 84 | theorem exists_contour_root_moments {f : ℂ → ℂ} {c : ℂ} {R : ℝ} |
| 85 | (hR : 0 < R) (hf : AnalyticOnNhd ℂ f (closedBall c R)) |
| 86 | (hn : ∃ z ∈ ball c R, f z ≠ 0) (hboundary : ∀ z ∈ sphere c R, f z ≠ 0) : |
| 87 | ∃ (d : ℕ) (roots : Fin d → ℂ), (∀ i, roots i ∈ ball c R) ∧ |
| 88 | ∀ k : ℕ, (∮ z in C(c, R), z ^ k * logDeriv f z) = |
| 89 | (2 * Real.pi * Complex.I) * ∑ i, (roots i) ^ k := by |
| 90 | obtain ⟨d, roots, u, hroots, hu, hun, hfu⟩ := |
| 91 | exists_root_tuple_unit_on_closedDisk hf hn hboundary |
| 92 | refine ⟨d, roots, hroots, fun k => ?_⟩ |
| 93 | calc |
| 94 | _ = ∮ z in C(c, R), z ^ k * |
| 95 | logDeriv (fun w => RootMomentsNe.Constructions.RootMoments.rootProduct roots w * u w) z := by |
| 96 | apply circleIntegral.integral_congr hR.le |
| 97 | intro z hz |
| 98 | dsimp only |
| 99 | congr 1 |
| 100 | exact (logDeriv_congr_nhds (hfu z (sphere_subset_closedBall hz))).eq_of_nhds |
| 101 | _ = _ := RootMomentsNe.Constructions.RootMoments.integral_rootProduct_mul_nonvanishing roots hR hroots hu hun k |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ClosedDiskFactorization.Constructions.DiskFactorization |