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 Mathlib.LinearAlgebra.Eigenspace.Charpoly |
| 2 | import Mathlib.LinearAlgebra.Eigenspace.Minpoly |
| 3 | import Mathlib.LinearAlgebra.Charpoly.BaseChange |
| 4 | import Mathlib.RingTheory.Polynomial.IsIntegral |
| 5 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 6 | |
| 7 | /-! # Integral Characteristic Coefficients -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Theta.Geometric.IntegralCharacteristicCoefficients |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An integral linear operator has integral characteristic coefficients. |
| 14 | The proof first uses eigenvectors over an algebraic closure and then |
| 15 | reflects integrality along the scalar-extension embedding. -/ |
| 16 | |
| 17 | open _root_.Polynomial |
| 18 | |
| 19 | theorem integral_eigenvalue {F V : Type*} [Field F] [CharZero F] |
| 20 | [AddCommGroup V] [Module F V] (f : Module.End F V) (hf : IsIntegral ℤ f) |
| 21 | (a : F) (ha : f.HasEigenvalue a) : IsIntegral ℤ a := by |
| 22 | obtain ⟨p, hp, hpf⟩ := hf |
| 23 | obtain ⟨v, hv, hv0⟩ := (Submodule.ne_bot_iff _).mp ha |
| 24 | have hzero : aeval f (p.map (algebraMap ℤ F)) = 0 := by |
| 25 | rw [aeval_map_algebraMap] |
| 26 | exact hpf |
| 27 | have hval : (p.map (algebraMap ℤ F)).eval a = 0 := by |
| 28 | apply (smul_eq_zero.mp (show (p.map (algebraMap ℤ F)).eval a • v = 0 from ?_)).resolve_right hv0 |
| 29 | rw [← Module.End.aeval_apply_of_hasEigenvector ⟨hv, hv0⟩, hzero, LinearMap.zero_apply] |
| 30 | exact ⟨p, hp, by simpa only [eval_map, aeval_def] using hval⟩ |
| 31 | |
| 32 | theorem integral_characteristic_coefficient_closed {F V : Type*} [Field F] [CharZero F] [IsAlgClosed F] |
| 33 | [AddCommGroup V] [Module F V] [Module.Finite F V] |
| 34 | (f : Module.End F V) (hf : IsIntegral ℤ f) (n : ℕ) : IsIntegral ℤ (f.charpoly.coeff n) := by |
| 35 | apply Polynomial.isIntegral_coeff_of_factors f.charpoly |
| 36 | · rw [f.charpoly_monic.leadingCoeff] |
| 37 | exact isIntegral_one |
| 38 | · exact IsAlgClosed.splits _ |
| 39 | · intro a ha |
| 40 | exact integral_eigenvalue f hf a ((Module.End.hasEigenvalue_iff_isRoot_charpoly f a).mpr ha) |
| 41 | |
| 42 | theorem integral_characteristic_coefficient {F V : Type*} [Field F] [CharZero F] |
| 43 | [AddCommGroup V] [Module F V] [Module.Finite F V] |
| 44 | (f : Module.End F V) (hf : IsIntegral ℤ f) (n : ℕ) : IsIntegral ℤ (f.charpoly.coeff n) := by |
| 45 | let A := AlgebraicClosure F |
| 46 | have h := integral_characteristic_coefficient_closed (f.baseChange A) |
| 47 | (hf.map ((Module.End.baseChangeHom F A V).restrictScalars ℤ)) n |
| 48 | rw [LinearMap.charpoly_baseChange, Polynomial.coeff_map] at h |
| 49 | exact (isIntegral_algHom_iff (IsScalarTower.toAlgHom ℤ F A) (algebraMap F A).injective).mp h |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.RepresentationTheory.Theta.Geometric.IntegralCharacteristicCoefficients |