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.IntrinsicProjectiveEmbedding |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ProjectivePresentation |
| 3 | |
| 4 | /-! # Canonical Fiber Polynomial Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomialCriterion.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical homogeneous ideals of all actual field fibers establish |
| 11 | the exact fiber-polynomial predicate of the validated Presentations statement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {n : ℕ} {T : Over S} |
| 17 | |
| 18 | theorem hasFiberHilbertPolynomial_of_canonical_fibers |
| 19 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (P : Polynomial ℚ) |
| 20 | (hP : ∀ (K : Type u) [Field K] (a : Spec (CommRingCat.of K) ⟶ T.left), |
| 21 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (a ≫ T.hom) |
| 22 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 23 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T) F)).toIdeal P) : |
| 24 | Has.Core.HasFiberHilbertPolynomial (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) F P := by |
| 25 | intro K _ a |
| 26 | let b : Over.mk (a ≫ T.hom) ⟶ T := Over.homMk a rfl |
| 27 | let G := Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F |
| 28 | dsimp only [Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation] |
| 29 | refine ⟨Projective.Point.GradedHilbert.projectiveSchemePointMap n (a ≫ T.hom), Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding n (a ≫ T.hom) G, |
| 30 | Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n (a ≫ T.hom), |
| 31 | Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_closed n (a ≫ T.hom) G, ?_, ?_, ?_⟩ |
| 32 | · exact (Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_ambient n (a ≫ T.hom) G).trans |
| 33 | ((Category.comp_id _).symm.trans (Category.assoc _ _ _)) |
| 34 | · exact Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_projection n (a ≫ T.hom) G |
| 35 | · exact Eq.mpr (congrArg (fun I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n) => Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 36 | (Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_coordinates n (a ≫ T.hom) G)) (hP K a) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomialCriterion.GradedHilbert |