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.Coefficient.SectionCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSections |
| 3 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 4 | |
| 5 | /-! # Line Bundle Section Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.LineBundleSectionDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A line bundle with a section nonvanishing at a point has a positive-dimensional space of global sections whenever that space is finite-dimensional. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem lineBundle_sections_finrank_pos_of_nonvanishing |
| 16 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 17 | (L : Line.Bundles.LineBundle X) (s : Line.Bundles.structureModule X ⟶ L.sheaf) (x : X) |
| 18 | (hx : x ∈ Ample.LineBundles.sectionNonvanishing s) |
| 19 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf)] : |
| 20 | 0 < Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf) := by |
| 21 | let z : (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf := Global.Sections.moduleSectionHomEquiv L.sheaf s |
| 22 | have hz0 : Global.Sections.moduleSectionHomEquiv L.sheaf (0 : Line.Bundles.structureModule X ⟶ L.sheaf) = 0 := rfl |
| 23 | have hz : z ≠ 0 := by |
| 24 | intro h |
| 25 | have hs : s = 0 := (Global.Sections.moduleSectionHomEquiv L.sheaf).injective (h.trans hz0.symm) |
| 26 | rw [hs, L.sectionNonvanishing_zero] at hx |
| 27 | exact hx |
| 28 | have : Nontrivial ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf) := nontrivial_of_ne z 0 hz |
| 29 | exact Module.finrank_pos |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.LineBundleSectionDimension |