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.SemisimpleMatrixDiagonalization |
| 2 | import Mathlib.RingTheory.Polynomial.Basic |
| 3 | |
| 4 | /-! # Annihilator -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Split.Annihilator.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A product of distinct linear factors annihilating an endomorphism |
| 11 | gives a decomposition into eigenspaces over the coefficient field. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Polynomial |
| 15 | |
| 16 | theorem eigenspace_eq_ker_linear_aeval |
| 17 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 18 | (f : Module.End k V) (a : k) : |
| 19 | f.eigenspace a = LinearMap.ker (Polynomial.aeval f (X - C a)) := by |
| 20 | rw [map_sub, aeval_X, aeval_C] |
| 21 | exact Module.End.eigenspace_def.trans (by rw [Algebra.algebraMap_eq_smul_one]) |
| 22 | |
| 23 | theorem finite_eigenspace_sup_eq_ker |
| 24 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 25 | (f : Module.End k V) (s : Finset k) : |
| 26 | s.sup f.eigenspace = LinearMap.ker (Polynomial.aeval f (∏ a ∈ s, (X - C a))) := by |
| 27 | induction s using Finset.induction_on with |
| 28 | | empty => |
| 29 | simp only [Finset.sup_empty, Finset.prod_empty, map_one] |
| 30 | exact LinearMap.ker_id.symm |
| 31 | | @insert a s ha ih => |
| 32 | have hc : IsCoprime (X - C a) (∏ b ∈ s, (X - C b)) := by |
| 33 | apply IsCoprime.prod_right |
| 34 | intro b hb |
| 35 | apply Polynomial.isCoprime_X_sub_C_of_isUnit_sub |
| 36 | have hab : a ≠ b := fun h => ha (h.symm ▸ hb) |
| 37 | exact (sub_ne_zero.mpr hab).isUnit |
| 38 | rw [Finset.sup_insert, Finset.prod_insert ha, ih, eigenspace_eq_ker_linear_aeval, |
| 39 | Polynomial.sup_ker_aeval_eq_ker_aeval_mul_of_coprime f hc] |
| 40 | |
| 41 | theorem eigenspaces_span_of_split_annihilator |
| 42 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 43 | (f : Module.End k V) (s : Finset k) |
| 44 | (hf : Polynomial.aeval f (∏ a ∈ s, (X - C a)) = 0) : |
| 45 | (⨆ a, f.eigenspace a) = ⊤ := by |
| 46 | have hs : s.sup f.eigenspace = ⊤ := by |
| 47 | rw [finite_eigenspace_sup_eq_ker, hf, LinearMap.ker_zero] |
| 48 | apply top_unique |
| 49 | rw [← hs] |
| 50 | exact Finset.sup_le (fun a _ => le_iSup f.eigenspace a) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Split.Annihilator.Construction |