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.Segre.TensorCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |
| 3 | |
| 4 | /-! # Reindexed Segre Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReindexedSegreEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reindexing the matrix coordinates by a finite ordinal makes the Segre |
| 11 | chart evaluation equal to the standard projective-chart evaluation on |
| 12 | products of row and column coordinates. -/ |
| 13 | open _root_.MvPolynomial |
| 14 | universe u |
| 15 | variable (R : Type u) [CommRing R] {n m d : ℕ} |
| 16 | variable (e : Segre.ChartProjections.SegreProjectiveIndex.{u} n m ≃ Fin (d + 1)) (p : Segre.ChartProjections.SegreProjectiveIndex.{u} n m) |
| 17 | |
| 18 | def segreReindexedChartCoordinates (i : Fin (d + 1)) : Segre.ProjectiveCharts.SegreHomogeneousChart R p.1 p.2 := |
| 19 | Segre.ChartCoordinates.segreChartCoordinate R p.1 p.2 (e.symm i) |
| 20 | |
| 21 | theorem segreReindexedChartCoordinates_pivot : segreReindexedChartCoordinates R e p (e p) = 1 := by |
| 22 | rw [segreReindexedChartCoordinates, e.symm_apply_apply] |
| 23 | exact Segre.ChartCoordinates.segreChartCoordinate_pivot R p.1 p.2 |
| 24 | |
| 25 | def segreStandardChartAlgebra : |
| 26 | ProjectiveChart.Evaluation.projectiveChartRing R d (e p) →ₐ[R] Segre.ProjectiveCharts.SegreHomogeneousChart R p.1 p.2 := |
| 27 | ProjectiveChart.Algebra.projectiveChartEvaluationAlg (segreReindexedChartCoordinates R e p) (e p) |
| 28 | (segreReindexedChartCoordinates_pivot R e p) |
| 29 | |
| 30 | theorem segreStandardChartAlgebra_coordinate (i : Fin (d + 1)) : |
| 31 | segreStandardChartAlgebra R e p (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize (e p) (X i)) = |
| 32 | Segre.ChartCoordinates.segreChartCoordinate R p.1 p.2 (e.symm i) := |
| 33 | ProjectiveChart.Algebra.projectiveChartEvaluationAlg_coordinate (segreReindexedChartCoordinates R e p) (e p) |
| 34 | (segreReindexedChartCoordinates_pivot R e p) i |
| 35 | |
| 36 | variable {B : Type u} [CommRing B] [Algebra R B] |
| 37 | variable (r : Fin (n + 1) → B) (c : Fin (m + 1) → B) |
| 38 | variable (hr : r p.1.down = 1) (hc : c p.2.down = 1) |
| 39 | |
| 40 | def reindexedSegreSectionCoordinates (i : Fin (d + 1)) : B := |
| 41 | r (e.symm i).1.down * c (e.symm i).2.down |
| 42 | |
| 43 | include hr hc in |
| 44 | theorem reindexedSegreSectionCoordinates_pivot : |
| 45 | reindexedSegreSectionCoordinates e r c (e p) = 1 := by |
| 46 | rw [reindexedSegreSectionCoordinates, e.symm_apply_apply, hr, hc, one_mul] |
| 47 | |
| 48 | theorem segreStandardChartAlgebra_evaluation : |
| 49 | (Segre.TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc).comp (segreStandardChartAlgebra R e p) = |
| 50 | ProjectiveChart.Algebra.projectiveChartEvaluationAlg (reindexedSegreSectionCoordinates e r c) (e p) |
| 51 | (reindexedSegreSectionCoordinates_pivot e p r c hr hc) := by |
| 52 | apply ProjectiveChart.Algebra.projectiveChartAlgebra_ext (e p) |
| 53 | intro i |
| 54 | change Segre.TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc |
| 55 | (segreStandardChartAlgebra R e p (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize (e p) (X i))) = _ |
| 56 | rw [segreStandardChartAlgebra_coordinate, ProjectiveChart.Algebra.projectiveChartEvaluationAlg_coordinate] |
| 57 | exact Segre.TensorCoordinates.segreHomogeneousSectionEvaluation_coordinate R p r c hr hc |
| 58 | (e.symm i).1.down (e.symm i).2.down |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReindexedSegreEvaluation |