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.EmbeddedGraphFamilies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SmoothHilbert.UniversalProperty |
| 3 | |
| 4 | /-! # Embedded Graph Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.EmbeddedGraphClassification |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth morphism graphs with a prescribed Hilbert polynomial have faithful, unique classifiers in the actual smooth Hilbert parameter over arbitrary test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {T : Over S} {A B : Over T.left} {n : ℕ} |
| 18 | variable [Smooth A.hom] [IsSeparated B.hom] |
| 19 | variable (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver T.left n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 20 | |
| 21 | theorem smoothEmbeddedGraphClassifier_existsUnique |
| 22 | (p : {p : A ⟶ B // Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P p}) : |
| 23 | ∃! c : T ⟶ SmoothHilbert.Parameter.smoothHilbertParameter S n P, |
| 24 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback c.left = Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily j P p := |
| 25 | SmoothHilbert.UniversalProperty.smoothHilbertUniversalFamily_existsUnique |
| 26 | ⟨Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily j P p, EmbeddedGraphFamilies.embeddedGraphHilbertFamily_smooth j P p⟩ |
| 27 | |
| 28 | def smoothEmbeddedGraphClassifier |
| 29 | (p : {p : A ⟶ B // Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P p}) : T ⟶ SmoothHilbert.Parameter.smoothHilbertParameter S n P := |
| 30 | (smoothEmbeddedGraphClassifier_existsUnique j P p).choose |
| 31 | |
| 32 | theorem smoothEmbeddedGraphClassifier_classifies |
| 33 | (p : {p : A ⟶ B // Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P p}) : |
| 34 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback (smoothEmbeddedGraphClassifier j P p).left = |
| 35 | Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily j P p := |
| 36 | (smoothEmbeddedGraphClassifier_existsUnique j P p).choose_spec.1 |
| 37 | |
| 38 | theorem smoothEmbeddedGraphClassifier_injective : |
| 39 | Function.Injective (fun p => smoothEmbeddedGraphClassifier j P p) := by |
| 40 | intro p q h |
| 41 | apply Subtype.ext |
| 42 | apply EmbeddedGraphFamilies.embeddedMorphismGraphFamily_injective j |
| 43 | have he := (smoothEmbeddedGraphClassifier_classifies j P p).symm.trans |
| 44 | ((congrArg (fun c : T ⟶ SmoothHilbert.Parameter.smoothHilbertParameter S n P => |
| 45 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback c.left) h).trans |
| 46 | (smoothEmbeddedGraphClassifier_classifies j P q)) |
| 47 | exact congrArg RelativeProjective.Families.RelativeProjectiveHilbertFamily.family he |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.EmbeddedGraphClassification |