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 Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 4 | |
| 5 | /-! # Module Homology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.ModuleHomology |
| 8 | |
| 9 | /-! Homology of a module complex is finite whenever its term in that degree is finite. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | |
| 17 | theorem finite (S : ShortComplex (ModuleCat.{v} R)) [Finite S.X₂] : Finite S.homology := by |
| 18 | let : Finite S.cycles := Finite.of_injective S.iCycles |
| 19 | ((ModuleCat.mono_iff_injective S.iCycles).mp inferInstance) |
| 20 | exact Finite.of_surjective S.homologyπ ((ModuleCat.epi_iff_surjective S.homologyπ).mp inferInstance) |
| 21 | |
| 22 | theorem complex {ι : Type w} {c : ComplexShape ι} (K : HomologicalComplex (ModuleCat.{v} R) c) |
| 23 | (i : ι) [Finite (K.X i)] : Finite (K.homology i) := by |
| 24 | let : Finite (K.sc i).X₂ := inferInstanceAs (Finite (K.X i)) |
| 25 | exact finite R (K.sc i) |
| 26 | |
| 27 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.ModuleHomology |