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.SemisimpleScaling |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.SemisimplePerturbation |
| 3 | |
| 4 | /-! # Infinitesimal Semisimple Span -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.InfinitesimalSemisimpleSpan |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The rational Lie algebra of a connected semisimple matrix group |
| 11 | is spanned by its semisimple matrices. Nilpotent matrices are differences |
| 12 | of two semisimple infinitesimal matrices defined over the same 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 | def semisimpleInfinitesimalMatrices (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) : |
| 21 | Set (Matrix (Fin n) (Fin n) F) := |
| 22 | {S | S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G ∧ Module.End.IsSemisimple (Matrix.toLin' S)} |
| 23 | |
| 24 | theorem nilpotent_infinitesimal_mem_semisimple_span |
| 25 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) |
| 26 | (N : Matrix (Fin n) (Fin n) F) (hLie : N ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) (hN : IsNilpotent N) : |
| 27 | N ∈ Submodule.span F (semisimpleInfinitesimalMatrices G) := by |
| 28 | obtain ⟨S, hSLie, hS, hscale⟩ := |
| 29 | SemisimpleScaling.infinitesimal_nilpotent_has_semisimple_scaling_matrix G hG hsemi N hLie hN |
| 30 | have hSspan : S ∈ Submodule.span F (semisimpleInfinitesimalMatrices G) := |
| 31 | Submodule.subset_span ⟨hSLie, hS⟩ |
| 32 | have hTspan : S - N ∈ Submodule.span F (semisimpleInfinitesimalMatrices G) := |
| 33 | Submodule.subset_span ⟨(ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G).sub_mem hSLie hLie, |
| 34 | SemisimplePerturbation.semisimple_sub_nilpotent_of_scaling S N hS hN hscale⟩ |
| 35 | simpa only [sub_sub_cancel] using |
| 36 | (Submodule.span F (semisimpleInfinitesimalMatrices G)).sub_mem hSspan hTspan |
| 37 | |
| 38 | theorem infinitesimalStabilizer_eq_span_semisimple |
| 39 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 40 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G).toSubmodule = Submodule.span F (semisimpleInfinitesimalMatrices G) := by |
| 41 | apply le_antisymm |
| 42 | · intro X hX |
| 43 | obtain ⟨N, S, hN, hS, hNS, hsum⟩ := ArithmeticGroups.Lattices.MatrixJordanDecomposition.Construction.matrix_exists_jordan_decomposition X |
| 44 | have hparts := ArithmeticGroups.Lattices.Infinitesimal.JordanDescent.Construction.infinitesimal_jordan_summands G hG N S hN hS hNS (hsum ▸ hX) |
| 45 | rw [hsum] |
| 46 | exact (Submodule.span F (semisimpleInfinitesimalMatrices G)).add_mem |
| 47 | (nilpotent_infinitesimal_mem_semisimple_span G hG hsemi N hparts.1 hN) |
| 48 | (Submodule.subset_span ⟨hparts.2, hS⟩) |
| 49 | · exact Submodule.span_le.mpr (fun _ h => h.1) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.Quaternion.Arithmetic.InfinitesimalSemisimpleSpan |