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.SemisimpleFiniteGalois |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.ConjugateEigenbasis |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.GaloisTraceMatrix |
| 4 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.TangentExtension |
| 5 | |
| 6 | /-! # Semisimple Trace Span -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleTraceSpan |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every semisimple infinitesimal matrix over the base field is |
| 13 | spanned by traces of integrable integer-weight directions over one |
| 14 | finite Galois extension. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.TangentExtension.Construction |
| 18 | |
| 19 | attribute [local instance] LieRing.ofAssociativeRing |
| 20 | |
| 21 | theorem semisimple_mem_span_finiteGalois_traces |
| 22 | {F : Type} [Field F] [CharZero F] {n : ℕ} [Nonempty (Fin n)] |
| 23 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hG : G.IsGeometricallyConnected) |
| 24 | (S : Matrix (Fin n) (Fin n) F) (hLie : S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 25 | (hS : Module.End.IsSemisimple (Matrix.toLin' S)) : |
| 26 | ∃ L : FiniteGaloisIntermediateField F (AlgebraicClosure F), |
| 27 | S ∈ Submodule.span F {Z | ∃ a : L, ∃ Y ∈ IntegralSemisimpleDirections.integralPolynomialDirections |
| 28 | (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F L)) (S.map (algebraMap F L)), |
| 29 | Z = GaloisTraceMatrix.fieldTraceMatrix (F := F) (a • Y)} := by |
| 30 | obtain ⟨L, B, w, hdiag⟩ := SemisimpleFiniteGalois.semisimple_matrix_finiteGalois_diagonalization S hS |
| 31 | have hL : S.map (algebraMap F L) ∈ |
| 32 | ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F L)) := by |
| 33 | change S.map (algebraMap F L) ∈ |
| 34 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F L))).toSubmodule |
| 35 | rw [ArithmeticGroups.Lattices.Infinitesimal.TangentExtension.Construction.infinitesimalStabilizer_eq_span_base G hG] |
| 36 | exact Submodule.subset_span ⟨S, hLie, rfl⟩ |
| 37 | refine ⟨L, GaloisTraceMatrix.fieldTraceMatrix_mem_span_of_mem_span S _ ?_⟩ |
| 38 | exact ConjugateEigenbasis.conjugate_diagonal_mem_span_integral_polynomial_directions |
| 39 | (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F L)) _ B w hdiag hL |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.Quaternion.Arithmetic.SemisimpleTraceSpan |