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.ProjectiveFamilyEquations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SingleDegreeProjectiveEquations |
| 3 | |
| 4 | /-! # Single Degree Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.SingleDegreeEquations.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every native Hilbert family over an arbitrary affine spectrum test is |
| 11 | cut out by a finite list of homogeneous polynomials of one common degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {R : Type u} [CommRing R] {n : ℕ} |
| 17 | |
| 18 | theorem native_affine_single_degree_equations (a : Spec (CommRingCat.of R) ⟶ S) |
| 19 | (F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) : |
| 20 | ∃ (m N : ℕ) (g : Fin m → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (hg : ∀ j, (g j).IsHomogeneous N), |
| 21 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) ≫ |
| 22 | (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom).ker = F.val := by |
| 23 | obtain ⟨J, hfg, hF⟩ := Finite.ProjectiveFamilyEquations.GradedHilbert.native_affine_finite_homogeneous_equations a F |
| 24 | obtain ⟨m, N, g, hg, hs⟩ := SingleDegreeProjectiveEquations.GradedHilbert.finite_single_degree_projective_equations J hfg |
| 25 | refine ⟨m, N, g, hg, ?_⟩ |
| 26 | rw [Global.PolynomialInclusion.closedImmersion_comp_iso_ker, ← Projective.Saturation.GradedHilbert.projectiveSaturation_idealSheaf (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg), |
| 27 | hs, Projective.Saturation.GradedHilbert.projectiveSaturation_idealSheaf] |
| 28 | exact (Global.PolynomialInclusion.closedImmersion_comp_iso_ker (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J) |
| 29 | (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a)).symm.trans hF |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.SingleDegreeEquations.GradedHilbert |