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.GlobalSectionsFunctor |
| 2 | |
| 3 | /-! # Module Section Identity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleSectionIdentity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The global coefficient-presheaf module identifies with the native module of global sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def globalModuleSectionsIdentity (M : X.Modules) : |
| 18 | (RingModulePresheaf.globalRingModulePresheaf M).obj (.op ⊤) ≃ₗ[Γ(X, ⊤)] Γ(M, ⊤) := by |
| 19 | let e : (RingModulePresheaf.globalRingModulePresheaf M).obj (.op ⊤) ≅ ModuleCat.of Γ(X, ⊤) Γ(M, ⊤) := by |
| 20 | refine ModuleCat.isoMk (Iso.refl _) ?_ |
| 21 | intro r |
| 22 | ext (x : Γ(M, ⊤)) |
| 23 | change r • x = X.presheaf.map |
| 24 | ((initialOpOfTerminal isTerminalTop).to (.op (⊤ : X.Opens))) r • x |
| 25 | rw [Subsingleton.elim ((initialOpOfTerminal isTerminalTop).to (.op (⊤ : X.Opens))) (𝟙 _)] |
| 26 | simp |
| 27 | exact e.toLinearEquiv |
| 28 | |
| 29 | def coefficientGlobalSectionsNativeIso {R : Type u} [CommRing R] |
| 30 | (c : R →+* Γ(X, ⊤)) (M : X.Modules) : |
| 31 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M ≃ₗ[R] |
| 32 | (ModuleCat.restrictScalars c).obj (ModuleCat.of Γ(X, ⊤) Γ(M, ⊤)) := |
| 33 | ((ModuleCat.restrictScalars c).mapIso (globalModuleSectionsIdentity M).toModuleIso).toLinearEquiv |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleSectionIdentity |