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.Proper.CoherentCohomology |
| 2 | |
| 3 | /-! # Affine Coherent Cohomology -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineCoherentCohomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Proper coherent cohomology and global sections are finite over the actual ring of functions of any Noetherian affine base. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem schemeCoefficientMap_toSpec_comp {X S : Scheme.{u}} (f : X ⟶ S) : |
| 14 | Coefficient.ModulePresheaf.schemeCoefficientMap (f ≫ S.toSpecΓ) = f.appTop.hom := by |
| 15 | ext r |
| 16 | change f.appTop (S.toSpecΓ.appTop ((Scheme.ΓSpecIso (.of Γ(S, ⊤))).inv r)) = f.appTop r |
| 17 | rw [Scheme.toSpecΓ_appTop] |
| 18 | exact congrArg f.appTop ((Scheme.ΓSpecIso (.of Γ(S, ⊤))).inv_hom_id_apply r) |
| 19 | |
| 20 | theorem proper_coherent_cohomologyFinite_affine |
| 21 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 22 | (f : X ⟶ S) [IsProper f] (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 23 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite f.appTop.hom M := by |
| 24 | have h := CoherentCohomology.proper_coherent_cohomologyFinite (f ≫ S.toSpecΓ) M |
| 25 | intro n |
| 26 | have := h n |
| 27 | exact Module.Finite.equiv |
| 28 | (CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr (schemeCoefficientMap_toSpec_comp f) M n).toLinearEquiv |
| 29 | |
| 30 | theorem proper_coherent_globalSections_finite |
| 31 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 32 | (f : X ⟶ S) [IsProper f] (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 33 | Module.Finite Γ(S, ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj M) := by |
| 34 | have := proper_coherent_cohomologyFinite_affine f M 0 |
| 35 | exact Module.Finite.equiv (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv f.appTop.hom M) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineCoherentCohomology |