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.GraphClassifierLift |
| 2 | |
| 3 | /-! # Graph Parameter Universality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphParameterUniversality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The fixed-embedding graph parameter carries a smooth Hilbert family that uniquely classifies every prescribed smooth-source morphism graph. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | local instance graphUniversalityPullbackSmooth {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Smooth A.hom] : |
| 17 | Smooth ((Over.pullback f).obj A).hom := inferInstanceAs (Smooth (Limits.pullback.snd A.hom f)) |
| 18 | |
| 19 | local instance graphUniversalityPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 20 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 21 | |
| 22 | variable {S : Scheme.{u}} [IsNoetherian S] {A B : Over S} {n : ℕ} [IsProper A.hom] |
| 23 | variable (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 24 | |
| 25 | def smoothEmbeddedGraphUniversalFamily : |
| 26 | RelativeProjective.Families.RelativeProjectiveHilbertFamily (EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P).left n P := |
| 27 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left |
| 28 | |
| 29 | theorem smoothEmbeddedGraphUniversalFamily_smooth : |
| 30 | Smooth (smoothEmbeddedGraphUniversalFamily j P).family.scheme.hom := by |
| 31 | have : Smooth (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).family.scheme.hom := SmoothHilbert.Parameter.smoothHilbertUniversalFamily_smooth S n P |
| 32 | exact (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback_smooth (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left |
| 33 | |
| 34 | variable {T : Over S} [Smooth A.hom] [IsSeparated B.hom] |
| 35 | variable (p : {p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B // |
| 36 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p}) |
| 37 | |
| 38 | theorem smoothEmbeddedGraphParameterClassifier_classifies : |
| 39 | (smoothEmbeddedGraphUniversalFamily j P).pullback (GraphClassifierLift.smoothEmbeddedGraphParameterClassifier j P p).left = |
| 40 | Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := by |
| 41 | change ((SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left).pullback _ = _ |
| 42 | rw [RelativeProjective.Families.RelativeProjectiveHilbertFamily.pullback_comp] |
| 43 | have hc := congrArg Over.Hom.left (GraphClassifierLift.smoothEmbeddedGraphParameterClassifier_hilbert j P p) |
| 44 | change (GraphClassifierLift.smoothEmbeddedGraphParameterClassifier j P p).left ≫ (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left = |
| 45 | (EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p).left at hc |
| 46 | rw [hc] |
| 47 | exact EmbeddedGraphClassification.smoothEmbeddedGraphClassifier_classifies (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p |
| 48 | |
| 49 | theorem smoothEmbeddedGraphParameterClassifier_family_existsUnique : |
| 50 | ∃! y : T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P, |
| 51 | (smoothEmbeddedGraphUniversalFamily j P).pullback y.left = |
| 52 | Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := by |
| 53 | refine ⟨GraphClassifierLift.smoothEmbeddedGraphParameterClassifier j P p, smoothEmbeddedGraphParameterClassifier_classifies j P p, ?_⟩ |
| 54 | intro y hy |
| 55 | apply (cancel_mono (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P)).mp |
| 56 | apply (EmbeddedGraphClassification.smoothEmbeddedGraphClassifier_existsUnique (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p).unique |
| 57 | · change (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback (y.left ≫ (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left) = _ |
| 58 | exact ((SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback_comp (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left y.left).symm.trans hy |
| 59 | · have h := smoothEmbeddedGraphParameterClassifier_classifies j P p |
| 60 | exact ((SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback_comp (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left |
| 61 | (GraphClassifierLift.smoothEmbeddedGraphParameterClassifier j P p).left).symm.trans h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphParameterUniversality |