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.IntrinsicHomogeneousCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ChartPresentation |
| 3 | |
| 4 | /-! # Chart Finite Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartFinitePresentation.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finitely presented projective family has finitely generated equations |
| 11 | on each standard affine chart, over arbitrary coefficient rings. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 17 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 18 | |
| 19 | theorem projectiveChart_finitePresentation [LocallyOfFinitePresentation (Flatness.GradedHilbert.projectiveStructureMap 𝒜)] |
| 20 | {s : A} (hs : s ∈ 𝒜 1) : Algebra.FinitePresentation R (HomogeneousLocalization.Away 𝒜 s) := by |
| 21 | have H : LocallyOfFinitePresentation (Proj.awayι 𝒜 s hs Nat.zero_lt_one ≫ Flatness.GradedHilbert.projectiveStructureMap 𝒜) := |
| 22 | inferInstance |
| 23 | rw [Flatness.GradedHilbert.projectiveStructureMap_away, LocallyOfFinitePresentation.SpecMap_iff] at H |
| 24 | exact RingHom.finitePresentation_algebraMap.mp H |
| 25 | |
| 26 | variable {n : ℕ} |
| 27 | |
| 28 | theorem projectiveQuotient_affineChartIdeal_fg (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 29 | [LocallyOfFinitePresentation (Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] (i : Fin (n + 1)) : |
| 30 | (Polynomial.ChartPresentation.PolynomialProjective.affineChartIdeal I i).FG := by |
| 31 | let A := HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 32 | let ψ : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n →ₐ[R] A := |
| 33 | { __ := Polynomial.ChartPresentation.PolynomialProjective.affineChartMap I i |
| 34 | commutes' r := Polynomial.ChartPresentation.PolynomialProjective.affineChartMap_C I i r } |
| 35 | have : Algebra.FinitePresentation R A := projectiveChart_finitePresentation (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 36 | ((Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i)) |
| 37 | have h := Algebra.FinitePresentation.ker_fG_of_surjective ψ (Polynomial.ChartPresentation.PolynomialProjective.affineChartMap_surjective I i) |
| 38 | change (RingHom.ker (Polynomial.ChartPresentation.PolynomialProjective.affineChartMap I i)).FG at h |
| 39 | rwa [Polynomial.ChartPresentation.PolynomialProjective.affineChartMap_kernel] at h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartFinitePresentation.GradedHilbert |