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.Quaternion.Arithmetic.FiniteGaloisDiagonalization |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.SemisimpleMatrixDiagonalization |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DiagonalConjugatorNormalization |
| 4 | |
| 5 | /-! # Semisimple Finite Galois -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleFiniteGalois |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A semisimple matrix in characteristic zero diagonalizes over a |
| 12 | finite Galois extension, with a determinant-one conjugating matrix. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem semisimple_matrix_finiteGalois_diagonalization |
| 17 | {F : Type} [Field F] [CharZero F] {n : ℕ} [Nonempty (Fin n)] |
| 18 | (S : Matrix (Fin n) (Fin n) F) (hS : Module.End.IsSemisimple (Matrix.toLin' S)) : |
| 19 | ∃ L : FiniteGaloisIntermediateField F (AlgebraicClosure F), |
| 20 | ∃ B : Matrix.SpecialLinearGroup (Fin n) L, ∃ w : Fin n → L, |
| 21 | S.map (algebraMap F L) = (B : Matrix (Fin n) (Fin n) L) * Matrix.diagonal w * |
| 22 | ((B⁻¹ : Matrix.SpecialLinearGroup (Fin n) L) : Matrix (Fin n) (Fin n) L) := by |
| 23 | have h := ArithmeticGroups.Lattices.SemisimpleMatrixDiagonalization.Construction.semisimple_matrix_coefficient_map (algebraMap F (AlgebraicClosure F)) S hS |
| 24 | obtain ⟨g, w, hg⟩ := ArithmeticGroups.Lattices.SemisimpleMatrixDiagonalization.Construction.semisimple_matrix_conjugate_diagonal _ h |
| 25 | obtain ⟨B, hB⟩ := ArithmeticGroups.Lattices.DiagonalConjugatorNormalization.Construction.diagonal_conjugator_normalization g |
| 26 | exact FiniteGaloisDiagonalization.exists_finiteGalois_diagonalization S B w (hg.trans (hB w).symm) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleFiniteGalois |