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.Graph.ExternalTensorBundle |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectivePrecomposition |
| 4 | |
| 5 | /-! # Over Maps -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.OverMaps |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | universe u |
| 14 | |
| 15 | def sectionProjectiveOverMap {S : Scheme.{u}} (X : Over S) {M : X.left.Modules} {n : ℕ} |
| 16 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ M)) |
| 17 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 18 | X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 19 | Over.homMk (SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).left (SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).w |
| 20 | |
| 21 | theorem sectionProjectiveOverMap_eq {S : Scheme.{u}} (X : Over S) {M : X.left.Modules} {n : ℕ} |
| 22 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ M)) |
| 23 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 24 | sectionProjectiveOverMap X s hs = SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs := rfl |
| 25 | |
| 26 | theorem sectionProjectiveOverMap_precomp {S : Scheme.{u}} {X Y : Over S} (a : X ⟶ Y) |
| 27 | (L : Line.Bundles.LineBundle Y.left) {n : ℕ} |
| 28 | (s : Fin (n + 1) → (Line.Bundles.structureModule Y.left ⟶ L.sheaf)) |
| 29 | (hs : ∀ y : Y.left, ∃ i, y ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 30 | (ht : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection a.left (s i))) : |
| 31 | a ≫ sectionProjectiveOverMap Y s hs = |
| 32 | sectionProjectiveOverMap X (M := (L.pullback a.left).sheaf) (fun i => Ample.LineBundles.pullbackSection a.left (s i)) ht := by |
| 33 | convert (ProjectivePrecomposition.sectionProjectiveMorphism_precomp a L s hs ht) using 2 <;> rfl |
| 34 | |
| 35 | private theorem overSection_coefficients {S : Scheme.{u}} (X : Over S) {M : X.left.Modules} {n : ℕ} |
| 36 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ M)) |
| 37 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 38 | (sectionProjectiveOverMap X s hs).left ≫ RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection S n = |
| 39 | SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs := |
| 40 | ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection X.hom s hs |
| 41 | |
| 42 | private theorem overProduct_coefficients {S : Scheme.{u}} (X : Over S) |
| 43 | (L M : Line.Bundles.LineBundle X.left) {n m : ℕ} |
| 44 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ L.sheaf)) |
| 45 | (t : Fin (m + 1) → (Line.Bundles.structureModule X.left ⟶ M.sheaf)) |
| 46 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 47 | (ht : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (t i)) : |
| 48 | (lift (sectionProjectiveOverMap X s hs) (sectionProjectiveOverMap X t ht)).left ≫ |
| 49 | Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m = ProductSegreMorphism.absoluteSectionProductMap X.hom L M s t hs ht := |
| 50 | Relative.SectionProductSegre.relativeSectionProductMap_coefficients X.hom L M s t hs ht |
| 51 | |
| 52 | private theorem overSegre_coefficients (S : Scheme.{u}) (n m : ℕ) : |
| 53 | (Projective.Products.nativeSegreProductEmbedding S n m).left ≫ |
| 54 | RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection S (Affine.SegreOver.segreProjectiveDimension.{u} n m) = |
| 55 | Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m ≫ |
| 56 | (Affine.SegreOver.affineSegreStandardEmbedding (CommRingCat.of Γ(S, ⊤)) n m).left := |
| 57 | Projective.ProductCoefficientMap.projectiveSpaceProductPresentation_coefficients S n m |
| 58 | |
| 59 | theorem sectionProjectiveOverMap_pair_segre {S : Scheme.{u}} (X : Over S) |
| 60 | (L M : Line.Bundles.LineBundle X.left) {n m : ℕ} |
| 61 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ L.sheaf)) |
| 62 | (t : Fin (m + 1) → (Line.Bundles.structureModule X.left ⟶ M.sheaf)) |
| 63 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 64 | (ht : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (t i)) : |
| 65 | lift (sectionProjectiveOverMap X s hs) (sectionProjectiveOverMap X t ht) ≫ |
| 66 | Projective.Products.nativeSegreProductEmbedding S n m = |
| 67 | sectionProjectiveOverMap X |
| 68 | (Tensor.PairSectionFrames.tensorPairSectionFamily L M (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t) |
| 69 | (Tensor.PairSectionFrames.tensorPairSectionFamily_covers L M (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t hs ht) := by |
| 70 | apply Over.OverMorphism.ext |
| 71 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback S (Affine.SegreOver.segreProjectiveDimension.{u} n m)).hom_ext |
| 72 | · change ((lift (sectionProjectiveOverMap X s hs) (sectionProjectiveOverMap X t ht)).left ≫ |
| 73 | (Projective.Products.nativeSegreProductEmbedding S n m).left) ≫ _ = _ |
| 74 | rw [Category.assoc, overSegre_coefficients, ← Category.assoc, overProduct_coefficients, |
| 75 | ProductSegreTwisting.absoluteSectionProductMap_standardSegre] |
| 76 | exact (overSection_coefficients X _ _).symm |
| 77 | · exact (lift (sectionProjectiveOverMap X s hs) (sectionProjectiveOverMap X t ht) ≫ |
| 78 | Projective.Products.nativeSegreProductEmbedding S n m).w.trans (sectionProjectiveOverMap X _ _).w.symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.OverMaps |