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.PELModuli.IntegralModel.ConnectedAffineHilbertPolynomial |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.HilbertPolynomialAgreement |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.AmbientFiberPolynomial |
| 4 | |
| 5 | /-! # Test Hilbert Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TestHilbertPolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every flat projective family over an integral locally noetherian |
| 12 | test scheme has one actual fiber Hilbert polynomial. Affine constancy |
| 13 | and nonempty-overlap agreement discharge the global constancy claim. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem exists_integral_test_canonical_fiber_polynomial |
| 20 | {S : Scheme.{0}} {n : ℕ} {T : Over S} [IsIntegral T.left] [IsLocallyNoetherian T.left] |
| 21 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) : |
| 22 | ∃ P : Polynomial ℚ, HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial (HilbertScheme.Presentations.Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) F P := by |
| 23 | let C := T.left.affineOpenCover |
| 24 | let I := {i : C.I₀ // Nonempty (Spec (C.X i))} |
| 25 | let U (i : I) : Over S := Over.mk (C.f i.val ≫ T.hom) |
| 26 | let f (i : I) : U i ⟶ T := Over.homMk (C.f i.val) rfl |
| 27 | have : ∀ i, Nonempty (U i).left := fun i => i.property |
| 28 | have : ∀ i, IsOpenImmersion (f i).left := fun i => inferInstanceAs (IsOpenImmersion (C.f i.val)) |
| 29 | have hcover : ∀ t : T.left, ∃ i, ∃ y : (U i).left, (f i).left y = t := by |
| 30 | intro t |
| 31 | obtain ⟨i, y, hy⟩ := C.openCover.exists_eq t |
| 32 | exact ⟨⟨i, ⟨y⟩⟩, y, hy⟩ |
| 33 | apply HilbertPolynomialAgreement.exists_fiberPolynomial_of_irreducible_open_cover U f hcover F |
| 34 | intro i |
| 35 | have : Nonempty (Spec (C.X i.val)) := i.property |
| 36 | have : IsIntegral (Spec (C.X i.val)) := isIntegral_of_isOpenImmersion (C.f i.val) |
| 37 | have : IsDomain (C.X i.val) := (affine_isIntegral_iff (C.X i.val)).mp inferInstance |
| 38 | have : IsNoetherianRing (C.X i.val) := isLocallyNoetherian_Spec.mp |
| 39 | (isLocallyNoetherian_of_isOpenImmersion (C.f i.val)) |
| 40 | exact ConnectedAffineHilbertPolynomial.exists_connected_affine_fiber_polynomial (R := C.X i.val) (C.f i.val ≫ T.hom) |
| 41 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (f i) F) |
| 42 | |
| 43 | theorem exists_integral_test_fiber_polynomial |
| 44 | {S : Scheme.{0}} {X T : Over S} [IsIntegral T.left] [IsLocallyNoetherian T.left] |
| 45 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (F : HilbertScheme.Presentations.Hilbert.Functor.Family X T) : |
| 46 | ∃ P : Polynomial ℚ, HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial BX F P := by |
| 47 | obtain ⟨P, hP⟩ := exists_integral_test_canonical_fiber_polynomial |
| 48 | (HilbertScheme.Presentations.Hilbert.ClosedAmbientMap.pushforwardFamily BX.closedAmbientEmbedding F) |
| 49 | exact ⟨P, (HilbertScheme.Presentations.Closed.AmbientFiberPolynomial.Core.hasFiberHilbertPolynomial_closedAmbient_iff BX F P).mp hP⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TestHilbertPolynomial |