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.Comparison.Betti.TotalComplexFunctor |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.TotalDiagonal |
| 3 | |
| 4 | /-! # Total Exists -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 7 | |
| 8 | /-! Supply total-complex existence from the ambient category's coproducts. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex₂ |
| 11 | |
| 12 | variable {C : Type*} [Category* C] [Preadditive C] [HasFiniteCoproducts C] |
| 13 | |
| 14 | theorem hasTotal_of_finiteCoproducts (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 15 | K.HasTotal (.up ℕ) := by |
| 16 | intro n |
| 17 | have : Finite ((ComplexShape.π (.up ℕ) (.up ℕ) (.up ℕ)) ⁻¹' {n}) := by |
| 18 | change Finite {p : ℕ × ℕ // p.1 + p.2 = n} |
| 19 | exact Betti.Finite.TotalDiagonal.finiteTotalDiagonal n |
| 20 | infer_instance |
| 21 | |
| 22 | end OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |