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.Abelian.Schemes |
| 2 | |
| 3 | /-! # Base Change Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Identity and composition comparisons for the abelian-scheme pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {g : ℕ} {S S' S'' : Scheme.{u}} |
| 17 | |
| 18 | /-- Composition of base changes, first as an isomorphism of monoid objects. -/ |
| 19 | def Schemes.AbelianScheme.pullbackCompMonIso (A : Schemes.AbelianScheme g S) (f : S' ⟶ S) (h : S'' ⟶ S') : |
| 20 | Mon.mk (A.pullback (h ≫ f)).scheme ≅ Mon.mk ((A.pullback f).pullback h).scheme := |
| 21 | (Functor.mapMonNatIso (Over.pullbackComp h f)).app (Mon.mk A.scheme) ≪≫ |
| 22 | (Functor.mapMonCompIso (F := Over.pullback f) (G := Over.pullback h)).app (Mon.mk A.scheme) |
| 23 | |
| 24 | /-- The canonical isomorphism between iterated and composite base change. -/ |
| 25 | def Schemes.AbelianScheme.pullbackCompIso (A : Schemes.AbelianScheme g S) (f : S' ⟶ S) (h : S'' ⟶ S') : |
| 26 | (A.pullback (h ≫ f)).scheme ≅ ((A.pullback f).pullback h).scheme := |
| 27 | (Mon.forget (Over S'')).mapIso (A.pullbackCompMonIso f h) |
| 28 | |
| 29 | instance Schemes.AbelianScheme.pullbackCompIso_preservesGroup (A : Schemes.AbelianScheme g S) |
| 30 | (f : S' ⟶ S) (h : S'' ⟶ S') : IsMonHom (A.pullbackCompIso f h).hom := |
| 31 | inferInstanceAs (IsMonHom (A.pullbackCompMonIso f h).hom.hom) |
| 32 | |
| 33 | /-- Pulling back along the identity, as an isomorphism of monoid objects. -/ |
| 34 | def Schemes.AbelianScheme.pullbackIdMonIso (A : Schemes.AbelianScheme g S) : |
| 35 | Mon.mk (A.pullback (𝟙 S)).scheme ≅ Mon.mk A.scheme := |
| 36 | (Functor.mapMonNatIso Over.pullbackId).app (Mon.mk A.scheme) ≪≫ |
| 37 | (Functor.mapMonIdIso (C := Over S)).app (Mon.mk A.scheme) |
| 38 | |
| 39 | /-- Identity base change gives the original abelian scheme. -/ |
| 40 | def Schemes.AbelianScheme.pullbackIdIso (A : Schemes.AbelianScheme g S) : (A.pullback (𝟙 S)).scheme ≅ A.scheme := |
| 41 | (Mon.forget (Over S)).mapIso A.pullbackIdMonIso |
| 42 | |
| 43 | instance Schemes.AbelianScheme.pullbackIdIso_preservesGroup (A : Schemes.AbelianScheme g S) : |
| 44 | IsMonHom A.pullbackIdIso.hom := |
| 45 | inferInstanceAs (IsMonHom A.pullbackIdMonIso.hom.hom) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |