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.Projective.PresentationBaseChange |
| 2 | |
| 3 | /-! # Coordinate Projective Presentation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoordinateProjectivePresentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Convert a closed immersion in polynomial projective space into an HilbertConstruction presentation. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R σ : Type u) [CommRing R] [Fintype σ] [Nonempty σ] |
| 16 | |
| 17 | def finiteCoordinateProjectiveSpaceIso : |
| 18 | Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ R)) ≅ |
| 19 | Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) (Fintype.card σ - 1) := |
| 20 | Projective.SpaceReindex.affineProjectiveSpaceReindexIso R (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv σ) ≪≫ |
| 21 | (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) (Fintype.card σ - 1)).symm |
| 22 | |
| 23 | variable {R σ} |
| 24 | variable {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) |
| 25 | variable (j : X ⟶ Proj (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ R)) |
| 26 | variable (hj : j ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ R) = f) |
| 27 | |
| 28 | def finiteCoordinateProjectiveEmbedding : |
| 29 | Over.mk f ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) (Fintype.card σ - 1) := |
| 30 | (Over.homMk j hj : Over.mk f ⟶ Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ R))) ≫ |
| 31 | (finiteCoordinateProjectiveSpaceIso R σ).hom |
| 32 | |
| 33 | theorem finiteCoordinateProjectiveEmbedding_closed [IsClosedImmersion j] : |
| 34 | IsClosedImmersion (finiteCoordinateProjectiveEmbedding f j hj).left := by |
| 35 | change IsClosedImmersion (j ≫ (finiteCoordinateProjectiveSpaceIso R σ).hom.left) |
| 36 | have : IsClosedImmersion (finiteCoordinateProjectiveSpaceIso R σ).hom.left := |
| 37 | Grassmann.ProjectivePresentation.overIso_closedImmersion (finiteCoordinateProjectiveSpaceIso R σ) |
| 38 | infer_instance |
| 39 | |
| 40 | def finiteCoordinateProjectivePresentation [IsClosedImmersion j] : |
| 41 | Projective.ProjectivePresentations.ProjectivePresentation (Over.mk f) where |
| 42 | dimension := Fintype.card σ - 1 |
| 43 | embedding := finiteCoordinateProjectiveEmbedding f j hj |
| 44 | closedImmersion := finiteCoordinateProjectiveEmbedding_closed f j hj |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoordinateProjectivePresentation |