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.Hilbert.PolynomialSubfunctor |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalPolynomial |
| 3 | |
| 4 | /-! # Polynomial Transformation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.PolynomialTransformation.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed bounded Hilbert universal family defines a natural |
| 11 | map into the exact native polynomial Hilbert subfunctor on every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] (n N : ℕ) |
| 17 | variable (S : Scheme.{u}) [IsLocallyNoetherian S] (q : ℕ → ℕ) (P : Polynomial ℚ) |
| 18 | variable (hP : DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) |
| 19 | |
| 20 | def boundedHilbertPolynomialTransformation : yoneda.obj (Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S q) ⟶ |
| 21 | (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) P).toFunctor where |
| 22 | app T := ↾fun x => ⟨Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 23 | (UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S q), |
| 24 | FiberPolynomialBaseChange.Core.hasFiberHilbertPolynomial_pullback (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) x |
| 25 | (UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily n N S q) P (UniversalPolynomial.GradedHilbert.boundedHilbertUniversalFamily_hasFiberHilbertPolynomial n N S q P hP)⟩ |
| 26 | naturality T U f := by |
| 27 | apply ConcreteCategory.hom_ext |
| 28 | intro x |
| 29 | apply Subtype.ext |
| 30 | exact Hilbert.Functor.pullbackFamily_comp (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) f.unop x _ |
| 31 | |
| 32 | theorem boundedHilbertPolynomialTransformation_inclusion : |
| 33 | boundedHilbertPolynomialTransformation (ι := ι) n N S q P hP ≫ |
| 34 | (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) P).ι = |
| 35 | UniversalFamily.GradedHilbert.boundedHilbertUniversalTransformation (ι := ι) n N S q := rfl |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.PolynomialTransformation.GradedHilbert |