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.SquarefreeFamilies |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialFibers |
| 3 | |
| 4 | /-! # Separable Fibers Exists -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.SeparableFibersExists.Constructions.SeparableFibers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: generic monic equations with one root per fiber point -/ |
| 11 | |
| 12 | open Set Filter _root_.Metric _root_.Polynomial |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | theorem exists_generic_equation {n : ℕ} |
| 16 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} {z₀ : ℂ} |
| 17 | (hlocal : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z₀)) |
| 18 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 19 | ∃ (R : ℝ) (k : ℕ) (V : Set (Fin n → ℂ)) |
| 20 | (Q : (Fin n → ℂ) → ℂ[X]) (c : (Fin n → ℂ) → ℂ), |
| 21 | 0 < R ∧ IsOpen V ∧ x ∈ V ∧ DifferentiableOn ℂ c V ∧ |
| 22 | V ⊆ closure {y | y ∈ V ∧ c y ≠ 0} ∧ |
| 23 | (∀ j, DifferentiableOn ℂ (fun y => (Q y).coeff j) {y | y ∈ V ∧ c y ≠ 0}) ∧ |
| 24 | ∀ y ∈ V, c y ≠ 0 → (Q y).Monic ∧ (Q y).natDegree = k ∧ (Q y).Separable ∧ |
| 25 | (∀ z, (Q y).eval z = 0 → z ∈ ball z₀ R) ∧ |
| 26 | ∀ z ∈ closedBall z₀ R, (y, z) ∈ S ↔ (Q y).eval z = 0 := by |
| 27 | obtain ⟨R, d, m, U, P, hR, hU, hxU, hcoeff, hdegree, hP, heq⟩ := |
| 28 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialFibers.Constructions.Preparation.polynomial_equations_of_finite_fiber hlocal hfinite |
| 29 | obtain ⟨k, Q, c, W, hW, hxW, hWU, hc, hcn, hQcoeff, hQ⟩ := |
| 30 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SquarefreeFamilies.Constructions.GenericPolynomial.exists_monic_separable_common_root_family P hU hxU d hcoeff hdegree |
| 31 | (fun y hy => ⟨0, (hP y hy).1.ne_zero⟩) |
| 32 | obtain ⟨V, hV, hxV, hVW, hdense⟩ := |
| 33 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericDegree.Constructions.GenericPolynomial.exists_dense_nonzero_neighborhood hW hxW hc hcn |
| 34 | refine ⟨R, k, V, Q, c, hR, hV, hxV, hc.mono hVW, hdense, |
| 35 | fun j => (hQcoeff j).mono (fun y hy => ⟨hVW hy.1, hy.2⟩), ?_⟩ |
| 36 | intro y hy hcy |
| 37 | obtain ⟨hm, hd, hs, hroots⟩ := hQ y (hVW hy) hcy |
| 38 | refine ⟨hm, hd, hs, ?_, ?_⟩ |
| 39 | · intro z hz |
| 40 | exact (hP y (hWU (hVW hy))).2.2 z (((hroots z).mpr hz) 0) |
| 41 | · intro z hz |
| 42 | exact (heq y (hWU (hVW hy)) z hz).trans (hroots z) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.SeparableFibersExists.Constructions.SeparableFibers |