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.Algebra.Group.Subgroup.Basic |
| 3 | |
| 4 | /-! # Invariant Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.InvariantNeighborhood.Construction |
| 7 | |
| 8 | /-! A compact subgroup admits a compact neighborhood of the identity |
| 9 | that is invariant under all of its left translations. -/ |
| 10 | |
| 11 | open scoped Pointwise _root_.Topology |
| 12 | open Set Filter |
| 13 | |
| 14 | theorem compact_subgroup_invariant_compact_neighborhood |
| 15 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] |
| 16 | (K : Subgroup G) (hK : IsCompact (K : Set G)) : |
| 17 | ∃ D : Set G, IsCompact D ∧ D ∈ 𝓝 (1 : G) ∧ ∀ g ∈ K, (g * ·) ⁻¹' D = D := by |
| 18 | obtain ⟨C, hC, hC₁⟩ := exists_compact_mem_nhds (1 : G) |
| 19 | refine ⟨(K : Set G) * C, hK.mul hC, ?_, ?_⟩ |
| 20 | · exact Filter.mem_of_superset hC₁ (fun x hx => ⟨1, K.one_mem, x, hx, one_mul x⟩) |
| 21 | · intro g hg |
| 22 | ext x |
| 23 | constructor |
| 24 | · rintro ⟨k, hk, c, hc, h⟩ |
| 25 | refine ⟨g⁻¹ * k, K.mul_mem (K.inv_mem hg) hk, c, hc, ?_⟩ |
| 26 | change k * c = g * x at h |
| 27 | change (g⁻¹ * k) * c = x |
| 28 | rw [mul_assoc, h, inv_mul_cancel_left] |
| 29 | · rintro ⟨k, hk, c, hc, rfl⟩ |
| 30 | exact ⟨g * k, K.mul_mem hg hk, c, hc, mul_assoc g k c⟩ |
| 31 | |
| 32 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.InvariantNeighborhood.Construction |