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.Geometry.ComplexBall.ArithmeticQuotientEquationsData |
| 2 | |
| 3 | /-! # Generation -/ |
| 4 | |
| 5 | namespace OAI.Geometry.ComplexBall.Generation.ArithmeticQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Elementary-matrix generation and perfectness of SL(3). These are used |
| 12 | to verify semisimplicity of the geometric unitary group after splitting. -/ |
| 13 | |
| 14 | open scoped BigOperators Classical commutatorElement |
| 15 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 16 | |
| 17 | variable {K : Type*} [Field K] |
| 18 | |
| 19 | def blockSL2 : Matrix.SpecialLinearGroup (Fin 2) K →* ArithmeticQuotientEquationsData.SL K where |
| 20 | toFun A := ⟨!![A 0 0, A 0 1, 0; A 1 0, A 1 1, 0; 0, 0, 1], by |
| 21 | have h := A.property |
| 22 | rw [Matrix.det_fin_two] at h |
| 23 | simpa [Matrix.det_fin_three] using h⟩ |
| 24 | map_one' := by |
| 25 | apply Subtype.ext |
| 26 | ext i j |
| 27 | fin_cases i <;> fin_cases j <;> simp |
| 28 | map_mul' A B := by |
| 29 | apply Subtype.ext |
| 30 | change (!![(A * B) 0 0, (A * B) 0 1, 0; |
| 31 | (A * B) 1 0, (A * B) 1 1, 0; 0, 0, 1] : Matrix (Fin 3) (Fin 3) K) = |
| 32 | !![A 0 0, A 0 1, 0; A 1 0, A 1 1, 0; 0, 0, 1] * |
| 33 | !![B 0 0, B 0 1, 0; B 1 0, B 1 1, 0; 0, 0, 1] |
| 34 | ext i j |
| 35 | fin_cases i <;> fin_cases j <;> |
| 36 | simp [Matrix.mul_apply, Fin.sum_univ_succ] |
| 37 | |
| 38 | def sl3Reindex (e : Equiv.Perm (Fin 3)) : ArithmeticQuotientEquationsData.SL K →* ArithmeticQuotientEquationsData.SL K where |
| 39 | toFun A := ⟨Matrix.reindex e e A.val, by rw [Matrix.det_reindex_self]; exact A.property⟩ |
| 40 | map_one' := Subtype.ext (map_one (Matrix.reindexRingEquiv K e)) |
| 41 | map_mul' A B := Subtype.ext (map_mul (Matrix.reindexRingEquiv K e) A.val B.val) |
| 42 | |
| 43 | lemma blockSL2_coe (A : Matrix.SpecialLinearGroup (Fin 2) K) : |
| 44 | (blockSL2 A : Matrix (Fin 3) (Fin 3) K) = |
| 45 | !![A 0 0, A 0 1, 0; A 1 0, A 1 1, 0; 0, 0, 1] := rfl |
| 46 | |
| 47 | lemma blockSL2_transvection01 (a : K) : |
| 48 | blockSL2 (transvection (show (0 : Fin 2) ≠ 1 by decide) a) = |
| 49 | transvection (show (0 : Fin 3) ≠ 1 by decide) a := by |
| 50 | apply Subtype.ext |
| 51 | rw [blockSL2_coe] |
| 52 | apply Matrix.ext |
| 53 | intro i j |
| 54 | fin_cases i <;> fin_cases j <;> simp [transvection_coe] |
| 55 | |
| 56 | lemma blockSL2_transvection10 (a : K) : |
| 57 | blockSL2 (transvection (show (1 : Fin 2) ≠ 0 by decide) a) = |
| 58 | transvection (show (1 : Fin 3) ≠ 0 by decide) a := by |
| 59 | apply Subtype.ext |
| 60 | rw [blockSL2_coe] |
| 61 | apply Matrix.ext |
| 62 | intro i j |
| 63 | fin_cases i <;> fin_cases j <;> simp [transvection_coe] |
| 64 | |
| 65 | lemma blockSL2_diag2 (a : K) (ha : a ≠ 0) : |
| 66 | blockSL2 (diag2 a ha) = diag2n (show (0 : Fin 3) ≠ 1 by decide) a ha := by |
| 67 | apply Subtype.ext |
| 68 | rw [blockSL2_coe] |
| 69 | apply Matrix.ext |
| 70 | intro i j |
| 71 | fin_cases i <;> fin_cases j <;> simp [diag2n_coe] |
| 72 | |
| 73 | lemma sl3Reindex_transvection (e : Equiv.Perm (Fin 3)) |
| 74 | {i j : Fin 3} (hij : i ≠ j) (a : K) : |
| 75 | sl3Reindex e (transvection hij a) = transvection (fun h => hij (e.injective h)) a := by |
| 76 | apply Subtype.ext |
| 77 | change Matrix.reindex e e (transvection hij a : Matrix (Fin 3) (Fin 3) K) = _ |
| 78 | simp [transvection_coe, Matrix.reindex_apply, |
| 79 | Matrix.submatrix_add, Matrix.submatrix_one_equiv, Matrix.submatrix_single_equiv] |
| 80 | |
| 81 | lemma sl3Reindex_diag2n (e : Equiv.Perm (Fin 3)) |
| 82 | {i j : Fin 3} (hij : i ≠ j) (a : K) (ha : a ≠ 0) : |
| 83 | sl3Reindex e (diag2n hij a ha) = diag2n (fun h => hij (e.injective h)) a ha := by |
| 84 | apply Subtype.ext |
| 85 | change Matrix.reindex e e (diag2n hij a ha : Matrix (Fin 3) (Fin 3) K) = _ |
| 86 | apply Matrix.ext |
| 87 | intro r s |
| 88 | simp [diag2n_coe, Matrix.reindex_apply, Matrix.diagonal, |
| 89 | Equiv.symm_apply_eq] |
| 90 | |
| 91 | lemma sl3_pair_permutation {i j : Fin 3} (hij : i ≠ j) : |
| 92 | ∃ e : Equiv.Perm (Fin 3), e 0 = i ∧ e 1 = j := by |
| 93 | refine ⟨Equiv.swap 0 i * Equiv.swap 1 ((Equiv.swap 0 i) j), ?_, ?_⟩ |
| 94 | all_goals fin_cases i <;> fin_cases j <;> first | contradiction | decide |
| 95 | |
| 96 | lemma sl3_pair_hom {i j : Fin 3} (hij : i ≠ j) : |
| 97 | ∃ φ : Matrix.SpecialLinearGroup (Fin 2) K →* ArithmeticQuotientEquationsData.SL K, |
| 98 | (∀ a ha, φ (diag2 a ha) = diag2n hij a ha) ∧ |
| 99 | (∀ a, φ (transvection (show (0 : Fin 2) ≠ 1 by decide) a) = transvection hij a) ∧ |
| 100 | (∀ a, φ (transvection (show (1 : Fin 2) ≠ 0 by decide) a) = transvection hij.symm a) := by |
| 101 | obtain ⟨e, hi, hj⟩ := sl3_pair_permutation hij |
| 102 | refine ⟨(sl3Reindex e).comp blockSL2, ?_, ?_, ?_⟩ |
| 103 | · intro a ha |
| 104 | simp only [MonoidHom.comp_apply, blockSL2_diag2, sl3Reindex_diag2n] |
| 105 | simp only [hi, hj] |
| 106 | · intro a |
| 107 | simp only [MonoidHom.comp_apply, blockSL2_transvection01, sl3Reindex_transvection] |
| 108 | simp only [hi, hj] |
| 109 | · intro a |
| 110 | simp only [MonoidHom.comp_apply, blockSL2_transvection10, sl3Reindex_transvection] |
| 111 | simp only [hi, hj] |
| 112 | |
| 113 | lemma sl3_diagonal_decomposition {i j : Fin 3} (hij : i ≠ j) (a : K) (ha : a ≠ 0) : |
| 114 | diag2n hij a ha = |
| 115 | transvection hij a * transvection hij.symm (-a⁻¹) * transvection hij a * |
| 116 | transvection hij (-1) * transvection hij.symm 1 * transvection hij (-1) := by |
| 117 | obtain ⟨φ, hd, ht, ht'⟩ := sl3_pair_hom (K := K) hij |
| 118 | simpa only [map_mul, hd, ht, ht'] using congrArg φ (Matrix.diag2_decompose a ha) |
| 119 | |
| 120 | theorem sl3_transvection_induction (P : ArithmeticQuotientEquationsData.SL K → Prop) |
| 121 | (ht : ∀ (i j : Fin 3) (hij : i ≠ j) (a : K), P (transvection hij a)) |
| 122 | (hm : ∀ A B, P A → P B → P (A * B)) (A : ArithmeticQuotientEquationsData.SL K) : P A := by |
| 123 | apply diagonal_transvection_induction' P A _ ht hm |
| 124 | intro i j hij a ha |
| 125 | rw [sl3_diagonal_decomposition hij a ha] |
| 126 | exact hm _ _ (hm _ _ (hm _ _ (hm _ _ (hm _ _ (ht _ _ _ _) (ht _ _ _ _)) |
| 127 | (ht _ _ _ _)) (ht _ _ _ _)) (ht _ _ _ _)) (ht _ _ _ _) |
| 128 | |
| 129 | lemma sl3_transvection_as_commutator [CharZero K] {i j : Fin 3} (hij : i ≠ j) (a : K) : |
| 130 | ⁅diag2n hij (2 : K) (by norm_num), transvection hij (a / 3)⁆ = transvection hij a := by |
| 131 | obtain ⟨φ, hd, ht, ht'⟩ := sl3_pair_hom (K := K) hij |
| 132 | have hc : a = (a / 3) * ((2 : K) ^ 2 - 1) := by field_simp; ring |
| 133 | have h := congrArg φ (Matrix.commutator_diag2_transvection (2 : K) (by norm_num) (a / 3) a hc) |
| 134 | simpa only [map_commutatorElement, hd, ht] using h |
| 135 | |
| 136 | theorem sl3_commutator_eq_top [CharZero K] : commutator (ArithmeticQuotientEquationsData.SL K) = ⊤ := by |
| 137 | apply top_unique |
| 138 | intro g _ |
| 139 | apply sl3_transvection_induction (fun g : ArithmeticQuotientEquationsData.SL K => g ∈ commutator (ArithmeticQuotientEquationsData.SL K)) _ _ g |
| 140 | · intro i j hij a |
| 141 | rw [← sl3_transvection_as_commutator hij a] |
| 142 | exact Subgroup.commutator_mem_commutator (Subgroup.mem_top _) (Subgroup.mem_top _) |
| 143 | · exact fun _ _ => mul_mem |
| 144 | |
| 145 | end |
| 146 | |
| 147 | /-! A solvable normal subgroup of SL(3) in characteristic zero is central. |
| 148 | The proof uses its action on projective space and the Iwasawa criterion. -/ |
| 149 | |
| 150 | open scoped Classical LinearAlgebra.Projectivization Pointwise |
| 151 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup MulAction |
| 152 | |
| 153 | variable {K : Type*} [Field K] |
| 154 | |
| 155 | instance sl3Nontrivial : Nontrivial (ArithmeticQuotientEquationsData.SL K) := by |
| 156 | refine ⟨⟨transvection (show (0 : Fin 3) ≠ 1 by decide) 1, 1, ?_⟩⟩ |
| 157 | intro h |
| 158 | have he := congrArg (fun g : ArithmeticQuotientEquationsData.SL K => g.val 0 1) h |
| 159 | simp [transvection_coe] at he |
| 160 | |
| 161 | theorem sl3_iSup_lineStab : |
| 162 | (⨆ p : ℙ K (Fin 3 → K), lineStab p.submodule) = (⊤ : Subgroup (ArithmeticQuotientEquationsData.SL K)) := by |
| 163 | apply top_unique |
| 164 | intro g _ |
| 165 | apply sl3_transvection_induction (fun g : ArithmeticQuotientEquationsData.SL K => |
| 166 | g ∈ (⨆ p : ℙ K (Fin 3 → K), lineStab p.submodule)) _ _ g |
| 167 | · intro i j hij a |
| 168 | let p : ℙ K (Fin 3 → K) := |
| 169 | Projectivization.mk K (Pi.single i 1) (Pi.single_ne_zero_iff.mpr one_ne_zero) |
| 170 | apply (le_iSup (fun p : ℙ K (Fin 3 → K) => lineStab p.submodule) p) |
| 171 | change transvection hij a ∈ lineStab |
| 172 | (Projectivization.mk K (Pi.single i 1) (Pi.single_ne_zero_iff.mpr one_ne_zero)).submodule |
| 173 | rw [Projectivization.submodule_mk] |
| 174 | exact SL2Gen.transvection_mem_lineStab hij a |
| 175 | · exact fun _ _ => mul_mem |
| 176 | |
| 177 | def sl3Iwasawa : IwasawaStructure (ArithmeticQuotientEquationsData.SL K) (ℙ K (Fin 3 → K)) where |
| 178 | T p := lineStab p.submodule |
| 179 | is_comm p := by |
| 180 | rw [← Projectivization.mk_rep p, Projectivization.submodule_mk] |
| 181 | exact lineStab_isMulCommutative_of_span p.rep p.rep_nonzero |
| 182 | is_conj g p := by rw [PSL.smul_submodule, lineStab_smul] |
| 183 | is_generator := sl3_iSup_lineStab |
| 184 | |
| 185 | theorem sl3_solvable_normal_central [CharZero K] |
| 186 | (N : Subgroup (ArithmeticQuotientEquationsData.SL K)) (hN : N.Normal) (hsolv : Group.IsSolvable N) : |
| 187 | N ≤ Subgroup.center (ArithmeticQuotientEquationsData.SL K) := by |
| 188 | let := hN |
| 189 | let := hsolv |
| 190 | let : Group.IsPerfect (ArithmeticQuotientEquationsData.SL K) := ⟨sl3_commutator_eq_top⟩ |
| 191 | have hfix : fixedPoints N (ℙ K (Fin 3 → K)) = Set.univ := by |
| 192 | by_contra h |
| 193 | have htop : N = ⊤ := top_unique (by |
| 194 | simpa only [sl3_commutator_eq_top] using sl3Iwasawa.commutator_le N h) |
| 195 | have hG : Group.IsSolvable (ArithmeticQuotientEquationsData.SL K) := by |
| 196 | subst N |
| 197 | exact Group.isSolvable_of_surjective (f := (⊤ : Subgroup (ArithmeticQuotientEquationsData.SL K)).subtype) |
| 198 | (fun g => ⟨⟨g, Subgroup.mem_top g⟩, rfl⟩) |
| 199 | exact Group.IsPerfect.not_isSolvable (ArithmeticQuotientEquationsData.SL K) hG |
| 200 | intro g hg |
| 201 | apply (QuotientGroup.eq_one_iff g).mp |
| 202 | apply eq_of_smul_eq_smul (α := ℙ K (Fin 3 → K)) |
| 203 | intro p |
| 204 | have hp : p ∈ fixedPoints N (ℙ K (Fin 3 → K)) := by rw [hfix]; trivial |
| 205 | have hh := hp (⟨g, hg⟩ : N) |
| 206 | change g • p = p at hh |
| 207 | simpa only [Matrix.ProjectiveSpecialLinearGroup.smul_proj_mk, one_smul] using hh |
| 208 | |
| 209 | end |
| 210 | |
| 211 | end OAI.Geometry.ComplexBall.Generation.ArithmeticQuotient |