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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleQuasicoherent.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverGeneratorFiniteness |
| 8 | |
| 9 | /-! # Restriction Generating Sections -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionGeneratingSections |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- Generating sections of a restriction give generating sections of the corresponding |
| 20 | over-site module. -/ |
| 21 | noncomputable def generatingSectionsOverOfRestrict |
| 22 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 23 | (G : (M.restrict U.ι).GeneratingSections) : |
| 24 | (M.over U).GeneratingSections := by |
| 25 | let N := M.restrict U.ι |
| 26 | letI : (overEquiv U).inverse.IsEquivalence := by |
| 27 | infer_instance |
| 28 | let hPres : PreservesColimitsOfSize.{u, u} (overEquiv U).inverse := by |
| 29 | infer_instance |
| 30 | let G' := @SheafOfModules.GeneratingSections.map |
| 31 | _ _ _ _ _ _ _ _ _ _ _ _ _ G (overEquiv U).inverse hPres |
| 32 | (U.sheafOfModulesEquivOverInverseUnit X.ringCatSheaf).symm |
| 33 | let e : M.over U ≅ (overEquiv U).inverse.obj N := |
| 34 | (overEquiv U).unitIso.app (M.over U) ≪≫ |
| 35 | (overEquiv U).inverse.mapIso ((overFunctorEquiv U).app M) |
| 36 | exact (SheafOfModules.GeneratingSections.equivOfIso e).symm G' |
| 37 | |
| 38 | /-- The over-site generating sections induced from finite generating sections of a restriction |
| 39 | are finite. -/ |
| 40 | theorem generatingSectionsOverOfRestrict_isFiniteType |
| 41 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 42 | (G : (M.restrict U.ι).GeneratingSections) [G.IsFiniteType] : |
| 43 | (generatingSectionsOverOfRestrict M U G).IsFiniteType where |
| 44 | finite := by |
| 45 | change Finite G.I |
| 46 | exact SheafOfModules.GeneratingSections.IsFiniteType.finite |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionGeneratingSections |