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.RepresentationTheory.Theta.Geometric.Pullback.FrameComposition |
| 2 | |
| 3 | /-! # Associativity -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Pullback.Associativity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical threefold pullback comparison, specialized from the |
| 10 | module-sheaf adjunction coherence theorem. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem pullbackComp_assoc {W X Y Z : Scheme.{u}} (f : W ⟶ X) (g : X ⟶ Y) (h : Y ⟶ Z) : |
| 17 | Functor.isoWhiskerLeft (Scheme.Modules.pullback h) (Scheme.Modules.pullbackComp f g) ≪≫ |
| 18 | Scheme.Modules.pullbackComp (f ≫ g) h = |
| 19 | (Functor.associator (Scheme.Modules.pullback h) (Scheme.Modules.pullback g) (Scheme.Modules.pullback f)).symm ≪≫ |
| 20 | Functor.isoWhiskerRight (Scheme.Modules.pullbackComp g h) (Scheme.Modules.pullback f) ≪≫ |
| 21 | Scheme.Modules.pullbackComp f (g ≫ h) := by |
| 22 | let : (SheafOfModules.pushforward h.toRingCatSheafHom).IsRightAdjoint := |
| 23 | inferInstanceAs (Scheme.Modules.pushforward h).IsRightAdjoint |
| 24 | let : (SheafOfModules.pushforward g.toRingCatSheafHom).IsRightAdjoint := |
| 25 | inferInstanceAs (Scheme.Modules.pushforward g).IsRightAdjoint |
| 26 | let : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 27 | inferInstanceAs (Scheme.Modules.pushforward f).IsRightAdjoint |
| 28 | exact SheafOfModules.pullback_assoc h.toRingCatSheafHom g.toRingCatSheafHom f.toRingCatSheafHom |
| 29 | |
| 30 | theorem pullbackComp_assoc_app {W X Y Z : Scheme.{u}} (f : W ⟶ X) (g : X ⟶ Y) (h : Y ⟶ Z) |
| 31 | (M : Z.Modules) : |
| 32 | ((Scheme.Modules.pullbackComp f g).app ((Scheme.Modules.pullback h).obj M)).hom ≫ |
| 33 | ((Scheme.Modules.pullbackComp (f ≫ g) h).app M).hom = |
| 34 | (Scheme.Modules.pullback f).map ((Scheme.Modules.pullbackComp g h).app M).hom ≫ |
| 35 | ((Scheme.Modules.pullbackComp f (g ≫ h)).app M).hom := by |
| 36 | have he := congrArg (fun e => (e.app M).hom) (pullbackComp_assoc f g h) |
| 37 | change ((Scheme.Modules.pullbackComp f g).app ((Scheme.Modules.pullback h).obj M)).hom ≫ |
| 38 | ((Scheme.Modules.pullbackComp (f ≫ g) h).app M).hom = |
| 39 | (𝟙 _) ≫ (Scheme.Modules.pullback f).map ((Scheme.Modules.pullbackComp g h).app M).hom ≫ |
| 40 | ((Scheme.Modules.pullbackComp f (g ≫ h)).app M).hom at he |
| 41 | simpa only [Category.id_comp] using he |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.RepresentationTheory.Theta.Geometric.Pullback.Associativity |