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.Quaternion.Arithmetic.FiniteIndex |
| 2 | |
| 3 | /-! # Special Linear -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SpecialLinear |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Elementary generation and exclusion of finite-index subgroups for the |
| 12 | split special-linear groups occurring in the local approximation argument. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 16 | |
| 17 | variable {K ι : Type*} [Field K] [Fintype ι] [DecidableEq ι] |
| 18 | |
| 19 | theorem diagonal_pair_transvection_decomposition {i j : ι} (hij : i ≠ j) |
| 20 | (a : K) (ha : a ≠ 0) : |
| 21 | diag2n hij a ha = |
| 22 | transvection hij a * transvection hij.symm (-a⁻¹) * transvection hij a * |
| 23 | transvection hij (-1) * transvection hij.symm 1 * transvection hij (-1) := by |
| 24 | apply Subtype.ext |
| 25 | change Matrix.diagonal (fun k => if k = i then a else if k = j then a⁻¹ else 1) = |
| 26 | Matrix.transvection i j a * Matrix.transvection j i (-a⁻¹) * Matrix.transvection i j a * |
| 27 | Matrix.transvection i j (-1) * Matrix.transvection j i 1 * Matrix.transvection i j (-1) |
| 28 | simp only [Matrix.mul_assoc] |
| 29 | apply Matrix.ext |
| 30 | intro r s |
| 31 | simp only [Matrix.diagonal_apply] |
| 32 | by_cases hri : r = i |
| 33 | · subst r |
| 34 | simp only [transvection_mul_apply_same, transvection_mul_apply_of_ne j i i s hij, |
| 35 | transvection_mul_apply_of_ne i j j s hij.symm] |
| 36 | by_cases hsi : s = i <;> by_cases hsj : s = j <;> |
| 37 | simp_all [Matrix.transvection, Matrix.single_apply, Matrix.one_apply, eq_comm] |
| 38 | · by_cases hrj : r = j |
| 39 | · subst r |
| 40 | simp only [transvection_mul_apply_same, transvection_mul_apply_of_ne j i i s hij, |
| 41 | transvection_mul_apply_of_ne i j j s hij.symm] |
| 42 | by_cases hsi : s = i <;> by_cases hsj : s = j <;> |
| 43 | simp_all [Matrix.transvection, Matrix.single_apply, Matrix.one_apply, eq_comm] |
| 44 | · simp only [transvection_mul_apply_of_ne i j r s hri, |
| 45 | transvection_mul_apply_of_ne j i r s hrj] |
| 46 | by_cases hrs : r = s |
| 47 | · subst s |
| 48 | simp_all [Matrix.transvection, eq_comm] |
| 49 | · simp_all [Matrix.transvection, eq_comm] |
| 50 | |
| 51 | theorem specialLinear_transvection_induction [Nontrivial ι] |
| 52 | (P : Matrix.SpecialLinearGroup ι K → Prop) |
| 53 | (ht : ∀ (i j : ι) (hij : i ≠ j) (a : K), P (transvection hij a)) |
| 54 | (hm : ∀ g h, P g → P h → P (g * h)) (g : Matrix.SpecialLinearGroup ι K) : P g := by |
| 55 | apply diagonal_transvection_induction' P g _ ht hm |
| 56 | intro i j hij a ha |
| 57 | rw [diagonal_pair_transvection_decomposition hij a ha] |
| 58 | exact hm _ _ (hm _ _ (hm _ _ (hm _ _ (hm _ _ |
| 59 | (ht i j hij a) (ht j i hij.symm (-a⁻¹))) (ht i j hij a)) |
| 60 | (ht i j hij (-1))) (ht j i hij.symm 1)) (ht i j hij (-1)) |
| 61 | |
| 62 | theorem specialLinear_finiteIndex_eq_top [CharZero K] [Nontrivial ι] |
| 63 | (H : Subgroup (Matrix.SpecialLinearGroup ι K)) [H.FiniteIndex] : H = ⊤ := by |
| 64 | apply top_unique |
| 65 | intro g _ |
| 66 | exact specialLinear_transvection_induction (fun g => g ∈ H) |
| 67 | (fun _ _ hij a => Arithmetic.FiniteIndex.transvection_mem_finiteIndex H hij a) |
| 68 | (fun _ _ ha hb => H.mul_mem ha hb) g |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! A homomorphism out of SL takes its values in a subgroup once |
| 73 | the images of elementary transvections do. -/ |
| 74 | |
| 75 | open scoped Classical |
| 76 | |
| 77 | theorem specialLinear_hom_mem_of_transvections {K H : Type*} [Field K] [Group H] |
| 78 | {n : ℕ} [Nontrivial (Fin n)] (f : Matrix.SpecialLinearGroup (Fin n) K →* H) |
| 79 | (C : Subgroup H) |
| 80 | (htrans : ∀ (i j : Fin n) (hij : i ≠ j) (t : K), |
| 81 | f (Matrix.SpecialLinearGroup.transvection hij t) ∈ C) |
| 82 | (g : Matrix.SpecialLinearGroup (Fin n) K) : f g ∈ C := by |
| 83 | apply specialLinear_transvection_induction (fun g => f g ∈ C) |
| 84 | · exact htrans |
| 85 | · intro g h hg hh |
| 86 | rw [map_mul] |
| 87 | exact C.mul_mem hg hh |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.Quaternion.Arithmetic.SpecialLinear |