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.SemisimpleMatrixDiagonalization |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.JordanInvariantSubspace |
| 3 | |
| 4 | /-! # Matrix Jordan Decomposition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixJordanDecomposition.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Jordan decomposition in concrete matrix coordinates. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem matrix_exists_jordan_decomposition |
| 15 | {k : Type} [Field k] [PerfectField k] {n : ℕ} |
| 16 | (A : Matrix (Fin n) (Fin n) k) : |
| 17 | ∃ N S : Matrix (Fin n) (Fin n) k, |
| 18 | IsNilpotent N ∧ Module.End.IsSemisimple (Matrix.toLin' S) ∧ |
| 19 | Commute N S ∧ A = N + S := by |
| 20 | let f : Module.End k (Fin n → k) := Matrix.toLin' A |
| 21 | obtain ⟨N, hN, S, hS, hnil, hsemi, heq⟩ := f.exists_isNilpotent_isSemisimple |
| 22 | have hcomm : Commute N S := |
| 23 | Algebra.commute_of_mem_adjoin_singleton_of_commute hS |
| 24 | (Algebra.commute_of_mem_adjoin_self hN).symm |
| 25 | let e : Module.End k (Fin n → k) ≃ₐ[k] Matrix (Fin n) (Fin n) k := |
| 26 | LinearMap.toMatrixAlgEquiv' |
| 27 | refine ⟨e N, e S, hnil.map e, ?_, hcomm.map e, ?_⟩ |
| 28 | · change Module.End.IsSemisimple (Matrix.toLin' (LinearMap.toMatrix' S)) |
| 29 | rwa [Matrix.toLin'_toMatrix'] |
| 30 | · change A = LinearMap.toMatrix' N + LinearMap.toMatrix' S |
| 31 | have h := congrArg LinearMap.toMatrix' heq |
| 32 | simpa only [map_add, f, LinearMap.toMatrix'_toLin'] using h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixJordanDecomposition.Construction |