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.GroupTheory.IsPerfect |
| 2 | import Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup |
| 3 | import Mathlib.GroupTheory.Abelianization.Defs |
| 4 | import Mathlib.Tactic |
| 5 | import Lean.Util.CollectAxioms |
| 6 | |
| 7 | /-! # Special Linear Perfect -/ |
| 8 | |
| 9 | namespace OAI.GroupTheory.LinearGroups.SpecialLinearPerfect.SLConstruction |
| 10 | |
| 11 | /-! |
| 12 | # SL3Perfect: perfectness of SL₃ over a field |
| 13 | |
| 14 | This file proves the statements of `Statements/SL3Perfect.lean` independently of its |
| 15 | placeholders. The proof is algebraic and applies to every field, hence to the |
| 16 | nonarchimedean local fields in the application. |
| 17 | -/ |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 22 | open scoped commutatorElement |
| 23 | |
| 24 | variable {k : Type u} [Field k] |
| 25 | |
| 26 | /-- The third index realizes every elementary transvection as a commutator. -/ |
| 27 | lemma transvection_commutator |
| 28 | {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 29 | {i j l : ι} (hij : i ≠ j) (hil : i ≠ l) (hlj : l ≠ j) (a : k) : |
| 30 | ⁅transvection hil a, transvection hlj (1 : k)⁆ = transvection hij a := by |
| 31 | rw [commutatorElement_def, transvection_inv, transvection_inv] |
| 32 | apply Subtype.ext |
| 33 | simp [transvection_coe, mul_add, add_mul, |
| 34 | single_mul_single_of_ne _ _ _ _ hil.symm, |
| 35 | single_mul_single_of_ne _ _ _ _ hlj.symm, |
| 36 | single_mul_single_of_ne _ _ _ _ hij.symm, ← single_neg] |
| 37 | abel |
| 38 | |
| 39 | /-- A determinant-one diagonal block is a product of six transvections. -/ |
| 40 | lemma diag2n_transvection_decomposition |
| 41 | {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 42 | {i j : ι} (hij : i ≠ j) (a : k) (ha : a ≠ 0) : |
| 43 | diag2n hij a ha = |
| 44 | transvection hij a * transvection hij.symm (-a⁻¹) * |
| 45 | transvection hij a * transvection hij (-1) * |
| 46 | transvection hij.symm 1 * transvection hij (-1) := by |
| 47 | apply Subtype.ext |
| 48 | simp only [coe_mul, transvection_coe, diag2n_coe] |
| 49 | simp only [mul_add, add_mul, one_mul, mul_one, |
| 50 | single_mul_single_same, |
| 51 | single_mul_single_of_ne _ _ _ _ hij, |
| 52 | single_mul_single_of_ne _ _ _ _ hij.symm, |
| 53 | add_zero] |
| 54 | ext r s |
| 55 | by_cases hri : r = i <;> by_cases hrj : r = j <;> |
| 56 | by_cases hsi : s = i <;> by_cases hsj : s = j <;> |
| 57 | simp_all [Matrix.single, Matrix.diagonal_apply, Matrix.one_apply, eq_comm] |
| 58 | |
| 59 | /-- Every elementary generator of SL₃ belongs to its commutator subgroup. -/ |
| 60 | lemma sl3_transvection_mem_commutator |
| 61 | {i j : Fin 3} (hij : i ≠ j) (a : k) : |
| 62 | transvection hij a ∈ commutator (Matrix.SpecialLinearGroup (Fin 3) k) := by |
| 63 | obtain ⟨l, hli, hlj⟩ := Fin.exists_ne_and_ne_of_two_lt i j (by decide) |
| 64 | rw [← transvection_commutator hij hli.symm hlj a] |
| 65 | exact Subgroup.commutator_mem_commutator (Subgroup.mem_top _) (Subgroup.mem_top _) |
| 66 | |
| 67 | /-- SL₃ over any field is perfect as an abstract group. -/ |
| 68 | theorem sl3_isPerfect (k : Type u) [Field k] : |
| 69 | Group.IsPerfect (Matrix.SpecialLinearGroup (Fin 3) k) := by |
| 70 | refine ⟨le_antisymm le_top ?_⟩ |
| 71 | intro g _ |
| 72 | refine diagonal_transvection_induction' |
| 73 | (fun x => x ∈ commutator (Matrix.SpecialLinearGroup (Fin 3) k)) g ?_ ?_ ?_ |
| 74 | · intro i j hij a ha |
| 75 | rw [diag2n_transvection_decomposition hij a ha] |
| 76 | repeat' apply Subgroup.mul_mem |
| 77 | all_goals exact sl3_transvection_mem_commutator _ _ |
| 78 | · intro i j hij a |
| 79 | exact sl3_transvection_mem_commutator hij a |
| 80 | · intro A B hA hB |
| 81 | exact Subgroup.mul_mem _ hA hB |
| 82 | |
| 83 | /-- Every homomorphism from SL₃ to an abelian group is trivial. -/ |
| 84 | theorem sl3_hom_to_abelian_eq_one |
| 85 | (k : Type u) [Field k] |
| 86 | (A : Type v) [CommGroup A] |
| 87 | (χ : Matrix.SpecialLinearGroup (Fin 3) k →* A) : |
| 88 | χ = 1 := by |
| 89 | ext g |
| 90 | change χ g = 1 |
| 91 | apply MonoidHom.mem_ker.mp |
| 92 | apply Abelianization.commutator_subset_ker χ |
| 93 | rw [(sl3_isPerfect k).commutator_eq_top] |
| 94 | exact Subgroup.mem_top _ |
| 95 | |
| 96 | end OAI.GroupTheory.LinearGroups.SpecialLinearPerfect.SLConstruction |