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.IntrinsicBoundedPointedDetection |
| 3 | |
| 4 | /-! # Local Pointed Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalPointedFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Field pullbacks detect pointed maps of fixed Noetherian abelian families after every local-ring base change, with the graph bound constructed from the actual smooth graph. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | universe u |
| 14 | |
| 15 | theorem relativeLocalPointedMap_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) |
| 21 | (hf : η[(A.pullback b).scheme] ≫ f = η[(B.pullback b).scheme]) |
| 22 | (hq : η[(A.pullback b).scheme] ≫ q = η[(B.pullback b).scheme]) |
| 23 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ Spec (.of R)), |
| 24 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 25 | have : Smooth ((Over.pullback b).obj A.scheme).hom := inferInstanceAs (Smooth (A.pullback b).scheme.hom) |
| 26 | have : IsSeparated ((Over.pullback b).obj B.scheme).hom := inferInstanceAs (IsSeparated (B.pullback b).scheme.hom) |
| 27 | obtain ⟨P, hpf⟩ := HilbertConstruction.Smooth.GraphLocalPolynomial.smoothGraph_exists_localHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) f |
| 28 | have hpq : Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) P q := |
| 29 | hpf.of_fieldPullback_eq (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) P h |
| 30 | exact IntrinsicBoundedPointedDetection.relativeNativeBoundedPointedMap_eq_of_fieldPullbacks A B j P (Over.mk b) f q hf hq hpf hpq h |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalPointedFieldDetection |