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.ArithmeticGeometry.OrdinaryLocus.Openness.BaseRingCohomologyScalars |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFinite |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseFiniteness |
| 5 | |
| 6 | /-! # Projective Cohomology Finiteness -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveCohomologyFiniteness.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual cohomology finiteness over a Noetherian affine base for projectively embedded schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 21 | |
| 22 | def baseRingCohomologySemilinear (f : X ⟶ Spec (.of R)) (M : X.Modules) (n : ℕ) : |
| 23 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 24 | letI := BaseRingCohomologyScalars.Construction.baseRingSheafCohomologyModule f M n |
| 25 | AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M n →ₛₗ[(Scheme.ΓSpecIso (.of R)).hom.hom] AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M n := by |
| 26 | letI := AlgebraicGeometry.SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule M n |
| 27 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 28 | letI := BaseRingCohomologyScalars.Construction.baseRingSheafCohomologyModule f M n |
| 29 | refine { toFun := id, map_add' := fun _ _ ↦ rfl, map_smul' := ?_ } |
| 30 | intro r x |
| 31 | change f.appTop r • x = |
| 32 | f.appTop ((Scheme.ΓSpecIso (.of R)).inv ((Scheme.ΓSpecIso (.of R)).hom r)) • x |
| 33 | have hr := ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of R)).hom_inv_id r |
| 34 | change (Scheme.ΓSpecIso (.of R)).inv ((Scheme.ΓSpecIso (.of R)).hom r) = r at hr |
| 35 | rw [hr] |
| 36 | |
| 37 | theorem isFiniteType_of_isLineBundle (M : X.Modules) (hM : LineBundle.Construction.IsLineBundle M) : M.IsFiniteType := by |
| 38 | have : M.IsFinitePresentation := LineBundleQuasicoherent.Construction.isFinitePresentation_of_isLineBundle M hM |
| 39 | obtain ⟨q, hq⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData M |
| 40 | refine { exists_localGeneratorsData := ⟨q.localGeneratorsData, ?_⟩ } |
| 41 | constructor |
| 42 | intro i |
| 43 | exact (hq.isFinite_presentation i).isFiniteType_generators |
| 44 | |
| 45 | theorem projectiveEmbedding_sheafCohomology_finite [IsNoetherianRing R] [X.IsSeparated] |
| 46 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 47 | (i : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion i] |
| 48 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (n : ℕ) : |
| 49 | letI := BaseRingCohomologyScalars.Construction.baseRingSheafCohomologyModule (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) M n |
| 50 | Module.Finite R (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M n) := by |
| 51 | let f := i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ) |
| 52 | let U := fun j : ULift σ ↦ i ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) j |
| 53 | have hU : IsOpenCover U := |
| 54 | (IsOpenCover.mk (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))).comap i.base.hom |
| 55 | have hUaff (j : ULift σ) : IsAffineOpen (U j) := |
| 56 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) j).preimage i |
| 57 | let : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 58 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 59 | let : Module.Finite Γ(Spec (.of R), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f M U).homology n) := |
| 60 | AlgebraicGeometry.SheafCohomology.Projective.TwistCechFinite.MvPolynomial.closedImmersion_finiteType_orderedBaseCechComplex_homology_module_finite i M n |
| 61 | let := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 62 | let : Module.Finite Γ(Spec (.of R), ⊤) (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M n) := |
| 63 | AlgebraicGeometry.SheafCohomology.Projective.BaseFiniteness.baseCohomologyFinite_of_orderedBaseCech f M U hU hUaff n |
| 64 | let := BaseRingCohomologyScalars.Construction.baseRingSheafCohomologyModule f M n |
| 65 | exact Module.Finite.of_surjective (baseRingCohomologySemilinear f M n) Function.surjective_id |
| 66 | |
| 67 | theorem projectiveEmbedding_lineBundleCohomology_finite [IsNoetherianRing R] [X.IsSeparated] |
| 68 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 69 | (i : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion i] |
| 70 | (M : X.Modules) (hM : LineBundle.Construction.IsLineBundle M) (n : ℕ) : |
| 71 | letI := BaseRingCohomologyScalars.Construction.baseRingSheafCohomologyModule (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) M n |
| 72 | Module.Finite R (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M n) := by |
| 73 | have := LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle M hM |
| 74 | have := isFiniteType_of_isLineBundle M hM |
| 75 | exact projectiveEmbedding_sheafCohomology_finite i M n |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveCohomologyFiniteness.Construction |