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.Coefficient.ModulePresheaf |
| 2 | |
| 3 | /-! # Global Sections Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual global sections of a sheaf of modules, as modules over a chosen coefficient ring, form a functor. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 16 | |
| 17 | def coefficientGlobalSectionsFunctor (f : R →+* Γ(X, ⊤)) : X.Modules ⥤ ModuleCat.{u} R := |
| 18 | SheafOfModules.forget X.ringCatSheaf ⋙ |
| 19 | PresheafOfModules.forgetToPresheafModuleCat (.op (⊤ : X.Opens)) isTerminalTop.op ⋙ |
| 20 | (evaluation _ _).obj (.op (⊤ : X.Opens)) ⋙ ModuleCat.restrictScalars f |
| 21 | |
| 22 | def schemeGlobalSectionsFunctor (p : X ⟶ Spec (.of R)) : X.Modules ⥤ ModuleCat.{u} R := |
| 23 | coefficientGlobalSectionsFunctor (ModulePresheaf.schemeCoefficientMap p) |
| 24 | |
| 25 | theorem schemeGlobalSectionsFunctor_obj (p : X ⟶ Spec (.of R)) (M : X.Modules) : |
| 26 | (schemeGlobalSectionsFunctor p).obj M = (ModulePresheaf.schemeModulePresheaf p M).obj (.op ⊤) := rfl |
| 27 | |
| 28 | def schemeGlobalSectionsIso (p : X ⟶ Spec (.of R)) {M N : X.Modules} (e : M ≅ N) : |
| 29 | (schemeGlobalSectionsFunctor p).obj M ≃ₗ[R] (schemeGlobalSectionsFunctor p).obj N := |
| 30 | ((schemeGlobalSectionsFunctor p).mapIso e).toLinearEquiv |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsFunctor |