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.Closed.ProjectiveTwistingSectionsFinite |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.TwistingAffinePullback |
| 3 | |
| 4 | /-! # Twisting Sections Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingSectionsFinite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of actual twisting sections is compatible with relative projective space over any Noetherian affine spectrum. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 17 | |
| 18 | def identityAffineProjectiveChartIso : |
| 19 | Projective.ProjectivePresentations.affineProjectiveSpace R n ≅ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n := by |
| 20 | have : IsIso (AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n) := |
| 21 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback (𝟙 (Spec (.of R))) n).isIso_fst_of_isIso |
| 22 | exact Over.isoMk (asIso (AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n)) |
| 23 | ((AffineProjective.Charts.affineProjectiveChartMap_over (𝟙 (Spec (.of R))) n).trans (Category.comp_id _)) |
| 24 | |
| 25 | variable {X : Over (Spec (.of R))} (i : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n) |
| 26 | |
| 27 | def relativeEmbeddingAffineMap : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n := |
| 28 | i ≫ identityAffineProjectiveChartIso.inv |
| 29 | |
| 30 | instance relativeEmbeddingAffineMap_closed [IsClosedImmersion i.left] : |
| 31 | IsClosedImmersion (relativeEmbeddingAffineMap i).left := by |
| 32 | have : IsIso (identityAffineProjectiveChartIso (R := R) (n := n)).inv.left := |
| 33 | (Over.forget _).map_isIso identityAffineProjectiveChartIso.inv |
| 34 | exact inferInstanceAs (IsClosedImmersion |
| 35 | (i.left ≫ (identityAffineProjectiveChartIso (R := R) (n := n)).inv.left)) |
| 36 | |
| 37 | def relativeEmbeddingAffineTwistingIso : |
| 38 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback (relativeEmbeddingAffineMap i).left).sheaf ≅ |
| 39 | ((TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of R)) n).pullback i.left).sheaf := by |
| 40 | have he' : relativeEmbeddingAffineMap i ≫ identityAffineProjectiveChartIso.hom = i := by |
| 41 | dsimp only [relativeEmbeddingAffineMap] |
| 42 | simp |
| 43 | have he : (relativeEmbeddingAffineMap i).left ≫ AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n = |
| 44 | i.left := congrArg Over.Hom.left he' |
| 45 | exact (Scheme.Modules.pullback (relativeEmbeddingAffineMap i).left).mapIso |
| 46 | (Relative.TwistingAffinePullback.relativeProjectiveTwistingBundle_affineIso (𝟙 (Spec (.of R))) n).symm ≪≫ |
| 47 | (Scheme.Modules.pullbackComp (relativeEmbeddingAffineMap i).left |
| 48 | (AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n)).app |
| 49 | (TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of R)) n).sheaf ≪≫ |
| 50 | (Scheme.Modules.pullbackCongr he).app (TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of R)) n).sheaf |
| 51 | |
| 52 | theorem relativeEmbedding_twistingPowerSections_finite_noetherian |
| 53 | [IsNoetherianRing R] [IsClosedImmersion i.left] (d : ℕ) : |
| 54 | Module.Finite R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj |
| 55 | (((TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of R)) n).pullback i.left).tensorPower d).sheaf) := by |
| 56 | have : Module.Finite R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj |
| 57 | ((TensorPower.Maps.tensorPowerFunctor X.left d).obj |
| 58 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback (relativeEmbeddingAffineMap i).left).sheaf)) := |
| 59 | Closed.ProjectiveTwistingSectionsFinite.ClosedProjectiveEmbedding.twistingPowerSections_finite (relativeEmbeddingAffineMap i) d |
| 60 | exact Module.Finite.equiv (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso X.hom |
| 61 | ((TensorPower.Maps.tensorPowerFunctor X.left d).mapIso (relativeEmbeddingAffineTwistingIso i))) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingSectionsFinite |