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.GraphParameterUniversality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ParameterPointRecovery |
| 3 | |
| 4 | /-! # Graph Parameter Point Equivalence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphParameterPointEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Points of the actual quasi-projective graph parameter are equivalent to all test-scheme morphisms with the prescribed graph Hilbert polynomial. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | local instance graphPointEquivPullbackSmooth {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Smooth A.hom] : |
| 18 | Smooth ((Over.pullback f).obj A).hom := inferInstanceAs (Smooth (Limits.pullback.snd A.hom f)) |
| 19 | |
| 20 | local instance graphPointEquivPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 21 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 22 | |
| 23 | variable {S : Scheme.{u}} [IsNoetherian S] {T : Over S} {A B : Over S} {n : ℕ} |
| 24 | variable [IsProper A.hom] [Smooth A.hom] [IsSeparated B.hom] |
| 25 | variable (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 26 | |
| 27 | theorem smoothEmbeddedGraphParameterClassifier_surjective : |
| 28 | Function.Surjective (fun p => GraphClassifierLift.smoothEmbeddedGraphParameterClassifier (T := T) j P p) := by |
| 29 | intro y |
| 30 | let e := EmbeddedGraphParameters.smoothEmbeddedGraphParameterPointEquiv j P T |
| 31 | let c : T ⟶ SmoothHilbert.Parameter.smoothHilbertParameter S n P := (e y).val |
| 32 | have hc : c = y ≫ EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P := Graph.ParameterPointProjection.smoothEmbeddedGraphParameterPointEquiv_val j P T y |
| 33 | obtain ⟨p, hp, _⟩ := (Graph.ParameterPointRecovery.graphParameter_factorization_iff_existsUnique |
| 34 | (SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).family c j).mp (e y).property |
| 35 | have hpoly : Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := by |
| 36 | intro K _ x |
| 37 | rw [hp] |
| 38 | exact ((SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback c.left).fieldHilbert K x |
| 39 | let q := (⟨p, hpoly⟩ : {p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B // |
| 40 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p}) |
| 41 | have hy : (GraphParameterUniversality.smoothEmbeddedGraphUniversalFamily j P).pullback y.left = |
| 42 | Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P q := by |
| 43 | apply RelativeProjective.Families.RelativeProjectiveHilbertFamily.ext |
| 44 | have hcomp := congrArg RelativeProjective.Families.RelativeProjectiveHilbertFamily.family |
| 45 | ((SmoothHilbert.Parameter.smoothHilbertUniversalFamily S n P).pullback_comp (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left y.left) |
| 46 | have hc' : c.left = y.left ≫ (EmbeddedGraphParameters.smoothEmbeddedGraphParameterHilbertMap j P).left := congrArg Over.Hom.left hc |
| 47 | rw [← hc'] at hcomp |
| 48 | exact hcomp.trans hp.symm |
| 49 | exact ⟨q, (GraphParameterUniversality.smoothEmbeddedGraphParameterClassifier_family_existsUnique j P q).unique |
| 50 | (GraphParameterUniversality.smoothEmbeddedGraphParameterClassifier_classifies j P q) hy⟩ |
| 51 | |
| 52 | def smoothEmbeddedGraphParameterMorphismEquiv (T : Over S) : |
| 53 | (T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P) ≃ |
| 54 | {p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B // |
| 55 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p} := |
| 56 | (Equiv.ofBijective (fun p => GraphClassifierLift.smoothEmbeddedGraphParameterClassifier (T := T) j P p) |
| 57 | ⟨GraphClassifierLift.smoothEmbeddedGraphParameterClassifier_injective j P, smoothEmbeddedGraphParameterClassifier_surjective j P⟩).symm |
| 58 | |
| 59 | theorem smoothEmbeddedGraphParameterMorphismEquiv_classifies (T : Over S) (y : T ⟶ EmbeddedGraphParameters.smoothEmbeddedGraphParameter j P) : |
| 60 | (GraphParameterUniversality.smoothEmbeddedGraphUniversalFamily j P).pullback y.left = |
| 61 | Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P |
| 62 | (smoothEmbeddedGraphParameterMorphismEquiv j P T y) := by |
| 63 | have he := (smoothEmbeddedGraphParameterMorphismEquiv j P T).symm_apply_apply y |
| 64 | change GraphClassifierLift.smoothEmbeddedGraphParameterClassifier j P (smoothEmbeddedGraphParameterMorphismEquiv j P T y) = y at he |
| 65 | have h := GraphParameterUniversality.smoothEmbeddedGraphParameterClassifier_classifies j P (smoothEmbeddedGraphParameterMorphismEquiv j P T y) |
| 66 | rwa [he] at h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GraphParameterPointEquivalence |