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.OrderedCech.AllDegreeComparison |
| 3 | |
| 4 | /-! # Pushforward All Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardAllCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine direct image preserves genuine coefficient cohomology in every degree, including degree zero. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {X Y : Scheme.{u}} [Y.IsSeparated] |
| 15 | variable {R : Type u} [CommRing R] (f : X ⟶ Y) [IsAffineHom f] |
| 16 | variable (c : R →+* Γ(Y, ⊤)) (M : X.Modules) [M.IsQuasicoherent] |
| 17 | variable {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) |
| 18 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 19 | |
| 20 | def affineCover_pushforward_allCohomologyIso (n : ℕ) : |
| 21 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.appTop.hom.comp c) n).obj M ≅ |
| 22 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj |
| 23 | ((Scheme.Modules.pushforward f).obj M) := by |
| 24 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 25 | have : ((Scheme.Modules.pushforward f).obj M).IsQuasicoherent := |
| 26 | Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f M |
| 27 | exact (OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso (f.appTop.hom.comp c) M (fun i => f ⁻¹ᵁ U i) |
| 28 | (PushforwardZariskiComparison.inverseImageOpens_iSup_eq_top f U hU) (fun i => (ha i).preimage f) n).symm ≪≫ |
| 29 | HomologicalComplex.homologyMapIso (OrderedCech.PushforwardComplex.orderedCoefficientCechComplexPushforwardIso f c M U) n ≪≫ |
| 30 | OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso c ((Scheme.Modules.pushforward f).obj M) U hU ha n |
| 31 | |
| 32 | include c U hU ha in |
| 33 | theorem affineCover_pushforward_allCohomology_vanish (n : ℕ) |
| 34 | (hM : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H M n)) : |
| 35 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H ((Scheme.Modules.pushforward f).obj M) n) := by |
| 36 | let : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 37 | (f.appTop.hom.comp c) n).obj M) := hM |
| 38 | change Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c n).obj |
| 39 | ((Scheme.Modules.pushforward f).obj M)) |
| 40 | apply ModuleCat.subsingleton_of_isZero |
| 41 | exact (affineCover_pushforward_allCohomologyIso f c M U hU ha n).isZero_iff.mp |
| 42 | (ModuleCat.isZero_of_subsingleton _) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardAllCohomology |