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.RepresentationTheory.Hecke.CubicRelation |
| 2 | |
| 3 | /-! # Counts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Counts.CM.OrdinaryRaw |
| 6 | |
| 7 | /-! Package the three explicit native reduction counts as one raw |
| 8 | neighbor-multiset identity, retaining the integer multiplicities. -/ |
| 9 | |
| 10 | variable {O S : Type} (q : ℕ) (X Z : O → O) (Y : O → Multiset O) |
| 11 | (v : O → S) (x : O) (red : Fin 3 → Multiset S) |
| 12 | |
| 13 | theorem rawNeighbors |
| 14 | (h₀ : red 0 = {v (X x)} + q • ((Y x).map v)) |
| 15 | (h₁ : red 1 = (Y (X x)).map v + q ^ 2 • ({v (Z x)} : Multiset S)) |
| 16 | (h₂ : red 2 = {v (Z (X x))}) (i : Fin 3) : |
| 17 | red i = (RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i x).map v := by |
| 18 | fin_cases i |
| 19 | · simpa [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, Multiset.map_nsmul] using h₀ |
| 20 | · simpa [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, Multiset.map_nsmul] using h₁ |
| 21 | · simpa [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors] using h₂ |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Counts.CM.OrdinaryRaw |