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.PushforwardAllCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionPushforward |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity |
| 4 | import Mathlib.SetTheory.Cardinal.Order |
| 5 | |
| 6 | /-! # Pushforward Acyclic Cover -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardAcyclicCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine direct image is acyclic on any family of opens whose inverse images are affine. The target opens themselves need not be affine. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} [Y.IsSeparated] |
| 17 | variable (f : X ⟶ Y) [IsAffineHom f] (M : X.Modules) [M.IsQuasicoherent] |
| 18 | |
| 19 | theorem affinePushforward_cohomology_vanish (n : ℕ) |
| 20 | (hM : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H M n)) : |
| 21 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H ((Scheme.Modules.pushforward f).obj M) n) := by |
| 22 | classical |
| 23 | let : LinearOrder Y.affineOpens := IsWellOrder.linearOrder (WellOrderingRel (α := Y.affineOpens)) |
| 24 | exact PushforwardAllCohomology.affineCover_pushforward_allCohomology_vanish f (RingHom.id Γ(Y, ⊤)) M |
| 25 | (fun U : Y.affineOpens => U.1) (iSup_affineOpens_eq_top Y) (fun U => U.2) n hM |
| 26 | |
| 27 | theorem affinePushforward_restricted_cohomology_vanish (V : Y.Opens) (n : ℕ) |
| 28 | (hM : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (M.restrict (f ⁻¹ᵁ V).ι) n)) : |
| 29 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 30 | (((Scheme.Modules.pushforward f).obj M).restrict V.ι) n) := by |
| 31 | have : V.toScheme.IsSeparated := |
| 32 | ⟨by rw [← terminal.comp_from V.ι]; infer_instance⟩ |
| 33 | have : IsAffineHom (f ∣_ V) := |
| 34 | isAffineHom_isStableUnderBaseChange.of_isPullback (isPullback_morphismRestrict f V).flip inferInstance |
| 35 | let e := Open.RestrictionPushforward.restrictPushforwardIsoOfIsPullbackApp f (f ∣_ V) (f ⁻¹ᵁ V).ι V.ι |
| 36 | (isPullback_morphismRestrict f V) M |
| 37 | have h := affinePushforward_cohomology_vanish (f ∣_ V) (M.restrict (f ⁻¹ᵁ V).ι) n hM |
| 38 | let eH := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor V.toScheme n).mapIso e |
| 39 | have hi : Function.Injective eH.hom := |
| 40 | (AddCommGrpCat.mono_iff_injective eH.hom).mp inferInstance |
| 41 | exact ⟨fun x y => hi (h.elim _ _)⟩ |
| 42 | |
| 43 | theorem affinePushforward_affine_preimage_intersections_acyclic |
| 44 | {ι : Type u} (U : ι → Y.Opens) (hU : ∀ i, IsAffineOpen (f ⁻¹ᵁ U i)) : |
| 45 | Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic U |
| 46 | ((SheafOfModules.toSheaf Y.ringCatSheaf).obj ((Scheme.Modules.pushforward f).obj M)) := by |
| 47 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 48 | intro p i q |
| 49 | let V : Y.Opens := ∏ᶜ fun k : Fin (p + 1) => U (i k) |
| 50 | have hV : IsAffineOpen (f ⁻¹ᵁ V) := by |
| 51 | dsimp only [V] |
| 52 | rw [CoefficientCech.PushforwardFactors.preimageCechIntersection] |
| 53 | exact CechIntersections.affine_cechIntersection (fun i => f ⁻¹ᵁ U i) hU p i |
| 54 | have : IsAffine (f ⁻¹ᵁ V).toScheme := hV |
| 55 | change Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 56 | (((Scheme.Modules.pushforward f).obj M).restrict V.ι) (q + 1)) |
| 57 | exact affinePushforward_restricted_cohomology_vanish f M V (q + 1) |
| 58 | (ZariskiVanishing.ZariskiCohomology.moduleAffineHSucc_subsingleton (M.restrict (f ⁻¹ᵁ V).ι) q) |
| 59 | |
| 60 | theorem affinePushforward_inverseImage_cover_acyclic |
| 61 | {S : Scheme.{u}} (a : Y ⟶ S) [IsAffineHom (f ≫ a)] |
| 62 | {ι : Type u} (U : ι → S.Opens) (hU : ∀ i, IsAffineOpen (U i)) : |
| 63 | Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic (fun i => a ⁻¹ᵁ U i) |
| 64 | ((SheafOfModules.toSheaf Y.ringCatSheaf).obj ((Scheme.Modules.pushforward f).obj M)) := by |
| 65 | apply affinePushforward_affine_preimage_intersections_acyclic f M |
| 66 | intro i |
| 67 | change IsAffineOpen ((f ≫ a) ⁻¹ᵁ U i) |
| 68 | exact (hU i).preimage (f ≫ a) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardAcyclicCover |