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.PadicHodge.GeometricComparison.Integral.EigenvalueOfOperator |
| 2 | import Mathlib.LinearAlgebra.Charpoly.BaseChange |
| 3 | import Mathlib.LinearAlgebra.Eigenspace.Charpoly |
| 4 | import Mathlib.RingTheory.Polynomial.IsIntegral |
| 5 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 6 | |
| 7 | /-! # Characteristic Polynomial -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.CharacteristicPolynomial |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Integrality of an operator forces integrality of every coefficient |
| 14 | of its characteristic polynomial. Rationality is a separate assertion. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {K : Type*} [Field K] |
| 19 | {V : Type*} [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 20 | |
| 21 | theorem coeff_integral_of_eigenvalues (f : Module.End K V) |
| 22 | (h : ∀ α : AlgebraicClosure K, |
| 23 | Module.End.HasEigenvalue (f.baseChange (AlgebraicClosure K)) α → IsIntegral ℤ α) |
| 24 | (i : ℕ) : IsIntegral ℤ (f.charpoly.coeff i) := by |
| 25 | let g := f.baseChange (AlgebraicClosure K) |
| 26 | have hg : IsIntegral ℤ (g.charpoly.coeff i) := by |
| 27 | apply Polynomial.isIntegral_coeff_of_factors |
| 28 | · rw [(LinearMap.charpoly_monic g).leadingCoeff] |
| 29 | exact isIntegral_one |
| 30 | · exact IsAlgClosed.splits _ |
| 31 | · intro α hα |
| 32 | exact h α ((Module.End.hasEigenvalue_iff_isRoot_charpoly g α).mpr hα) |
| 33 | change IsIntegral ℤ ((f.baseChange (AlgebraicClosure K)).charpoly.coeff i) at hg |
| 34 | rw [LinearMap.charpoly_baseChange, Polynomial.coeff_map] at hg |
| 35 | exact isIntegral_algebraMap_iff.mp hg |
| 36 | |
| 37 | theorem coeff_integral (f : Module.End K V) (hf : IsIntegral ℤ f) (i : ℕ) : |
| 38 | IsIntegral ℤ (f.charpoly.coeff i) := by |
| 39 | apply coeff_integral_of_eigenvalues f |
| 40 | intro α hα |
| 41 | exact GeometricComparison.Integral.EigenvalueOfOperator.integral_eigenvalue_of_integral_operator |
| 42 | (f.baseChange (AlgebraicClosure K)) |
| 43 | (map_isIntegral_int (Module.End.baseChangeHom K (AlgebraicClosure K) V).toRingHom hf) α hα |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.CharacteristicPolynomial |