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.Index |
| 2 | |
| 3 | /-! # Compact Group Index -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.CompactGroupIndex.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Index bookkeeping for a compact group's power map after choosing a small torsion-free subgroup. -/ |
| 10 | |
| 11 | theorem endomorphism_index_of_finite_index_subgroup |
| 12 | {G : Type*} [CommGroup G] (f : G →* G) (H : Subgroup G) |
| 13 | (hH : H.index ≠ 0) (hfH : H.map f ≤ H) (hker : H ⊓ f.ker = ⊥) : |
| 14 | f.range.index = Nat.card f.ker * (H.map f).relIndex H := by |
| 15 | have hrel : H.relIndex (H ⊔ f.ker) = Nat.card f.ker := by |
| 16 | rw [Subgroup.relIndex_sup_left, ← Subgroup.inf_relIndex_right H f.ker, hker, |
| 17 | Subgroup.relIndex_bot_left] |
| 18 | have hprod := Subgroup.relIndex_mul_index (H := H) (K := H ⊔ f.ker) le_sup_left |
| 19 | rw [hrel] at hprod |
| 20 | have hK : (H ⊔ f.ker).index ≠ 0 := by |
| 21 | intro he |
| 22 | rw [he, mul_zero] at hprod |
| 23 | exact hH hprod.symm |
| 24 | have hmap := Subgroup.relIndex_mul_index hfH |
| 25 | rw [H.index_map f, ← hprod] at hmap |
| 26 | apply Nat.eq_of_mul_eq_mul_left (Nat.pos_of_ne_zero hK) |
| 27 | calc |
| 28 | (H ⊔ f.ker).index * f.range.index = |
| 29 | (H.map f).relIndex H * (Nat.card f.ker * (H ⊔ f.ker).index) := hmap.symm |
| 30 | _ = (H ⊔ f.ker).index * (Nat.card f.ker * (H.map f).relIndex H) := by ac_rfl |
| 31 | |
| 32 | theorem square_index_of_finite_index_subgroup |
| 33 | {G : Type*} [CommGroup G] (H : Subgroup G) (hH : H.index ≠ 0) |
| 34 | (hker : ∀ x : G, x ∈ H → x ^ 2 = 1 → x = 1) : |
| 35 | (powMonoidHom 2 : G →* G).range.index = |
| 36 | Nat.card (powMonoidHom 2 : G →* G).ker * |
| 37 | (H.map (powMonoidHom 2 : G →* G)).relIndex H := by |
| 38 | apply endomorphism_index_of_finite_index_subgroup _ H hH |
| 39 | · rintro x ⟨y, hy, rfl⟩ |
| 40 | exact H.pow_mem hy 2 |
| 41 | · apply le_antisymm _ bot_le |
| 42 | intro x hx |
| 43 | exact (Subgroup.mem_bot).mpr (hker x hx.1 hx.2) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.RepresentationTheory.Weil.Local.CompactGroupIndex.Construction |