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.Graph.ClassifierFactorization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ParameterPointProjection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.EmbeddedGraphClassification |
| 4 | |
| 5 | /-! # Graph Classifier Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphClassifierLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every smooth-source morphism with the prescribed embedded graph polynomial has a unique point of the constructed graph parameter over its actual Hilbert classifier. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | local instance graphClassifierLiftPullbackSmooth {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Smooth A.hom] : |
| 19 | Smooth ((Over.pullback f).obj A).hom := inferInstanceAs (Smooth (Limits.pullback.snd A.hom f)) |
| 20 | |
| 21 | local instance graphClassifierLiftPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 22 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 23 | |
| 24 | variable {S : Scheme.{u}} [IsNoetherian S] {T : Over S} {A B : Over S} {n : ℕ} |
| 25 | variable [IsProper A.hom] [Smooth A.hom] [IsSeparated B.hom] |
| 26 | variable (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 27 | variable (p : {p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B // |
| 28 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p}) |
| 29 | |
| 30 | omit [AlgebraicGeometry.IsNoetherian S] [IsProper A.hom] in |
| 31 | theorem smoothGraphHilbertClassifier_factorization : |
| 32 | FactorizationPointCondition.HasIsomorphicFactorization (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding (SmoothHilbert.Parameter.smoothHilbertParameter S n P).hom j) |
| 33 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).family.inclusion |
| 34 | (fst ((Over.pullback (SmoothHilbert.Parameter.smoothHilbertParameter S n P).hom).obj A) |
| 35 | ((Over.pullback (SmoothHilbert.Parameter.smoothHilbertParameter S n P).hom).obj B)) |
| 36 | (EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p).left := |
| 37 | Graph.ClassifierFactorization.graphClassifier_hasIsomorphicFactorization (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).family |
| 38 | (EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p) j p.val |
| 39 | (congrArg RelativeProjective.Families.RelativeProjectiveHilbertFamily.family |
| 40 | (EmbeddedGraphClassification.smoothEmbeddedGraphClassifier_classifies (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p)) |
| 41 | |
| 42 | def smoothEmbeddedGraphParameterClassifier : T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P := |
| 43 | (EmbeddedGraphParameters.smoothEmbeddedGraphParameterPointEquiv j P T).symm |
| 44 | ⟨EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p, |
| 45 | smoothGraphHilbertClassifier_factorization j P p⟩ |
| 46 | |
| 47 | theorem smoothEmbeddedGraphParameterClassifier_hilbert : |
| 48 | smoothEmbeddedGraphParameterClassifier j P p ≫ EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P = |
| 49 | EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := by |
| 50 | have h := congrArg Subtype.val ((EmbeddedGraphParameters.smoothEmbeddedGraphParameterPointEquiv j P T).apply_symm_apply |
| 51 | ⟨EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p, |
| 52 | smoothGraphHilbertClassifier_factorization j P p⟩) |
| 53 | change (EmbeddedGraphParameters.smoothEmbeddedGraphParameterPointEquiv j P T (smoothEmbeddedGraphParameterClassifier j P p)).val = _ at h |
| 54 | rwa [Graph.ParameterPointProjection.smoothEmbeddedGraphParameterPointEquiv_val] at h |
| 55 | |
| 56 | theorem smoothEmbeddedGraphParameterClassifier_existsUnique : |
| 57 | ∃! y : T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P, |
| 58 | y ≫ EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P = |
| 59 | EmbeddedGraphClassification.smoothEmbeddedGraphClassifier (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := |
| 60 | ⟨smoothEmbeddedGraphParameterClassifier j P p, smoothEmbeddedGraphParameterClassifier_hilbert j P p, |
| 61 | fun _ hy => (cancel_mono _).mp (hy.trans (smoothEmbeddedGraphParameterClassifier_hilbert j P p).symm)⟩ |
| 62 | |
| 63 | theorem smoothEmbeddedGraphParameterClassifier_injective : |
| 64 | Function.Injective (fun p => smoothEmbeddedGraphParameterClassifier (T := T) j P p) := by |
| 65 | intro p q h |
| 66 | apply EmbeddedGraphClassification.smoothEmbeddedGraphClassifier_injective (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P |
| 67 | exact (smoothEmbeddedGraphParameterClassifier_hilbert j P p).symm.trans |
| 68 | ((congrArg (fun y : T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P => y ≫ EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P) h).trans |
| 69 | (smoothEmbeddedGraphParameterClassifier_hilbert j P q)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphClassifierLift |