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.Section.OverMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ExternalTensorBundle |
| 3 | |
| 4 | /-! # Embedding Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.EmbeddingProducts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Products of embeddings defined by sections use the actual tensor |
| 11 | product sections, and the native product presentation pulls O(1) back to |
| 12 | the external tensor product of the source line bundles. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable {S : Scheme.{u}} {X Y : Over S} (L : Line.Bundles.LineBundle X.left) (M : Line.Bundles.LineBundle Y.left) |
| 20 | variable {n m : ℕ} |
| 21 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ L.sheaf)) |
| 22 | variable (t : Fin (m + 1) → (Line.Bundles.structureModule Y.left ⟶ M.sheaf)) |
| 23 | variable (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 24 | variable (ht : ∀ y : Y.left, ∃ j, y ∈ Ample.LineBundles.sectionNonvanishing (t j)) |
| 25 | |
| 26 | def externalPairSectionFamily (i : Fin (Affine.SegreOver.segreProjectiveDimension.{u} n m + 1)) : |
| 27 | Line.Bundles.structureModule (X ⊗ Y).left ⟶ (Graph.ExternalTensorBundle.externalTensorBundle L M).sheaf := |
| 28 | Tensor.PairSectionFrames.tensorPairSectionFamily (L.pullback (fst X Y).left) (M.pullback (snd X Y).left) |
| 29 | (Grassmann.ProjectivePresentation.finiteProjectiveCoordinateEquiv (Segre.ChartProjections.SegreProjectiveIndex.{u} n m)) |
| 30 | (fun j => Ample.LineBundles.pullbackSection (fst X Y).left (s j)) |
| 31 | (fun j => Ample.LineBundles.pullbackSection (snd X Y).left (t j)) i |
| 32 | |
| 33 | include hs ht in |
| 34 | theorem externalPairSectionFamily_covers : |
| 35 | ∀ x : (X ⊗ Y).left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (externalPairSectionFamily L M s t i) := |
| 36 | Tensor.PairSectionFrames.tensorPairSectionFamily_covers _ _ _ _ _ |
| 37 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (fst X Y).left L s hs) |
| 38 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (snd X Y).left M t ht) |
| 39 | |
| 40 | private theorem tensorHom_comp_eq {S : Scheme.{u}} |
| 41 | {X Y A B T : Over S} (a : X ⟶ A) (b : Y ⟶ B) (c : X ⊗ Y ⟶ A) (d : X ⊗ Y ⟶ B) |
| 42 | (e : A ⊗ B ⟶ T) (r : X ⊗ Y ⟶ T) |
| 43 | (ha : fst X Y ≫ a = c) (hb : snd X Y ≫ b = d) (hr : lift c d ≫ e = r) : |
| 44 | (a ⊗ₘ b) ≫ e = r := by |
| 45 | have h : a ⊗ₘ b = lift c d := by |
| 46 | apply CartesianMonoidalCategory.hom_ext |
| 47 | · rw [tensorHom_fst, lift_fst, ha] |
| 48 | · rw [tensorHom_snd, lift_snd, hb] |
| 49 | exact (congrArg (fun f => f ≫ e) h).trans hr |
| 50 | |
| 51 | abbrev tensorSectionProjectiveMorphism_segre := by |
| 52 | have ha := OverMaps.sectionProjectiveOverMap_precomp (fst X Y) L s hs |
| 53 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (fst X Y).left L s hs) |
| 54 | have hb := OverMaps.sectionProjectiveOverMap_precomp (snd X Y) M t ht |
| 55 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (snd X Y).left M t ht) |
| 56 | have hr := OverMaps.sectionProjectiveOverMap_pair_segre (X ⊗ Y) |
| 57 | (L.pullback (fst X Y).left) (M.pullback (snd X Y).left) |
| 58 | (fun i => Ample.LineBundles.pullbackSection (fst X Y).left (s i)) |
| 59 | (fun i => Ample.LineBundles.pullbackSection (snd X Y).left (t i)) |
| 60 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (fst X Y).left L s hs) |
| 61 | (ChartArbitraryPullback.lineBundleSections_pullback_covers (snd X Y).left M t ht) |
| 62 | exact tensorHom_comp_eq (OverMaps.sectionProjectiveOverMap X s hs) (OverMaps.sectionProjectiveOverMap Y t ht) |
| 63 | _ _ _ _ ha hb hr |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.EmbeddingProducts |