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.Embedded.TwistingSectionsFinite |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingBundle |
| 3 | |
| 4 | /-! # Sections Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A positive power retained by an actual projective embedding has finite-dimensional sections in every nonnegative further power. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 17 | variable [Flat p] [LocallyOfFinitePresentation p] {L : Line.Bundles.LineBundle X} |
| 18 | |
| 19 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.powerSections_finite (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (d : ℕ) : |
| 20 | Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj (E.power.tensorPower d).sheaf) := by |
| 21 | have : IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers).left := E.closedImmersion |
| 22 | have : Flat (Over.mk p).hom := inferInstanceAs (Flat p) |
| 23 | have : LocallyOfFinitePresentation (Over.mk p).hom := inferInstanceAs (LocallyOfFinitePresentation p) |
| 24 | have hf := Embedded.TwistingSectionsFinite.relativeEmbedding_twistingPowerSections_finite |
| 25 | (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers) d |
| 26 | exact (Module.Finite.equiv_iff (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p |
| 27 | ((TensorPower.Maps.tensorPowerFunctor X d).mapIso (E.twistingBundleIso p)))).mp hf |
| 28 | |
| 29 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.degreePowerSections_finite (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (d : ℕ) : |
| 30 | Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj ((L.tensorPower E.degree).tensorPower d).sheaf) := by |
| 31 | let e := (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 32 | exact (Module.Finite.equiv_iff (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p |
| 33 | ((TensorPower.Maps.tensorPowerFunctor X d).mapIso e))).mp (E.powerSections_finite p d) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |