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.RepresentationTheory.Weil.Local.CompactGroupIndex |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticNormSubgroup |
| 3 | |
| 4 | /-! # Square Index Tools -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.SquareIndexTools.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Power-kernel and index comparison tools for the LocalWeil quadratic norm computation. -/ |
| 11 | |
| 12 | variable {G : Type*} [CommGroup G] |
| 13 | |
| 14 | theorem square_map_subgroupOf (H : Subgroup G) : |
| 15 | (H.map (powMonoidHom 2 : G →* G)).subgroupOf H = QuadraticNormSubgroup.Construction.squareUnitsSubgroup H := by |
| 16 | ext x |
| 17 | constructor |
| 18 | · rintro ⟨y, hy, he⟩ |
| 19 | refine ⟨⟨y, hy⟩, ?_⟩ |
| 20 | apply Subtype.ext |
| 21 | exact he |
| 22 | · rintro ⟨y, he⟩ |
| 23 | exact ⟨y.val, y.property, congrArg Subtype.val he⟩ |
| 24 | |
| 25 | theorem square_index_eq_kernel_mul_local_index |
| 26 | (H : Subgroup G) (hH : H.index ≠ 0) |
| 27 | (hker : ∀ x : G, x ∈ H → x ^ 2 = 1 → x = 1) : |
| 28 | (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G).index = |
| 29 | Nat.card (powMonoidHom 2 : G →* G).ker * (QuadraticNormSubgroup.Construction.squareUnitsSubgroup H).index := by |
| 30 | have hh := CompactGroupIndex.Construction.square_index_of_finite_index_subgroup H hH hker |
| 31 | change (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G).index = |
| 32 | Nat.card (powMonoidHom 2 : G →* G).ker * |
| 33 | ((H.map (powMonoidHom 2 : G →* G)).subgroupOf H).index at hh |
| 34 | rwa [square_map_subgroupOf] at hh |
| 35 | |
| 36 | theorem square_kernel_card_two (ε : G) (hε : ε ≠ 1) |
| 37 | (h : ∀ x : G, x ^ 2 = 1 ↔ x = 1 ∨ x = ε) : |
| 38 | Nat.card (powMonoidHom 2 : G →* G).ker = 2 := by |
| 39 | let z : (powMonoidHom 2 : G →* G).ker := ⟨ε, (h ε).mpr (Or.inr rfl)⟩ |
| 40 | apply Nat.card_eq_two_iff.mpr |
| 41 | refine ⟨1, z, ?_, ?_⟩ |
| 42 | · intro he |
| 43 | exact hε (congrArg Subtype.val he).symm |
| 44 | · ext x |
| 45 | simp only [Set.mem_insert_iff, Set.mem_singleton_iff, Set.mem_univ, iff_true] |
| 46 | have hx : x.val ^ 2 = 1 := x.property |
| 47 | rcases (h x.val).mp hx with hx | hx |
| 48 | · exact Or.inl (Subtype.ext hx) |
| 49 | · exact Or.inr (Subtype.ext hx) |
| 50 | |
| 51 | theorem square_index_eq_of_local_indices |
| 52 | {G₁ G₂ : Type*} [CommGroup G₁] [CommGroup G₂] |
| 53 | (H₁ : Subgroup G₁) (H₂ : Subgroup G₂) (hH₁ : H₁.index ≠ 0) (hH₂ : H₂.index ≠ 0) |
| 54 | (hk₁ : ∀ x : G₁, x ∈ H₁ → x ^ 2 = 1 → x = 1) |
| 55 | (hk₂ : ∀ x : G₂, x ∈ H₂ → x ^ 2 = 1 → x = 1) |
| 56 | (hc : Nat.card (powMonoidHom 2 : G₁ →* G₁).ker = Nat.card (powMonoidHom 2 : G₂ →* G₂).ker) |
| 57 | (hi : (QuadraticNormSubgroup.Construction.squareUnitsSubgroup H₁).index = (QuadraticNormSubgroup.Construction.squareUnitsSubgroup H₂).index) : |
| 58 | (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₁).index = (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₂).index := by |
| 59 | rw [square_index_eq_kernel_mul_local_index H₁ hH₁ hk₁, |
| 60 | square_index_eq_kernel_mul_local_index H₂ hH₂ hk₂, hc, hi] |
| 61 | |
| 62 | theorem square_index_mulEquiv {G₁ G₂ : Type*} [CommGroup G₁] [CommGroup G₂] |
| 63 | (e : G₁ ≃* G₂) : (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₁).index = (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₂).index := by |
| 64 | have hm : (QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₁).map e.toMonoidHom = QuadraticNormSubgroup.Construction.squareUnitsSubgroup G₂ := by |
| 65 | ext x |
| 66 | constructor |
| 67 | · rintro ⟨y, ⟨z, rfl⟩, rfl⟩ |
| 68 | exact ⟨e z, (map_pow e z 2).symm⟩ |
| 69 | · rintro ⟨z, rfl⟩ |
| 70 | exact ⟨e.symm z ^ 2, ⟨e.symm z, rfl⟩, by simp⟩ |
| 71 | rw [← hm] |
| 72 | exact (Subgroup.index_map_of_bijective (f := e.toMonoidHom) e.bijective _).symm |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Weil.Local.SquareIndexTools.Construction |