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.RelativeModuleSheaf |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SchemeAbelianCohomology |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenCechHomologyIso |
| 4 | |
| 5 | /-! # Base Ring Module Sheaf -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseRingModuleSheaf.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual scheme-module Cech complexes over an arbitrary affine base ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) |
| 18 | |
| 19 | def baseRingConstants : R →+* Γ(X, ⊤) := |
| 20 | ((Scheme.ΓSpecIso (.of R)).inv ≫ f.appTop).hom |
| 21 | |
| 22 | def modulesAsBaseRingSheaf : X.Modules ⥤ ModuleSheafInjectives.Construction.ModuleSheaves R (Scheme.forgetToTop.obj X) := by |
| 23 | let H := ModuleCat.restrictScalars.{u} (baseRingConstants f) |
| 24 | have hH : (_root_.Opens.grothendieckTopology X).HasSheafCompose H := |
| 25 | hasSheafCompose_of_preservesLimitsOfSize (J := _root_.Opens.grothendieckTopology X) (F := H) |
| 26 | exact SheafOfModules.forgetToSheafModuleCat X.ringCatSheaf (op ⊤) |
| 27 | (initialOpOfTerminal isTerminalTop) ⋙ |
| 28 | @sheafCompose _ _ _ _ _ _ (_root_.Opens.grothendieckTopology X) H hH |
| 29 | |
| 30 | def baseRingUnderlyingAbelianIso (M : X.Modules) : |
| 31 | (QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian (.of R) (Scheme.forgetToTop.obj X)).obj |
| 32 | ((modulesAsBaseRingSheaf f).obj M) ≅ (SchemeAbelianCohomology.Construction.schemeModulesToAbelian X).obj M := |
| 33 | Iso.refl _ |
| 34 | |
| 35 | abbrev schemeModuleCechShortComplex (M : X.Modules) {ι : Type u} (U : ι → X.Opens) : |
| 36 | ShortComplex (ModuleCat.{u} R) := |
| 37 | OpenCechShortComplex.Construction.openModuleCechShortComplex ((modulesAsBaseRingSheaf f).obj M) U |
| 38 | |
| 39 | def schemeModuleCechGlobalSectionsEquiv (M : X.Modules) {ι : Type u} (U : ι → X.Opens) |
| 40 | (hU : iSup U = ⊤) : |
| 41 | ((modulesAsBaseRingSheaf f).obj M).obj.obj (op ⊤) ≃ₗ[R] |
| 42 | LinearMap.ker (schemeModuleCechShortComplex f M U).f.hom := |
| 43 | OpenCechHomologyIso.Construction.openModuleCechGlobalSectionsEquiv ((modulesAsBaseRingSheaf f).obj M) U hU |
| 44 | |
| 45 | def schemeModuleCechHomologyIso (M : X.Modules) {ι : Type u} (U : ι → X.Opens) : |
| 46 | (schemeModuleCechShortComplex f M U).homology ≅ |
| 47 | ModuleCat.of R (OpenCechCohomology.Construction.OpenCechH1 ((modulesAsBaseRingSheaf f).obj M) U) := |
| 48 | OpenCechHomologyIso.Construction.openModuleCechHomologyIso ((modulesAsBaseRingSheaf f).obj M) U |
| 49 | |
| 50 | def baseRingSheafIsoBaseField {k : Type u} [Field k] {Y : Scheme.{u}} |
| 51 | (g : Y ⟶ Spec (.of k)) (M : Y.Modules) : |
| 52 | (modulesAsBaseRingSheaf g).obj M ≅ (RelativeModuleSheaf.Construction.modulesAsBaseFieldSheaf g).obj M := |
| 53 | Iso.refl _ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseRingModuleSheaf.Construction |