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.Global.PolynomialPointEmbedding |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialFiberPolynomial |
| 3 | |
| 4 | /-! # Bounded Fiber Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.BoundedFiberPolynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Bounded polynomial families over the original base satisfy the exact |
| 11 | arbitrary-field-point Hilbert-polynomial predicate of Presentations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] {n : ℕ} |
| 17 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 18 | variable (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 19 | |
| 20 | theorem globalBoundedPolynomialFamily_point_ideal (q : ℕ → ℕ) {T : Over S} (x : T ⟶ M) |
| 21 | (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) |
| 22 | {K : Type u} [Field K] (a : Spec (CommRingCat.of K) ⟶ T.left) : |
| 23 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 24 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T) |
| 25 | (BoundedPolynomialFamily.GradedHilbert.globalBoundedPolynomialFamily M g N hg q x hx)).val = |
| 26 | (PolynomialInclusion.GradedHilbert.globalPolynomialInclusion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 27 | (ProjectivePoint.GradedHilbert.polynomialPointMorphismOver M (a ≫ x.left) (a ≫ T.hom) |
| 28 | ((Category.assoc _ _ _).trans (congrArg (fun f => a ≫ f) x.w)))).ker := by |
| 29 | let U : Over S := Over.mk (a ≫ T.hom) |
| 30 | let b : U ⟶ T := Over.homMk a rfl |
| 31 | have h := congrArg Subtype.val (BoundedPolynomialFamily.GradedHilbert.globalBoundedPolynomialFamily_baseChange M g N hg q b x hx) |
| 32 | rw [PolynomialInclusion.GradedHilbert.globalBoundedPolynomialFamily_val] at h |
| 33 | exact h.symm |
| 34 | |
| 35 | theorem globalBoundedPolynomialFamily_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 (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) |
| 39 | (BoundedPolynomialFamily.GradedHilbert.globalBoundedPolynomialFamily 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 [Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation] |
| 42 | rw [globalBoundedPolynomialFamily_point_ideal M g N hg q x |
| 43 | (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x hx) a] |
| 44 | have ha : (a ≫ x.left) ≫ M.hom = a ≫ T.hom := |
| 45 | (Category.assoc _ _ _).trans (congrArg (fun f => a ≫ f) x.w) |
| 46 | refine ⟨ProjectivePoint.GradedHilbert.globalProjectiveSchemePointMap M n (a ≫ x.left), |
| 47 | PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) (a ≫ x.left) (a ≫ T.hom) ha, |
| 48 | ?_, ?_, ?_, ?_, ?_⟩ |
| 49 | · have H := ProjectivePoint.GradedHilbert.globalProjectiveSchemePointMap_isPullback M n (a ≫ x.left) |
| 50 | rw [ha] at H |
| 51 | exact H |
| 52 | · exact PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_isClosedImmersion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 53 | (a ≫ x.left) (a ≫ T.hom) ha |
| 54 | · exact (PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_ambient M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 55 | (a ≫ x.left) (a ≫ T.hom) ha).trans ((Category.comp_id _).symm.trans (Category.assoc _ _ _)) |
| 56 | · exact PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_projection M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 57 | (a ≫ x.left) (a ≫ T.hom) ha |
| 58 | · exact PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_hilbertPolynomial M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) |
| 59 | (a ≫ x.left) (a ≫ T.hom) ha P (BoundedHilbert.PointIdeal.GradedHilbert.bounded_hilbert_point_ideal_polynomial M g N hg q P hP x hx a) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.BoundedFiberPolynomial.GradedHilbert |