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.HilbertScheme.Presentations.Proper.IntegralCohomologyInduction |
| 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.HilbertScheme.Presentations.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 | universe u |
| 24 | |
| 25 | theorem proper_coherent_cohomologyFinite |
| 26 | {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 27 | {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) [IsProper f] |
| 28 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : PELModuli.IntegralModel.CohomologyExactFiniteness.BaseCohomologyFinite f M := by |
| 29 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 30 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 31 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 32 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 33 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 34 | apply PELModuli.IntegralModel.CoherentSupportInduction.coherent_support_induction (PELModuli.IntegralModel.CohomologyExactFiniteness.BaseCohomologyFinite f) |
| 35 | (fun N hN => PELModuli.IntegralModel.CohomologyExactFiniteness.BaseCohomologyFinite.of_isZero f N hN) _ M |
| 36 | intro Z hZ ih N _ _ hN |
| 37 | let I := Scheme.IdealSheafData.vanishingIdeal Z |
| 38 | have hIZ : I.support = Z := SetLike.coe_injective |
| 39 | (Scheme.IdealSheafData.coe_support_vanishingIdeal Z) |
| 40 | apply PELModuli.IntegralModel.CoherentNilpotentInduction.coherent_property_of_closed_support (PELModuli.IntegralModel.CohomologyExactFiniteness.BaseCohomologyFinite f) I _ N |
| 41 | (hIZ.symm ▸ hN) |
| 42 | intro Q _ _ |
| 43 | have : IsIntegral I.subscheme := PELModuli.IntegralModel.Integral.ClosedSupport.vanishingIdeal_subscheme_integral Z hZ |
| 44 | apply (PELModuli.IntegralModel.Affine.PushforwardCohomology.baseCohomologyFinite_affinePushforward_iff I.subschemeι f Q).mpr |
| 45 | apply IntegralCohomologyInduction.properIntegral_cohomologyFinite_of_proper_support (I.subschemeι ≫ f) _ Q |
| 46 | intro T _ _ hT |
| 47 | let P := (pushforward I.subschemeι).obj T |
| 48 | have : P.IsQuasicoherent := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom (M := T) I.subschemeι |
| 49 | have : P.IsFiniteType := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_pushforward_of_isClosedImmersion (M := T) I.subschemeι |
| 50 | have hr : PELModuli.IntegralModel.CoherentClosedImageSupport.closedImage I.subschemeι ⊤ = Z := by |
| 51 | apply SetLike.coe_injective |
| 52 | change I.subschemeι '' Set.univ = (Z : Set X) |
| 53 | rw [Set.image_univ, Scheme.IdealSheafData.range_subschemeι] |
| 54 | exact congrArg (fun W : Closeds X => (W : Set X)) hIZ |
| 55 | have hP : (PELModuli.IntegralModel.CoherentAnnihilator.coherentAnnihilator P).support < Z := by |
| 56 | rw [← hr] |
| 57 | exact lt_of_le_of_lt (PELModuli.IntegralModel.CoherentClosedImageSupport.coherent_pushforward_support_le_closedImage I.subschemeι T) |
| 58 | (PELModuli.IntegralModel.CoherentClosedImageSupport.closedImage_lt_range_of_lt_top I.subschemeι (PELModuli.IntegralModel.CoherentAnnihilator.coherentAnnihilator T).support hT) |
| 59 | exact (PELModuli.IntegralModel.Affine.PushforwardCohomology.baseCohomologyFinite_affinePushforward_iff I.subschemeι f T).mp (ih P hP) |
| 60 | |
| 61 | theorem proper_coherent_cohomologyFinite_affine |
| 62 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 63 | (f : X ⟶ S) [IsProper f] |
| 64 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : PELModuli.IntegralModel.CohomologyExactFiniteness.BaseCohomologyFinite f M := by |
| 65 | intro n |
| 66 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ S.toSpecΓ) M n |
| 67 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 68 | have := proper_coherent_cohomologyFinite (f ≫ S.toSpecΓ) M n |
| 69 | let a : SheafCohomology.AffineH.Projective.H M n →ₛₗ[S.toSpecΓ.appTop.hom] SheafCohomology.AffineH.Projective.H M n := |
| 70 | { toFun := id, map_add' := fun _ _ => rfl, map_smul' := fun _ _ => rfl } |
| 71 | exact Module.Finite.of_surjective a Function.surjective_id |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.CoherentCohomology |