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.PolynomialSpectralFunctions |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.SemisimpleMatrixDiagonalization |
| 3 | import Mathlib.FieldTheory.Galois.Infinite |
| 4 | |
| 5 | /-! # Spectral Galois Descent -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SpectralGaloisDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Galois-equivariant functions of a matrix's eigenvalues descend to |
| 12 | the original coefficient field. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.Matrix |
| 16 | |
| 17 | theorem matrix_eigenvector_coefficient_map |
| 18 | {k K : Type} [Field k] [Field K] {n : ℕ} (ι : k →+* K) |
| 19 | (A : Matrix (Fin n) (Fin n) k) (x : Fin n → k) (a : k) |
| 20 | (hx : Matrix.toLin' A x = a • x) : |
| 21 | Matrix.toLin' (A.map ι) (ι ∘ x) = ι a • (ι ∘ x) := by |
| 22 | funext i |
| 23 | rw [Matrix.toLin'_apply, ← RingHom.map_mulVec] |
| 24 | have hi := congrFun hx i |
| 25 | change (A *ᵥ x) i = a * x i at hi |
| 26 | simp only [hi, map_mul, Pi.smul_apply, smul_eq_mul, Function.comp_apply] |
| 27 | |
| 28 | theorem matrix_spectral_function_automorphism |
| 29 | {K : Type} [Field K] {n : ℕ} |
| 30 | (b : Module.Basis (Fin n) K (Fin n → K)) |
| 31 | (S T : Matrix (Fin n) (Fin n) K) (w : Fin n → K) (ψ : K → K) |
| 32 | (hS : ∀ i, Matrix.toLin' S (b i) = w i • b i) |
| 33 | (hT : ∀ i, Matrix.toLin' T (b i) = ψ (w i) • b i) |
| 34 | (σ : K ≃+* K) (hfix : S.map σ = S) |
| 35 | (hψ : ∀ x, σ (ψ x) = ψ (σ x)) : T.map σ = T := by |
| 36 | apply Matrix.toLin'.injective |
| 37 | apply b.ext |
| 38 | intro i |
| 39 | have hfix' : S.map σ.symm = S := by |
| 40 | have h := congrArg (fun A : Matrix (Fin n) (Fin n) K => A.map σ.symm) hfix |
| 41 | ext i j : 1 |
| 42 | simpa only [Matrix.map_apply, RingEquiv.symm_apply_apply] using |
| 43 | (congrFun (congrFun h i) j).symm |
| 44 | have hx := matrix_eigenvector_coefficient_map σ.symm.toRingHom S (b i) (w i) (hS i) |
| 45 | change Matrix.toLin' (S.map σ.symm) (σ.symm ∘ b i) = σ.symm (w i) • (σ.symm ∘ b i) at hx |
| 46 | rw [hfix'] at hx |
| 47 | have hTx := PolynomialSpectralFunctions.Construction.eigenvalue_function_on_eigenvector b (Matrix.toLin' S) (Matrix.toLin' T) |
| 48 | w ψ hS hT (σ.symm ∘ b i) (σ.symm (w i)) hx |
| 49 | have hmap := matrix_eigenvector_coefficient_map σ.toRingHom T (σ.symm ∘ b i) |
| 50 | (ψ (σ.symm (w i))) hTx |
| 51 | change Matrix.toLin' (T.map σ) (σ ∘ (σ.symm ∘ b i)) = |
| 52 | σ (ψ (σ.symm (w i))) • (σ ∘ (σ.symm ∘ b i)) at hmap |
| 53 | have hvec : σ ∘ (σ.symm ∘ b i) = b i := by funext j; exact σ.apply_symm_apply _ |
| 54 | rw [hvec, hψ, σ.apply_symm_apply, ← hT i] at hmap |
| 55 | exact hmap |
| 56 | |
| 57 | theorem matrix_spectral_function_descends |
| 58 | {k K : Type} [Field k] [Field K] [Algebra k K] [IsGalois k K] {n : ℕ} |
| 59 | (b : Module.Basis (Fin n) K (Fin n → K)) |
| 60 | (S : Matrix (Fin n) (Fin n) k) (T : Matrix (Fin n) (Fin n) K) |
| 61 | (w : Fin n → K) (ψ : K → K) |
| 62 | (hS : ∀ i, Matrix.toLin' (S.map (algebraMap k K)) (b i) = w i • b i) |
| 63 | (hT : ∀ i, Matrix.toLin' T (b i) = ψ (w i) • b i) |
| 64 | (hψ : ∀ σ : K ≃ₐ[k] K, ∀ x, σ (ψ x) = ψ (σ x)) : |
| 65 | ∃ T₀ : Matrix (Fin n) (Fin n) k, T₀.map (algebraMap k K) = T := by |
| 66 | have hfixed (σ : K ≃ₐ[k] K) : T.map σ = T := by |
| 67 | apply matrix_spectral_function_automorphism b (S.map (algebraMap k K)) T w ψ hS hT |
| 68 | σ.toRingEquiv _ (hψ σ) |
| 69 | ext i j : 1 |
| 70 | exact σ.commutes (S i j) |
| 71 | have hentry (i j : Fin n) : ∃ a : k, algebraMap k K a = T i j := by |
| 72 | apply (InfiniteGalois.mem_range_algebraMap_iff_fixed (T i j)).mpr |
| 73 | intro σ |
| 74 | exact congrFun (congrFun (hfixed σ) i) j |
| 75 | choose T₀ hT₀ using hentry |
| 76 | exact ⟨T₀, Matrix.ext hT₀⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SpectralGaloisDescent.Construction |