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.Topology.Algebra.Group.Pointwise |
| 2 | import Mathlib.Topology.Connected.Clopen |
| 3 | import Mathlib.Algebra.Group.Subgroup.Basic |
| 4 | |
| 5 | /-! # Subgroup Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.SubgroupProduct.Construction |
| 8 | |
| 9 | /-! A compact subgroup times a closed subgroup is clopen when it |
| 10 | contains a neighborhood of the identity, and contains the identity component. -/ |
| 11 | |
| 12 | open scoped Pointwise _root_.Topology |
| 13 | open Set Filter |
| 14 | |
| 15 | theorem subgroup_product_isOpen_of_mem_nhds |
| 16 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 17 | (K P : Subgroup G) (hnear : (K : Set G) * (P : Set G) ∈ 𝓝 (1 : G)) : |
| 18 | IsOpen ((K : Set G) * (P : Set G)) := by |
| 19 | apply isOpen_iff_mem_nhds.mpr |
| 20 | rintro x ⟨k, hk, p, hp, rfl⟩ |
| 21 | let e := (Homeomorph.mulLeft k).trans (Homeomorph.mulRight p) |
| 22 | have he : e '' ((K : Set G) * (P : Set G)) ∈ 𝓝 (k * p) := by |
| 23 | have h : e '' ((K : Set G) * (P : Set G)) ∈ Filter.map e (𝓝 (1 : G)) := Filter.image_mem_map hnear |
| 24 | rw [e.map_nhds_eq] at h |
| 25 | have he1 : e 1 = k * p := by change k * 1 * p = k * p; rw [mul_one] |
| 26 | simpa only [he1] using h |
| 27 | apply Filter.mem_of_superset he |
| 28 | rintro y ⟨z, ⟨u, hu, v, hv, rfl⟩, rfl⟩ |
| 29 | refine ⟨k * u, K.mul_mem hk hu, v * p, P.mul_mem hv hp, ?_⟩ |
| 30 | change (k * u) * (v * p) = (k * (u * v)) * p |
| 31 | simp only [mul_assoc] |
| 32 | |
| 33 | theorem compact_subgroup_product_isClopen |
| 34 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 35 | (K P : Subgroup G) (hK : IsCompact (K : Set G)) (hP : IsClosed (P : Set G)) |
| 36 | (hnear : (K : Set G) * (P : Set G) ∈ 𝓝 (1 : G)) : |
| 37 | IsClopen ((K : Set G) * (P : Set G)) := |
| 38 | ⟨hP.mul_left_of_isCompact hK, subgroup_product_isOpen_of_mem_nhds K P hnear⟩ |
| 39 | |
| 40 | theorem connectedComponent_one_subset_compact_subgroup_product |
| 41 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 42 | (K P : Subgroup G) (hK : IsCompact (K : Set G)) (hP : IsClosed (P : Set G)) |
| 43 | (hnear : (K : Set G) * (P : Set G) ∈ 𝓝 (1 : G)) : |
| 44 | connectedComponent (1 : G) ⊆ (K : Set G) * (P : Set G) := by |
| 45 | apply isPreconnected_connectedComponent.subset_isClopen (compact_subgroup_product_isClopen K P hK hP hnear) |
| 46 | exact ⟨1, mem_connectedComponent, ⟨1, K.one_mem, 1, P.one_mem, one_mul 1⟩⟩ |
| 47 | |
| 48 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.SubgroupProduct.Construction |