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.JordanScaling |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixJordanDecomposition |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.JordanDescent |
| 4 | |
| 5 | /-! # Semisimple Scaling -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleScaling |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The scaling matrix for a nilpotent infinitesimal element may be |
| 12 | chosen semisimple and remains defined over the original field. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | attribute [local instance] LieRing.ofAssociativeRing |
| 17 | |
| 18 | variable {F : Type} [Field F] [CharZero F] {n : ℕ} |
| 19 | |
| 20 | theorem matrix_semisimple_summand_retains_scaling |
| 21 | (N S A : Matrix (Fin n) (Fin n) F) (hNS : Commute N S) (hN : IsNilpotent N) |
| 22 | (hS : Module.End.IsSemisimple (Matrix.toLin' S)) |
| 23 | (hscale : (N + S) * A - A * (N + S) = A) : S * A - A * S = A := by |
| 24 | let e := Matrix.toLinAlgEquiv' (R := F) (n := Fin n) |
| 25 | have he : ⁅e N + e S, e A⁆ = (1 : F) • e A := by |
| 26 | rw [one_smul] |
| 27 | change (e N + e S) * e A - e A * (e N + e S) = e A |
| 28 | rw [← map_add, ← map_mul, ← map_mul, ← map_sub, hscale] |
| 29 | have h := (ArithmeticGroups.Lattices.JordanScaling.Construction.semisimple_summand_retains_bracket_scaling (e N) (e S) (e A) |
| 30 | (hNS.map e) (hN.map e) hS 1 he).1 |
| 31 | apply e.injective |
| 32 | simpa only [map_sub, map_mul, one_smul] using! h |
| 33 | |
| 34 | theorem infinitesimal_nilpotent_has_semisimple_scaling_matrix |
| 35 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) |
| 36 | (A : Matrix (Fin n) (Fin n) F) (hA : A ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) (hnil : IsNilpotent A) : |
| 37 | ∃ S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G, |
| 38 | Module.End.IsSemisimple (Matrix.toLin' S) ∧ S * A - A * S = A := by |
| 39 | obtain ⟨H, hH, hscale⟩ := ArithmeticGroups.Lattices.JordanScaling.Construction.infinitesimal_nilpotent_has_scaling_matrix G hG hsemi hA hnil |
| 40 | obtain ⟨N, S, hN, hS, hNS, hHsum⟩ := ArithmeticGroups.Lattices.MatrixJordanDecomposition.Construction.matrix_exists_jordan_decomposition H |
| 41 | have hmem : N + S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G := hHsum ▸ hH |
| 42 | have hparts := ArithmeticGroups.Lattices.Infinitesimal.JordanDescent.Construction.infinitesimal_jordan_summands G hG N S hN hS hNS hmem |
| 43 | refine ⟨S, hparts.2, hS, matrix_semisimple_summand_retains_scaling N S A hNS hN hS ?_⟩ |
| 44 | rwa [← hHsum] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleScaling |