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.AffineProjective.IdealGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.AffineUniversalData |
| 3 | |
| 4 | /-! # Universal Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.UniversalIdeal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The finite graded parameter scheme carries an actual global generated projective |
| 12 | family. Its ideal recovers the generated homogeneous quotient at every affine point. |
| 13 | Higher-degree flatness is not asserted here. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (S : Scheme.{u}) (n B : ℕ) (r : ℕ → ℕ) |
| 21 | |
| 22 | def truncatedUniversalIdealData : |
| 23 | AffineProjective.IdealMatching.AffineProjectiveIdealData (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left n where |
| 24 | ideal := AffineUniversalData.truncatedAffineUniversalIdeal |
| 25 | naturality := AffineUniversalData.truncatedAffineUniversalIdeal_naturality |
| 26 | |
| 27 | def truncatedUniversalIdeal : |
| 28 | (Projective.ProjectivePresentations.projectiveSpaceOver (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left n).left.IdealSheafData := |
| 29 | (truncatedUniversalIdealData S n B r).glue |
| 30 | |
| 31 | theorem truncatedUniversalIdeal_comap {R : CommRingCat.{u}} |
| 32 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 33 | (truncatedUniversalIdeal S n B r).comap (AffineProjective.Charts.affineProjectiveChartMap x n) = |
| 34 | (AffineUniversalData.truncatedAffineUniversalData x).projectiveIdeal := |
| 35 | (truncatedUniversalIdealData S n B r).glue_comap x |
| 36 | |
| 37 | def truncatedUniversalFamily : Over (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left := |
| 38 | Over.mk ((truncatedUniversalIdeal S n B r).subschemeι ≫ |
| 39 | (Projective.ProjectivePresentations.projectiveSpaceOver (GradedParameters.truncatedGradedParameters (Fin (n + 1)) B r S).left n).hom) |
| 40 | |
| 41 | def truncatedUniversalEmbedding : truncatedUniversalFamily S n B r ⟶ |
| 42 | Projective.ProjectivePresentations.projectiveSpaceOver (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left n := |
| 43 | Over.homMk (truncatedUniversalIdeal S n B r).subschemeι rfl |
| 44 | |
| 45 | instance truncatedUniversalEmbedding_closed : IsClosedImmersion (truncatedUniversalEmbedding S n B r).left := |
| 46 | inferInstanceAs (IsClosedImmersion (truncatedUniversalIdeal S n B r).subschemeι) |
| 47 | |
| 48 | def truncatedUniversalProjectivePresentation : Projective.ProjectivePresentations.ProjectivePresentation (truncatedUniversalFamily S n B r) where |
| 49 | dimension := n |
| 50 | embedding := truncatedUniversalEmbedding S n B r |
| 51 | closedImmersion := inferInstance |
| 52 | |
| 53 | theorem truncatedUniversalFamily_proper : IsProper (truncatedUniversalFamily S n B r).hom := |
| 54 | (truncatedUniversalProjectivePresentation S n B r).proper |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.UniversalIdeal |