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.Global.FunctionsMapRigidity |
| 2 | |
| 3 | /-! # Functions From Affine Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsFromAffineFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Factorization of the canonical affinization map through a section identifies all global functions with base functions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem globalFunctions_isIso_of_affinization_factorization |
| 16 | {X S : Scheme.{u}} (p : X ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 17 | (h : X.toSpecΓ = p ≫ x ≫ X.toSpecΓ) : IsIso p.appTop := by |
| 18 | have he := congrArg Scheme.Hom.appTop h |
| 19 | simp only [Scheme.Hom.comp_appTop, Scheme.toSpecΓ_appTop, ← Category.assoc] at he |
| 20 | have hxp : x.appTop ≫ p.appTop = 𝟙 _ := by |
| 21 | apply (cancel_epi (Scheme.ΓSpecIso Γ(X, ⊤)).hom).mp |
| 22 | simpa only [Category.assoc, Category.comp_id] using he.symm |
| 23 | have hpx : p.appTop ≫ x.appTop = 𝟙 _ := |
| 24 | (Scheme.Hom.comp_appTop x p).symm.trans |
| 25 | ((congrArg Scheme.Hom.appTop hx).trans Scheme.Hom.id_appTop) |
| 26 | exact ⟨⟨x.appTop, hpx, hxp⟩⟩ |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsFromAffineFactorization |