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.UnrealizablePolynomialEmpty |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmptyIntrinsicFamilies |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmptyProjectiveParameter |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.PolynomialSubfunctor |
| 5 | import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono |
| 6 | |
| 7 | /-! # Unrealizable Representation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.UnrealizableRepresentation.Core |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Unrealizable Hilbert polynomials have the actual empty projective |
| 14 | scheme as their representing object on every test scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} {X : Over S} (B : Has.Core.ProjectivePresentation X) (P : Polynomial ℚ) |
| 20 | |
| 21 | def emptyPolynomialHilbertPointMap : |
| 22 | yoneda.obj (EmptyProjectiveParameter.Core.emptyParameterOver S) ⟶ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor B P).toFunctor where |
| 23 | app T := ↾fun a => by |
| 24 | let : IsEmpty T.unop.left := a.left.base.hom.1.isEmpty |
| 25 | exact ⟨EmptyIntrinsicFamilies.Hilbert.emptyBaseFamily X T.unop, |
| 26 | EmptyIntrinsicFamilies.Statement.emptyBaseFamily_hasFiberHilbertPolynomial B _ P⟩ |
| 27 | naturality T U a := by |
| 28 | apply ConcreteCategory.hom_ext |
| 29 | intro b |
| 30 | apply Subtype.ext |
| 31 | let : IsEmpty U.unop.left := (a.unop.left ≫ b.left).base.hom.1.isEmpty |
| 32 | exact (EmptyIntrinsicFamilies.Hilbert.family_subsingleton_of_isEmpty X U.unop).elim _ _ |
| 33 | |
| 34 | theorem emptyPolynomialHilbertPointMap_isIso (N : ℕ) |
| 35 | (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} B.dimension P ≤ N) |
| 36 | (h : ¬ BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} B.dimension N |
| 37 | (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} B.dimension N P) P) : |
| 38 | IsIso (emptyPolynomialHilbertPointMap B P) := by |
| 39 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 40 | intro T |
| 41 | apply (isIso_iff_bijective _).mpr |
| 42 | constructor |
| 43 | · intro a b _ |
| 44 | exact (EmptyProjectiveParameter.Core.emptyParameter_hom_subsingleton T.unop).elim a b |
| 45 | · intro F |
| 46 | let : IsEmpty T.unop.left := UnrealizablePolynomialEmpty.Core.polynomial_family_isEmpty_of_unrealizable B F.val P F.property N hN h |
| 47 | refine ⟨EmptyProjectiveParameter.Core.emptyTestParameter T.unop, ?_⟩ |
| 48 | apply Subtype.ext |
| 49 | exact (EmptyIntrinsicFamilies.Hilbert.family_subsingleton_of_isEmpty X T.unop).elim _ _ |
| 50 | |
| 51 | def unrealizableHilbertPolynomialRepresentation (N : ℕ) |
| 52 | (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} B.dimension P ≤ N) |
| 53 | (h : ¬ BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} B.dimension N |
| 54 | (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} B.dimension N P) P) : |
| 55 | yoneda.obj (EmptyProjectiveParameter.Core.emptyParameterOver S) ≅ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor B P).toFunctor := by |
| 56 | let := emptyPolynomialHilbertPointMap_isIso B P N hN h |
| 57 | exact asIso (emptyPolynomialHilbertPointMap B P) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.UnrealizableRepresentation.Core |