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.ArithmeticGroups.Lattices.Weight.BlockProjection |
| 2 | import Mathlib.Basic.Real.Basic |
| 3 | |
| 4 | /-! # Block Diagonal Commutation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Weight.BlockDiagonalCommutation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equal-weight blocks commute with every diagonal matrix whose |
| 11 | entries are constant on those weight blocks. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem weightBlockProjection_commutes_diagonal |
| 16 | {n : ℕ} (w a : Fin n → ℝ) (ha : ∀ i j, w i = w j → a i = a j) |
| 17 | (M : Matrix (Fin n) (Fin n) ℝ) : |
| 18 | Commute (BlockProjection.Construction.weightBlockProjection w M) (Matrix.diagonal a) := by |
| 19 | change BlockProjection.Construction.weightBlockProjection w M * Matrix.diagonal a = Matrix.diagonal a * BlockProjection.Construction.weightBlockProjection w M |
| 20 | ext i j |
| 21 | rw [Matrix.mul_diagonal, Matrix.diagonal_mul, BlockProjection.Construction.weightBlockProjection_apply] |
| 22 | by_cases hij : w i = w j |
| 23 | · rw [ite_eq_left hij, ha i j hij, mul_comm] |
| 24 | · rw [ite_eq_right hij, zero_mul, mul_zero] |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Weight.BlockDiagonalCommutation.Construction |