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.Relative.SectionProductSegre |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.LineBundleSectionCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.ProjectiveEmbeddings |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Addition |
| 5 | |
| 6 | /-! # Tensor Embedding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Tensoring an embedded line bundle with a globally generated line |
| 13 | bundle gives an actual closed projective embedding. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | |
| 18 | theorem Generated.TensorEmbedding.tensorSectionMap_closedImmersion |
| 19 | {X S : Scheme.{0}} (f : X ⟶ S) (L M : Line.Bundles.LineBundle X) {n m : ℕ} |
| 20 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 21 | (t : Fin (m + 1) → (Line.Bundles.structureModule X ⟶ M.sheaf)) |
| 22 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 23 | (ht : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (t i)) |
| 24 | (he : IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left) : |
| 25 | IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism f |
| 26 | (Tensor.PairSectionFrames.tensorPairSectionFamily L M (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex n m)) s t) |
| 27 | (Tensor.PairSectionFrames.tensorPairSectionFamily_covers L M |
| 28 | (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex n m)) s t hs ht)).left := by |
| 29 | let a := Relative.SectionProductSegre.relativeSectionProductMap f L M s t hs ht |
| 30 | let p := (fst (Projective.ProjectivePresentations.projectiveSpaceOver S n) (Projective.ProjectivePresentations.projectiveSpaceOver S m)).left |
| 31 | have hp : a.left ≫ p = (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left := |
| 32 | congrArg Over.Hom.left (lift_fst (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs) |
| 33 | (SectionsProjectiveMorphism.sectionProjectiveMorphism f t ht)) |
| 34 | let : IsSeparated p := inferInstanceAs |
| 35 | (IsSeparated (pullback.fst (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom (Projective.ProjectivePresentations.projectiveSpaceOver S m).hom)) |
| 36 | let : IsClosedImmersion (a.left ≫ p) := (congrArg IsClosedImmersion hp).mpr he |
| 37 | let : IsClosedImmersion a.left := IsClosedImmersion.of_comp a.left p |
| 38 | have hc : IsClosedImmersion (a ≫ (Projective.Products.projectiveSpaceProductPresentation S n m).embedding).left := |
| 39 | inferInstanceAs (IsClosedImmersion |
| 40 | (a.left ≫ (Projective.Products.projectiveSpaceProductPresentation S n m).embedding.left)) |
| 41 | exact (congrArg (fun k => IsClosedImmersion k.left) |
| 42 | (Relative.SectionProductSegre.relativeSectionProductMap_segre f L M s t hs ht)).mp hc |
| 43 | |
| 44 | variable {X S : Scheme.{0}} {f : X ⟶ S} {L : Line.Bundles.LineBundle X} |
| 45 | |
| 46 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.exists_addGeneratedPower (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L f) (m : ℕ) |
| 47 | (hm : HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (L.tensorPower m).sheaf) : |
| 48 | ∃ F : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L f, F.degree = E.degree + m := by |
| 49 | classical |
| 50 | obtain ⟨ι, hι, t, ht⟩ := hm.lineBundle_section_cover (L.tensorPower m) |
| 51 | let : Finite ι := hι |
| 52 | let : Fintype ι := Fintype.ofFinite ι |
| 53 | let e := Fintype.equivFin ι |
| 54 | let t' : Fin (Fintype.card ι + 1) → (Line.Bundles.structureModule X ⟶ (L.tensorPower m).sheaf) := |
| 55 | Fin.cases 0 (fun j => t (e.symm j)) |
| 56 | have ht' : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (t' i) := by |
| 57 | intro x |
| 58 | obtain ⟨i, hi⟩ := ht x |
| 59 | exact ⟨(e i).succ, by simpa only [t', Fin.cases_succ, Equiv.symm_apply_apply] using hi⟩ |
| 60 | let eP := (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 61 | let c := Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex E.dimension (Fintype.card ι)) |
| 62 | refine ⟨{ |
| 63 | degree := E.degree + m |
| 64 | degree_pos := Nat.add_pos_left E.degree_pos m |
| 65 | power := E.power.tensor (L.tensorPower m) |
| 66 | isPower := (L.tensorPower_isTensorPower (E.degree + m)).of_targetIso |
| 67 | (L.tensorPowerAddIso E.degree m ≪≫ Tensor.ProductSheaf.tensorModuleCongr eP.symm (Iso.refl _)) |
| 68 | dimension := Affine.SegreOver.segreProjectiveDimension E.dimension (Fintype.card ι) |
| 69 | sections := Tensor.PairSectionFrames.tensorPairSectionFamily E.power (L.tensorPower m) c E.sections t' |
| 70 | covers := Tensor.PairSectionFrames.tensorPairSectionFamily_covers E.power (L.tensorPower m) c E.sections t' E.covers ht' |
| 71 | closedImmersion := Generated.TensorEmbedding.tensorSectionMap_closedImmersion f E.power (L.tensorPower m) |
| 72 | E.sections t' E.covers ht' E.closedImmersion }, rfl⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |