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.NumberTheory.PadicHodge.GeometricComparison.Finite.ExtVanishing |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.TotalDiagonal |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 4 | |
| 5 | /-! # Total Ext -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TotalExt.TotalExtVanishing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Termwise coefficient Ext vanishing passes to first-quadrant total complexes through finite diagonals. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Abelian Limits |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 18 | (A : C) (B : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) [B.HasTotal (.up ℕ)] |
| 19 | |
| 20 | theorem subsingleton (n q : ℕ) |
| 21 | (hB : ∀ a b, Subsingleton (Ext.{w} A ((B.X a).X b) q)) : |
| 22 | Subsingleton (Ext.{w} A ((B.total (.up ℕ)).X n) q) := by |
| 23 | have : Finite ((ComplexShape.π (.up ℕ) (.up ℕ) (.up ℕ)) ⁻¹' {n}) := by |
| 24 | change Finite {p : ℕ × ℕ // p.1 + p.2 = n} |
| 25 | exact AlgebraicGeometry.Comparison.Betti.Finite.TotalDiagonal.finiteTotalDiagonal n |
| 26 | exact GeometricComparison.Finite.ExtVanishing.FiniteExtVanishing.coproduct A |
| 27 | (B.toGradedObject.mapObjFun (ComplexShape.π (.up ℕ) (.up ℕ) (.up ℕ)) n) q |
| 28 | (fun p => hB p.val.1 p.val.2) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TotalExt.TotalExtVanishing |