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.ProjectiveAmbientNaturality |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.DegreeLocus |
| 3 | |
| 4 | /-! # Bounded Polynomial Family -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.BoundedPolynomialFamily.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Bounded polynomial parameters give a natural map to the native Hilbert |
| 11 | functor of projective space over the original base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _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 | variable (q : ℕ → ℕ) |
| 20 | |
| 21 | def globalBoundedPolynomialFamily {T : Over S} (x : T ⟶ M) |
| 22 | (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 23 | Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T := |
| 24 | ProjectiveAmbient.GradedHilbert.polynomialFamilyOverOriginalBase M x (Intrinsic.PolynomialFamily.GradedHilbert.boundedNativePolynomialFamily M g N hg q x hx) |
| 25 | |
| 26 | theorem globalBoundedPolynomialFamily_baseChange {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) |
| 27 | (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 28 | globalBoundedPolynomialFamily M g N hg q (a ≫ x) |
| 29 | ((Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).map a.op hx) = |
| 30 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a (globalBoundedPolynomialFamily M g N hg q x hx) := by |
| 31 | dsimp only [globalBoundedPolynomialFamily] |
| 32 | rw [Intrinsic.PolynomialNaturality.GradedHilbert.boundedNativePolynomialFamily_baseChange, ProjectiveAmbientNaturality.GradedHilbert.polynomialFamilyOverOriginalBase_baseChange] |
| 33 | |
| 34 | def boundedPolynomialFamilyTransformation : |
| 35 | (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).toFunctor ⟶ |
| 36 | Hilbert.Functor.familyFunctor (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) where |
| 37 | app T := ↾fun x => globalBoundedPolynomialFamily M g N hg q x.val x.property |
| 38 | naturality T U a := by |
| 39 | ext x |
| 40 | exact globalBoundedPolynomialFamily_baseChange M g N hg q a.unop x.val x.property |
| 41 | |
| 42 | def boundedHilbertPolynomialFamilyTransformation : |
| 43 | (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor M g N hg q).toFunctor ⟶ |
| 44 | Hilbert.Functor.familyFunctor (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) where |
| 45 | app T := ↾fun x => globalBoundedPolynomialFamily M g N hg q x.val |
| 46 | (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x.val x.property) |
| 47 | naturality T U a := by |
| 48 | ext x |
| 49 | exact globalBoundedPolynomialFamily_baseChange M g N hg q a.unop x.val |
| 50 | (BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x.val x.property) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.BoundedPolynomialFamily.GradedHilbert |