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.Homogeneous.ProjectiveFamilies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.TwistingRestriction |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.IdealEquivalence |
| 4 | |
| 5 | /-! # Projective Homogeneous Presentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every closed projective embedding has a homogeneous presentation that identifies its actual restricted twisting bundle. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.IdealEquivalence.GradedHilbert |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} {X : Over (Spec (.of R))} |
| 19 | variable (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n) [IsClosedImmersion i.left] |
| 20 | |
| 21 | def ideal : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf i.left.ker |
| 22 | |
| 23 | def presentation : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (ideal i) ≅ X := |
| 24 | EmbeddingKernelIso.closedEmbeddingKernelIso (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding (ideal i)) i |
| 25 | (HilbertScheme.Presentations.Projective.IdealEquivalence.GradedHilbert.projectiveQuotient_homogeneousIdealOfSheaf i.left.ker) |
| 26 | |
| 27 | theorem presentation_embedding : |
| 28 | (presentation i).hom.left ≫ i.left = HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (ideal i) := |
| 29 | congrArg Over.Hom.left (EmbeddingKernelIso.closedEmbeddingKernelIso_embedding |
| 30 | (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding (ideal i)) i |
| 31 | (HilbertScheme.Presentations.Projective.IdealEquivalence.GradedHilbert.projectiveQuotient_homogeneousIdealOfSheaf i.left.ker)) |
| 32 | |
| 33 | def twistingIso : |
| 34 | (((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback i.left).pullback |
| 35 | (presentation i).hom.left).sheaf ≅ (ProjectiveTwisting.Bundle.projectiveTwistingBundle (ideal i) 1).sheaf := |
| 36 | (Scheme.Modules.pullbackComp (presentation i).hom.left i.left).app |
| 37 | (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).sheaf ≪≫ |
| 38 | (Scheme.Modules.pullbackCongr (presentation_embedding i)).app |
| 39 | (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).sheaf ≪≫ |
| 40 | ProjectiveTwisting.TwistingRestriction.affineProjectiveTwistingBundle_quotientIso (ideal i) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding |