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.Intrinsic.PolynomialPointEmbedding |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ProjectivePresentation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialNaturality |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.PointIdeal |
| 5 | |
| 6 | /-! # Polynomial Fiber Polynomial -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialFiberPolynomial.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Bounded polynomial families satisfy the exact arbitrary-field-point |
| 13 | fiber Hilbert-polynomial predicate in the validated Presentations statement. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] {n : ℕ} |
| 19 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 20 | variable (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 21 | |
| 22 | theorem boundedNativePolynomialFamily_point_ideal (q : ℕ → ℕ) {T : Over S} (x : T ⟶ M) |
| 23 | (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) |
| 24 | {K : Type u} [Field K] (a : Spec (CommRingCat.of K) ⟶ T.left) : |
| 25 | (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) |
| 26 | (Over.homMk a : Over.mk (a ≫ x.left) ⟶ Over.mk x.left) |
| 27 | (PolynomialFamily.GradedHilbert.boundedNativePolynomialFamily M g N hg q x hx)).val = |
| 28 | (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 29 | (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M (a ≫ x.left))).ker := by |
| 30 | let U : Over S := Over.mk (a ≫ T.hom) |
| 31 | let b : U ⟶ T := Over.homMk a rfl |
| 32 | have h := congrArg Subtype.val (PolynomialNaturality.GradedHilbert.boundedNativePolynomialFamily_baseChange M g N hg q b x hx) |
| 33 | exact h.symm |
| 34 | |
| 35 | theorem boundedNativePolynomialFamily_hasFiberHilbertPolynomial (q : ℕ → ℕ) (P : Polynomial ℚ) |
| 36 | (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) {T : Over S} (x : T ⟶ M) |
| 37 | (hx : x ∈ (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor M g N hg q).obj (.op T)) : |
| 38 | Has.Core.HasFiberHilbertPolynomial (ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation M.left n) |
| 39 | (PolynomialFamily.GradedHilbert.boundedNativePolynomialFamily M g N hg q x (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x hx)) P := by |
| 40 | intro K _ a |
| 41 | dsimp only [ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation] |
| 42 | rw [boundedNativePolynomialFamily_point_ideal M g N hg q x |
| 43 | (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x hx) a] |
| 44 | refine ⟨Projective.Point.GradedHilbert.projectiveSchemePointMap n (a ≫ x.left), |
| 45 | PolynomialPointEmbedding.GradedHilbert.nativePolynomialPointEmbedding M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) (a ≫ x.left), |
| 46 | ?_, ?_, ?_, ?_, ?_⟩ |
| 47 | · exact Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n (a ≫ x.left) |
| 48 | · exact PolynomialPointEmbedding.GradedHilbert.nativePolynomialPointEmbedding_isClosedImmersion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) (a ≫ x.left) |
| 49 | · exact (PolynomialPointEmbedding.GradedHilbert.nativePolynomialPointEmbedding_ambient M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) (a ≫ x.left)).trans |
| 50 | ((Category.comp_id _).symm.trans (Category.assoc _ _ _)) |
| 51 | · exact PolynomialPointEmbedding.GradedHilbert.nativePolynomialPointEmbedding_projection M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) (a ≫ x.left) |
| 52 | · exact PolynomialPointEmbedding.GradedHilbert.nativePolynomialPointEmbedding_hilbertPolynomial M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 53 | (a ≫ x.left) P (BoundedHilbert.PointIdeal.GradedHilbert.bounded_hilbert_point_ideal_polynomial M g N hg q P hP x hx a) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialFiberPolynomial.GradedHilbert |