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.Closed.ProjectiveGlobalGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingSectionsFinite |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.ProjectiveEmbeddings |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.Powers |
| 5 | |
| 6 | /-! # Global Generation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A constructed positive-power projective embedding yields finite global generators for every coherent sheaf after all sufficiently positive twists along that degree. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem PowerEmbedding.GlobalGeneration.relativeEmbedding_tensorTwistingPowers_eventually_hasFiniteGlobalGenerators |
| 17 | {R : Type u} [CommRing R] {n : ℕ} {X : Over (Spec (.of R))} |
| 18 | (i : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n) [IsClosedImmersion i.left] |
| 19 | (M : X.left.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 20 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators |
| 21 | (Tensor.ProductSheaf.tensorModule M (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of R)) n).pullback i.left).tensorPower d).sheaf) := by |
| 22 | obtain ⟨B, hB⟩ := Closed.ProjectiveGlobalGeneration.ClosedProjectiveEmbedding.tensorTwistingPowers_eventually_hasFiniteGlobalGenerators |
| 23 | (RelativeProjective.TwistingSectionsFinite.relativeEmbeddingAffineMap i) M |
| 24 | refine ⟨B, fun d hd => ?_⟩ |
| 25 | let E := Tensor.ProductSheaf.tensorModuleCongr (Iso.refl M) |
| 26 | ((TensorPower.Maps.tensorPowerFunctor X.left d).mapIso (RelativeProjective.TwistingSectionsFinite.relativeEmbeddingAffineTwistingIso i)) |
| 27 | exact (hB d hd).of_iso E |
| 28 | |
| 29 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.tensorPowers_eventually_hasFiniteGlobalGenerators |
| 30 | {R : Type u} [CommRing R] {X : Scheme.{u}} {f : X ⟶ Spec (.of R)} |
| 31 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L f) |
| 32 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 33 | ∃ B : ℕ, ∀ m : ℕ, B ≤ m → |
| 34 | Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (Tensor.ProductSheaf.tensorModule M (L.tensorPower (m * E.degree)).sheaf) := by |
| 35 | let i := SectionsProjectiveMorphism.sectionProjectiveMorphism f E.sections E.covers |
| 36 | have : IsClosedImmersion i.left := E.closedImmersion |
| 37 | obtain ⟨B, hB⟩ := PowerEmbedding.GlobalGeneration.relativeEmbedding_tensorTwistingPowers_eventually_hasFiniteGlobalGenerators i M |
| 38 | let eP := (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 39 | refine ⟨B, fun m hm => ?_⟩ |
| 40 | let eT := (TensorPower.Maps.tensorPowerFunctor X m).mapIso (E.twistingBundleIso f ≪≫ eP) ≪≫ |
| 41 | (L.tensorPowerComposeIso m E.degree).symm |
| 42 | exact (hB m hm).of_iso (Tensor.ProductSheaf.tensorModuleCongr (Iso.refl M) eT) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |