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.Level.Scheme |
| 2 | |
| 3 | /-! # Geometric Level -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Full level structures as actual isomorphisms of group schemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {g N : ℕ} {S : Scheme.{u}} |
| 17 | |
| 18 | /-- The split ordered-level scheme carries the represented constant group law. -/ |
| 19 | instance Geometric.GeometricLevel.constantFullLevelScheme_group (g N : ℕ) (S : Scheme.{u}) : |
| 20 | GrpObj (Level.Scheme.constantFullLevelScheme g N S) := |
| 21 | GrpObj.ofRepresentableBy (Level.Scheme.constantFullLevelScheme g N S) |
| 22 | (Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S) (Level.Scheme.constantFullLevelRepresentable g N S) |
| 23 | |
| 24 | /-- The group-valued Yoneda functor of the split scheme is the constant-level functor. -/ |
| 25 | def Geometric.GeometricLevel.constantFullLevelYonedaIso (g N : ℕ) (S : Scheme.{u}) : |
| 26 | yonedaGrpObj (Level.Scheme.constantFullLevelScheme g N S) ≅ Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S := |
| 27 | yonedaGrpObjIsoOfRepresentableBy (Level.Scheme.constantFullLevelScheme g N S) |
| 28 | (Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S) (Level.Scheme.constantFullLevelRepresentable g N S) |
| 29 | |
| 30 | variable {A : Abelian.Schemes.AbelianScheme g S} |
| 31 | |
| 32 | /-- Transport full level to the two represented group-valued functors. -/ |
| 33 | def Abelian.Schemes.AbelianScheme.FullLevel.yonedaLevelEquiv : A.FullLevel N ≃ |
| 34 | (yonedaGrpObj (Level.Scheme.constantFullLevelScheme g N S) ≅ yonedaGrpObj (A.torsionScheme N)) where |
| 35 | toFun level := Geometric.GeometricLevel.constantFullLevelYonedaIso g N S ≪≫ level ≪≫ (A.torsionSchemeYonedaIso N).symm |
| 36 | invFun e := (Geometric.GeometricLevel.constantFullLevelYonedaIso g N S).symm ≪≫ e ≪≫ A.torsionSchemeYonedaIso N |
| 37 | left_inv level := by |
| 38 | apply Iso.ext |
| 39 | change (Geometric.GeometricLevel.constantFullLevelYonedaIso g N S).inv ≫ |
| 40 | (((Geometric.GeometricLevel.constantFullLevelYonedaIso g N S).hom ≫ |
| 41 | (level.hom ≫ (A.torsionSchemeYonedaIso N).inv)) ≫ |
| 42 | (A.torsionSchemeYonedaIso N).hom) = level.hom |
| 43 | simp only [Category.assoc, Iso.inv_hom_id_assoc, |
| 44 | Iso.inv_hom_id, Category.comp_id] |
| 45 | right_inv e := by |
| 46 | apply Iso.ext |
| 47 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.hom_inv_id_assoc, |
| 48 | Iso.hom_inv_id, Category.comp_id] |
| 49 | |
| 50 | /-- Full ordered level structures are precisely isomorphisms from the split group scheme |
| 51 | to the actual torsion group scheme. -/ |
| 52 | def Abelian.Schemes.AbelianScheme.FullLevel.geometricEquiv : A.FullLevel N ≃ |
| 53 | (Grp.mk (Level.Scheme.constantFullLevelScheme g N S) ≅ Grp.mk (A.torsionScheme N)) := |
| 54 | Abelian.Schemes.AbelianScheme.FullLevel.yonedaLevelEquiv.trans ((yonedaGrpFullyFaithful (C := Over S)).isoEquiv |
| 55 | (X := Grp.mk (Level.Scheme.constantFullLevelScheme g N S)) (Y := Grp.mk (A.torsionScheme N))).symm |
| 56 | |
| 57 | /-- The actual isomorphism of group schemes determined by a full level structure. -/ |
| 58 | def Abelian.Schemes.AbelianScheme.FullLevel.groupSchemeIso (level : A.FullLevel N) : |
| 59 | Grp.mk (Level.Scheme.constantFullLevelScheme g N S) ≅ Grp.mk (A.torsionScheme N) := |
| 60 | Abelian.Schemes.AbelianScheme.FullLevel.geometricEquiv level |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |