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.ProjectiveCoordinate.UniversalConstants |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectivePresentationConstants |
| 3 | |
| 4 | /-! # Universal Constants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective.UniversalConstants |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pointed proper smooth geometrically connected schemes with projective presentations over noetherian affine bases have only base global functions after every scheme base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem affineProjectivePresentation_baseChange_globalFunctions_isIso |
| 17 | {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | {X : Over (Spec (.of R))} [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 19 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (x : Spec (.of R) ⟶ X.left) (hx : x ≫ X.hom = 𝟙 _) |
| 20 | {T Y : Scheme.{u}} {a : Y ⟶ X.left} {b : Y ⟶ T} {c : T ⟶ Spec (.of R)} |
| 21 | (H : IsPullback a b X.hom c) : IsIso b.appTop := by |
| 22 | let j := P.embedding ≫ (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) P.dimension).hom |
| 23 | have hj : IsClosedImmersion j.left := |
| 24 | @IsClosedImmersion.comp _ _ _ P.embedding.left (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) P.dimension).hom.left |
| 25 | P.closedImmersion (Grassmann.ProjectivePresentation.overIso_closedImmersion _) |
| 26 | let F := Closed.Families.FlatClosedFamily.ofEmbedding j |
| 27 | let e : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal ≅ X := |
| 28 | F.homogeneousFamilyIso ≪≫ (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).symm |
| 29 | have hp : IsProper (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 30 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@IsProper) e).mpr inferInstance |
| 31 | have hs : Smooth (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 32 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@Smooth) e).mpr inferInstance |
| 33 | have hg : GeometricallyConnected (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 34 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@GeometricallyConnected) e).mpr inferInstance |
| 35 | have he : (x ≫ e.inv.left) ≫ (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal).hom = 𝟙 _ := by |
| 36 | rw [Category.assoc, e.inv.w, hx] |
| 37 | have hΓ := ProjectiveCoordinate.UniversalConstants.projectiveCoordinate_baseChange_globalFunctions_isIso F.homogeneousIdeal |
| 38 | (x ≫ e.inv.left) he (IsPullback.of_hasPullback (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal).hom c) |
| 39 | have hΓ' : IsIso (pullback.snd X.hom c).appTop := |
| 40 | (HilbertConstruction.Over.IsoGlobalFunctions.overIso_appTop_isIso_iff ((Over.pullback c).mapIso e)).mp hΓ |
| 41 | exact (Cartesian.GlobalFunctions.cartesian_globalFunctions_isIso_iff H).mpr hΓ' |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective.UniversalConstants |