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.OrderedCech.PushforwardComplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.ZariskiComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 5 | |
| 6 | /-! # Pushforward Zariski Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardZariskiComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine direct image preserves positive genuine cohomology, with its prescribed coefficient action, as computed on any ordered affine cover of a separated target. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem inverseImageOpens_iSup_eq_top {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 17 | {ι : Type u} (U : ι → Y.Opens) (hU : ⨆ i, U i = ⊤) : |
| 18 | ⨆ i, f ⁻¹ᵁ U i = ⊤ := by |
| 19 | apply le_antisymm le_top |
| 20 | intro x _ |
| 21 | have hx : f x ∈ ⨆ i, U i := by rw [hU]; trivial |
| 22 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 23 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 24 | |
| 25 | def affineCover_pushforward_cohomologyIso {X Y : Scheme.{u}} [Y.IsSeparated] |
| 26 | {R : Type u} [CommRing R] (f : X ⟶ Y) [IsAffineHom f] |
| 27 | (c : R →+* Γ(Y, ⊤)) (M : X.Modules) [M.IsQuasicoherent] |
| 28 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (hU : ⨆ i, U i = ⊤) |
| 29 | (haffine : ∀ i, IsAffineOpen (U i)) (n : ℕ) : |
| 30 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.appTop.hom.comp c) (n + 1)).obj M ≅ |
| 31 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (n + 1)).obj |
| 32 | ((Scheme.Modules.pushforward f).obj M) := by |
| 33 | letI : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 34 | have : ((Scheme.Modules.pushforward f).obj M).IsQuasicoherent := |
| 35 | Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f M |
| 36 | exact (OrderedCech.ZariskiComparison.orderedCechZariskiModuleIso (f.appTop.hom.comp c) M (fun i ↦ f ⁻¹ᵁ U i) |
| 37 | (inverseImageOpens_iSup_eq_top f U hU) (fun i ↦ (haffine i).preimage f) n).symm ≪≫ |
| 38 | HomologicalComplex.homologyMapIso (OrderedCech.PushforwardComplex.orderedCoefficientCechComplexPushforwardIso f c M U) |
| 39 | (n + 1) ≪≫ |
| 40 | OrderedCech.ZariskiComparison.orderedCechZariskiModuleIso c ((Scheme.Modules.pushforward f).obj M) U hU haffine n |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardZariskiComparison |