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.Moments |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SymmetricRootsOn |
| 3 | |
| 4 | /-! # Weierstrass Preparation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.WeierstrassPreparation.Constructions.Preparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Local polynomial preparation of a holomorphic family |
| 12 | |
| 13 | A fiber with no boundary zeros supplies a neighborhood on which its enclosed |
| 14 | zeros are represented by a monic polynomial of fixed degree and holomorphic |
| 15 | coefficients. The construction retains multiplicities and yields the actual |
| 16 | factorization of each fiber by an analytic nonvanishing function. |
| 17 | -/ |
| 18 | |
| 19 | open Set Filter _root_.Metric _root_.Complex _root_.Polynomial |
| 20 | open scoped _root_.Topology BigOperators |
| 21 | |
| 22 | theorem exists_polynomial_preparation {n : ℕ} {F : (Fin n → ℂ) × ℂ → ℂ} |
| 23 | {W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) |
| 24 | (hF : DifferentiableOn ℂ F W) {x : Fin n → ℂ} {c : ℂ} {R : ℝ} (hR : 0 < R) |
| 25 | (hbase : ∀ z ∈ closedBall c R, (x, z) ∈ W) |
| 26 | (hn : ∀ z ∈ sphere c R, F (x, z) ≠ 0) : |
| 27 | ∃ (d : ℕ) (U : Set (Fin n → ℂ)) (P : (Fin n → ℂ) → Polynomial ℂ), |
| 28 | IsOpen U ∧ x ∈ U ∧ U ×ˢ closedBall c R ⊆ W ∧ |
| 29 | (∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) ∧ |
| 30 | ∀ y ∈ U, (P y).Monic ∧ (P y).natDegree = d ∧ |
| 31 | (∀ z, (P y).eval z = 0 → z ∈ ball c R) ∧ |
| 32 | ∃ u : ℂ → ℂ, AnalyticOnNhd ℂ u (closedBall c R) ∧ |
| 33 | (∀ z ∈ closedBall c R, u z ≠ 0) ∧ |
| 34 | ∀ z ∈ closedBall c R, (fun w => F (y, w)) =ᶠ[𝓝 z] |
| 35 | (fun w => (P y).eval w * u w) := by |
| 36 | classical |
| 37 | obtain ⟨d, U, hU, hx, hUW, hUn, hdata⟩ := |
| 38 | RootFamiliesAt.Constructions.RootFamilies.exists_fixed_degree_factorization hW hF hR hbase hn |
| 39 | choose roots unit hr hu hun hfu hm using hdata |
| 40 | let r : (Fin n → ℂ) → Fin d → ℂ := fun y => if hy : y ∈ U then roots y hy else 0 |
| 41 | have heq (y : Fin n → ℂ) (hy : y ∈ U) : r y = roots y hy := dite_eq_left hy |
| 42 | let P : (Fin n → ℂ) → Polynomial ℂ := fun y => SymmetricRootsOn.Constructions.SymmetricRoots.rootPolynomial (r y) |
| 43 | have hpower (k : ℕ) : DifferentiableOn ℂ (fun y => ∑ i, r y i ^ k) U := by |
| 44 | apply (Moments.Constructions.RootFamilies.differentiableOn_moment hW hF hU hR.le |
| 45 | (fun p hp => hUW ⟨hp.1, sphere_subset_closedBall hp.2⟩) hUn k).congr |
| 46 | intro y hy |
| 47 | rw [heq y hy] |
| 48 | exact (hm y hy k).symm |
| 49 | refine ⟨d, U, P, hU, hx, hUW, |
| 50 | fun k => SymmetricRootsOn.Constructions.SymmetricRoots.differentiableOn_rootPolynomial_coeff r hpower k, ?_⟩ |
| 51 | intro y hy |
| 52 | have hPeval (z : ℂ) : (P y).eval z = RootMomentsNe.Constructions.RootMoments.rootProduct (roots y hy) z := by |
| 53 | simp only [P, SymmetricRootsOn.Constructions.SymmetricRoots.rootPolynomial, eval_prod, eval_sub, eval_X, eval_C, |
| 54 | heq y hy, RootMomentsNe.Constructions.RootMoments.rootProduct] |
| 55 | refine ⟨SymmetricRootsOn.Constructions.SymmetricRoots.rootPolynomial_monic _, SymmetricRootsOn.Constructions.SymmetricRoots.rootPolynomial_natDegree _, |
| 56 | ?_, unit y hy, hu y hy, hun y hy, ?_⟩ |
| 57 | · intro z hz |
| 58 | rw [hPeval, RootMomentsNe.Constructions.RootMoments.rootProduct] at hz |
| 59 | obtain ⟨i, _, hi⟩ := Finset.prod_eq_zero_iff.mp hz |
| 60 | rw [sub_eq_zero.mp hi] |
| 61 | exact hr y hy i |
| 62 | · intro z hz |
| 63 | simpa only [hPeval] using hfu y hy z hz |
| 64 | |
| 65 | /-- The prepared polynomial gives exact equations for the original zero set |
| 66 | on a product neighborhood, with no selected-root regularity assumption. -/ |
| 67 | theorem exists_polynomial_zero_equations {n : ℕ} {F : (Fin n → ℂ) × ℂ → ℂ} |
| 68 | {W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) |
| 69 | (hF : DifferentiableOn ℂ F W) {x : Fin n → ℂ} {c : ℂ} {R : ℝ} (hR : 0 < R) |
| 70 | (hbase : ∀ z ∈ closedBall c R, (x, z) ∈ W) |
| 71 | (hn : ∀ z ∈ sphere c R, F (x, z) ≠ 0) : |
| 72 | ∃ (d : ℕ) (U : Set (Fin n → ℂ)) (P : (Fin n → ℂ) → Polynomial ℂ), |
| 73 | IsOpen U ∧ x ∈ U ∧ U ×ˢ closedBall c R ⊆ W ∧ |
| 74 | (∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) ∧ |
| 75 | (∀ y ∈ U, (P y).Monic ∧ (P y).natDegree = d ∧ |
| 76 | ∀ z, (P y).eval z = 0 → z ∈ ball c R) ∧ |
| 77 | ∀ y ∈ U, ∀ z ∈ closedBall c R, F (y, z) = 0 ↔ (P y).eval z = 0 := by |
| 78 | obtain ⟨d, U, P, hU, hx, hUW, hcoeff, hdata⟩ := |
| 79 | exists_polynomial_preparation hW hF hR hbase hn |
| 80 | refine ⟨d, U, P, hU, hx, hUW, hcoeff, |
| 81 | fun y hy => ⟨(hdata y hy).1, (hdata y hy).2.1, (hdata y hy).2.2.1⟩, ?_⟩ |
| 82 | intro y hy z hz |
| 83 | obtain ⟨_, _, _, u, _, hun, hfu⟩ := hdata y hy |
| 84 | rw [(hfu z hz).eq_of_nhds, mul_eq_zero, or_iff_left (hun z hz)] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.WeierstrassPreparation.Constructions.Preparation |