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 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots |
| 4 | |
| 5 | /-! # Generic Fibers -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericFibers.Constructions.Preparation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # A monic equation for generic finite analytic fibers |
| 13 | |
| 14 | The prepared polynomial equations yield one monic equation on a dense open |
| 15 | part of a neighborhood. Its roots lie in the preparation disk and describe |
| 16 | exactly the original analytic set there. |
| 17 | -/ |
| 18 | |
| 19 | open Set Filter _root_.Metric _root_.Polynomial |
| 20 | open scoped _root_.Topology |
| 21 | |
| 22 | theorem generic_monic_equation_of_finite_fiber {n : ℕ} |
| 23 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} {z₀ : ℂ} |
| 24 | (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z₀)) |
| 25 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 26 | ∃ (R : ℝ) (k : ℕ) (V : Set (Fin n → ℂ)) |
| 27 | (Q : (Fin n → ℂ) → ℂ[X]) (c : (Fin n → ℂ) → ℂ), |
| 28 | 0 < R ∧ IsOpen V ∧ x ∈ V ∧ DifferentiableOn ℂ c V ∧ |
| 29 | V ⊆ closure {y | y ∈ V ∧ c y ≠ 0} ∧ |
| 30 | IsOpen {y | y ∈ V ∧ c y ≠ 0} ∧ |
| 31 | (∀ j, DifferentiableOn ℂ (fun y => (Q y).coeff j) {y | y ∈ V ∧ c y ≠ 0}) ∧ |
| 32 | ∀ y ∈ V, c y ≠ 0 → (Q y).Monic ∧ (Q y).natDegree = k ∧ (Q y).Separable ∧ |
| 33 | (∀ z, (Q y).eval z = 0 → z ∈ ball z₀ R) ∧ |
| 34 | (∀ j, ‖(Q y).coeff j‖ ≤ (k.choose j : ℝ) * (max 1 (‖z₀‖ + R)) ^ k) ∧ |
| 35 | {z : ℂ | z ∈ closedBall z₀ R ∧ (y, z) ∈ S}.ncard = k ∧ |
| 36 | ∀ z ∈ closedBall z₀ R, (y, z) ∈ S ↔ (Q y).eval z = 0 := by |
| 37 | obtain ⟨R, d, m, U, P, hR, hU, hxU, hcoeff, hdegree, hP, heq⟩ := |
| 38 | PolynomialFibers.Constructions.Preparation.polynomial_equations_of_finite_fiber hlocal hfinite |
| 39 | obtain ⟨k, Q, c, W, hW, hxW, hWU, hc, hcn, hQcoeff, hQ⟩ := |
| 40 | SquarefreeFamilies.Constructions.GenericPolynomial.exists_monic_separable_common_root_family P hU hxU d hcoeff hdegree |
| 41 | (fun y hy => ⟨0, (hP y hy).1.ne_zero⟩) |
| 42 | obtain ⟨V, hV, hxV, hVW, hdense⟩ := |
| 43 | GenericDegree.Constructions.GenericPolynomial.exists_dense_nonzero_neighborhood hW hxW hc hcn |
| 44 | have hcV := hc.mono hVW |
| 45 | have hopen : IsOpen {y | y ∈ V ∧ c y ≠ 0} := by |
| 46 | apply isOpen_iff_mem_nhds.mpr |
| 47 | intro y hy |
| 48 | filter_upwards [hV.mem_nhds hy.1, |
| 49 | (hcV.differentiableAt (hV.mem_nhds hy.1)).continuousAt.eventually_ne hy.2] with z hz hzc |
| 50 | exact ⟨hz, hzc⟩ |
| 51 | refine ⟨R, k, V, Q, c, hR, hV, hxV, hcV, hdense, hopen, |
| 52 | fun j => (hQcoeff j).mono (fun y hy => ⟨hVW hy.1, hy.2⟩), ?_⟩ |
| 53 | intro y hy hcy |
| 54 | obtain ⟨hmonic, hdeg, hsep, hroots⟩ := hQ y (hVW hy) hcy |
| 55 | have hrootBall (z : ℂ) (hz : (Q y).eval z = 0) : z ∈ ball z₀ R := by |
| 56 | exact (hP y (hWU (hVW hy))).2.2 z (((hroots z).mpr hz) 0) |
| 57 | have hzero (z : ℂ) (hz : z ∈ closedBall z₀ R) : (y, z) ∈ S ↔ (Q y).eval z = 0 := by |
| 58 | exact (heq y (hWU (hVW hy)) z hz).trans (hroots z) |
| 59 | refine ⟨hmonic, hdeg, hsep, hrootBall, ?_, ?_, hzero⟩ |
| 60 | · intro j |
| 61 | rw [← hdeg] |
| 62 | apply MonicRoots.Constructions.RootPolynomials.norm_coeff_le_of_roots_bounded hmonic |
| 63 | intro z hz |
| 64 | have hdist := mem_ball_iff_norm.mp (hrootBall z hz) |
| 65 | have hnorm := norm_le_norm_sub_add z z₀ |
| 66 | linarith |
| 67 | · have hset : {z : ℂ | z ∈ closedBall z₀ R ∧ (y, z) ∈ S} = |
| 68 | {z : ℂ | (Q y).eval z = 0} := by |
| 69 | ext z |
| 70 | constructor |
| 71 | · intro hz |
| 72 | exact (hzero z hz.1).mp hz.2 |
| 73 | · intro hz |
| 74 | have hzb := ball_subset_closedBall (hrootBall z hz) |
| 75 | exact ⟨hzb, (hzero z hzb).mpr hz⟩ |
| 76 | rw [hset, MonicRoots.Constructions.RootPolynomials.ncard_zero_set hmonic.ne_zero hsep, hdeg] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericFibers.Constructions.Preparation |