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.Proper.AmpleTriviality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointLineBundleTriviality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.AffinePullback |
| 4 | |
| 5 | /-! # Contracted Ample Pullbacks -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ContractedAmplePullbacks |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A proper reduced connected test scheme mapped affinely into an ample pullback cannot be contracted unless it is a point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {X Y Z : Scheme.{u}} |
| 18 | variable (p : X ⟶ Spec (.of K)) [UniversallyClosed p] [IsReduced X] [ConnectedSpace X] |
| 19 | variable (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 20 | |
| 21 | def contractedBundlePullbackIso (f : Y ⟶ Z) (u : X ⟶ Y) (a : Spec (.of K) ⟶ Z) |
| 22 | (h : u ≫ f = p ≫ a) (L : Line.Bundles.LineBundle Z) : |
| 23 | ((L.pullback f).pullback u).sheaf ≅ Line.Bundles.structureModule X := |
| 24 | (Scheme.Modules.pullbackComp u f).app L.sheaf ≪≫ |
| 25 | (Scheme.Modules.pullbackCongr h).app L.sheaf ≪≫ |
| 26 | (Scheme.Modules.pullbackComp p a).symm.app L.sheaf ≪≫ |
| 27 | (Scheme.Modules.pullback p).mapIso (L.pullback a).trivialization_of_subsingleton ≪≫ |
| 28 | Line.Bundles.structureModulePullbackIso p |
| 29 | |
| 30 | include x hx in |
| 31 | theorem contracted_ample_pullback_isIso (f : Y ⟶ Z) (u : X ⟶ Y) [IsAffineHom u] |
| 32 | (a : Spec (.of K) ⟶ Z) (h : u ≫ f = p ≫ a) (L : Line.Bundles.LineBundle Z) |
| 33 | (hL : (L.pullback f).IsAmple) : IsIso p := |
| 34 | Proper.AmpleTriviality.properPointed_trivialAmple_isIso p x hx |
| 35 | ((hL.pullback_of_isAffineHom u).of_iso (contractedBundlePullbackIso p f u a h L)) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ContractedAmplePullbacks |