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.Homotopy |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | |
| 4 | /-! # Homotopy Image -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HomotopyImage.HomotopyImageZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A comparison homotopy carries a vanishing source image to a |
| 11 | vanishing cohomology image under the original target operator. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 17 | {K L M N : CochainComplex C ℕ} |
| 18 | (t : K ⟶ L) (a : L ⟶ N) (b : N ⟶ N) (g : L ⟶ M) (d : M ⟶ N) |
| 19 | (h : Homotopy (a ≫ b) (g ≫ d)) (hz : t ≫ g = 0) |
| 20 | |
| 21 | def homotopy : Homotopy (t ≫ a ≫ b) 0 := |
| 22 | (h.compLeft t).trans (Homotopy.ofEq ((Category.assoc t g d).symm.trans |
| 23 | ((congrArg (fun f => f ≫ d) hz).trans Limits.zero_comp))) |
| 24 | |
| 25 | include h hz in |
| 26 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap t i ≫ HomologicalComplex.homologyMap a i ≫ |
| 27 | HomologicalComplex.homologyMap b i = 0 := by |
| 28 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp] |
| 29 | exact ((homotopy t a b g d h hz).homologyMap_eq i).trans (HomologicalComplex.homologyMap_zero K N i) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HomotopyImage.HomotopyImageZero |