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.IntegralSemisimpleDirections |
| 2 | |
| 3 | /-! # Conjugate Eigenbasis -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ConjugateEigenbasis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A concrete conjugate-diagonal identity supplies the eigenbasis |
| 10 | needed by the integral spectral spanning theorem. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | theorem conjugate_diagonal_has_eigenbasis {K : Type} [Field K] {n : ℕ} |
| 16 | (S : Matrix (Fin n) (Fin n) K) (B : ArithmeticGroups.Lattices.Algebraic.SL n K) (w : Fin n → K) |
| 17 | (hS : S = (B : Matrix (Fin n) (Fin n) K) * Matrix.diagonal w * |
| 18 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n K) : Matrix (Fin n) (Fin n) K)) : |
| 19 | ∃ b : Module.Basis (Fin n) K (Fin n → K), |
| 20 | ∀ i, Matrix.toLin' S (b i) = w i • b i := by |
| 21 | let g : Matrix.GeneralLinearGroup (Fin n) K := B.toGL |
| 22 | let e : (Fin n → K) ≃ₗ[K] (Fin n → K) := (Matrix.GeneralLinearGroup.toLin g).toLinearEquiv |
| 23 | let b := (Pi.basisFun K (Fin n)).map e |
| 24 | refine ⟨b, fun i => ?_⟩ |
| 25 | change S *ᵥ ((B : Matrix (Fin n) (Fin n) K) *ᵥ (Pi.basisFun K (Fin n) i)) = |
| 26 | w i • ((B : Matrix (Fin n) (Fin n) K) *ᵥ (Pi.basisFun K (Fin n) i)) |
| 27 | rw [hS, Matrix.mulVec_mulVec, Matrix.mul_assoc, |
| 28 | ← Matrix.SpecialLinearGroup.coe_mul, inv_mul_cancel, Matrix.SpecialLinearGroup.coe_one, |
| 29 | Matrix.mul_one, ← Matrix.mulVec_mulVec] |
| 30 | have hw : Matrix.diagonal w *ᵥ (Pi.basisFun K (Fin n) i) = |
| 31 | w i • Pi.basisFun K (Fin n) i := by |
| 32 | simp only [Pi.basisFun_apply, Matrix.diagonal_mulVec_single, mul_one] |
| 33 | ext j |
| 34 | by_cases hj : j = i |
| 35 | · subst j |
| 36 | simp |
| 37 | · simp [hj] |
| 38 | rw [hw, Matrix.mulVec_smul] |
| 39 | |
| 40 | theorem conjugate_diagonal_mem_span_integral_polynomial_directions |
| 41 | {K : Type} [Field K] [CharZero K] {n : ℕ} [Nonempty (Fin n)] |
| 42 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup K n) (S : Matrix (Fin n) (Fin n) K) |
| 43 | (B : ArithmeticGroups.Lattices.Algebraic.SL n K) (w : Fin n → K) |
| 44 | (hS : S = (B : Matrix (Fin n) (Fin n) K) * Matrix.diagonal w * |
| 45 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n K) : Matrix (Fin n) (Fin n) K)) |
| 46 | (hmem : S ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 47 | S ∈ Submodule.span K (IntegralSemisimpleDirections.integralPolynomialDirections G S) := by |
| 48 | obtain ⟨b, hb⟩ := conjugate_diagonal_has_eigenbasis S B w hS |
| 49 | exact IntegralSemisimpleDirections.diagonalizable_mem_span_integral_polynomial_directions G S b w hb hmem |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.Quaternion.Arithmetic.ConjugateEigenbasis |