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.Embedded.GraphHilbertBaseChange |
| 2 | |
| 3 | /-! # Field Pullback Equality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The Hilbert-polynomial bound on an embedded graph depends only on all field-valued pullbacks of its underlying morphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem Graph.FieldPullbackEquality.embeddedGraph_affinePullback_eq_of_map_eq |
| 17 | {S : Scheme.{u}} {A B : Over S} {n : ℕ} |
| 18 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 19 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 20 | (f q : A ⟶ B) {R : CommRingCat.{u}} (s : Spec R ⟶ S) |
| 21 | (h : (Over.pullback s).map f = (Over.pullback s).map q) : |
| 22 | ((MorphismGraphFamilies.morphismGraphFamily f).reembed j).affineProjectivePullback s = |
| 23 | ((MorphismGraphFamilies.morphismGraphFamily q).reembed j).affineProjectivePullback s := by |
| 24 | have he : ((MorphismGraphFamilies.morphismGraphFamily f).reembed j).projectiveBaseChange s = |
| 25 | ((MorphismGraphFamilies.morphismGraphFamily q).reembed j).projectiveBaseChange s := by |
| 26 | rw [Embedded.GraphBaseChange.embeddedMorphismGraphFamily_projectiveBaseChange, Embedded.GraphBaseChange.embeddedMorphismGraphFamily_projectiveBaseChange, h] |
| 27 | have H := congrArg (fun F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec R) n) => |
| 28 | F.affineProjectivePullback (𝟙 _)) he |
| 29 | simpa only [Closed.Families.FlatClosedFamily.projectiveBaseChange_affine, Category.id_comp] using H |
| 30 | |
| 31 | theorem Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial.of_fieldPullback_eq |
| 32 | {S : Scheme.{u}} {A B : Over S} {n : ℕ} |
| 33 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 34 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 35 | {f q : A ⟶ B} (hf : Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P f) |
| 36 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 37 | (Over.pullback s).map f = (Over.pullback s).map q) : |
| 38 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P q := by |
| 39 | intro K _ s |
| 40 | have he := Graph.FieldPullbackEquality.embeddedGraph_affinePullback_eq_of_map_eq j f q s (h K s) |
| 41 | exact (congrArg (fun F => HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 42 | (Closed.Families.FlatClosedFamily.homogeneousIdeal F).toIdeal P) he).mp (hf K s) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |