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.HilbertScheme.Presentations.Hilbert.PolynomialRepresentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.TuplePackageAssembly |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactSegrePresentation |
| 4 | |
| 5 | /-! # Hom -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.Hom.Core |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full relative Hilbert/Hom existence with the exact Segre polarization, |
| 12 | projective Hilbert parameter scheme and natural open graph locus. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem relative_hilbert_and_hom_loci |
| 19 | {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 20 | (X Y : Over S) (BX : Has.Core.ProjectivePresentation X) (BY : Has.Core.ProjectivePresentation Y) |
| 21 | [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] |
| 22 | [IsSeparated Y.hom] (n : ℕ) (P : Fin n → Polynomial ℚ) : |
| 23 | ∃ B : Has.Core.ProjectivePresentation (X ⨯ Y), |
| 24 | Segre.Open.Core.IsSegrePresentation BX BY B ∧ Nonempty (Loci.Core.HilbertHomLoci X Y B n P) := by |
| 25 | classical |
| 26 | obtain ⟨B, hB⟩ := ExactSegrePresentation.Core.exists_segrePresentation BX BY |
| 27 | choose H hH eH using fun i => Hilbert.PolynomialRepresentation.GradedHilbert.exists_projectiveSpace_hilbert_representation S B.dimension (P i) |
| 28 | exact ⟨B, hB, Hilbert.TuplePackageAssembly.Core.hilbertHomLoci_of_projective_space_components X Y B n P H |
| 29 | (fun i => Classical.choice (hH i)) (fun i => Classical.choice (eH i))⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.Hom.Core |