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.Constant.GroupIsomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Scheme |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |
| 5 | |
| 6 | /-! # Parameters -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Explicit parameters for changing a chosen full level structure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {g N : ℕ} {S : Scheme.{u}} |
| 19 | |
| 20 | /-- Automorphisms of the finite standard ordered-level group. -/ |
| 21 | abbrev Level.Parameters.LevelLabelAut (g N : ℕ) := |
| 22 | Multiplicative (Fin (2 * g) → ZMod N) ≃* Multiplicative (Fin (2 * g) → ZMod N) |
| 23 | |
| 24 | section |
| 25 | |
| 26 | variable {A : Abelian.Schemes.AbelianScheme g S} |
| 27 | |
| 28 | /-- Relative to a chosen level, every level is a change of the standard ordered labels. -/ |
| 29 | def Abelian.Schemes.AbelianScheme.FullLevel.changeEquiv (base : A.FullLevel N) : A.FullLevel N ≃ |
| 30 | (Constant.GroupMaps.constantGroupFunctor S (Multiplicative (Fin (2 * g) → ZMod N)) ≅ |
| 31 | Constant.GroupMaps.constantGroupFunctor S (Multiplicative (Fin (2 * g) → ZMod N))) where |
| 32 | toFun level := level ≪≫ base.symm |
| 33 | invFun e := e ≪≫ base |
| 34 | left_inv level := by |
| 35 | apply Iso.ext |
| 36 | change (level.hom ≫ base.inv) ≫ base.hom = level.hom |
| 37 | exact (Category.assoc _ _ _).trans |
| 38 | ((congrArg (fun a => level.hom ≫ a) base.inv_hom_id).trans (Category.comp_id _)) |
| 39 | right_inv e := by |
| 40 | apply Iso.ext |
| 41 | change (e.hom ≫ base.hom) ≫ base.inv = e.hom |
| 42 | exact (Category.assoc _ _ _).trans |
| 43 | ((congrArg (fun a => e.hom ≫ a) base.hom_inv_id).trans (Category.comp_id _)) |
| 44 | |
| 45 | /-- Changes of level over an arbitrary base are locally constant label automorphisms. -/ |
| 46 | def Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv [NeZero N] (base : A.FullLevel N) : |
| 47 | A.FullLevel N ≃ LocallyConstant S (Level.Parameters.LevelLabelAut g N) := |
| 48 | base.changeEquiv.trans Constant.GroupIsomorphisms.constantGroupIsoEquiv |
| 49 | |
| 50 | end |
| 51 | |
| 52 | /-- The split scheme of changes of ordered full level. -/ |
| 53 | def Level.Parameters.levelParameterScheme (g N : ℕ) (S : Scheme.{u}) : Over S := |
| 54 | ConstantScheme.Iff.constantScheme S (ULift.{u} (Level.Parameters.LevelLabelAut g N)) |
| 55 | |
| 56 | /-- After fixing a level, morphisms into its parameter scheme classify all levels on |
| 57 | every base-changed abelian scheme. -/ |
| 58 | def Abelian.Schemes.AbelianScheme.FullLevel.parameterEquiv {A : Abelian.Schemes.AbelianScheme g S} [NeZero N] |
| 59 | (base : A.FullLevel N) (T : Over S) : |
| 60 | (T ⟶ Level.Parameters.levelParameterScheme g N S) ≃ (A.pullback T.hom).FullLevel N := |
| 61 | ((ConstantScheme.Iff.constantSchemePointsEquiv S _ T).trans (LocallyConstant.congrRight Equiv.ulift)).trans |
| 62 | ((base.pullback T.hom).labelsEquiv).symm |
| 63 | |
| 64 | instance Level.Parameters.levelParameterScheme_etale (g N : ℕ) (S : Scheme.{u}) : |
| 65 | Etale (Level.Parameters.levelParameterScheme g N S).hom := Level.Scheme.constantScheme_etale S _ |
| 66 | |
| 67 | instance Level.Parameters.levelParameterScheme_finite (g N : ℕ) (S : Scheme.{u}) [NeZero N] : |
| 68 | IsFinite (Level.Parameters.levelParameterScheme g N S).hom := Finite.ConstantScheme.constantScheme_finite |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |