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 | /-! # Compact Powers -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.CompactPowers.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Positive powers of a relatively compact cyclic subgroup return arbitrarily close to identity. -/ |
| 10 | |
| 11 | open scoped _root_.Topology |
| 12 | open Filter |
| 13 | |
| 14 | theorem exists_positive_power_mem_nhds |
| 15 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [FirstCountableTopology G] |
| 16 | (g : G) (C : Set G) (hC : IsCompact C) (hg : ∀ n : ℕ, g ^ n ∈ C) |
| 17 | {U : Set G} (hU : U ∈ 𝓝 (1 : G)) : ∃ N : ℕ, 0 < N ∧ g ^ N ∈ U := by |
| 18 | obtain ⟨a, _, φ, hφ, hlim⟩ := hC.tendsto_subseq hg |
| 19 | have hstep : Tendsto (fun n => g ^ φ (n + 1)) atTop (𝓝 a) := |
| 20 | hlim.comp (tendsto_add_atTop_nat 1) |
| 21 | have hratio : Tendsto (fun n => g ^ φ (n + 1) * (g ^ φ n)⁻¹) atTop (𝓝 (1 : G)) := by |
| 22 | simpa only [Function.comp_def, mul_inv_cancel] using hstep.mul hlim.inv |
| 23 | obtain ⟨n, hn⟩ := (hratio.eventually hU).exists |
| 24 | have hlt : φ n < φ (n + 1) := hφ (Nat.lt_succ_self n) |
| 25 | refine ⟨φ (n + 1) - φ n, Nat.sub_pos_of_lt hlt, ?_⟩ |
| 26 | rw [pow_sub g hlt.le] |
| 27 | exact hn |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.RepresentationTheory.Hecke.RadialDilation.CompactPowers.Realization |