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.Affine.PushforwardZariskiComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.BaseCongruence |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.FinitenessProperty |
| 4 | import Mathlib.SetTheory.Cardinal.Order |
| 5 | |
| 6 | /-! # Pushforward Cohomology Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardCohomologyFiniteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine direct image preserves finiteness of genuine coherent cohomology in every degree with the original structural coefficient action. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | universe u |
| 16 | |
| 17 | def affinePushforwardCohomologyIso |
| 18 | {X Y : Scheme.{u}} [Y.IsSeparated] {R : Type u} [CommRing R] |
| 19 | (f : X ⟶ Y) [IsAffineHom f] (p : Y ⟶ Spec (.of R)) |
| 20 | (M : X.Modules) [M.IsQuasicoherent] (n : ℕ) : |
| 21 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap (f ≫ p)) n).obj M ≅ |
| 22 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) n).obj ((pushforward f).obj M) := by |
| 23 | classical |
| 24 | cases n with |
| 25 | | zero => |
| 26 | exact (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap (f ≫ p)) M).toModuleIso ≪≫ |
| 27 | (Coefficient.GlobalSectionsPushforward.schemeGlobalSectionsPushforwardIso f p M).symm.toModuleIso ≪≫ |
| 28 | (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) ((pushforward f).obj M)).symm.toModuleIso |
| 29 | | succ n => |
| 30 | let : LinearOrder Y.affineOpens := IsWellOrder.linearOrder (WellOrderingRel (α := Y.affineOpens)) |
| 31 | exact CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr (Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp f p) M (n + 1) ≪≫ |
| 32 | PushforwardZariskiComparison.affineCover_pushforward_cohomologyIso f (Coefficient.ModulePresheaf.schemeCoefficientMap p) M |
| 33 | (fun U : Y.affineOpens => U.1) (iSup_affineOpens_eq_top Y) (fun U => U.2) n |
| 34 | |
| 35 | theorem coefficientCohomologyFinite_affinePushforward_iff |
| 36 | {X Y : Scheme.{u}} [Y.IsSeparated] {R : Type u} [CommRing R] |
| 37 | (f : X ⟶ Y) [IsAffineHom f] (p : Y ⟶ Spec (.of R)) |
| 38 | (M : X.Modules) [M.IsQuasicoherent] : |
| 39 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap p) ((pushforward f).obj M) ↔ |
| 40 | CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap (f ≫ p)) M := by |
| 41 | constructor |
| 42 | · intro h n |
| 43 | have := h n |
| 44 | exact Module.Finite.equiv (affinePushforwardCohomologyIso f p M n).symm.toLinearEquiv |
| 45 | · intro h n |
| 46 | have := h n |
| 47 | exact Module.Finite.equiv (affinePushforwardCohomologyIso f p M n).toLinearEquiv |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardCohomologyFiniteness |