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.SpectralMatrixSpan |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DiagonalConjugatorNormalization |
| 3 | |
| 4 | /-! # Integral Semisimple Directions -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.IntegralSemisimpleDirections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A diagonalizable algebraic infinitesimal matrix is spanned by |
| 11 | integrable integer-weight directions whose cocharacter values are |
| 12 | polynomials in that same matrix. This gives commuting Galois orbits. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.NumberTheory.ArithmeticGroups.Lattices.DiagonalConjugatorNormalization.Construction Set _root_.Matrix |
| 16 | |
| 17 | variable {K : Type} [Field K] [CharZero K] {n : ℕ} |
| 18 | |
| 19 | def integralPolynomialDirections (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup K n) |
| 20 | (S : Matrix (Fin n) (Fin n) K) : Set (Matrix (Fin n) (Fin n) K) := |
| 21 | {Y | ∃ B : ArithmeticGroups.Lattices.Algebraic.SL n K, ∃ m : Fin n → ℤ, |
| 22 | Y = (B : Matrix (Fin n) (Fin n) K) * Matrix.diagonal (fun i => (m i : K)) * |
| 23 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n K) : Matrix (Fin n) (Fin n) K) ∧ |
| 24 | Y ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G ∧ |
| 25 | ∀ t : Kˣ, ∃ p : Polynomial K, Polynomial.aeval S p = |
| 26 | (B : Matrix (Fin n) (Fin n) K) * Matrix.diagonal (fun i => ((t ^ m i : Kˣ) : K)) * |
| 27 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n K) : Matrix (Fin n) (Fin n) K)} |
| 28 | |
| 29 | theorem diagonalizable_mem_span_integral_polynomial_directions [Nonempty (Fin n)] |
| 30 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup K n) (S : Matrix (Fin n) (Fin n) K) |
| 31 | (b : Module.Basis (Fin n) K (Fin n → K)) (w : Fin n → K) |
| 32 | (hS : ∀ i, Matrix.toLin' S (b i) = w i • b i) (hmem : S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 33 | S ∈ Submodule.span K (integralPolynomialDirections G S) := by |
| 34 | obtain ⟨B, hB⟩ := ArithmeticGroups.Lattices.DiagonalConjugatorNormalization.Construction.diagonal_conjugator_normalization (ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.eigenbasisMatrixUnit b) |
| 35 | apply (Submodule.span_mono (show ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.eigenbasisSpectralMatrix b '' IntegerSpectralSpan.integerSpectralVectors w ⊆ |
| 36 | integralPolynomialDirections G S from ?_)) (SpectralMatrixSpan.matrix_mem_span_integer_spectral S b w hS) |
| 37 | rintro Y ⟨z, hz, rfl⟩ |
| 38 | have hzmem := SpectralMatrixSpan.integer_spectral_matrix_mem_infinitesimal G S b w hS hmem hz |
| 39 | obtain ⟨m, rfl, ψ, hψ⟩ := hz |
| 40 | refine ⟨B, m, ?_, hzmem, ?_⟩ |
| 41 | · exact (ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.matrix_eq_eigenbasis_conjugate _ b _ (ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.eigenbasisSpectralMatrix_apply b _)).trans (hB _).symm |
| 42 | · intro t |
| 43 | have hequal (i j : Fin n) (hij : w i = w j) : m i = m j := by |
| 44 | apply Int.cast_injective (α := K) |
| 45 | rw [← hψ i, ← hψ j, hij] |
| 46 | obtain ⟨p, hp⟩ := SpectralMatrixSpan.spectral_matrix_is_polynomial_of_equal_eigenvalues S b w |
| 47 | (fun i => ((t ^ m i : Kˣ) : K)) hS (fun i j hij => by rw [hequal i j hij]) |
| 48 | refine ⟨p, hp.trans ?_⟩ |
| 49 | exact (ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.matrix_eq_eigenbasis_conjugate _ b _ (ArithmeticGroups.Lattices.EigenbasisMatrixSpectral.Construction.eigenbasisSpectralMatrix_apply b _)).trans (hB _).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.Quaternion.Arithmetic.IntegralSemisimpleDirections |