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.CoefficientCohomology.ZeroInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.FinitenessProperty |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.FiniteExact |
| 4 | import Mathlib.CategoryTheory.ObjectProperty.Extensions |
| 5 | |
| 6 | /-! # Exact Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finiteness of genuine coefficient cohomology in all degrees is stable under each two-out-of-three operation in a short exact sequence. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 16 | (c : R →+* Γ(X, ⊤)) {S : ShortComplex X.Modules} (hS : S.ShortExact) |
| 17 | |
| 18 | include hS |
| 19 | |
| 20 | theorem FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.middle (h₁ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₁) |
| 21 | (h₃ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₃) : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₂ := by |
| 22 | intro n |
| 23 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj S.X₁) := h₁ n |
| 24 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj S.X₃) := h₃ n |
| 25 | exact Noetherian.FiniteExact.noetherian_finite_of_exact ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).map S.f).hom |
| 26 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).map S.g).hom (ExactPairs.ZariskiCohomology.coefficientCohomology_exact_middle c hS n) |
| 27 | |
| 28 | theorem FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.right (h₁ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₁) |
| 29 | (h₂ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₂) : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₃ := by |
| 30 | intro n |
| 31 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj S.X₂) := h₂ n |
| 32 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).obj S.X₁) := h₁ (n + 1) |
| 33 | exact Noetherian.FiniteExact.noetherian_finite_of_exact ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).map S.g).hom |
| 34 | (Coefficient.ConnectingMap.ZariskiCohomology.coefficientConnectingMap c hS n).hom (ExactPairs.ZariskiCohomology.coefficientCohomology_exact_right c hS n) |
| 35 | |
| 36 | theorem FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.left (h₂ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₂) |
| 37 | (h₃ : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₃) : FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c S.X₁ := by |
| 38 | intro n |
| 39 | cases n with |
| 40 | | zero => |
| 41 | have : Mono S.f := hS.mono_f |
| 42 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c 0).obj S.X₂) := h₂ 0 |
| 43 | exact Module.Finite.of_injective ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c 0).map S.f).hom |
| 44 | (ZeroInjection.ZariskiCohomology.coefficientCohomology_zero_injective c S.f) |
| 45 | | succ n => |
| 46 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj S.X₃) := h₃ n |
| 47 | have : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).obj S.X₂) := h₂ (n + 1) |
| 48 | exact Noetherian.FiniteExact.noetherian_finite_of_exact (Coefficient.ConnectingMap.ZariskiCohomology.coefficientConnectingMap c hS n).hom |
| 49 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).map S.f).hom (ExactPairs.ZariskiCohomology.coefficientCohomology_exact_left c hS n) |
| 50 | |
| 51 | omit hS |
| 52 | |
| 53 | instance FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.closedUnderExtensions : (FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c).IsClosedUnderExtensions where |
| 54 | prop_X₂_of_shortExact hS h₁ h₃ := FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.middle c hS h₁ h₃ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology |