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.ProductCoefficientMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProductSegreTwisting |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveBaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingBundle |
| 5 | |
| 6 | /-! # Section Product Segre -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.SectionProductSegre |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The existing relative Segre presentation sends a pair of section maps |
| 13 | to the map of tensor-product sections, with its actual twisting bundle. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | private theorem composite_map_triangle {C : Type*} [Category C] |
| 20 | {X A B D Z : C} (a : X ⟶ A) (e : A ⟶ B) (q : B ⟶ Z) |
| 21 | (c : A ⟶ D) (b : D ⟶ Z) (p : X ⟶ D) (r : X ⟶ Z) |
| 22 | (he : e ≫ q = c ≫ b) (ha : a ≫ c = p) (hp : p ≫ b = r) : |
| 23 | (a ≫ e) ≫ q = r := by |
| 24 | rw [Category.assoc, he, ← Category.assoc, ha, hp] |
| 25 | |
| 26 | variable {S X : Scheme.{u}} (f : X ⟶ S) (L M : Line.Bundles.LineBundle X) {n m : ℕ} |
| 27 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 28 | variable (t : Fin (m + 1) → (Line.Bundles.structureModule X ⟶ M.sheaf)) |
| 29 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 30 | variable (ht : ∀ x : X, ∃ j, x ∈ Ample.LineBundles.sectionNonvanishing (t j)) |
| 31 | |
| 32 | def relativeSectionProductMap : Over.mk f ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n ⊗ Projective.ProjectivePresentations.projectiveSpaceOver S m := |
| 33 | lift (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs) (SectionsProjectiveMorphism.sectionProjectiveMorphism f t ht) |
| 34 | |
| 35 | theorem relativeSectionProductMap_coefficients : |
| 36 | (relativeSectionProductMap f L M s t hs ht).left ≫ Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m = |
| 37 | Section.ProductSegreMorphism.absoluteSectionProductMap f L M s t hs ht := by |
| 38 | apply pullback.hom_ext |
| 39 | · change ((relativeSectionProductMap f L M s t hs ht).left ≫ |
| 40 | Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m) ≫ |
| 41 | (fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n) (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) m)).left = _ |
| 42 | rw [Category.assoc, Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap_fst, ← Category.assoc] |
| 43 | have h : (relativeSectionProductMap f L M s t hs ht).left ≫ |
| 44 | (fst (Projective.ProjectivePresentations.projectiveSpaceOver S n) (Projective.ProjectivePresentations.projectiveSpaceOver S m)).left = |
| 45 | (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left := congrArg Over.Hom.left (lift_fst _ _) |
| 46 | rw [h] |
| 47 | exact (Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection f s hs).trans |
| 48 | (Section.ProductSegreMorphism.absoluteSectionProductMap_fst f L M s t hs ht).symm |
| 49 | · change ((relativeSectionProductMap f L M s t hs ht).left ≫ |
| 50 | Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m) ≫ |
| 51 | (snd (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n) (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) m)).left = _ |
| 52 | rw [Category.assoc, Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap_snd, ← Category.assoc] |
| 53 | have h : (relativeSectionProductMap f L M s t hs ht).left ≫ |
| 54 | (snd (Projective.ProjectivePresentations.projectiveSpaceOver S n) (Projective.ProjectivePresentations.projectiveSpaceOver S m)).left = |
| 55 | (SectionsProjectiveMorphism.sectionProjectiveMorphism f t ht).left := congrArg Over.Hom.left (lift_snd _ _) |
| 56 | rw [h] |
| 57 | exact (Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection f t ht).trans |
| 58 | (Section.ProductSegreMorphism.absoluteSectionProductMap_snd f L M s t hs ht).symm |
| 59 | |
| 60 | theorem relativeSectionProductMap_segre : |
| 61 | relativeSectionProductMap f L M s t hs ht ≫ (Projective.Products.projectiveSpaceProductPresentation S n m).embedding = |
| 62 | SectionsProjectiveMorphism.sectionProjectiveMorphism f |
| 63 | (Tensor.PairSectionFrames.tensorPairSectionFamily L M (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t) |
| 64 | (Tensor.PairSectionFrames.tensorPairSectionFamily_covers L M |
| 65 | (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t hs ht) := by |
| 66 | apply Over.OverMorphism.ext |
| 67 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback S (Affine.SegreOver.segreProjectiveDimension.{u} n m)).hom_ext |
| 68 | · exact (composite_map_triangle |
| 69 | (relativeSectionProductMap f L M s t hs ht).left |
| 70 | (Projective.Products.projectiveSpaceProductPresentation S n m).embedding.left |
| 71 | (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection S (Affine.SegreOver.segreProjectiveDimension.{u} n m)) |
| 72 | (Projective.ProductCoefficientMap.relativeProjectiveProductCoefficientMap S n m) |
| 73 | (Affine.SegreOver.affineSegreStandardEmbedding (CommRingCat.of Γ(S, ⊤)) n m).left |
| 74 | (Section.ProductSegreMorphism.absoluteSectionProductMap f L M s t hs ht) _ |
| 75 | (Projective.ProductCoefficientMap.projectiveSpaceProductPresentation_coefficients S n m) |
| 76 | (relativeSectionProductMap_coefficients f L M s t hs ht) |
| 77 | (Section.ProductSegreTwisting.absoluteSectionProductMap_standardSegre f L M s t hs ht)).trans |
| 78 | (Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection f _ _).symm |
| 79 | · exact (relativeSectionProductMap f L M s t hs ht ≫ |
| 80 | (Projective.Products.projectiveSpaceProductPresentation S n m).embedding).w.trans |
| 81 | (SectionsProjectiveMorphism.sectionProjectiveMorphism f _ _).w.symm |
| 82 | |
| 83 | def relativeSectionProductSegreTwistingIso : |
| 84 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S (Affine.SegreOver.segreProjectiveDimension.{u} n m)).pullback |
| 85 | (relativeSectionProductMap f L M s t hs ht ≫ |
| 86 | (Projective.Products.projectiveSpaceProductPresentation S n m).embedding).left).sheaf ≅ (L.tensor M).sheaf := |
| 87 | (Scheme.Modules.pullbackCongr |
| 88 | (congrArg Over.Hom.left (relativeSectionProductMap_segre f L M s t hs ht))).app |
| 89 | (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S (Affine.SegreOver.segreProjectiveDimension.{u} n m)).sheaf ≪≫ |
| 90 | RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso f |
| 91 | (Tensor.PairSectionFrames.tensorPairSectionFamily L M (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t) |
| 92 | (Tensor.PairSectionFrames.tensorPairSectionFamily_covers L M |
| 93 | (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) s t hs ht) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.SectionProductSegre |