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.Quasicoherent.IsoImage |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.ModuleSquares |
| 4 | |
| 5 | /-! # Quasicoherent Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Quasicoherent sections on any affine scheme localize on its intrinsic principal opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem affine_quasicoherent_sections_localize {X : Scheme.{u}} [IsAffine X] |
| 18 | (M : X.Modules) [M.IsQuasicoherent] (r : Γ(X, ⊤)) : |
| 19 | IsLocalizedModule.Away r |
| 20 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).map (X.basicOpen r).leTop.op).hom := by |
| 21 | let f := X.toSpecΓ |
| 22 | let c := (Scheme.ΓSpecIso (.of Γ(X, ⊤))).inv.hom |
| 23 | let N := (pushforward f).obj M |
| 24 | let U : (Spec (.of Γ(X, ⊤))).Opens := PrimeSpectrum.basicOpen r |
| 25 | have : N.IsQuasicoherent := Quasicoherent.IsoImage.modulePushforward_quasicoherent_of_isIso f M |
| 26 | have ha : IsLocalizedModule.Away r ((Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map U.leTop.op).hom := |
| 27 | (isIso_fromTildeΓ_iff_isLocalizing N).mp inferInstance r |
| 28 | have hb := Localized.ModuleSquares.isLocalizedModule_of_linearEquiv_square (.powers r) |
| 29 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map U.leTop.op).hom |
| 30 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp c) M).map |
| 31 | ((TopologicalSpace.Opens.map f.base).map U.leTop).op).hom |
| 32 | (Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv f c M ⊤) |
| 33 | (Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv f c M U) |
| 34 | (Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv_naturality f c M U.leTop) |
| 35 | have hc : f.appTop.hom.comp c = RingHom.id Γ(X, ⊤) := by |
| 36 | ext a |
| 37 | change X.toSpecΓ.appTop ((Scheme.ΓSpecIso (.of Γ(X, ⊤))).inv a) = a |
| 38 | rw [Scheme.toSpecΓ_appTop] |
| 39 | exact (Scheme.ΓSpecIso (.of Γ(X, ⊤))).inv_hom_id_apply a |
| 40 | rw [hc] at hb |
| 41 | have hU : f ⁻¹ᵁ U = X.basicOpen r := X.toSpecΓ_preimage_basicOpen r |
| 42 | change IsLocalizedModule.Away r |
| 43 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).map |
| 44 | (homOfLE (show f ⁻¹ᵁ U ≤ ⊤ from le_top)).op).hom at hb |
| 45 | rw [hU] at hb |
| 46 | exact hb |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentLocalization |