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.PowerEmbedding.GlobalGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PowerEmbedding.SerreVanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.ModuleZeroCriterion |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentCohomology |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyEulerCharacteristic |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorCoherence |
| 7 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 8 | |
| 9 | /-! # Twist Euler Zero -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! A coherent sheaf whose entire ample-twist Euler sequence vanishes is zero. The proof uses actual positive-twist global generation, Serre vanishing, finite-dimensional cohomology, and the inverse tensor equivalence. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | |
| 19 | theorem Coherent.TwistEulerZero.proper_coherent_isZero_of_generated_of_acyclic_euler_zero |
| 20 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 21 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 22 | (hgen : HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators M) |
| 23 | (hvan : ∀ q, IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 24 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) (q + 1)).obj M)) |
| 25 | (hchi : CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M = 0) : IsZero M := by |
| 26 | have : Module.Finite K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 27 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) 0).obj M) := Proper.CoherentCohomology.proper_coherent_cohomologyFinite p M 0 |
| 28 | let e := CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) M |
| 29 | have : Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) := |
| 30 | Module.Finite.of_surjective e.toLinearMap e.surjective |
| 31 | have hdim : (Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) : ℤ) = 0 := |
| 32 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic_eq_sections_of_positive_vanishing p M hvan).symm.trans hchi |
| 33 | have hz : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) = 0 := Int.ofNat.inj hdim |
| 34 | have hsections : Subsingleton ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) := Module.finrank_zero_iff.mp hz |
| 35 | exact HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.isZero_of_sections_subsingleton M hgen hsections |
| 36 | |
| 37 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.coherent_isZero_of_twist_euler_zero |
| 38 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 39 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) |
| 40 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 41 | (hzero : ∀ m, CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (Tensor.ProductSheaf.tensorModule M (L.tensorPower m).sheaf) = 0) : |
| 42 | IsZero M := by |
| 43 | obtain ⟨Bgen, hgen⟩ := E.tensorPowers_eventually_hasFiniteGlobalGenerators M |
| 44 | obtain ⟨Bvan, hvan⟩ := E.tensorPowers_eventually_vanish M |
| 45 | let b := max Bgen Bvan |
| 46 | let T := Tensor.ProductSheaf.tensorModule M (L.tensorPower (b * E.degree)).sheaf |
| 47 | have : T.IsQuasicoherent := LineBundle.TensorCoherence.tensorModuleRight_lineBundle_quasicoherent M _ |
| 48 | have : T.IsFiniteType := LineBundle.TensorCoherence.tensorModuleRight_lineBundle_finiteType M _ |
| 49 | have hT : IsZero T := Coherent.TwistEulerZero.proper_coherent_isZero_of_generated_of_acyclic_euler_zero p T |
| 50 | (hgen b (le_max_left Bgen Bvan)) (hvan b (le_max_right Bgen Bvan)) (hzero (b * E.degree)) |
| 51 | let F := LineBundle.TensorEquivalence.lineBundleRightTensorEquivalence (L.tensorPower (b * E.degree)) |
| 52 | have hFM : IsZero (F.functor.obj M) := |
| 53 | (LineBundle.TensorEquivalence.lineBundleRightTensorEquivalence_objIso (L.tensorPower (b * E.degree)) M).isZero_iff.mpr hT |
| 54 | exact (F.unitIso.app M).isZero_iff.mpr (F.inverse.map_isZero hFM) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |