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.Projective.PresentationTensorTwists |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ZariskiSerreVanishing |
| 3 | |
| 4 | /-! # Projective Serre Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveSerreVanishing.ClosedProjectiveEmbedding |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Serre vanishing for actual powers of the restricted hyperplane bundle on an arbitrary closed projective embedding. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem tensorTwistingPowers_eventually_vanish {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 15 | {n : ℕ} {X : Over (Spec (.of R))} |
| 16 | (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n) [IsClosedImmersion i.left] |
| 17 | (M : X.left.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 18 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ q : ℕ, |
| 19 | IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) (q + 1)).obj |
| 20 | (Tensor.ProductSheaf.tensorModule M (((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback i.left).tensorPower d).sheaf)) := by |
| 21 | let J := ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.ideal i |
| 22 | let e : Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J) ⟶ X.left := (ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left |
| 23 | have : IsIso e := (Over.forget _).map_isIso (ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom |
| 24 | let N : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)).Modules := (Scheme.Modules.pullback e).obj M |
| 25 | have hNq : N.IsQuasicoherent := Quasicoherent.PullbackIsoFiniteness.module_openPullback_quasicoherent e M |
| 26 | have hNt : N.IsFiniteType := Quasicoherent.PullbackIsoFiniteness.module_openPullback_finiteType e M |
| 27 | obtain ⟨B, hB⟩ := @Projective.ZariskiSerreVanishing.ZariskiCohomology.projective_zariski_Serre_vanishing R _ _ n J N hNq hNt |
| 28 | refine ⟨B, fun d hd q ↦ ?_⟩ |
| 29 | let L := ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback i.left).tensorPower d |
| 30 | have : (Tensor.ProductSheaf.tensorModule M L.sheaf).IsQuasicoherent := LineBundle.TensorCoherence.tensorModuleRight_lineBundle_quasicoherent M L |
| 31 | exact (hB d hd q).of_iso (Projective.PresentationCohomologyPullback.ClosedProjectiveEmbedding.cohomologyPullbackIso i (Tensor.ProductSheaf.tensorModule M L.sheaf) q ≪≫ |
| 32 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 33 | (Coefficient.ModulePresheaf.schemeCoefficientMap (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J))) (q + 1)).mapIso |
| 34 | (Projective.PresentationTensorTwists.ClosedProjectiveEmbedding.tensorTwistPullbackIso i M d)) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveSerreVanishing.ClosedProjectiveEmbedding |