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.LineBundle.SectionCokernelEuler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.ExactPairs |
| 3 | |
| 4 | /-! # Section Cokernel Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cohomology and Euler formulas for the actual cokernel of a regular line-bundle map. Regularity is the explicit monomorphism hypothesis; no dimension or cohomological bound is assumed in the conclusion. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | namespace Regular.SectionCokernelCohomology.ZariskiCohomology |
| 15 | |
| 16 | theorem coefficientCohomology_cokernel_isZero |
| 17 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) |
| 18 | {M Q : X.Modules} (f : M ⟶ Q) [Mono f] (n : ℕ) |
| 19 | (hQ : IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj Q)) |
| 20 | (hM : IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).obj M)) : |
| 21 | IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj (cokernel f)) := by |
| 22 | let S : ShortComplex X.Modules := |
| 23 | ShortComplex.mk f (cokernel.π f) (cokernel.condition f) |
| 24 | have hS : S.ShortExact := ⟨ShortComplex.cokernelSequence_exact f⟩ |
| 25 | let π := ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).map (cokernel.π f)).hom |
| 26 | let δ := (Coefficient.ConnectingMap.ZariskiCohomology.coefficientConnectingMap c hS n).hom |
| 27 | have hzQ : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj Q) := |
| 28 | ModuleCat.subsingleton_of_isZero hQ |
| 29 | have hzM : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).obj M) := |
| 30 | ModuleCat.subsingleton_of_isZero hM |
| 31 | have heq (x : (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj (cokernel f)) : x = 0 := by |
| 32 | obtain ⟨y, hy⟩ := (CoefficientCohomology.ExactPairs.ZariskiCohomology.coefficientCohomology_exact_right c hS n x).mp (hzM.elim (δ x) 0) |
| 33 | exact hy.symm.trans ((congrArg π (hzQ.elim y 0)).trans π.map_zero) |
| 34 | have : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj (cokernel f)) := |
| 35 | ⟨fun x y => (heq x).trans (heq y).symm⟩ |
| 36 | exact ModuleCat.isZero_of_subsingleton _ |
| 37 | |
| 38 | end Regular.SectionCokernelCohomology.ZariskiCohomology |
| 39 | |
| 40 | theorem Regular.SectionCokernelCohomology.lineBundleMapCokernel_euler |
| 41 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 42 | (p : X ⟶ Spec (.of K)) [IsProper p] {L M : Line.Bundles.LineBundle X} |
| 43 | (f : L.sheaf ⟶ M.sheaf) [Mono f] : |
| 44 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (cokernel f) = |
| 45 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M.sheaf - CohomologyEulerCharacteristic.coefficientEulerCharacteristic p L.sheaf := by |
| 46 | have : L.sheaf.IsFiniteType := L.isFiniteType |
| 47 | have : M.sheaf.IsFiniteType := M.isFiniteType |
| 48 | have : L.sheaf.IsQuasicoherent := L.isQuasicoherent |
| 49 | have : M.sheaf.IsQuasicoherent := M.isQuasicoherent |
| 50 | have : (cokernel f).IsQuasicoherent := Quasicoherent.Cokernels.module_quasicoherent_cokernel f |
| 51 | have : (cokernel f).IsFiniteType := Quasicoherent.QuotientFiniteType.quasicoherent_cokernel_finiteType f |
| 52 | let S : ShortComplex X.Modules := |
| 53 | ShortComplex.mk f (cokernel.π f) (cokernel.condition f) |
| 54 | have hS : S.ShortExact := ⟨ShortComplex.cokernelSequence_exact f⟩ |
| 55 | have h := Proper.CohomologyEulerAdditivity.proper_coherent_euler_additive p hS |
| 56 | change CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M.sheaf = |
| 57 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p L.sheaf + CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (cokernel f) at h |
| 58 | omega |
| 59 | |
| 60 | theorem Line.Bundles.LineBundle.tensor_succ_sheafIso {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) (m : ℕ) : |
| 61 | Nonempty ((L.tensor (L.tensorPower m)).sheaf ≅ (L.tensorPower (m + 1)).sheaf) := by |
| 62 | have h : Line.Bundles.LineBundle.classOf (L.tensor (L.tensorPower m)) = |
| 63 | Line.Bundles.LineBundle.classOf (L.tensorPower (m + 1)) := by |
| 64 | rw [Line.Bundles.LineBundle.classOf_tensor, Line.Bundles.LineBundle.classOf_tensorPower, |
| 65 | Line.Bundles.LineBundle.classOf_tensorPower, pow_succ'] |
| 66 | exact Quotient.exact h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |