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.IntegralCohomologyInduction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.SupportInduction |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.NilpotentInduction |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.ClosedImageSupport |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralClosedSupport |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardCohomologyFiniteness |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.IsomorphismProperty |
| 8 | |
| 9 | /-! # Coherent Cohomology -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentCohomology |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Finiteness of genuine coherent cohomology for a proper scheme over a Noetherian affine base, proved by Chow modification, generic comparison, and induction through actual closed supports and nilpotent layers. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | universe u |
| 19 | |
| 20 | theorem proper_coherent_cohomologyFinite |
| 21 | {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 22 | {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) [IsProper f] |
| 23 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap f) M := by |
| 24 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 25 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 26 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 27 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 28 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 29 | apply Coherent.SupportInduction.coherent_support_induction (CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap f)) |
| 30 | (fun N hN => CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.of_isZero (Coefficient.ModulePresheaf.schemeCoefficientMap f) N hN) _ M |
| 31 | intro Z hZ ih N _ _ hN |
| 32 | let I := Scheme.IdealSheafData.vanishingIdeal Z |
| 33 | have hIZ : I.support = Z := SetLike.coe_injective |
| 34 | (Scheme.IdealSheafData.coe_support_vanishingIdeal Z) |
| 35 | apply Coherent.NilpotentInduction.coherent_property_of_closed_support (CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap f)) I _ N |
| 36 | (hIZ.symm ▸ hN) |
| 37 | intro Q _ _ |
| 38 | have : IsIntegral I.subscheme := IntegralClosedSupport.vanishingIdeal_subscheme_integral Z hZ |
| 39 | apply (Affine.PushforwardCohomologyFiniteness.coefficientCohomologyFinite_affinePushforward_iff I.subschemeι f Q).mpr |
| 40 | apply IntegralCohomologyInduction.properIntegral_cohomologyFinite_of_proper_support (I.subschemeι ≫ f) _ Q |
| 41 | intro T _ _ hT |
| 42 | let P := (pushforward I.subschemeι).obj T |
| 43 | have : P.IsQuasicoherent := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent I.subschemeι T |
| 44 | have : P.IsFiniteType := Finite.ImageType.finite_directImage_finiteType I.subschemeι T |
| 45 | have hr : Coherent.ClosedImageSupport.closedImage I.subschemeι ⊤ = Z := by |
| 46 | apply SetLike.coe_injective |
| 47 | change I.subschemeι '' Set.univ = (Z : Set X) |
| 48 | rw [Set.image_univ, Scheme.IdealSheafData.range_subschemeι] |
| 49 | exact congrArg (fun W : Closeds X => (W : Set X)) hIZ |
| 50 | have hP : (Coherent.Annihilator.coherentAnnihilator P).support < Z := by |
| 51 | rw [← hr] |
| 52 | exact lt_of_le_of_lt (Coherent.ClosedImageSupport.coherent_pushforward_support_le_closedImage I.subschemeι T) |
| 53 | (Coherent.ClosedImageSupport.closedImage_lt_range_of_lt_top I.subschemeι (Coherent.Annihilator.coherentAnnihilator T).support hT) |
| 54 | exact (Affine.PushforwardCohomologyFiniteness.coefficientCohomologyFinite_affinePushforward_iff I.subschemeι f T).mp (ih P hP) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentCohomology |