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.Topology.Sheaves.Stalks |
| 2 | import Mathlib.Algebra.Category.Ring.Colimits |
| 3 | import Mathlib.Algebra.Category.Ring.FilteredColimits |
| 4 | |
| 5 | /-! # Comm Ring Stalk Forget -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.Comparison.Betti.CommRingStalkForget.AnalyticLocal |
| 12 | |
| 13 | /-! Forgetting commutativity preserves actual ring sheaf stalks and |
| 14 | their section germs, since the neighborhood colimit is filtered. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | variable {X : TopCat.{0}} (F : TopCat.Presheaf CommRingCat.{0} X) (x : X) |
| 19 | |
| 20 | def commRingStalkForgetIso : |
| 21 | (forget₂ CommRingCat RingCat).obj (F.stalk x) ≅ |
| 22 | TopCat.Presheaf.stalk (X := X) (F ⋙ forget₂ CommRingCat RingCat) x := |
| 23 | preservesColimitIso (forget₂ CommRingCat RingCat) ((OpenNhds.inclusion x).op ⋙ F) |
| 24 | |
| 25 | theorem commRingStalkForgetIso_germ (U : Opens X) (hx : x ∈ U) : |
| 26 | TopCat.Presheaf.germ (X := X) (F ⋙ forget₂ CommRingCat RingCat) U x hx ≫ |
| 27 | (commRingStalkForgetIso F x).inv = |
| 28 | (forget₂ CommRingCat RingCat).map (F.germ U x hx) := |
| 29 | ι_preservesColimitIso_inv (forget₂ CommRingCat RingCat) ((OpenNhds.inclusion x).op ⋙ F) (op ⟨U, hx⟩) |
| 30 | |
| 31 | def commRingStalkForgetEquiv : |
| 32 | (TopCat.Presheaf.stalk (C := RingCat) (X := X) (F ⋙ forget₂ CommRingCat RingCat) x) ≃+* F.stalk x := |
| 33 | let i := (commRingStalkForgetIso F x).symm |
| 34 | { i.hom.hom, ((forget RingCat).mapIso i).toEquiv with } |
| 35 | |
| 36 | theorem commRingStalkForgetEquiv_germ (U : Opens X) (hx : x ∈ U) (f : F.obj (op U)) : |
| 37 | commRingStalkForgetEquiv F x |
| 38 | (TopCat.Presheaf.germ (X := X) (F ⋙ forget₂ CommRingCat RingCat) U x hx f) = |
| 39 | F.germ U x hx f := |
| 40 | congrArg (fun k => k.hom f) (commRingStalkForgetIso_germ F x U hx) |
| 41 | |
| 42 | end AlgebraicGeometry.Comparison.Betti.CommRingStalkForget.AnalyticLocal |
| 43 | |
| 44 | namespace AlgebraicGeometry.Comparison.Betti.CommRingStalkForget.ModuleLocal |
| 45 | |
| 46 | /-! A native RingCat stalk of a commutative-ring presheaf retains |
| 47 | commutative multiplication after forgetting the commutative structure. -/ |
| 48 | |
| 49 | open _root_.CategoryTheory |
| 50 | |
| 51 | variable {X : TopCat.{0}} (R : TopCat.Presheaf CommRingCat.{0} X) (x : X) |
| 52 | |
| 53 | instance commRingForgottenStalk_isMulCommutative : |
| 54 | IsMulCommutative (TopCat.Presheaf.stalk (C := RingCat) (X := X) |
| 55 | (R ⋙ forget₂ CommRingCat RingCat) x) := |
| 56 | ⟨⟨fun a b => (AnalyticLocal.commRingStalkForgetEquiv R x).injective |
| 57 | (by rw [map_mul, map_mul, mul_comm])⟩⟩ |
| 58 | |
| 59 | end AlgebraicGeometry.Comparison.Betti.CommRingStalkForget.ModuleLocal |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI |