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.ProjectiveChart.Algebra |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffinePoints |
| 4 | |
| 5 | /-! # Standard Projective Chart Over -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveChartOver |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Standard projective affine chart inclusions as morphisms over the coefficient spectrum. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffinePoints |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : CommRingCat.{u}) (n : ℕ) (i : Fin (n + 1)) |
| 19 | |
| 20 | def projectiveStandardChartOver : Over (Spec R) := HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme R (ProjectiveChart.Evaluation.projectiveChartRing R n i) |
| 21 | |
| 22 | def projectiveStandardChartInclusion : |
| 23 | (projectiveStandardChartOver R n i).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace R n).left := |
| 24 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) (X i) (isHomogeneous_X R i) Nat.zero_lt_one |
| 25 | |
| 26 | instance projectiveStandardChartInclusion_isOpenImmersion : |
| 27 | IsOpenImmersion (projectiveStandardChartInclusion R n i) := by |
| 28 | exact IsOpenImmersion.comp |
| 29 | (Proj.basicOpenIsoSpec (Projective.ProjectivePresentations.coordinateGrading R n) (X i) (isHomogeneous_X R i) Nat.zero_lt_one).inv |
| 30 | (Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (X i)).ι |
| 31 | |
| 32 | theorem projectiveStandardChartInclusion_over : |
| 33 | projectiveStandardChartInclusion R n i ≫ (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom = |
| 34 | (projectiveStandardChartOver R n i).hom := by |
| 35 | have he : (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom = |
| 36 | HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Projective.ProjectivePresentations.coordinateGrading R n) := by |
| 37 | change Proj.toSpecZero (Projective.ProjectivePresentations.coordinateGrading R n) ≫ |
| 38 | Spec.map (CommRingCat.ofHom (Projective.ProjectivePresentations.degreeZeroConstants R n).toRingHom) = _ |
| 39 | rw [Projective.SpaceReindex.degreeZeroConstants_eq_algebraMap] |
| 40 | rfl |
| 41 | exact (congrArg (fun f => projectiveStandardChartInclusion R n i ≫ f) he).trans |
| 42 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap_away (Projective.ProjectivePresentations.coordinateGrading R n) (isHomogeneous_X R i)) |
| 43 | |
| 44 | def projectiveStandardChartOverMap : projectiveStandardChartOver R n i ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n := |
| 45 | Over.homMk (projectiveStandardChartInclusion R n i) (projectiveStandardChartInclusion_over R n i) |
| 46 | |
| 47 | theorem projectiveStandardChartInclusion_opensRange : |
| 48 | (projectiveStandardChartInclusion R n i).opensRange = |
| 49 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (X i) := |
| 50 | Proj.opensRange_awayι _ _ _ _ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveChartOver |