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.Local.HomFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StalkPullbackDetection |
| 3 | |
| 4 | /-! # Hom Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.HomFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! All field-valued base changes detect native homomorphisms of abelian schemes over a locally noetherian base when their product admits a relative projective embedding. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem embeddedAbelianHom_eq_of_fieldPullbacks |
| 19 | {S : Scheme.{u}} [IsLocallyNoetherian S] {g h n : ℕ} |
| 20 | (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 21 | (j : A.scheme ⊗ B.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) |
| 22 | [IsClosedImmersion j.left] (f q : A.scheme ⟶ B.scheme) [IsMonHom f] [IsMonHom q] |
| 23 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 24 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 25 | have : IsLocallyNoetherian A.scheme.left := LocallyOfFiniteType.isLocallyNoetherian A.scheme.hom |
| 26 | apply StalkPullbackDetection.overHom_eq_of_stalkPullbacks |
| 27 | intro x |
| 28 | have hR : IsNoetherianRing (S.presheaf.stalk x) := |
| 29 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 30 | (X := S) (x := x) |
| 31 | let b := S.fromSpecStalk x |
| 32 | have hj : IsClosedImmersion (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j).left := |
| 33 | RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding_closed b j |
| 34 | have hf : IsMonHom ((Over.pullback b).map f) := |
| 35 | inferInstance |
| 36 | have hq : IsMonHom ((Over.pullback b).map q) := |
| 37 | inferInstance |
| 38 | refine @Local.HomFieldDetection.localAbelianHom_eq_of_fieldPullbacks (S.presheaf.stalk x) _ hR _ _ _ _ |
| 39 | (A.pullback b) (B.pullback b) (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) hj |
| 40 | ((Over.pullback b).map f) ((Over.pullback b).map q) hf hq ?_ |
| 41 | intro K _ s |
| 42 | exact (Iterated.PullbackMapEquality.overPullback_map_eq_iff_iterated s b f q).mp (h K (s ≫ b)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.HomFieldDetection |