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.PELModuli.IntegralModel.Proper.CohomologyInduction |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CoherentSupportInduction |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CoherentNilpotentInduction |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CoherentClosedImageSupport |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ClosedSupport |
| 6 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.PushforwardCohomology |
| 7 | |
| 8 | /-! # Coherent Cohomology -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.CoherentCohomology |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Finiteness of actual coherent cohomology for proper schemes over a |
| 15 | noetherian affine base. The proof combines Chow modification, generic |
| 16 | comparison, and induction on closed support with actual nilpotent layers. -/ |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 22 | |
| 23 | theorem proper_coherent_cohomologyFinite |
| 24 | {R : Type} [CommRing R] [IsNoetherianRing R] |
| 25 | {X : Scheme.{0}} (f : X ⟶ Spec (.of R)) [IsProper f] |
| 26 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : CohomologyExactFiniteness.BaseCohomologyFinite f M := by |
| 27 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 28 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 29 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 30 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 31 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 32 | apply CoherentSupportInduction.coherent_support_induction (CohomologyExactFiniteness.BaseCohomologyFinite f) |
| 33 | (fun N hN => CohomologyExactFiniteness.BaseCohomologyFinite.of_isZero f N hN) _ M |
| 34 | intro Z hZ ih N _ _ hN |
| 35 | let I := Scheme.IdealSheafData.vanishingIdeal Z |
| 36 | have hIZ : I.support = Z := SetLike.coe_injective |
| 37 | (Scheme.IdealSheafData.coe_support_vanishingIdeal Z) |
| 38 | apply CoherentNilpotentInduction.coherent_property_of_closed_support (CohomologyExactFiniteness.BaseCohomologyFinite f) I _ N |
| 39 | (hIZ.symm ▸ hN) |
| 40 | intro Q _ _ |
| 41 | have : IsIntegral I.subscheme := Integral.ClosedSupport.vanishingIdeal_subscheme_integral Z hZ |
| 42 | apply (Affine.PushforwardCohomology.baseCohomologyFinite_affinePushforward_iff I.subschemeι f Q).mpr |
| 43 | apply CohomologyInduction.properIntegral_cohomologyFinite_of_proper_support (I.subschemeι ≫ f) _ Q |
| 44 | intro T _ _ hT |
| 45 | let P := (pushforward I.subschemeι).obj T |
| 46 | have : P.IsQuasicoherent := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom (M := T) I.subschemeι |
| 47 | have : P.IsFiniteType := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_pushforward_of_isClosedImmersion (M := T) I.subschemeι |
| 48 | have hr : CoherentClosedImageSupport.closedImage I.subschemeι ⊤ = Z := by |
| 49 | apply SetLike.coe_injective |
| 50 | change I.subschemeι '' Set.univ = (Z : Set X) |
| 51 | rw [Set.image_univ, Scheme.IdealSheafData.range_subschemeι] |
| 52 | exact congrArg (fun W : Closeds X => (W : Set X)) hIZ |
| 53 | have hP : (CoherentAnnihilator.coherentAnnihilator P).support < Z := by |
| 54 | rw [← hr] |
| 55 | exact lt_of_le_of_lt (CoherentClosedImageSupport.coherent_pushforward_support_le_closedImage I.subschemeι T) |
| 56 | (CoherentClosedImageSupport.closedImage_lt_range_of_lt_top I.subschemeι (CoherentAnnihilator.coherentAnnihilator T).support hT) |
| 57 | exact (Affine.PushforwardCohomology.baseCohomologyFinite_affinePushforward_iff I.subschemeι f T).mp (ih P hP) |
| 58 | |
| 59 | theorem proper_coherent_cohomologyFinite_affine |
| 60 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 61 | (f : X ⟶ S) [IsProper f] |
| 62 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : CohomologyExactFiniteness.BaseCohomologyFinite f M := by |
| 63 | intro n |
| 64 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ S.toSpecΓ) M n |
| 65 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 66 | have := proper_coherent_cohomologyFinite (f ≫ S.toSpecΓ) M n |
| 67 | let a : SheafCohomology.AffineH.Projective.H M n →ₛₗ[S.toSpecΓ.appTop.hom] SheafCohomology.AffineH.Projective.H M n := |
| 68 | { toFun := id, map_add' := fun _ _ => rfl, map_smul' := fun _ _ => rfl } |
| 69 | exact Module.Finite.of_surjective a Function.surjective_id |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.CoherentCohomology |