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.LineBundle.SectionMultiplication |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 3 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 4 | |
| 5 | /-! # Pullback Section Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.PullbackSectionBound |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A generating family supplies a generically nonvanishing pulled-back section; a tensor identity then bounds the other factor's actual section space. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | theorem generatingSections_pullback_nonempty [Nonempty X] (f : X ⟶ Y) (L : Line.Bundles.LineBundle Y) |
| 20 | {ι : Type v} (s : ι → (Line.Bundles.structureModule Y ⟶ L.sheaf)) |
| 21 | (hs : ∀ y : Y, ∃ i, y ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 22 | ∃ i, Nonempty (Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f (s i))) := by |
| 23 | let x : X := Classical.choice inferInstance |
| 24 | obtain ⟨i, hi⟩ := hs (f x) |
| 25 | refine ⟨i, ⟨⟨x, ?_⟩⟩⟩ |
| 26 | rw [LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange f L] |
| 27 | exact hi |
| 28 | |
| 29 | variable {K : Type u} [Field K] [IsIntegral X] |
| 30 | |
| 31 | theorem tensorFactorSections_finite (p : X ⟶ Spec (.of K)) (L M B : Line.Bundles.LineBundle X) |
| 32 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] |
| 33 | (e : (L.tensor M).sheaf ≅ B.sheaf) |
| 34 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj B.sheaf)] : |
| 35 | Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M.sheaf) := by |
| 36 | let a := ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).map |
| 37 | (LineBundle.SectionMultiplication.lineBundleSectionMultiply L M s ≫ e.hom)).hom |
| 38 | have ha : Function.Injective a := |
| 39 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p e).injective.comp (LineBundle.SectionMultiplication.lineBundleSectionMultiply_sections_injective p L M s) |
| 40 | exact Module.Finite.of_injective a ha |
| 41 | |
| 42 | theorem tensorFactorSections_finrank_le (p : X ⟶ Spec (.of K)) (L M B : Line.Bundles.LineBundle X) |
| 43 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] |
| 44 | (e : (L.tensor M).sheaf ≅ B.sheaf) |
| 45 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj B.sheaf)] : |
| 46 | Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M.sheaf) ≤ |
| 47 | Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj B.sheaf) := by |
| 48 | let a := ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).map |
| 49 | (LineBundle.SectionMultiplication.lineBundleSectionMultiply L M s ≫ e.hom)).hom |
| 50 | have ha : Function.Injective a := |
| 51 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p e).injective.comp (LineBundle.SectionMultiplication.lineBundleSectionMultiply_sections_injective p L M s) |
| 52 | exact LinearMap.finrank_le_finrank_of_injective ha |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.PullbackSectionBound |