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.Local.ProjectiveGlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.IsoGlobalFunctions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.IsoMorphismProperty |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.HomogeneousCoordinates |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |
| 6 | |
| 7 | /-! # Projective Presentation Constants -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectivePresentationConstants |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A pointed proper smooth geometrically connected scheme with a projective presentation over a noetherian local ring has exactly the base's global regular functions. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem localProjectivePresentation_globalFunctions_isIso |
| 20 | {R : Type u} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 21 | {X : Over (Spec (.of R))} [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 22 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (x : Spec (.of R) ⟶ X.left) (hx : x ≫ X.hom = 𝟙 _) : |
| 23 | IsIso X.hom.appTop := by |
| 24 | let j := P.embedding ≫ (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) P.dimension).hom |
| 25 | have hj : IsClosedImmersion j.left := |
| 26 | @IsClosedImmersion.comp _ _ _ P.embedding.left (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) P.dimension).hom.left |
| 27 | P.closedImmersion (Grassmann.ProjectivePresentation.overIso_closedImmersion _) |
| 28 | let F := Closed.Families.FlatClosedFamily.ofEmbedding j |
| 29 | let e : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal ≅ X := |
| 30 | F.homogeneousFamilyIso ≪≫ (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).symm |
| 31 | have hp : IsProper (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 32 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@IsProper) e).mpr inferInstance |
| 33 | have hs : Smooth (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 34 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@Smooth) e).mpr inferInstance |
| 35 | have hg : GeometricallyConnected (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 36 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@GeometricallyConnected) e).mpr inferInstance |
| 37 | have he : (x ≫ e.inv.left) ≫ (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal).hom = 𝟙 _ := by |
| 38 | rw [Category.assoc, e.inv.w, hx] |
| 39 | have H := ProjectiveGlobalFunctions.localPointedProjectiveCoordinate_globalFunctions_isIso F.homogeneousIdeal (x ≫ e.inv.left) he |
| 40 | exact (HilbertConstruction.Over.IsoGlobalFunctions.overIso_appTop_isIso_iff e).mp H |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectivePresentationConstants |