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.HomologicalComplex |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Exact |
| 3 | |
| 4 | /-! # Chain Zero Cokernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ChainZeroCokernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-zero chain homology is identified with a specified cokernel |
| 11 | of the degree-one differential. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | |
| 19 | def iso (K : ChainComplex C ℕ) {X : C} (p : K.X 0 ⟶ X) |
| 20 | (wp : K.d 1 0 ≫ p = 0) (hp : (ShortComplex.mk (K.d 1 0) p wp).Exact) [Epi p] : |
| 21 | K.homology 0 ≅ X := |
| 22 | K.homologyIsoSc' 1 0 0 (by simp) (by simp) ≪≫ |
| 23 | (ShortComplex.RightHomologyData.ofIsColimitCokernelCofork (K.sc' 1 0 0) |
| 24 | (K.shape 0 0 (by simp)) (CokernelCofork.ofπ p wp) hp.gIsCokernel).homologyIso |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ChainZeroCokernel |