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.Spec.QuasicoherentKernels |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.RestrictionLimits |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.IsoImage |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |
| 5 | |
| 6 | /-! # Kernels -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Kernels |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Kernels of morphisms of quasicoherent scheme modules are quasicoherent. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem affine_quasicoherent_kernel {X : Scheme.{u}} [IsAffine X] |
| 19 | {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] (f : M ⟶ N) : |
| 20 | (kernel f).IsQuasicoherent := by |
| 21 | let F := pushforward X.toSpecΓ |
| 22 | have : (F.obj M).IsQuasicoherent := IsoImage.modulePushforward_quasicoherent_of_isIso X.toSpecΓ M |
| 23 | have : (F.obj N).IsQuasicoherent := IsoImage.modulePushforward_quasicoherent_of_isIso X.toSpecΓ N |
| 24 | have hk : (kernel (F.map f)).IsQuasicoherent := HilbertConstruction.Spec.QuasicoherentKernels.spec_quasicoherent_kernel (F.map f) |
| 25 | have : (F.obj (kernel f)).IsQuasicoherent := |
| 26 | (SheafOfModules.isQuasicoherent (Spec Γ(X, ⊤)).ringCatSheaf).prop_of_iso |
| 27 | (PreservesKernel.iso F f).symm hk |
| 28 | have hr : ((F.obj (kernel f)).restrict X.toSpecΓ).IsQuasicoherent := inferInstance |
| 29 | exact (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso |
| 30 | ((restrictFunctorAdjCounitIso X.toSpecΓ).app (kernel f)) hr |
| 31 | |
| 32 | theorem module_quasicoherent_kernel {X : Scheme.{u}} |
| 33 | {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] (f : M ⟶ N) : |
| 34 | (kernel f).IsQuasicoherent := by |
| 35 | apply Module.QuasicoherenceLocality.module_quasicoherent_of_affine_restrictions |
| 36 | intro U |
| 37 | have : IsAffine U.1.toScheme := U.2 |
| 38 | let F := restrictFunctor U.1.ι |
| 39 | have : PreservesLimits F := Module.RestrictionLimits.moduleRestrictFunctor_preservesLimits U.1.ι |
| 40 | have hk : (kernel (F.map f)).IsQuasicoherent := affine_quasicoherent_kernel (F.map f) |
| 41 | exact (SheafOfModules.isQuasicoherent U.1.toScheme.ringCatSheaf).prop_of_iso |
| 42 | (PreservesKernel.iso F f).symm hk |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Kernels |