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.Geometric.MorphismFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GraphEmbeddingComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.FamilyConjugation |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.GraphHilbertBaseChange |
| 5 | |
| 6 | /-! # Embedded Graph Naturality -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The graph in the fixed product embedding commutes with actual geometric family-morphism pullback, preserving its prescribed Hilbert polynomial. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | local instance Geometric.EmbeddedGraphNaturality.geometricGraphPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Flat A.hom] : |
| 20 | Flat ((Over.pullback f).obj A).hom := inferInstanceAs (Flat (Limits.pullback.snd A.hom f)) |
| 21 | |
| 22 | local instance Geometric.EmbeddedGraphNaturality.geometricGraphPullbackFinitePresentation {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) |
| 23 | [LocallyOfFinitePresentation A.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj A).hom := |
| 24 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd A.hom f)) |
| 25 | |
| 26 | local instance Geometric.EmbeddedGraphNaturality.geometricGraphPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 27 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 28 | |
| 29 | variable {S : Scheme.{u}} {U T : Over S} {A B : Over S} {n : ℕ} |
| 30 | variable [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 31 | variable (f : U ⟶ T) (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 32 | variable (p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B) |
| 33 | |
| 34 | theorem Geometric.EmbeddedGraphNaturality.geometricEmbeddedGraph_baseChange : |
| 35 | ((MorphismGraphFamilies.morphismGraphFamily p).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j)).projectiveBaseChange f.left = |
| 36 | (MorphismGraphFamilies.morphismGraphFamily (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange f p)).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding U.hom j) := by |
| 37 | have h := Graph.FamilyConjugation.morphismGraphFamily_conjugation_reembedding (Single.ParameterBaseChange.singleParameterBaseChangeIso f A) (Single.ParameterBaseChange.singleParameterBaseChangeIso f B) |
| 38 | ((Over.pullback f.left).map p) (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding f.left (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j)) |
| 39 | simp only [Relative.GraphEmbeddingComposition.relativeProjectiveGraphEmbedding_parameter_composition] at h |
| 40 | exact (Embedded.GraphBaseChange.embeddedMorphismGraphFamily_projectiveBaseChange f.left (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) p).trans h.symm |
| 41 | |
| 42 | theorem Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial.geometricBaseChange (P : Polynomial ℚ) |
| 43 | (hp : Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p) : |
| 44 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding U.hom j) P (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange f p) := by |
| 45 | let F := Embedded.GraphHilbertBaseChange.embeddedGraphHilbertFamily (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P ⟨p, hp⟩ |
| 46 | have he : (F.pullback f.left).family = |
| 47 | (MorphismGraphFamilies.morphismGraphFamily (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange f p)).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding U.hom j) := |
| 48 | Geometric.EmbeddedGraphNaturality.geometricEmbeddedGraph_baseChange f j p |
| 49 | intro K _ x |
| 50 | have h := (F.pullback f.left).fieldHilbert K x |
| 51 | rwa [he] at h |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |