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.PushforwardZariskiComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.BaseCongruence |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ZariskiCohomologyFiniteness |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ImageType |
| 5 | |
| 6 | /-! # Projective Zariski Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveZariskiFiniteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Genuine cohomology of a coherent sheaf on any closed projective embedding over a Noetherian affine base is finite in every degree. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 16 | |
| 17 | theorem ClosedProjectiveEmbedding.cohomology_finite {n : ℕ} {X : Over (Spec (.of R))} |
| 18 | (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n) [IsClosedImmersion i.left] |
| 19 | (M : X.left.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (q : ℕ) : |
| 20 | Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 21 | (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) q).obj M) := by |
| 22 | cases q with |
| 23 | | zero => |
| 24 | have : Module.Finite R ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom)).obj M) := |
| 25 | ProjectiveCoherentSectionFiniteness.ClosedProjectiveEmbedding.coherentSections_finite i M |
| 26 | exact Module.Finite.equiv (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv _ M).symm |
| 27 | | succ q => |
| 28 | let e := ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i |
| 29 | let J := ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.ideal i |
| 30 | let f : X.left ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J) := e.inv.left |
| 31 | have : IsIso f := (Over.forget _).map_isIso e.inv |
| 32 | let p := HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J) |
| 33 | let c := Coefficient.ModulePresheaf.schemeCoefficientMap p |
| 34 | let : IsProper p := HilbertScheme.Presentations.Projective.Properness.GradedHilbert.projectiveQuotient_proper J |
| 35 | let : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)).IsSeparated := ⟨by |
| 36 | rw [← terminal.comp_from p] |
| 37 | infer_instance⟩ |
| 38 | let N : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)).Modules := (Scheme.Modules.pushforward f).obj M |
| 39 | have hNq : N.IsQuasicoherent := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f M |
| 40 | have hNt : N.IsFiniteType := HilbertConstruction.Finite.ImageType.finite_directImage_finiteType f M |
| 41 | have hf : Module.Finite R ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c (q + 1)).obj N) := |
| 42 | @Projective.ZariskiCohomologyFiniteness.ZariskiCohomology.projective_zariski_cohomology_finite R _ _ n J N hNq hNt (q + 1) |
| 43 | have hc : f.appTop.hom.comp c = Coefficient.ModulePresheaf.schemeCoefficientMap X.hom := |
| 44 | (Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp f p).symm.trans (congrArg Coefficient.ModulePresheaf.schemeCoefficientMap e.inv.w) |
| 45 | let E := (CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr hc M (q + 1)).symm ≪≫ |
| 46 | Affine.PushforwardZariskiComparison.affineCover_pushforward_cohomologyIso f c M (Projective.CechCover.projectiveCechOpens J) |
| 47 | (Projective.CechZariskiComparison.projectiveCechOpens_iSup J) (Projective.CechCover.projectiveCechOpens_affine J) q |
| 48 | exact @Module.Finite.equiv R _ _ _ _ _ _ _ hf E.symm.toLinearEquiv |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveZariskiFiniteness |