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.Affine.ChartCoefficientSections |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces |
| 3 | |
| 4 | /-! # Section Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.SectionCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual regular functions on each projective coordinate basic open are the corresponding degree-zero localized coordinate module, linearly over the base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 18 | |
| 19 | def coordinateProjectiveChartOpen (s : Finset (Fin (n + 1))) : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens := |
| 20 | Proj.basicOpen (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 21 | (algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) |
| 22 | |
| 23 | def coordinateProjectiveChartSectionEquiv (s : Finset (Fin (n + 1))) (hs : s.Nonempty) : |
| 24 | Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 25 | (coordinateProjectiveChartOpen I s) ≃ₗ[R] |
| 26 | HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s 0 := by |
| 27 | let e := (Proj.basicOpenIsoSpec (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 28 | (algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) |
| 29 | (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s) (Finset.card_pos.mpr hs)).symm |
| 30 | have h : e.hom ≫ (coordinateProjectiveChartOpen I s).ι ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) = |
| 31 | Spec.map (CommRingCat.ofHom (algebraMap R _)) := |
| 32 | (Category.assoc _ _ _).symm.trans |
| 33 | (HilbertScheme.Presentations.Flat.ProjectiveCharts.GradedHilbert.projectiveStructureMap_away_homogeneous (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (Finset.card_pos.mpr hs) |
| 34 | (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s)) |
| 35 | exact (Affine.ChartCoefficientSections.affineChartCoefficientAlgEquiv (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 36 | (coordinateProjectiveChartOpen I s) e h).toLinearEquiv.trans (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartModuleEquiv I s) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.SectionCoordinates |