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.NilpotentDerivationExp |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.JordanScaling |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.SemisimpleMatrixDiagonalization |
| 4 | |
| 5 | /-! # Semisimple Perturbation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SemisimplePerturbation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If a semisimple matrix scales a nilpotent matrix by commutator, |
| 12 | subtracting the nilpotent matrix preserves semisimplicity. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.Matrix |
| 16 | |
| 17 | attribute [local instance] LieRing.ofAssociativeRing |
| 18 | |
| 19 | variable {F : Type*} [Field F] [CharZero F] {n : ℕ} |
| 20 | |
| 21 | omit [CharZero F] in |
| 22 | theorem matrix_algHom_preserves_semisimple |
| 23 | (φ : Matrix (Fin n) (Fin n) F →ₐ[F] Matrix (Fin n) (Fin n) F) |
| 24 | (S : Matrix (Fin n) (Fin n) F) (hS : Module.End.IsSemisimple (Matrix.toLin' S)) : |
| 25 | Module.End.IsSemisimple (Matrix.toLin' (φ S)) := by |
| 26 | let p := minpoly F (Matrix.toLin' S) |
| 27 | have hp : Squarefree p := hS.minpoly_squarefree |
| 28 | have hz : Polynomial.aeval S p = 0 := by |
| 29 | apply Matrix.toLinAlgEquiv'.injective |
| 30 | rw [← Polynomial.aeval_algHom_apply, map_zero] |
| 31 | exact minpoly.aeval F (Matrix.toLin' S) |
| 32 | have hφ : Polynomial.aeval (φ S) p = 0 := by |
| 33 | rw [Polynomial.aeval_algHom_apply, hz, map_zero] |
| 34 | apply Module.End.isSemisimple_of_squarefree_aeval_eq_zero hp |
| 35 | change Polynomial.aeval (Matrix.toLinAlgEquiv' (φ S)) p = 0 |
| 36 | rw [Polynomial.aeval_algHom_apply, hφ, map_zero] |
| 37 | |
| 38 | theorem semisimple_sub_nilpotent_of_scaling |
| 39 | (S N : Matrix (Fin n) (Fin n) F) (hS : Module.End.IsSemisimple (Matrix.toLin' S)) |
| 40 | (hN : IsNilpotent N) (hscale : S * N - N * S = N) : |
| 41 | Module.End.IsSemisimple (Matrix.toLin' (S - N)) := by |
| 42 | let D := LieAlgebra.ad F (Matrix (Fin n) (Fin n) F) N |
| 43 | have hD : IsNilpotent D := LieAlgebra.ad_nilpotent_of_nilpotent hN |
| 44 | have h₁ : D 1 = 0 := by |
| 45 | change N * 1 - 1 * N = 0 |
| 46 | simp |
| 47 | have hder (x y : Matrix (Fin n) (Fin n) F) : D (x * y) = x * D y + D x * y := by |
| 48 | change N * (x * y) - x * y * N = x * (N * y - y * N) + (N * x - x * N) * y |
| 49 | noncomm_ring |
| 50 | let φ := NilpotentDerivationExp.nilpotentDerivationExp D hD h₁ hder |
| 51 | have hDN : D N = 0 := sub_self _ |
| 52 | have hDS : D S = -N := by |
| 53 | change N * S - S * N = -N |
| 54 | calc |
| 55 | N * S - S * N = -(S * N - N * S) := by abel |
| 56 | _ = -N := congrArg Neg.neg hscale |
| 57 | have hφ : φ S = S - N := by |
| 58 | change IsNilpotent.exp D S = S - N |
| 59 | rw [NilpotentDerivationExp.nilpotent_exp_apply_of_square_zero D hD S (by rw [hDS, map_neg, hDN, neg_zero]), |
| 60 | hDS, sub_eq_add_neg] |
| 61 | exact hφ ▸ matrix_algHom_preserves_semisimple φ S hS |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.Quaternion.Arithmetic.SemisimplePerturbation |