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.Quotients.FiniteDescent.CubeProperGlobalSections |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechDegreeZero |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeLineBundle |
| 4 | import Mathlib.CategoryTheory.Sites.Whiskering |
| 5 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 6 | |
| 7 | /-! # Cube Relative Module Sheaf -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeRelativeModuleSheaf.Construction.CubeCech |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Sheaves of base-field vector spaces underlying modules on a scheme over that field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {k : Type u} [Field k] {X : Scheme.{u}} (f : X ⟶ Spec (.of k)) |
| 20 | |
| 21 | def modulesAsBaseFieldSheaf : X.Modules ⥤ |
| 22 | TopCat.Sheaf (ModuleCat.{u} k) (Scheme.forgetToTop.obj X) := by |
| 23 | let H := ModuleCat.restrictScalars.{u} (CubeProperGlobalSections.Construction.CubeCech.globalConstants 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 | abbrev structureSheafAsBaseFieldSheaf := |
| 31 | (modulesAsBaseFieldSheaf f).obj (CubeLineBundle.Construction.CubeCech.structureSheafModule X) |
| 32 | |
| 33 | def globalConstantsLinearMap : k →ₗ[k] (structureSheafAsBaseFieldSheaf f).obj.obj (op ⊤) where |
| 34 | toFun := CubeProperGlobalSections.Construction.CubeCech.globalConstants f |
| 35 | map_add' := (CubeProperGlobalSections.Construction.CubeCech.globalConstants f).map_add |
| 36 | map_smul' a b := by |
| 37 | change CubeProperGlobalSections.Construction.CubeCech.globalConstants f (a * b) = |
| 38 | X.presheaf.map (𝟙 (op ⊤)) (CubeProperGlobalSections.Construction.CubeCech.globalConstants f a) * CubeProperGlobalSections.Construction.CubeCech.globalConstants f b |
| 39 | rw [X.presheaf.map_id] |
| 40 | exact (CubeProperGlobalSections.Construction.CubeCech.globalConstants f).map_mul a b |
| 41 | |
| 42 | theorem globalConstantsLinearMap_bijective [IsAlgClosed k] [IsIntegral X] [UniversallyClosed f] : |
| 43 | Function.Bijective (globalConstantsLinearMap f) := CubeProperGlobalSections.Construction.CubeCech.globalConstants_bijective f |
| 44 | |
| 45 | def properGlobalSectionsLinearEquiv [IsAlgClosed k] [IsIntegral X] [UniversallyClosed f] : |
| 46 | k ≃ₗ[k] (structureSheafAsBaseFieldSheaf f).obj.obj (op ⊤) := |
| 47 | LinearEquiv.ofBijective (globalConstantsLinearMap f) (globalConstantsLinearMap_bijective f) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeRelativeModuleSheaf.Construction.CubeCech |