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.PointedMapFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StalkPullbackDetection |
| 3 | |
| 4 | /-! # Pointed Map Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.PointedMapFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! All field-valued base changes detect pointed morphisms 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.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem embeddedPointedMap_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) |
| 23 | (hf : η[A.scheme] ≫ f = η[B.scheme]) (hq : η[A.scheme] ≫ q = η[B.scheme]) |
| 24 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 25 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 26 | have : IsLocallyNoetherian A.scheme.left := LocallyOfFiniteType.isLocallyNoetherian A.scheme.hom |
| 27 | apply StalkPullbackDetection.overHom_eq_of_stalkPullbacks |
| 28 | intro x |
| 29 | have hR : IsNoetherianRing (S.presheaf.stalk x) := |
| 30 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 31 | (X := S) (x := x) |
| 32 | let b := S.fromSpecStalk x |
| 33 | have hj : IsClosedImmersion (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j).left := |
| 34 | RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding_closed b j |
| 35 | have hfp : η[(A.pullback b).scheme] ≫ (Over.pullback b).map f = η[(B.pullback b).scheme] := |
| 36 | (MappedMonoidHomEquations.mappedMonoidHom_one_iff (Over.pullback b) f).mpr (congrArg (Over.pullback b).map hf) |
| 37 | have hqp : η[(A.pullback b).scheme] ≫ (Over.pullback b).map q = η[(B.pullback b).scheme] := |
| 38 | (MappedMonoidHomEquations.mappedMonoidHom_one_iff (Over.pullback b) q).mpr (congrArg (Over.pullback b).map hq) |
| 39 | refine @Local.PointedMapFieldDetection.localPointedMap_eq_of_fieldPullbacks (S.presheaf.stalk x) _ hR _ _ _ _ |
| 40 | (A.pullback b) (B.pullback b) (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding b j) hj |
| 41 | ((Over.pullback b).map f) ((Over.pullback b).map q) hfp hqp ?_ |
| 42 | intro K _ s |
| 43 | exact (Iterated.PullbackMapEquality.overPullback_map_eq_iff_iterated s b f q).mp (h K (s ≫ b)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.PointedMapFieldDetection |