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.GraphLocalPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.IntrinsicBoundedHomDetection |
| 3 | |
| 4 | /-! # Local Hom Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalHomFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Field-valued pullbacks detect homomorphisms of fixed Noetherian abelian families after any local-ring base change. The common graph bound is constructed from the actual smooth graph. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | universe u |
| 14 | |
| 15 | theorem relativeLocalAbelianHom_eq_of_fieldPullbacks |
| 16 | {S : Scheme.{u}} [IsNoetherian S] {g h n : ℕ} |
| 17 | (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 18 | (j : A.scheme ⊗ B.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 19 | {R : Type u} [CommRing R] [IsLocalRing R] (b : Spec (.of R) ⟶ S) |
| 20 | (f q : (A.pullback b).scheme ⟶ (B.pullback b).scheme) [hfMon : IsMonHom f] [hqMon : IsMonHom q] |
| 21 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ Spec (.of R)), |
| 22 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 23 | have : Smooth ((Over.pullback b).obj A.scheme).hom := |
| 24 | inferInstanceAs (Smooth (A.pullback b).scheme.hom) |
| 25 | have : IsSeparated ((Over.pullback b).obj B.scheme).hom := |
| 26 | inferInstanceAs (IsSeparated (B.pullback b).scheme.hom) |
| 27 | have hj : IsClosedImmersion (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j).left := |
| 28 | RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding_closed b j |
| 29 | obtain ⟨P, hf⟩ := HilbertConstruction.Smooth.GraphLocalPolynomial.smoothGraph_exists_localHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) f |
| 30 | have hq : Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) P q := |
| 31 | hf.of_fieldPullback_eq (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) P h |
| 32 | exact IntrinsicBoundedHomDetection.relativeNativeBoundedAbelianHom_eq_of_fieldPullbacks A B j P (Over.mk b) f q hf hq h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalHomFieldDetection |