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.NumberTheory.Quaternion.Arithmetic.IntegralCompact |
| 2 | import Mathlib.Topology.Algebra.OpenSubgroup |
| 3 | import Mathlib.Topology.Separation.Profinite |
| 4 | |
| 5 | /-! # Compact Block Powers -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CompactBlockPowers |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A compact totally disconnected group admits one positive exponent |
| 14 | that sends every element into any prescribed identity neighborhood. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open Set _root_.Topology |
| 18 | |
| 19 | theorem compact_group_exists_uniform_power |
| 20 | {C : Type*} [Group C] [TopologicalSpace C] [IsTopologicalGroup C] |
| 21 | [CompactSpace C] [T2Space C] [TotallyDisconnectedSpace C] |
| 22 | (U : Set C) (hU : U ∈ 𝓝 (1 : C)) : |
| 23 | ∃ N : ℕ, 0 < N ∧ ∀ c : C, c ^ N ∈ U := by |
| 24 | obtain ⟨V, ⟨h1V, hV⟩, hVU⟩ := (nhds_basis_clopen (1 : C)).mem_iff.mp hU |
| 25 | obtain ⟨K, hKV⟩ := IsTopologicalGroup.exist_openSubgroup_sub_clopen_nhds_of_one hV h1V |
| 26 | have hi := IntegralCompact.finiteIndex_of_open_in_compact_group K.toSubgroup K.isOpen |
| 27 | refine ⟨K.toSubgroup.index.factorial, Nat.factorial_pos _, fun c => hVU (hKV ?_)⟩ |
| 28 | exact K.toSubgroup.pow_mem_of_index_ne_zero_of_dvd hi.index_ne_zero c |
| 29 | (fun m hm hle => Nat.dvd_factorial hm hle) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | /-! A local block projection preserving a closed subgroup near the |
| 34 | identity also preserves fixed positive powers from the closure of an |
| 35 | arithmetic projection, when the other factors are compact. -/ |
| 36 | |
| 37 | open scoped Classical |
| 38 | open Set Filter _root_.Topology |
| 39 | |
| 40 | section |
| 41 | |
| 42 | theorem compact_factor_eventually_power_mem |
| 43 | {C B L : Type*} [Group C] [TopologicalSpace C] [IsTopologicalGroup C] |
| 44 | [CompactSpace C] [T2Space C] [TotallyDisconnectedSpace C] |
| 45 | [Group B] [TopologicalSpace B] [IsTopologicalGroup B] |
| 46 | [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 47 | (e : C × B →* L) (he : Continuous e) (j : B →* L) (hj : Continuous j) |
| 48 | (m : L →* L) (hm : ∀ c b, m (e (c, b)) = j b) |
| 49 | (H : Subgroup L) (hH : IsClosed (H : Set L)) |
| 50 | (hnear : ∀ᶠ g in 𝓝 (1 : L), g ∈ H → m g ∈ H) |
| 51 | (Γ : Subgroup (C × B)) (hΓ : ∀ g ∈ Γ, e g ∈ H) : |
| 52 | ∃ N : ℕ, 0 < N ∧ ∀ᶠ b in 𝓝 (1 : B), |
| 53 | b ∈ (Γ.map (MonoidHom.snd C B)).topologicalClosure → j (b ^ N) ∈ H := by |
| 54 | have ht := he.tendsto (1 : C × B) |
| 55 | rw [map_one] at ht |
| 56 | obtain ⟨UC, hUC, VB, hVB, hrect⟩ := mem_nhds_prod_iff.mp (ht hnear) |
| 57 | obtain ⟨N, hN, hNC⟩ := compact_group_exists_uniform_power UC hUC |
| 58 | have hp : Tendsto (fun b : B => b ^ N) (𝓝 1) (𝓝 1) := by |
| 59 | change Tendsto (id ^ N : B → B) (𝓝 1) (𝓝 1) |
| 60 | simpa only [Pi.pow_apply, id_eq, one_pow] using (continuous_id.pow N).tendsto (1 : B) |
| 61 | obtain ⟨V, hVsub, hVo, h1V⟩ := mem_nhds_iff.mp (hp hVB) |
| 62 | let Z : Set B := {b | j (b ^ N) ∈ H} |
| 63 | have hZ : IsClosed Z := hH.preimage (hj.comp (continuous_id.pow N)) |
| 64 | have hsub : V ∩ (Γ.map (MonoidHom.snd C B) : Set B) ⊆ Z := by |
| 65 | rintro b ⟨hbV, g, hg, rfl⟩ |
| 66 | have hpΓ : e (g.1 ^ N, g.2 ^ N) ∈ H := hΓ (g ^ N) (Γ.pow_mem hg N) |
| 67 | have hVpow : g.2 ^ N ∈ VB := hVsub hbV |
| 68 | have hpH := hrect (show (g.1 ^ N, g.2 ^ N) ∈ UC ×ˢ VB from ⟨hNC g.1, hVpow⟩) hpΓ |
| 69 | change j (g.2 ^ N) ∈ H |
| 70 | rw [hm] at hpH |
| 71 | exact hpH |
| 72 | have hcl := closure_minimal hsub hZ |
| 73 | refine ⟨N, hN, ?_⟩ |
| 74 | filter_upwards [hVo.mem_nhds h1V] with b hb hP |
| 75 | exact hcl (hVo.inter_closure ⟨hb, hP⟩) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | theorem compact_factor_eventually_power_mem_of_open_projection |
| 80 | {C B L : Type*} [Group C] [TopologicalSpace C] [IsTopologicalGroup C] |
| 81 | [CompactSpace C] [T2Space C] [TotallyDisconnectedSpace C] |
| 82 | [Group B] [TopologicalSpace B] [IsTopologicalGroup B] |
| 83 | [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 84 | (e : C × B →* L) (he : Continuous e) (j : B →* L) (hj : Continuous j) |
| 85 | (m : L →* L) (hm : ∀ c b, m (e (c, b)) = j b) |
| 86 | (H : Subgroup L) (hH : IsClosed (H : Set L)) |
| 87 | (hnear : ∀ᶠ g in 𝓝 (1 : L), g ∈ H → m g ∈ H) |
| 88 | (Γ : Subgroup (C × B)) (hΓ : ∀ g ∈ Γ, e g ∈ H) |
| 89 | (hP : IsOpen ((Γ.map (MonoidHom.snd C B)).topologicalClosure : Set B)) : |
| 90 | ∃ N : ℕ, 0 < N ∧ ∀ᶠ b in 𝓝 (1 : B), j (b ^ N) ∈ H := by |
| 91 | obtain ⟨N, hN, hpow⟩ := compact_factor_eventually_power_mem e he j hj m hm H hH hnear Γ hΓ |
| 92 | let P := (Γ.map (MonoidHom.snd C B)).topologicalClosure |
| 93 | have hPnear : (P : Set B) ∈ 𝓝 1 := hP.mem_nhds P.one_mem |
| 94 | refine ⟨N, hN, ?_⟩ |
| 95 | filter_upwards [hpow, hPnear] with b hb hPmem |
| 96 | exact hb hPmem |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.Quaternion.Arithmetic.CompactBlockPowers |