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.Coherent.OpenComparisonSpan |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.QuotientFiniteType |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyKernelCokernelComparison |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.IsomorphismKernelCokernel |
| 5 | |
| 6 | /-! # Cohomology Open Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyOpenComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Coherent sheaves which agree on an open set have finite genuine cohomology simultaneously once finiteness is known on its closed complement. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | universe u |
| 15 | |
| 16 | theorem coefficientCohomologyFinite_iff_of_open_iso |
| 17 | {X : Scheme.{u}} [IsLocallyNoetherian X] {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | (c : R →+* Γ(X, ⊤)) (U : X.Opens) [QuasiCompact U.ι] |
| 19 | (hsmall : ∀ Q : X.Modules, Q.IsQuasicoherent → Q.IsFiniteType → |
| 20 | IsZero (Q.restrict U.ι) → CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c Q) |
| 21 | (M N : X.Modules) [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] |
| 22 | (e : M.restrict U.ι ≅ N.restrict U.ι) : |
| 23 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c M ↔ CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c N := by |
| 24 | obtain ⟨K, a, b, hKq, hKt, ha, hb, _⟩ := Coherent.OpenComparisonSpan.exists_coherent_comparison_span U M N e |
| 25 | have := hKq |
| 26 | have := hKt |
| 27 | have := ha |
| 28 | have := hb |
| 29 | have hmap {P Q : X.Modules} [P.IsQuasicoherent] [Q.IsQuasicoherent] |
| 30 | [P.IsFiniteType] [Q.IsFiniteType] (g : P ⟶ Q) |
| 31 | [IsIso ((restrictFunctor U.ι).map g)] : |
| 32 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c P ↔ CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite c Q := by |
| 33 | exact CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.iff_of_kernel_cokernel c g |
| 34 | (hsmall _ (Quasicoherent.Kernels.module_quasicoherent_kernel g) (Noetherian.QuasicoherentKernels.noetherian_quasicoherent_kernel_finiteType g) |
| 35 | (Open.IsomorphismKernelCokernel.module_kernel_restrict_isZero_of_isIso U g)) |
| 36 | (hsmall _ (Quasicoherent.Cokernels.module_quasicoherent_cokernel g) (Quasicoherent.QuotientFiniteType.quasicoherent_cokernel_finiteType g) |
| 37 | (Open.IsomorphismKernelCokernel.module_cokernel_restrict_isZero_of_isIso U g)) |
| 38 | exact (hmap a).symm.trans (hmap b) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyOpenComparison |