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.HilbertScheme.Presentations.Affine.ChartPresentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Flatness |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation |
| 4 | import Mathlib.RingTheory.Finiteness.Basic |
| 5 | |
| 6 | /-! # Quotient Finite Presentation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.QuotientFinitePresentation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | A finitely generated homogeneous ideal gives a finitely presented projective |
| 14 | closed family over an arbitrary coefficient ring. The proof checks the actual |
| 15 | standard affine charts, presented by the ideal together with X_i - 1. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 23 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : I.toIdeal.FG) |
| 24 | include hI |
| 25 | |
| 26 | theorem quotientAffineChart_finitePresentation (i : Fin (n + 1)) : |
| 27 | Algebra.FinitePresentation R |
| 28 | (HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 29 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (MvPolynomial.X i))) := by |
| 30 | have hfg : (HilbertScheme.Presentations.Affine.ChartPresentation.GradedHilbert.affineChartIdeal I i).FG := |
| 31 | Submodule.FG.sup hI (Submodule.fg_span_singleton _) |
| 32 | let : Algebra.FinitePresentation R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ HilbertScheme.Presentations.Affine.ChartPresentation.GradedHilbert.affineChartIdeal I i) := |
| 33 | Algebra.FinitePresentation.quotient hfg |
| 34 | exact Algebra.FinitePresentation.equiv (HilbertScheme.Presentations.Affine.ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv I i) |
| 35 | |
| 36 | theorem projectiveQuotient_locallyFinitePresentation : |
| 37 | LocallyOfFinitePresentation (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) := by |
| 38 | have : IsZariskiLocalAtSource @LocallyOfFinitePresentation.{u} := |
| 39 | HasRingHomProperty.instIsZariskiLocalAtSource (P := @LocallyOfFinitePresentation.{u}) |
| 40 | (Q := RingHom.FinitePresentation) |
| 41 | let U := Proj.affineOpenCoverOfIrrelevantLESpan (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 42 | (fun i : Fin (n + 1) => HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (MvPolynomial.X i)) |
| 43 | (fun i => (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (MvPolynomial.isHomogeneous_X R i)) |
| 44 | (fun _ => Nat.zero_lt_one) (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.quotient_irrelevant_le_span_variables I) |
| 45 | apply (IsZariskiLocalAtSource.iff_of_openCover (P := @LocallyOfFinitePresentation) |
| 46 | U.openCover).mpr |
| 47 | intro i |
| 48 | change LocallyOfFinitePresentation (Proj.awayι (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 49 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (MvPolynomial.X i)) |
| 50 | ((HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (MvPolynomial.isHomogeneous_X R i)) Nat.zero_lt_one ≫ |
| 51 | HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 52 | rw [HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap_away, LocallyOfFinitePresentation.SpecMap_iff] |
| 53 | let := quotientAffineChart_finitePresentation I hI i |
| 54 | exact RingHom.finitePresentation_algebraMap.mpr inferInstance |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.QuotientFinitePresentation |