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.AbelianModuli.HilbertConstruction.Module.InverseImageComparison |
| 2 | import Mathlib.CategoryTheory.Adjunction.Mates |
| 3 | |
| 4 | /-! # Inverse Image Mates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.InverseImageMates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The module inverse-image comparison is the mate of the actual underlying-sheaf pushforward comparison. This identifies it with the canonical square to which composition laws for adjunctions apply. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {X Y : Scheme.{u}} |
| 15 | |
| 16 | def moduleUnderlyingPushforwardSquare (f : X ⟶ Y) : |
| 17 | TwoSquare (Scheme.Modules.pushforward f) (SheafOfModules.toSheaf X.ringCatSheaf) |
| 18 | (SheafOfModules.toSheaf Y.ringCatSheaf) |
| 19 | (TopCat.Sheaf.pushforward AddCommGrpCat.{u} f.base) := |
| 20 | TwoSquare.mk _ _ _ _ (InverseImageComparison.moduleUnderlyingPushforwardIso f).hom |
| 21 | |
| 22 | def moduleInverseImageSquare (f : X ⟶ Y) : |
| 23 | TwoSquare (SheafOfModules.toSheaf Y.ringCatSheaf) (Scheme.Modules.pullback f) |
| 24 | (TopCat.Sheaf.pullback AddCommGrpCat.{u} f.base) |
| 25 | (SheafOfModules.toSheaf X.ringCatSheaf) := |
| 26 | (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 27 | (TopCat.Sheaf.pullbackPushforwardAdjunction AddCommGrpCat.{u} f.base)).symm |
| 28 | (moduleUnderlyingPushforwardSquare f) |
| 29 | |
| 30 | theorem moduleInverseImageSquare_app (f : X ⟶ Y) (M : Y.Modules) : |
| 31 | (moduleInverseImageSquare f).app M = InverseImageComparison.moduleInverseImageComparison f M := by |
| 32 | let FY : Y.Modules ⥤ Y.carrier.Sheaf AddCommGrpCat.{u} := SheafOfModules.toSheaf Y.ringCatSheaf |
| 33 | let FX : X.Modules ⥤ X.carrier.Sheaf AddCommGrpCat.{u} := SheafOfModules.toSheaf X.ringCatSheaf |
| 34 | let P := Scheme.Modules.pullback f |
| 35 | let G := TopCat.Sheaf.pushforward AddCommGrpCat.{u} f.base |
| 36 | let adj := TopCat.Sheaf.pullbackPushforwardAdjunction AddCommGrpCat.{u} f.base |
| 37 | let v : FY.obj M ⟶ G.obj (FX.obj (P.obj M)) := |
| 38 | FY.map ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) ≫ |
| 39 | (InverseImageComparison.moduleUnderlyingPushforwardIso f).hom.app (P.obj M) |
| 40 | have hl : adj.homEquiv (FY.obj M) (FX.obj (P.obj M)) ((moduleInverseImageSquare f).app M) = v := by |
| 41 | calc |
| 42 | _ = adj.unit.app (FY.obj M) ≫ G.map ((moduleInverseImageSquare f).app M) := |
| 43 | adj.homEquiv_unit (FY.obj M) (FX.obj (P.obj M)) ((moduleInverseImageSquare f).app M) |
| 44 | _ = v := (unit_mateEquiv_symm (Scheme.Modules.pullbackPushforwardAdjunction f) adj |
| 45 | (moduleUnderlyingPushforwardSquare f) M).symm |
| 46 | have hr : adj.homEquiv (FY.obj M) (FX.obj (P.obj M)) (InverseImageComparison.moduleInverseImageComparison f M) = v := |
| 47 | InverseImageComparison.moduleInverseImageComparison_adjunction f M |
| 48 | exact (adj.homEquiv (FY.obj M) (FX.obj (P.obj M))).injective (hl.trans hr.symm) |
| 49 | |
| 50 | theorem moduleInverseImageSquare_mate (f : X ⟶ Y) : |
| 51 | mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 52 | (TopCat.Sheaf.pullbackPushforwardAdjunction AddCommGrpCat.{u} f.base) |
| 53 | (moduleInverseImageSquare f) = moduleUnderlyingPushforwardSquare f := |
| 54 | Equiv.apply_symm_apply _ _ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.InverseImageMates |