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.CoefficientExtension |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericFibers |
| 3 | |
| 4 | /-! # Extended Fibers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ExtendedFibers.Constructions.Preparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Holomorphic polynomial extensions of generic analytic fibers |
| 12 | |
| 13 | The reduced monic equation of a generic finite analytic fiber extends to |
| 14 | the whole base neighborhood. Equality with the original analytic set is |
| 15 | asserted on the dense open complement of the exceptional set. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Polynomial |
| 19 | open scoped _root_.Topology |
| 20 | |
| 21 | theorem extended_monic_equation_of_finite_fiber {n : ℕ} |
| 22 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} {z₀ : ℂ} |
| 23 | (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z₀)) |
| 24 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 25 | ∃ (R : ℝ) (k : ℕ) (V : Set (Fin n → ℂ)) |
| 26 | (Q : (Fin n → ℂ) → ℂ[X]) (c : (Fin n → ℂ) → ℂ), |
| 27 | 0 < R ∧ IsOpen V ∧ x ∈ V ∧ DifferentiableOn ℂ c V ∧ |
| 28 | V ⊆ closure {y | y ∈ V ∧ c y ≠ 0} ∧ |
| 29 | (∀ j, DifferentiableOn ℂ (fun y => (Q y).coeff j) V) ∧ |
| 30 | (∀ y ∈ V, (Q y).Monic ∧ (Q y).natDegree = k) ∧ |
| 31 | ∀ y ∈ V, c y ≠ 0 → (Q y).Separable ∧ |
| 32 | (∀ z, (Q y).eval z = 0 → z ∈ ball z₀ R) ∧ |
| 33 | ∀ z ∈ closedBall z₀ R, (y, z) ∈ S ↔ (Q y).eval z = 0 := by |
| 34 | obtain ⟨R, k, U, P, c, hR, hU, hxU, hc, hdense, _, hcoeff, hP⟩ := |
| 35 | GenericFibers.Constructions.Preparation.generic_monic_equation_of_finite_fiber hlocal hfinite |
| 36 | have hcn : ¬∀ᶠ y in 𝓝 x, c y = 0 := by |
| 37 | intro hz |
| 38 | obtain ⟨y, hy, hzy⟩ := ((mem_closure_iff_frequently.mp (hdense hxU)).and_eventually hz).exists |
| 39 | exact hy.2 hzy |
| 40 | have hbound (j : ℕ) : ∃ M : ℝ, ∀ y ∈ U, c y ≠ 0 → ‖(P y).coeff j‖ ≤ M := by |
| 41 | refine ⟨(k.choose j : ℝ) * (max 1 (‖z₀‖ + R)) ^ k, ?_⟩ |
| 42 | intro y hy hcy |
| 43 | exact (hP y hy hcy).2.2.2.2.1 j |
| 44 | obtain ⟨V, Q, hV, hxV, hVU, hdenseV, hQcoeff, hQmonic, hQeq⟩ := |
| 45 | CoefficientExtension.Constructions.GenericPolynomial.exists_extended_monic_family hU hc hcoeff |
| 46 | (fun y hy hcy => ⟨(hP y hy hcy).1, (hP y hy hcy).2.1⟩) hbound hxU hcn |
| 47 | refine ⟨R, k, V, Q, c, hR, hV, hxV, hc.mono hVU, hdenseV, hQcoeff, hQmonic, ?_⟩ |
| 48 | intro y hy hcy |
| 49 | rw [hQeq y hy hcy] |
| 50 | obtain ⟨_, _, hsep, hroots, _, _, heq⟩ := hP y (hVU hy) hcy |
| 51 | exact ⟨hsep, hroots, heq⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ExtendedFibers.Constructions.Preparation |