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.Affine.CoordinateLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.RingSectionBasis |
| 3 | import Mathlib.RingTheory.LocalProperties.Submodule |
| 4 | |
| 5 | /-! # Detected By Local Coefficients -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DetectedByLocalCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual section vanishes if all of its pullbacks to the local |
| 12 | coefficient rings at maximal ideals vanish. No reducedness assumption |
| 13 | or finite generation of its global section module is used. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {S X : Scheme.{u}} [IsAffine S] [CompactSpace X] |
| 19 | variable [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 20 | |
| 21 | theorem section_eq_zero_of_localCoefficientPullbacks |
| 22 | (f : X ⟶ S) (L : Line.Bundles.LineBundle X) (s : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 23 | (hs : ∀ (p : Ideal Γ(S, ⊤)) [p.IsMaximal], |
| 24 | Ample.LineBundles.pullbackSection (pullback.fst f |
| 25 | (Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) (Localization.AtPrime p)))) s = 0) : s = 0 := by |
| 26 | let q (p : Ideal Γ(S, ⊤)) [p.IsMaximal] := |
| 27 | Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) (Localization.AtPrime p)) |
| 28 | let V := (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj L.sheaf |
| 29 | let W (p : Ideal Γ(S, ⊤)) [p.IsMaximal] := |
| 30 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj |
| 31 | ((Scheme.Modules.pushforward (pullback.fst f (q p))).obj |
| 32 | ((Scheme.Modules.pullback (pullback.fst f (q p))).obj L.sheaf)) |
| 33 | let F (p : Ideal Γ(S, ⊤)) [p.IsMaximal] : V →ₗ[Γ(S, ⊤)] W p := |
| 34 | ((Coefficient.PullbackSectionMap.coefficientPullbackSectionPresheafMap (pullback.fst f (q p)) f.appTop.hom L.sheaf).app (.op ⊤)).hom |
| 35 | have hloc : ∀ (p : Ideal Γ(S, ⊤)) [p.IsMaximal], IsLocalizedModule p.primeCompl (F p) := |
| 36 | fun p _ => Affine.CoordinateLocalization.affineCoordinateLocalization_sections f L p.primeCompl (Localization.AtPrime p) |
| 37 | let e := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv f.appTop.hom L.sheaf |
| 38 | have hz : e s = 0 := by |
| 39 | apply @Module.eq_zero_of_localization_maximal Γ(S, ⊤) V _ _ _ |
| 40 | (fun p _ => W p) (fun p _ => inferInstance) (fun p _ => inferInstance) |
| 41 | (fun p _ => F p) hloc (e s) |
| 42 | intro p _ |
| 43 | have h := congrArg (Global.Sections.moduleSectionHomEquiv |
| 44 | ((Scheme.Modules.pullback (pullback.fst f (q p))).obj L.sheaf)) (hs p) |
| 45 | rw [Pullback.SectionGlobalValue.pullbackSection_globalValue] at h |
| 46 | exact h |
| 47 | exact e.injective (hz.trans e.map_zero.symm) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DetectedByLocalCoefficients |