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.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 2 | import Mathlib.RingTheory.MvPolynomial.Ideal |
| 3 | |
| 4 | /-! # Standard Projective Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard coordinate charts cover the actual projective spaces used by HilbertConstruction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] (n : ℕ) |
| 17 | |
| 18 | /-- The variables generate an ideal containing the irrelevant ideal of the standard grading. -/ |
| 19 | theorem coordinate_irrelevant_le_span : |
| 20 | (HomogeneousIdeal.irrelevant (Projective.ProjectivePresentations.coordinateGrading R n)).toIdeal ≤ |
| 21 | Ideal.span (Set.range (MvPolynomial.X : Fin (n + 1) → Projective.ProjectivePresentations.coordinateRing R n)) := by |
| 22 | classical |
| 23 | apply (HomogeneousIdeal.toIdeal_irrelevant_le (Projective.ProjectivePresentations.coordinateGrading R n)).mpr |
| 24 | intro d hd p hp |
| 25 | change p ∈ Ideal.span (Set.range (MvPolynomial.X : Fin (n + 1) → Projective.ProjectivePresentations.coordinateRing R n)) |
| 26 | rw [← Set.image_univ, MvPolynomial.mem_ideal_span_X_image] |
| 27 | intro a ha |
| 28 | have hpoly : p.IsHomogeneous d := hp |
| 29 | have hex : ∃ i, a i ≠ 0 := by |
| 30 | by_contra! hz |
| 31 | have he : d = 0 := (hpoly.degree_eq_sum_deg_support ha).trans |
| 32 | (Finset.sum_eq_zero (fun i _ => hz i)) |
| 33 | exact (Nat.ne_of_gt hd) he |
| 34 | obtain ⟨i, hi⟩ := hex |
| 35 | exact ⟨i, Set.mem_univ i, hi⟩ |
| 36 | |
| 37 | /-- The standard projective chart opens cover projective n-space. -/ |
| 38 | theorem standardProjectiveCharts_iSup : |
| 39 | (⨆ i : Fin (n + 1), Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i)) = ⊤ := |
| 40 | Proj.iSup_basicOpen_eq_top (Projective.ProjectivePresentations.coordinateGrading R n) MvPolynomial.X (coordinate_irrelevant_le_span R n) |
| 41 | |
| 42 | theorem standardProjectiveCharts_cover (x : (Projective.ProjectivePresentations.affineProjectiveSpace R n).left) : |
| 43 | ∃ i : Fin (n + 1), x ∈ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) := by |
| 44 | have hx : x ∈ ⨆ i : Fin (n + 1), Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) := |
| 45 | (standardProjectiveCharts_iSup R n).symm ▸ trivial |
| 46 | exact TopologicalSpace.Opens.mem_iSup.mp hx |
| 47 | |
| 48 | /-- Each standard coordinate chart is affine. -/ |
| 49 | theorem standardProjectiveChart_isAffine (i : Fin (n + 1)) : |
| 50 | IsAffineOpen (Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i)) := |
| 51 | Proj.isAffineOpen_basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) |
| 52 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveCharts |