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.PresentationSectionData |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.GraphBundles |
| 3 | |
| 4 | /-! # Source Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An isomorphism of the source and defining line bundle transports the |
| 11 | actual power embedding while preserving its degree and projective dimension. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | section |
| 15 | variable {S : Scheme.{u}} {X Y : Over S} {L : Line.Bundles.LineBundle Y.left} {M : Line.Bundles.LineBundle X.left} |
| 16 | |
| 17 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.ofSourceIso (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L Y.hom) (e : X ≅ Y) |
| 18 | (eL : (L.pullback e.hom.left).sheaf ≅ M.sheaf) : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding M X.hom where |
| 19 | degree := E.degree |
| 20 | degree_pos := E.degree_pos |
| 21 | power := E.power.pullback e.hom.left |
| 22 | isPower := (M.tensorPower_isTensorPower E.degree).of_targetIso |
| 23 | (((Scheme.Modules.pullback e.hom.left).mapIso |
| 24 | (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some ≪≫ |
| 25 | L.powerBaseChangeIso e.hom.left E.degree ≪≫ |
| 26 | (TensorPower.Maps.tensorPowerFunctor X.left E.degree).mapIso eL).symm) |
| 27 | dimension := E.dimension |
| 28 | sections i := Ample.LineBundles.pullbackSection e.hom.left (E.sections i) |
| 29 | covers := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers e.hom.left E.power E.sections E.covers |
| 30 | closedImmersion := by |
| 31 | let j := SectionsProjectiveMorphism.sectionProjectiveMorphism Y.hom E.sections E.covers |
| 32 | have hc : IsClosedImmersion (e.hom ≫ j).left := |
| 33 | @IsClosedImmersion.comp _ _ _ _ _ (Grassmann.ProjectivePresentation.overIso_closedImmersion e) E.closedImmersion |
| 34 | have h := Section.ProjectivePrecomposition.sectionProjectiveMorphism_precomp e.hom E.power E.sections E.covers |
| 35 | (Section.ChartArbitraryPullback.lineBundleSections_pullback_covers e.hom.left E.power E.sections E.covers) |
| 36 | exact (congrArg (fun a => IsClosedImmersion a.left) h).mp hc |
| 37 | |
| 38 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.ofSourceIso_degree (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L Y.hom) (e : X ≅ Y) |
| 39 | (eL : (L.pullback e.hom.left).sheaf ≅ M.sheaf) : (E.ofSourceIso e eL).degree = E.degree := rfl |
| 40 | |
| 41 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.ofSourceIso_dimension (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L Y.hom) (e : X ≅ Y) |
| 42 | (eL : (L.pullback e.hom.left).sheaf ≅ M.sheaf) : (E.ofSourceIso e eL).dimension = E.dimension := rfl |
| 43 | end |
| 44 | |
| 45 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 46 | variable {A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S} |
| 47 | |
| 48 | def Moduli.Isomorphisms.LevelPreservingIso.graphPowerEmbedding (e : Moduli.Isomorphisms.LevelPreservingIso A B) |
| 49 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding B.graphBundle B.abelian.scheme.hom) : |
| 50 | Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom := |
| 51 | E.ofSourceIso e.abelian e.graphBundleIso |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |