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.Comparison.Betti.ReflectiveColimitPreservation |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Abelian |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Colimits |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits |
| 5 | import Mathlib.Algebra.Category.ModuleCat.Presheaf.Colimits |
| 6 | import Mathlib.Topology.Sheaves.Abelian |
| 7 | |
| 8 | /-! # Sheaf Forget Additive -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafForgetAdditive.Local |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! Forgetting the ring action on actual sheaves of modules is exact and preserves finite sums. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 19 | |
| 20 | variable {X : TopCat.{0}} (R : Sheaf (Opens.grothendieckTopology X) RingCat.{0}) |
| 21 | |
| 22 | instance moduleSheafForget_preservesColimitsOfShape (J : Type) [SmallCategory J] : |
| 23 | PreservesColimitsOfShape J (SheafOfModules.toSheaf.{0} R) := by |
| 24 | let F := PresheafOfModules.sheafification.{0} (𝟙 R.obj) |
| 25 | let G := SheafOfModules.toSheaf.{0} R |
| 26 | let adj := PresheafOfModules.sheafificationAdjunction.{0} (𝟙 R.obj) |
| 27 | let : PreservesColimitsOfShape J (F ⋙ G) := |
| 28 | preservesColimitsOfShape_of_natIso (PresheafOfModules.sheafificationCompToSheaf (𝟙 R.obj)).symm |
| 29 | exact ReflectiveColimitPreservation.Category.preservesColimitsOfShape_of_reflective F _ G (asIso adj.counit) |
| 30 | |
| 31 | instance moduleSheafForget_preservesFiniteColimits : PreservesFiniteColimits (SheafOfModules.toSheaf.{0} R) where |
| 32 | preservesFiniteColimits _ := inferInstance |
| 33 | |
| 34 | instance moduleSheafForget_preservesHomology : (SheafOfModules.toSheaf.{0} R).PreservesHomology := by |
| 35 | infer_instance |
| 36 | |
| 37 | end |
| 38 | |
| 39 | /-! The original module-sheaf forgetful functor preserves addition of maps. -/ |
| 40 | |
| 41 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 42 | |
| 43 | instance moduleSheafForget_additive {X : TopCat.{0}} |
| 44 | (R : Sheaf (Opens.grothendieckTopology X) RingCat.{0}) : |
| 45 | (SheafOfModules.toSheaf.{0} R).Additive where |
| 46 | map_add := by |
| 47 | intro M N f g |
| 48 | apply Sheaf.hom_ext |
| 49 | rfl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafForgetAdditive.Local |