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.Minpoly |
| 2 | import Mathlib.LinearAlgebra.Semisimple |
| 3 | |
| 4 | /-! # Eigenbasis Semisimple -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.EigenbasisSemisimple.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite eigenbasis gives a squarefree annihilating polynomial. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem isSemisimple_of_finite_eigenbasis |
| 15 | {k V ι : Type*} [Field k] [AddCommGroup V] [Module k V] [Fintype ι] |
| 16 | (b : Module.Basis ι k V) (f : Module.End k V) (eigenvalue : ι → k) |
| 17 | (hf : ∀ i, f (b i) = eigenvalue i • b i) : f.IsSemisimple := by |
| 18 | let s := Finset.univ.image eigenvalue |
| 19 | let p : Polynomial k := ∏ a ∈ s, (Polynomial.X - Polynomial.C a) |
| 20 | have hp : p.Separable := Polynomial.separable_prod_X_sub_C_iff'.mpr (by |
| 21 | intro x _ y _ h |
| 22 | exact h) |
| 23 | apply Module.End.isSemisimple_of_squarefree_aeval_eq_zero hp.squarefree |
| 24 | apply b.ext |
| 25 | intro i |
| 26 | rw [Module.End.aeval_apply_of_mem_apply_eq_smul (hf i)] |
| 27 | have hi : eigenvalue i ∈ s := Finset.mem_image.mpr ⟨i, Finset.mem_univ i, rfl⟩ |
| 28 | have hpi : p.eval (eigenvalue i) = 0 := by |
| 29 | simp only [p, Polynomial.eval_prod] |
| 30 | apply Finset.prod_eq_zero hi |
| 31 | simp |
| 32 | simp only [hpi, zero_smul, LinearMap.zero_apply] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.ArithmeticGroups.Lattices.EigenbasisSemisimple.Construction |