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.ArithmeticGeometry.OrdinaryLocus.Openness.OpenEmbeddingSheafExact |
| 2 | |
| 3 | /-! # Scheme Abelian Cohomology -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SchemeAbelianCohomology.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ordinary abelian sheaves underlying scheme modules and their affine cohomology. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def schemeModulesToAbelian (X : Scheme.{u}) : |
| 17 | X.Modules ⥤ AbelianSheafInjectives.Construction.AbelianSheaves (Scheme.forgetToTop.obj X) := |
| 18 | SheafOfModules.toSheaf X.ringCatSheaf |
| 19 | |
| 20 | def affineUnderlyingAbelianIso (R : CommRingCat.{u}) (N : (Spec R).Modules) : |
| 21 | (schemeModulesToAbelian (Spec R)).obj N ≅ |
| 22 | (QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj (modulesSpecToSheaf.obj N) := |
| 23 | Iso.refl _ |
| 24 | |
| 25 | def restrictUnderlyingAbelianIso {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 26 | (N : Y.Modules) : |
| 27 | (schemeModulesToAbelian X).obj (N.restrict f) ≅ |
| 28 | (OpenEmbeddingSheafExact.Construction.openEmbeddingAbelianPullback (f := f.base) f.isOpenEmbedding).obj |
| 29 | ((schemeModulesToAbelian Y).obj N) := |
| 30 | Iso.refl _ |
| 31 | |
| 32 | variable (R : CommRingCat.{u}) |
| 33 | |
| 34 | local instance e40SchemeSpecEnoughInjectives : |
| 35 | EnoughInjectives (AbelianSheafInjectives.Construction.AbelianSheaves (Scheme.forgetToTop.obj (Spec R))) := |
| 36 | AbelianSheafInjectives.Construction.abelianSheaves_enoughInjectives (Scheme.forgetToTop.obj (Spec R)) |
| 37 | |
| 38 | local instance e40SchemeSpecHasExt : |
| 39 | HasExt.{u} (AbelianSheafInjectives.Construction.AbelianSheaves (Scheme.forgetToTop.obj (Spec R))) := |
| 40 | hasExt_of_enoughInjectives _ |
| 41 | |
| 42 | theorem quasicoherent_spec_H_one_subsingleton (N : (Spec R).Modules) [N.IsQuasicoherent] : |
| 43 | Subsingleton (CategoryTheory.Sheaf.H ((schemeModulesToAbelian (Spec R)).obj N) 1) := by |
| 44 | exact AffineCohomologyOne.Construction.quasicoherent_affine_H_one_subsingleton R N |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SchemeAbelianCohomology.Construction |