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.AbelianModuli.HilbertConstruction.Smooth.GeneratedUniversalClassification |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.ClassificationTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.ParameterScheme |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyPoints |
| 5 | |
| 6 | /-! # Universal Classification -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SmoothHilbert.UniversalClassification |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The specified quasi-projective Hilbert parameter and its actual universal family uniquely classify every smooth Hilbert family over arbitrary test schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem hilbertUniversalFamily_existsUnique_smooth |
| 19 | {S : Scheme.{u}} {T : Over S} {n : ℕ} {P : Polynomial ℚ} |
| 20 | (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P) [Smooth F.family.scheme.hom] : |
| 21 | ∃! g : T ⟶ Hilbert.ParameterScheme.hilbertParameterScheme S n P, (Hilbert.ParameterScheme.hilbertUniversalFamily S n P).pullback g.left = F := by |
| 22 | classical |
| 23 | unfold Hilbert.ParameterScheme.hilbertUniversalFamily Hilbert.ParameterScheme.hilbertParameterScheme |
| 24 | split_ifs with h |
| 25 | · apply Hilbert.ClassificationTransport.hilbertClassifier_existsUnique_of_eq (ite_eq_left h) |
| 26 | exact HilbertConstruction.Smooth.GeneratedUniversalClassification.generatedUniversalFamily_existsUnique_smooth F le_rfl |
| 27 | (Hilbert.ParameterScheme.hilbertParameterTruncation_flat n P) (Hilbert.ParameterScheme.hilbertParameterTruncation_test n P) h |
| 28 | · apply Hilbert.ClassificationTransport.hilbertClassifier_existsUnique_of_eq (ite_eq_right h) |
| 29 | have : IsEmpty T.left := F.isEmpty_of_failedRankTest le_rfl h |
| 30 | exact ⟨EmptyProjectiveParameters.overEmptySourceMap T (EmptyProjectiveParameters.emptyProjectiveParameter S), Subsingleton.elim _ _, |
| 31 | fun g _ => EmptyProjectiveParameters.overEmptySourceMap_unique g _⟩ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SmoothHilbert.UniversalClassification |