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.OpenModule.PullbackSquare |
| 2 | |
| 3 | /-! # Adjunction Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.AdjunctionUnit.OpenPullbackSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatibility of the actual pullback unit with restriction to an open subscheme. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 13 | |
| 14 | theorem unit_square (M : Y.Modules) : |
| 15 | (Scheme.Modules.restrictFunctor U.ι).map |
| 16 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) ≫ |
| 17 | (OpenModule.BaseChangeMate.OpenPullbackSquare.openBaseChangeMap f U).app ((Scheme.Modules.pullback f).obj M) = |
| 18 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)).unit.app (M.restrict U.ι) ≫ |
| 19 | (Scheme.Modules.pushforward (f ∣_ U)).map |
| 20 | ((OpenModule.PullbackSquare.OpenPullbackSquare.adjointPullbackSquare f U).hom.app M) := by |
| 21 | have h := unit_mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 22 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 23 | (TwoSquare.mk _ _ _ _ (OpenModule.PullbackSquare.OpenPullbackSquare.adjointPullbackSquare f U).hom) M |
| 24 | change _ ≫ |
| 25 | ((mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 26 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 27 | (TwoSquare.mk _ _ _ _ (OpenModule.PullbackSquare.OpenPullbackSquare.adjointPullbackSquare f U).hom)).natTrans).app _ = _ at h |
| 28 | rw [OpenModule.PullbackSquare.OpenPullbackSquare.rightMate] at h |
| 29 | exact h |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.AdjunctionUnit.OpenPullbackSquare |