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.Positive.PowerKoszulAcyclicity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.AcyclicModuleSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionKoszulAcyclic |
| 4 | |
| 5 | /-! # Square Koszul Section Surjectivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SquareKoszulSectionSurjectivity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A covering family of sections of a square gives surjectivity at the |
| 12 | last global-section map of each Koszul complex with positive-power coefficients. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem lineBundleSquareKoszul_last_sections_surjective |
| 17 | {X : Scheme.{u}} (G : Line.Bundles.LineBundle X) |
| 18 | (hG : ∀ b : ℕ, 0 < b → ∀ q : ℕ, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (G.tensorPower b).sheaf (q + 1))) |
| 19 | (ss : List (Line.Bundles.structureModule X ⟶ (G.tensorPower 2).sheaf)) |
| 20 | (hcover : ∀ x : X, ∃ s ∈ ss, x ∈ Ample.LineBundles.sectionNonvanishing s) |
| 21 | (b : ℕ) (hb : 0 < b) : |
| 22 | Function.Surjective |
| 23 | (((LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex (G.tensorPower 2) (G.tensorPower b).sheaf ss).d (-1) 0).app ⊤) := by |
| 24 | let L := G.tensorPower 2 |
| 25 | let M := (G.tensorPower b).sheaf |
| 26 | let K := LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex L M ss |
| 27 | let I := {s : Line.Bundles.structureModule X ⟶ L.sheaf // s ∈ ss} |
| 28 | have hK : K.Acyclic := by |
| 29 | apply LineBundle.SectionKoszulAcyclic.lineBundleSectionKoszulComplex_acyclic L M ss (fun s : I => Ample.LineBundles.sectionNonvanishing s.val) |
| 30 | · intro x |
| 31 | obtain ⟨s, hs, hx⟩ := hcover x |
| 32 | exact ⟨⟨s, hs⟩, hx⟩ |
| 33 | · intro s |
| 34 | exact ⟨s.val, s.property, |
| 35 | (Section.Nonvanishing.isIso_pullbackSection_iff (Ample.LineBundles.sectionNonvanishing s.val).ι s.val).mp inferInstance⟩ |
| 36 | exact Bounded.AcyclicModuleSections.bounded_acyclic_moduleComplex_last_sections_surjective K hK |
| 37 | (fun i q => Positive.PowerKoszulAcyclicity.lineBundleSquareKoszul_terms_acyclic G hG ss b hb i q) ss.length |
| 38 | (fun i hi => LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex_isZero_X L M ss i (Or.inl hi)) |
| 39 | (LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex_isZero_X L M ss 1 (Or.inr (by decide))) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SquareKoszulSectionSurjectivity |