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.ClosedImmersionModuleEpi |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsSurjective |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedTwistSections |
| 6 | |
| 7 | /-! # Polynomial Quotient -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialQuotient.Dimension |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Sufficiently positive sections on a projective closed subscheme are quotients |
| 14 | of actual homogeneous polynomial spaces. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- Finite local trivializations give actual finite-type module sheaves. -/ |
| 21 | theorem isFiniteType_of_isLineBundle {X : Scheme.{u}} (M : X.Modules) |
| 22 | (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) : M.IsFiniteType := by |
| 23 | have : M.IsFinitePresentation := ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent.Construction.isFinitePresentation_of_isLineBundle M hM |
| 24 | obtain ⟨q, hq⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData M |
| 25 | refine { exists_localGeneratorsData := ⟨q.localGeneratorsData, ?_⟩ } |
| 26 | constructor |
| 27 | intro i |
| 28 | exact (hq.isFinite_presentation i).isFiniteType_generators |
| 29 | |
| 30 | local instance projectivePolynomialQuotientMonoidal (X : Scheme.{u}) : |
| 31 | MonoidalCategory X.Modules := Monoidal.Scheme.Modules.monoidalCategory X |
| 32 | |
| 33 | def structureModuleTensorLeftIso {X : Scheme.{u}} (M : X.Modules) : |
| 34 | Invertible.Scheme.Modules.unitObj X ⊗ M ≅ M := |
| 35 | ((TensorSections.monoidalUnitObjIso X).symm ⊗ᵢ Iso.refl M) ≪≫ λ_ M |
| 36 | |
| 37 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 38 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 39 | |
| 40 | def projectivePolynomialStructureSectionsEquiv (j : σ) (n : ℕ) : |
| 41 | MvPolynomial.homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n ≃ₗ[Γ(Spec (.of R), ⊤)] |
| 42 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 43 | (Invertible.Scheme.Modules.unitObj (Proj (MvPolynomial.homogeneousSubmodule σ R)) ⊗ |
| 44 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) := |
| 45 | (DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n).symm.trans |
| 46 | (((AdditiveCoproductSections.baseGlobalSectionsFunctor MvPolynomialClosure.MvPolynomial.homogeneousProjπ).mapIso |
| 47 | (structureModuleTensorLeftIso |
| 48 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n))).toLinearEquiv.symm) |
| 49 | |
| 50 | def closedProjectiveTwistSectionReductionEquiv {X : Scheme.{u}} |
| 51 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 52 | (j : σ) (n : ℕ) : |
| 53 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 54 | ((Scheme.Modules.pushforward f).obj (Invertible.Scheme.Modules.unitObj X) ⊗ |
| 55 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 56 | ≃ₗ[Γ(Spec (.of R), ⊤)] |
| 57 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 58 | ((Scheme.Modules.pullback f).obj (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower |
| 59 | (R := R) j n)) := |
| 60 | (ClosedTwistSections.MvPolynomial.closedImmersion_projectiveTwist_sectionsLinearEquiv |
| 61 | f (Invertible.Scheme.Modules.unitObj X) j n).symm.trans |
| 62 | (((AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).mapIso |
| 63 | (structureModuleTensorLeftIso _)).toLinearEquiv) |
| 64 | |
| 65 | def closedProjectivePolynomialSectionsMap {X : Scheme.{u}} |
| 66 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 67 | (j : σ) (n : ℕ) : |
| 68 | MvPolynomial.homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n →ₗ[Γ(Spec (.of R), ⊤)] |
| 69 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 70 | ((Scheme.Modules.pullback f).obj (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower |
| 71 | (R := R) j n)) := |
| 72 | (closedProjectiveTwistSectionReductionEquiv f j n).toLinearMap.comp |
| 73 | ((((AdditiveCoproductSections.baseGlobalSectionsFunctor MvPolynomialClosure.MvPolynomial.homogeneousProjπ).map |
| 74 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 75 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom))).hom).comp |
| 76 | (projectivePolynomialStructureSectionsEquiv (R := R) j n).toLinearMap) |
| 77 | |
| 78 | theorem closedProjectivePolynomialSectionsMap_eventually_surjective |
| 79 | [IsNoetherianRing R] {X : Scheme.{u}} |
| 80 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] (j : σ) : |
| 81 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → Function.Surjective (closedProjectivePolynomialSectionsMap f j n) := by |
| 82 | let Y := Proj (MvPolynomial.homogeneousSubmodule σ R) |
| 83 | have : (Invertible.Scheme.Modules.unitObj Y).IsQuasicoherent := |
| 84 | ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_structureSheaf Y) |
| 85 | have : (Invertible.Scheme.Modules.unitObj Y).IsFiniteType := |
| 86 | isFiniteType_of_isLineBundle _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_structureSheaf Y) |
| 87 | have : (Invertible.Scheme.Modules.unitObj X).IsQuasicoherent := |
| 88 | ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_structureSheaf X) |
| 89 | have : ((Scheme.Modules.pushforward f).obj (Invertible.Scheme.Modules.unitObj X)).IsQuasicoherent := |
| 90 | Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom _ |
| 91 | let q : Invertible.Scheme.Modules.unitObj Y ⟶ |
| 92 | (Scheme.Modules.pushforward f).obj (Invertible.Scheme.Modules.unitObj X) := |
| 93 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom |
| 94 | have : Epi q := ArithmeticGeometry.OrdinaryLocus.Openness.ClosedImmersionModuleEpi.Construction.closedImmersion_structureModule_epi f |
| 95 | obtain ⟨b, hb⟩ := GlobalSectionsSurjective.MvPolynomial.finiteType_epi_eventually_projectiveTwist_sections_surjective |
| 96 | (M := Invertible.Scheme.Modules.unitObj Y) |
| 97 | (N := (Scheme.Modules.pushforward f).obj (Invertible.Scheme.Modules.unitObj X)) q j |
| 98 | refine ⟨b, fun n hn => ?_⟩ |
| 99 | exact (closedProjectiveTwistSectionReductionEquiv f j n).surjective.comp |
| 100 | ((hb n hn).comp (projectivePolynomialStructureSectionsEquiv (R := R) j n).surjective) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialQuotient.Dimension |