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 Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.ModuleDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeometricSections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentPullback |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image |
| 6 | |
| 7 | /-! # Closed Module Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ClosedModuleDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual pullback-pushforward unit is invertible for a quasicoherent |
| 14 | module annihilated by the ideal of an affine closed immersion. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem affineModule_unit_isIso_of_kernel_annihilates |
| 22 | {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] (f : X ⟶ Y) |
| 23 | (hf : Function.Surjective f.appTop.hom) |
| 24 | (M : Y.Modules) [M.IsQuasicoherent] |
| 25 | (h : RingHom.ker f.appTop.hom ≤ Module.annihilator Γ(Y, ⊤) Γ(M, ⊤)) : |
| 26 | IsIso ((pullbackPushforwardAdjunction f).unit.app M) := by |
| 27 | let P := (pullback f).obj M |
| 28 | have : P.IsQuasicoherent := QuasicoherentPullback.affine_pullback_quasicoherent f M |
| 29 | have : ((pushforward f).obj P).IsQuasicoherent := |
| 30 | Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f P |
| 31 | let a : M ⟶ (pushforward f).obj P := (pullbackPushforwardAdjunction f).unit.app M |
| 32 | have hunit : IsIso ((ModuleCat.extendRestrictScalarsAdj f.appTop.hom).unit.app |
| 33 | ((SectionAdjunction.AffineSectionAdjunction.sections Y).obj M)) := |
| 34 | Quotient.ModuleDescent.quotientModule_unit_isIso f.appTop.hom hf _ h |
| 35 | have he : IsIso ((SectionAdjunction.AffineSectionAdjunction.sections Y).map a ≫ |
| 36 | (SectionAdjunction.AffineSectionAdjunction.pushforwardIso f).hom.app P) := by |
| 37 | rw [← GeometricSections.AffineGeometricSections.normalization f M, Adjunction.homEquiv_unit] |
| 38 | infer_instance |
| 39 | have ha : IsIso ((SectionAdjunction.AffineSectionAdjunction.sections Y).map a) := |
| 40 | IsIso.of_isIso_comp_right _ ((SectionAdjunction.AffineSectionAdjunction.pushforwardIso f).hom.app P) |
| 41 | exact ModuleGlobalSectionsIsomorphism.affineModule_isIso_of_globalSections_isIso |
| 42 | (M := M) (N := (pushforward f).obj P) a ha |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ClosedModuleDescent |