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.StableHilbert.SectionCompleteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.EmbeddingRecovery |
| 3 | |
| 4 | /-! # Canonical Completeness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.CanonicalCompleteness.StableHilbertCoverage |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A bijective degree-one polynomial section map supplies the complete |
| 11 | canonical coordinates of the actual quotient projective presentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 16 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 17 | variable (hI : Function.Bijective (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I 1)) |
| 18 | |
| 19 | def quotientCoordinateCompleteData : (Affine.CoordinateSectionData.quotientCoordinateSectionData I).CompleteData where |
| 20 | basis := Coefficient.SectionFrameCriterion.coefficientSectionBasisOfBijective |
| 21 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).appTop.hom |
| 22 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I) |
| 23 | (SectionCompleteness.StableHilbertCoverage.coordinateSections_bijective_of_polynomialMap I hI) |
| 24 | sections_eq := (Coefficient.SectionFrameCriterion.coefficientSectionBasisOfBijective_family |
| 25 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).appTop.hom |
| 26 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I) |
| 27 | (SectionCompleteness.StableHilbertCoverage.coordinateSections_bijective_of_polynomialMap I hI)).symm |
| 28 | |
| 29 | def quotientCanonicalCompleteData : |
| 30 | (Affine.CoordinateSectionData.quotientCoordinatePresentation I).canonicalSectionData.CompleteData := |
| 31 | Projective.ProjectivePresentations.ProjectivePresentation.SectionData.CompleteData.canonical |
| 32 | (Affine.CoordinateSectionData.quotientCoordinateSectionData I) (quotientCoordinateCompleteData I hI) |
| 33 | |
| 34 | def canonicalCompleteData_of_quotientIso {X : Over (Spec (.of R))} |
| 35 | (i : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n) [hi : IsClosedImmersion i.left] |
| 36 | (e : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I ≅ X) |
| 37 | (he : e.hom ≫ i = (Affine.CoordinateSectionData.quotientCoordinatePresentation I).embedding) : |
| 38 | (⟨n, i, inferInstance⟩ : Projective.ProjectivePresentations.ProjectivePresentation X).canonicalSectionData.CompleteData := by |
| 39 | exact @Canonical.EmbeddingRecovery.completeCanonicalData_of_embeddingIso _ _ _ _ |
| 40 | (Affine.CoordinateSectionData.quotientCoordinatePresentation I).embedding i |
| 41 | (Affine.CoordinateSectionData.quotientCoordinatePresentation I).closedImmersion hi e he (quotientCanonicalCompleteData I hI) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.CanonicalCompleteness.StableHilbertCoverage |