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.EmbeddedGraphNaturality |
| 2 | |
| 3 | /-! # Graph Field Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The embedded graph Hilbert condition is detected by geometric base change to every field-valued parameter point. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 11 | universe u |
| 12 | |
| 13 | local instance Geometric.GraphFieldCriterion.graphFieldPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Flat A.hom] : |
| 14 | Flat ((Over.pullback f).obj A).hom := inferInstanceAs (Flat (Limits.pullback.snd A.hom f)) |
| 15 | local instance Geometric.GraphFieldCriterion.graphFieldPullbackFP {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) |
| 16 | [LocallyOfFinitePresentation A.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj A).hom := |
| 17 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd A.hom f)) |
| 18 | local instance Geometric.GraphFieldCriterion.graphFieldPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 19 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 20 | |
| 21 | theorem Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial.of_geometricFieldBaseChanges |
| 22 | {S : Scheme.{u}} {A B : Over S} {n : ℕ} |
| 23 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 24 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 25 | (T : Over S) (p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B) |
| 26 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ T.left), |
| 27 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding (s ≫ T.hom) j) P |
| 28 | (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (Over.homMk s rfl : Over.mk (s ≫ T.hom) ⟶ T) p)) : |
| 29 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P p := by |
| 30 | intro K _ s |
| 31 | let c : Over.mk (s ≫ T.hom) ⟶ T := Over.homMk s rfl |
| 32 | let F := (MorphismGraphFamilies.morphismGraphFamily p).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) |
| 33 | have hF := F.projectiveBaseChange_affine s (𝟙 (Spec (.of K))) |
| 34 | rw [Category.id_comp] at hF |
| 35 | have he := congrArg (fun G : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) => |
| 36 | G.affineProjectivePullback (𝟙 (Spec (.of K)))) (Geometric.EmbeddedGraphNaturality.geometricEmbeddedGraph_baseChange c j p) |
| 37 | have hfamily := hF.symm.trans he |
| 38 | exact (congrArg (fun G : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace K n) => |
| 39 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial G.homogeneousIdeal.toIdeal P) hfamily).mpr |
| 40 | (h K s K (𝟙 (Spec (.of K)))) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |