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.Global.ModuleSectionIdentity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Nonvanishing |
| 4 | import Mathlib.AlgebraicGeometry.Noetherian |
| 5 | import Mathlib.LinearAlgebra.Dimension.Finite |
| 6 | |
| 7 | /-! # Point Section Generation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.PointSectionGeneration |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Positive section dimension produces an actual nonzero section. |
| 14 | On a Jacobson scheme, section generation can be checked at closed points. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | theorem lineBundle_exists_nonzero_section_of_finrank_pos |
| 19 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 20 | (h : 0 < Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf)) : |
| 21 | ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, s ≠ 0 := by |
| 22 | let W := (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf |
| 23 | have : Nontrivial W := Module.nontrivial_of_finrank_pos h |
| 24 | obtain ⟨z, hz⟩ := exists_ne (0 : W) |
| 25 | let e := Global.ModuleSectionIdentity.coefficientGlobalSectionsNativeIso (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf |
| 26 | let s := (Global.Sections.moduleSectionHomEquiv L.sheaf).symm (e z) |
| 27 | refine ⟨s, fun hs => ?_⟩ |
| 28 | have he : e z = 0 := by |
| 29 | exact ((Global.Sections.moduleSectionHomEquiv L.sheaf).apply_symm_apply (e z)).symm.trans |
| 30 | ((congrArg (Global.Sections.moduleSectionHomEquiv L.sheaf) hs).trans (by rfl)) |
| 31 | exact hz (e.injective (he.trans (map_zero e).symm)) |
| 32 | |
| 33 | theorem lineBundle_pointwise_sections_of_closedPoints |
| 34 | {X : Scheme.{u}} [JacobsonSpace X] (L : Line.Bundles.LineBundle X) |
| 35 | (h : ∀ x : X, IsClosed {x} → |
| 36 | ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, x ∈ Ample.LineBundles.sectionNonvanishing s) : |
| 37 | ∀ x : X, ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 38 | let V : X.Opens := ⨆ s : Line.Bundles.structureModule X ⟶ L.sheaf, Ample.LineBundles.sectionNonvanishing s |
| 39 | have hall : V = ⊤ := by |
| 40 | apply top_unique |
| 41 | intro x _ |
| 42 | by_contra hx |
| 43 | obtain ⟨y, hy, hcy⟩ := nonempty_inter_closedPoints |
| 44 | (show ((V : Set X)ᶜ).Nonempty from ⟨x, hx⟩) V.isOpen.isClosed_compl.isLocallyClosed |
| 45 | obtain ⟨s, hs⟩ := h y hcy |
| 46 | exact hy (show y ∈ V from (le_iSup (fun t => Ample.LineBundles.sectionNonvanishing t) s) hs) |
| 47 | intro x |
| 48 | have hx : x ∈ V := hall.symm ▸ (show x ∈ (⊤ : X.Opens) from trivial) |
| 49 | simpa only [V, TopologicalSpace.Opens.mem_iSup] using hx |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.PointSectionGeneration |