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.Finite.HomogeneousChartEquations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.ChartIdeals |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.IntrinsicHomogeneousCoordinates |
| 4 | |
| 5 | /-! # Projective Family Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ProjectiveFamilyEquations.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual finitely presented projective families admit finite homogeneous |
| 12 | equations over arbitrary coefficient rings, with equality of their defining ideal sheaves. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 18 | |
| 19 | theorem finite_homogeneous_projective_equations (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | [LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] : |
| 21 | ∃ J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ J ≤ I ∧ |
| 22 | Projective.Saturation.GradedHilbert.projectiveSaturation J = Projective.Saturation.GradedHilbert.projectiveSaturation I := by |
| 23 | obtain ⟨J, hfg, hle, hchart⟩ := HomogeneousChartEquations.GradedHilbert.finite_homogeneous_same_chart_ideals I |
| 24 | (Projective.ChartEquationFiniteness.GradedHilbert.projectiveQuotient_dehomogenizedIdeal_fg I) |
| 25 | exact ⟨J, hfg, hle, Saturation.ChartIdeals.GradedHilbert.projectiveSaturation_eq_of_dehomogenized J I hchart⟩ |
| 26 | |
| 27 | theorem finite_homogeneous_saturated_equations (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 28 | (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 29 | [LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] : |
| 30 | ∃ J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ J ≤ I ∧ Projective.Saturation.GradedHilbert.projectiveSaturation J = I := by |
| 31 | obtain ⟨J, hfg, hle, hs⟩ := finite_homogeneous_projective_equations I |
| 32 | exact ⟨J, hfg, hle, hs.trans (Projective.Saturation.GradedHilbert.projectiveSaturation_eq_of_saturated I hI)⟩ |
| 33 | |
| 34 | theorem native_affine_finite_homogeneous_equations {S : Scheme.{u}} |
| 35 | (a : Spec (CommRingCat.of R) ⟶ S) |
| 36 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) : |
| 37 | ∃ J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ |
| 38 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J ≫ (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom).ker = F.val := by |
| 39 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F |
| 40 | have : LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := |
| 41 | Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_locallyOfFinitePresentation n a F |
| 42 | obtain ⟨J, hfg, _, hs⟩ := finite_homogeneous_saturated_equations I |
| 43 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n a F) |
| 44 | refine ⟨J, hfg, ?_⟩ |
| 45 | rw [Global.PolynomialInclusion.closedImmersion_comp_iso_ker, ← Projective.Saturation.GradedHilbert.projectiveSaturation_idealSheaf J, hs] |
| 46 | exact (Global.PolynomialInclusion.closedImmersion_comp_iso_ker (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) |
| 47 | (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a)).symm.trans (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_global_kernel n a F) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ProjectiveFamilyEquations.GradedHilbert |