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 |
| 2 | |
| 3 | /-! # Finite Index -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteIndex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Finite-index subgroups contain every additive one-parameter subgroup |
| 12 | over a characteristic-zero field. This supplies the group-theoretic |
| 13 | consequence of unipotent generation in the local arithmetic argument. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {K G : Type*} [Field K] [CharZero K] [Group G] |
| 18 | |
| 19 | /-- Additive parameter groups over a characteristic-zero field are divisible, |
| 20 | so their images lie in every finite-index subgroup. -/ |
| 21 | theorem additive_parameter_mem_finiteIndex (H : Subgroup G) [H.FiniteIndex] |
| 22 | (u : Multiplicative K →* G) (a : K) : u (Multiplicative.ofAdd a) ∈ H := by |
| 23 | let N := H.normalCore |
| 24 | have hn : (N.index : K) ≠ 0 := |
| 25 | Nat.cast_ne_zero.mpr (Subgroup.FiniteIndex.index_ne_zero (H := N)) |
| 26 | have he : (Multiplicative.ofAdd (a / (N.index : K))) ^ N.index = |
| 27 | Multiplicative.ofAdd a := by |
| 28 | apply Multiplicative.toAdd.injective |
| 29 | change N.index • (a / (N.index : K)) = a |
| 30 | rw [nsmul_eq_mul] |
| 31 | exact mul_div_cancel₀ a hn |
| 32 | have hu := N.pow_index_mem (u (Multiplicative.ofAdd (a / (N.index : K)))) |
| 33 | rw [← map_pow, he] at hu |
| 34 | exact H.normalCore_le hu |
| 35 | |
| 36 | def additiveParameterElements : Set G := |
| 37 | {g | ∃ u : Multiplicative K →* G, ∃ a : K, u (Multiplicative.ofAdd a) = g} |
| 38 | |
| 39 | theorem finiteIndex_eq_top_of_additive_generation |
| 40 | (hgen : Subgroup.closure (additiveParameterElements (K := K) (G := G)) = ⊤) |
| 41 | (H : Subgroup G) [H.FiniteIndex] : H = ⊤ := by |
| 42 | apply top_unique |
| 43 | rw [← hgen] |
| 44 | apply (Subgroup.closure_le H).mpr |
| 45 | rintro g ⟨u, a, rfl⟩ |
| 46 | exact additive_parameter_mem_finiteIndex H u a |
| 47 | |
| 48 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 49 | |
| 50 | /-- The usual elementary-matrix one-parameter subgroup. -/ |
| 51 | def transvectionParameter {i j : ι} (hij : i ≠ j) : |
| 52 | Multiplicative K →* Matrix.SpecialLinearGroup ι K where |
| 53 | toFun a := Matrix.SpecialLinearGroup.transvection hij a.toAdd |
| 54 | map_one' := by |
| 55 | apply Subtype.ext |
| 56 | simp |
| 57 | map_mul' a b := Matrix.SpecialLinearGroup.transvection_add hij a.toAdd b.toAdd |
| 58 | |
| 59 | theorem transvection_mem_finiteIndex (H : Subgroup (Matrix.SpecialLinearGroup ι K)) |
| 60 | [H.FiniteIndex] {i j : ι} (hij : i ≠ j) (a : K) : |
| 61 | Matrix.SpecialLinearGroup.transvection hij a ∈ H := |
| 62 | additive_parameter_mem_finiteIndex H (transvectionParameter hij) a |
| 63 | |
| 64 | /-- The rank-one split group has no proper finite-index subgroup. -/ |
| 65 | theorem sl2_finiteIndex_eq_top (H : Subgroup (Matrix.SpecialLinearGroup (Fin 2) K)) |
| 66 | [H.FiniteIndex] : H = ⊤ := by |
| 67 | apply top_unique |
| 68 | intro g _ |
| 69 | exact Matrix.SL2.transvection_induction |
| 70 | (fun g => g ∈ H) |
| 71 | (fun i j hij a => transvection_mem_finiteIndex H hij a) |
| 72 | (fun a b ha hb => H.mul_mem ha hb) g |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! In a finite product, finite-index subgroups contain every factor |
| 77 | generated by additive parameters. Exceptional factors are kept explicit. -/ |
| 78 | |
| 79 | open scoped Classical |
| 80 | |
| 81 | variable {ι : Type*} {K L : ι → Type*} [∀ i, Field (K i)] [∀ i, CharZero (K i)] [∀ i, Group (L i)] |
| 82 | |
| 83 | theorem finiteIndex_contains_generated_factor |
| 84 | (H : Subgroup (∀ i, L i)) [H.FiniteIndex] (i : ι) |
| 85 | (hgen : Subgroup.closure (additiveParameterElements (K := K i) (G := L i)) = ⊤) |
| 86 | (x : L i) : Pi.mulSingle i x ∈ H := by |
| 87 | let e := MonoidHom.mulSingle L i |
| 88 | have hle : Subgroup.closure (additiveParameterElements (K := K i) (G := L i)) ≤ H.comap e := by |
| 89 | apply (Subgroup.closure_le (H.comap e)).mpr |
| 90 | rintro y ⟨u, a, rfl⟩ |
| 91 | exact additive_parameter_mem_finiteIndex H (e.comp u) a |
| 92 | rw [hgen] at hle |
| 93 | exact hle (Subgroup.mem_top x) |
| 94 | |
| 95 | theorem finiteIndex_product_mem_of_exceptional_one [Finite ι] |
| 96 | (H : Subgroup (∀ i, L i)) [H.FiniteIndex] (B : Set ι) |
| 97 | (hgen : ∀ i ∉ B, Subgroup.closure (additiveParameterElements (K := K i) (G := L i)) = ⊤) |
| 98 | (x : ∀ i, L i) (hx : ∀ i ∈ B, x i = 1) : x ∈ H := by |
| 99 | apply Subgroup.pi_mem_of_mulSingle_mem x |
| 100 | intro i |
| 101 | by_cases hi : i ∈ B |
| 102 | · simpa only [hx i hi, Pi.mulSingle_one] using H.one_mem |
| 103 | · exact finiteIndex_contains_generated_factor (K := K) H i (hgen i hi) (x i) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteIndex |