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.Power.SumSectionCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.Nonvanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FactorizationSpans |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.MapSectionFactorization |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.MultiplicationProduct |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisPullbackSectionSurjectivity |
| 7 | |
| 8 | /-! # Section Coordinate Subring -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.SectionCoordinateSubring |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Consecutive section factorizations force every power numerator's chart |
| 15 | coordinate into the subring containing the degree-one coordinates. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped BigOperators |
| 18 | universe u |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | variable {X : Scheme.{u}} |
| 23 | |
| 24 | local instance powerSectionFrame {M : X.Modules} (U : X.Opens) |
| 25 | (s : Line.Bundles.structureModule X ⟶ M) [IsIso (Ample.LineBundles.pullbackSection U.ι s)] (n : ℕ) : |
| 26 | IsIso (Ample.LineBundles.pullbackSection U.ι (TensorPower.Maps.tensorPowerSection s n)) := |
| 27 | Nonvanishing.tensorPowerSection_pullback_isIso U.ι s n |
| 28 | |
| 29 | private def frameCoordinateAddHom {Y : Scheme.{u}} {M : Y.Modules} |
| 30 | (e : Line.Bundles.structureModule Y ⟶ M) [IsIso e] : (Line.Bundles.structureModule Y ⟶ M) →+ Γ(Y, ⊤) where |
| 31 | toFun t := Frame.Coordinates.frameCoordinate e t |
| 32 | map_zero' := by |
| 33 | change Frame.Coordinates.structureModuleEndValue Y (0 ≫ inv e) = 0 |
| 34 | rw [zero_comp, map_zero] |
| 35 | map_add' t v := by |
| 36 | change Frame.Coordinates.structureModuleEndValue Y ((t + v) ≫ inv e) = _ |
| 37 | rw [Preadditive.add_comp, map_add] |
| 38 | rfl |
| 39 | |
| 40 | def sectionPowerCoordinateAddHom (L : Line.Bundles.LineBundle X) (U : X.Opens) |
| 41 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [IsIso (Ample.LineBundles.pullbackSection U.ι s)] (n : ℕ) : |
| 42 | (Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf) →+ Γ(U.toScheme, ⊤) := |
| 43 | (frameCoordinateAddHom (Ample.LineBundles.pullbackSection U.ι (TensorPower.Maps.tensorPowerSection s n))).comp |
| 44 | (BasisPullbackSectionSurjectivity.pullbackSectionAddHom U.ι (L.tensorPower n).sheaf) |
| 45 | |
| 46 | theorem sectionPowerCoordinates_mem_of_factorization |
| 47 | (L : Line.Bundles.LineBundle X) (U : X.Opens) (s : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 48 | [IsIso (Ample.LineBundles.pullbackSection U.ι s)] (C : Subring Γ(U.toScheme, ⊤)) |
| 49 | (hbase : ∀ t : Line.Bundles.structureModule X ⟶ (L.tensorPower 1).sheaf, |
| 50 | sectionPowerCoordinateAddHom L U s 1 t ∈ C) |
| 51 | (hfactor : ∀ m : ℕ, 0 < m → Section.FactorizationSpans.SectionFactorizationSpan (Line.Bundles.structureModule X) |
| 52 | (L.tensorPower m).sheaf (L.tensorPower (1 + m)).sheaf) |
| 53 | (n : ℕ) (hn : 0 < n) (t : Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf) : |
| 54 | sectionPowerCoordinateAddHom L U s n t ∈ C := by |
| 55 | classical |
| 56 | have h : ∀ m : ℕ, ∀ v : Line.Bundles.structureModule X ⟶ (L.tensorPower (m + 1)).sheaf, |
| 57 | sectionPowerCoordinateAddHom L U s (m + 1) v ∈ C := by |
| 58 | intro m |
| 59 | induction m with |
| 60 | | zero => exact hbase |
| 61 | | succ m ih => |
| 62 | have hstep : ∀ v : Line.Bundles.structureModule X ⟶ (L.tensorPower (1 + (m + 1))).sheaf, |
| 63 | sectionPowerCoordinateAddHom L U s (1 + (m + 1)) v ∈ C := by |
| 64 | intro v |
| 65 | obtain ⟨k, w, a, hv⟩ := hfactor (m + 1) (Nat.zero_lt_succ m) v |
| 66 | choose z hz using fun i => LineBundle.MapSectionFactorization.tensorPowerMap_exists_multiplying_section L 1 (m + 1) (a i) |
| 67 | rw [hv, map_sum] |
| 68 | apply C.sum_mem |
| 69 | intro i _ |
| 70 | have he : w i ≫ a i = Tensor.ProductSections.tensorProductSection (z i) (w i) ≫ |
| 71 | (L.tensorPowerAddIso 1 (m + 1)).inv := by |
| 72 | rw [← hz i, ← Category.assoc, Section.MultiplicationProduct.section_comp_moduleSectionMultiply] |
| 73 | rw [he] |
| 74 | change Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι (TensorPower.Maps.tensorPowerSection s (1 + (m + 1)))) |
| 75 | (Ample.LineBundles.pullbackSection U.ι (Tensor.ProductSections.tensorProductSection (z i) (w i) ≫ |
| 76 | (L.tensorPowerAddIso 1 (m + 1)).inv)) ∈ C |
| 77 | rw [SumSectionCoordinates.tensorPowerAddIso_product_coordinate] |
| 78 | exact C.mul_mem (hbase (z i)) (ih (w i)) |
| 79 | rw [show m + 1 + 1 = 1 + (m + 1) by omega] |
| 80 | exact hstep |
| 81 | obtain ⟨m, rfl⟩ := Nat.exists_eq_succ_of_ne_zero (Nat.ne_of_gt hn) |
| 82 | exact h m t |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.SectionCoordinateSubring |