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.ExactFiniteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.Additivity |
| 3 | |
| 4 | /-! # Cohomology Kernel Cokernel Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyKernelCokernelComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A morphism preserves finiteness of all genuine cohomology when its actual kernel and cokernel have finite cohomology. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u v |
| 13 | |
| 14 | private theorem property_iff_of_kernel_cokernel |
| 15 | {C : Type u} [Category.{v} C] [Abelian C] (P : C → Prop) |
| 16 | (hmid : ∀ {S : ShortComplex C}, S.ShortExact → P S.X₁ → P S.X₃ → P S.X₂) |
| 17 | (hleft : ∀ {S : ShortComplex C}, S.ShortExact → P S.X₂ → P S.X₃ → P S.X₁) |
| 18 | (hright : ∀ {S : ShortComplex C}, S.ShortExact → P S.X₁ → P S.X₂ → P S.X₃) |
| 19 | (hiso : ∀ {A B : C}, (A ≅ B) → P A → P B) |
| 20 | {M N : C} (a : M ⟶ N) (hK : P (kernel a)) (hC : P (cokernel a)) : |
| 21 | P M ↔ P N := by |
| 22 | let S₁ : ShortComplex C := ShortComplex.mk (kernel.ι a) (Abelian.coimage.π a) (by simp) |
| 23 | let S₂ : ShortComplex C := ShortComplex.mk (Abelian.image.ι a) (cokernel.π a) (by simp) |
| 24 | have hS₁ : S₁.ShortExact := ⟨ShortComplex.cokernelSequence_exact (kernel.ι a)⟩ |
| 25 | have hS₂ : S₂.ShortExact := ⟨ShortComplex.kernelSequence_exact (cokernel.π a)⟩ |
| 26 | constructor |
| 27 | · intro hM |
| 28 | have hI : P (Abelian.coimage a) := hright hS₁ hK hM |
| 29 | exact hmid hS₂ (hiso (Abelian.coimageIsoImage a) hI) hC |
| 30 | · intro hN |
| 31 | have hI : P (Abelian.image a) := hleft hS₂ hN hC |
| 32 | exact hmid hS₁ hK (hiso (Abelian.coimageIsoImage a).symm hI) |
| 33 | |
| 34 | namespace ZariskiCohomology.CoefficientCohomologyFinite |
| 35 | |
| 36 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.iff_of_kernel_cokernel {X : Scheme.{u}} {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 37 | (c : R →+* Γ(X, ⊤)) {M N : X.Modules} (a : M ⟶ N) |
| 38 | (hK : CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c (kernel a)) |
| 39 | (hC : CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c (cokernel a)) : |
| 40 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c M ↔ CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c N := |
| 41 | property_iff_of_kernel_cokernel (CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c) |
| 42 | (fun h h₁ h₃ => CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.middle c h h₁ h₃) (fun h h₂ h₃ => CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.left c h h₂ h₃) |
| 43 | (fun h h₁ h₂ => CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.right c h h₁ h₂) (fun e h => CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.of_iso c e h) a hK hC |
| 44 | |
| 45 | end ZariskiCohomology.CoefficientCohomologyFinite |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyKernelCokernelComparison |