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.Analysis.DifferentialForms.Manifold.SmoothFormD |
| 2 | import Mathlib.Algebra.Category.ModuleCat.FilteredColimits |
| 3 | import Mathlib.CategoryTheory.Sites.LeftExact |
| 4 | import Mathlib.Topology.Sheaves.Abelian |
| 5 | |
| 6 | /-! # Complex Sheaf Category -/ |
| 7 | |
| 8 | namespace OAI.Analysis.DifferentialForms.Manifold.ComplexSheafCategory |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Complex-module sheaves in arbitrary ambient universes |
| 14 | |
| 15 | These are specializations of mathlib's actual limit and filtered-colimit |
| 16 | constructions. The scalar field remains the ordinary complex numbers while |
| 17 | the module carrier and base space may lie in a larger universe. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Complex modules admit limits for diagrams in their carrier universe. -/ |
| 25 | instance complexModules_haveLimits : HasLimitsOfSize.{u,u} (ModuleCat.{u,0} ℂ) := |
| 26 | ModuleCat.hasLimitsOfSize.{u,u,u,0} |
| 27 | |
| 28 | /-- The actual filtered colimit of complex modules has the usual underlying |
| 29 | filtered colimit of abelian groups, with no universe equality for the scalars. -/ |
| 30 | instance complexModules_forget₂_preservesFilteredColimits : |
| 31 | PreservesFilteredColimits (forget₂ (ModuleCat.{u,0} ℂ) AddCommGrpCat.{u}) where |
| 32 | preserves_filtered_colimits _ _ _ := |
| 33 | { preservesColimit := fun {F} => |
| 34 | preservesColimit_of_preserves_colimit_cocone |
| 35 | (ModuleCat.FilteredColimits.colimitCoconeIsColimit F) |
| 36 | (AddCommGrpCat.FilteredColimits.colimitCoconeIsColimit |
| 37 | (F ⋙ forget₂ (ModuleCat.{u,0} ℂ) AddCommGrpCat.{u})) } |
| 38 | |
| 39 | /-- Forgetting a complex module preserves filtered colimits in its universe. -/ |
| 40 | instance complexModules_forget_preservesFilteredColimits : |
| 41 | PreservesFilteredColimits (forget (ModuleCat.{u,0} ℂ)) := |
| 42 | Limits.comp_preservesFilteredColimits (forget₂ (ModuleCat.{u,0} ℂ) AddCommGrpCat.{u}) |
| 43 | (forget AddCommGrpCat.{u}) |
| 44 | |
| 45 | /-- Sheafification exists for actual complex-module presheaves on any such space. -/ |
| 46 | theorem complexSheaves_haveSheafify (X : TopCat.{u}) : |
| 47 | HasSheafify (Opens.grothendieckTopology X) (ModuleCat.{u,0} ℂ) := by |
| 48 | infer_instance |
| 49 | |
| 50 | /-- The corresponding category of actual complex-module sheaves is abelian. -/ |
| 51 | abbrev complexSheaves_abelian (X : TopCat.{u}) : |
| 52 | Abelian (TopCat.Sheaf (ModuleCat.{u,0} ℂ) X) := by |
| 53 | infer_instance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.Analysis.DifferentialForms.Manifold.ComplexSheafCategory |