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 Mathlib.CategoryTheory.Sites.LocallyBijective |
| 2 | import Mathlib.Algebra.Category.ModuleCat.FilteredColimits |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Limits |
| 4 | import Mathlib.Topology.Sheaves.Abelian |
| 5 | |
| 6 | /-! # Scalar Forgetting Sheafification -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ScalarForgettingSheafification |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! # Forgetting scalars preserves local sheafification equivalences |
| 15 | |
| 16 | The underlying sections, equalizer sieves and local-preimage sieves are |
| 17 | unchanged. Thus literal scalar forgetting preserves local bijections, which |
| 18 | are exactly the morphisms inverted by sheafification. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 22 | |
| 23 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) |
| 24 | |
| 25 | /-- The same local sections prove the scalar-forgotten sheafification equivalence. -/ |
| 26 | instance scalarForgetting_preservesSheafification : |
| 27 | (Opens.grothendieckTopology Y).PreservesSheafification |
| 28 | (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) where |
| 29 | le _ _ f hf := by |
| 30 | obtain ⟨hi, hs⟩ := |
| 31 | ((Opens.grothendieckTopology Y).W_iff_isLocallyBijective f).mp hf |
| 32 | have hi' : Presheaf.IsLocallyInjective (Opens.grothendieckTopology Y) |
| 33 | (Functor.whiskerRight f (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0})) := |
| 34 | ⟨fun {U} x y h => hi.equalizerSieve_mem x y h⟩ |
| 35 | have hs' : Presheaf.IsLocallySurjective (Opens.grothendieckTopology Y) |
| 36 | (Functor.whiskerRight f (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0})) := |
| 37 | ⟨fun {U} x => hs.imageSieve_mem x⟩ |
| 38 | exact ((Opens.grothendieckTopology Y).W_iff_isLocallyBijective _).mpr ⟨hi', hs'⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | /-! # The canonical comparison of actual scalar sheafification functors |
| 43 | |
| 44 | All coefficient objects and morphisms are in the same small universe as the |
| 45 | original singular complexes. Preservation follows from the proved equality |
| 46 | of the actual local-section sieves. |
| 47 | -/ |
| 48 | |
| 49 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 50 | |
| 51 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) |
| 52 | |
| 53 | local notation "J" => Opens.grothendieckTopology Y |
| 54 | |
| 55 | set_option backward.isDefEq.respectTransparency false in |
| 56 | /-- The canonical scalar-forgetting comparison on all actual presheaves. -/ |
| 57 | def scalarSheafificationCanonicalIso : |
| 58 | (Functor.whiskeringRight (Opens Y)ᵒᵖ (ModuleCat.{0} R) AddCommGrpCat.{0}).obj |
| 59 | (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) ⋙ |
| 60 | presheafToSheaf J AddCommGrpCat.{0} ≅ |
| 61 | presheafToSheaf J (ModuleCat.{0} R) ⋙ |
| 62 | sheafCompose J (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) := |
| 63 | sheafComposeNatIso J (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) |
| 64 | (sheafificationAdjunction J (ModuleCat.{0} R)) |
| 65 | (sheafificationAdjunction J AddCommGrpCat.{0}) |
| 66 | |
| 67 | set_option backward.isDefEq.respectTransparency false in |
| 68 | /-- The actual units commute with the canonical scalar-forgetting comparison. -/ |
| 69 | theorem scalarSheafificationCanonicalIso_unit (P : (Opens Y)ᵒᵖ ⥤ ModuleCat.{0} R) : |
| 70 | toSheafify J (P ⋙ forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) ≫ |
| 71 | ((scalarSheafificationCanonicalIso R Y).app P).hom.hom = |
| 72 | Functor.whiskerRight (toSheafify J P) (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) := |
| 73 | sheafComposeNatTrans_fac J (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}) |
| 74 | (sheafificationAdjunction J (ModuleCat.{0} R)) |
| 75 | (sheafificationAdjunction J AddCommGrpCat.{0}) P |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.ComplexMultiplication.ScalarForgettingSheafification |