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.UnitsWeakApproximation |
| 2 | import Mathlib.GroupTheory.Commutator.Finite |
| 3 | |
| 4 | /-! # Commutator Approximation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CommutatorApproximation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Dense approximation in an ambient group approximates commutators |
| 11 | by commutators of rational points. A finite-product version restricts |
| 12 | the resulting approximation to specified subgroups. -/ |
| 13 | |
| 14 | open scoped Classical commutatorElement |
| 15 | open Set |
| 16 | |
| 17 | variable {G H : Type*} [Group G] [Group H] [TopologicalSpace H] [IsTopologicalGroup H] |
| 18 | |
| 19 | theorem commutator_le_closure_of_denseRange (f : G →* H) (hf : DenseRange f) |
| 20 | (Γ : Subgroup G) (hΓ : commutator G ≤ Γ) : |
| 21 | commutator H ≤ (Γ.map f).topologicalClosure := by |
| 22 | rw [commutator_eq_closure] |
| 23 | apply (Subgroup.closure_le ((Γ.map f).topologicalClosure)).mpr |
| 24 | rintro z ⟨x, y, rfl⟩ |
| 25 | have hc : Continuous (fun p : H × H => ⁅p.1, p.2⁆) := by |
| 26 | simp only [commutatorElement_def] |
| 27 | exact ((continuous_fst.mul continuous_snd).mul continuous_fst.inv).mul continuous_snd.inv |
| 28 | apply (hf.prodMap hf).induction_on |
| 29 | (p := fun p : H × H => ⁅p.1, p.2⁆ ∈ (Γ.map f).topologicalClosure) (x, y) |
| 30 | ((Γ.map f).isClosed_topologicalClosure.preimage hc) |
| 31 | rintro ⟨a, b⟩ |
| 32 | apply (Γ.map f).le_topologicalClosure |
| 33 | refine ⟨⁅a, b⁆, hΓ ?_, map_commutatorElement f a b⟩ |
| 34 | exact Subgroup.commutator_mem_commutator (Subgroup.mem_top a) (Subgroup.mem_top b) |
| 35 | |
| 36 | variable {ι : Type*} [Finite ι] {L : ι → Type*} [∀ i, Group (L i)] |
| 37 | [∀ i, TopologicalSpace (L i)] [∀ i, IsTopologicalGroup (L i)] |
| 38 | |
| 39 | def subgroupPiDiagonal (f : ∀ i, G →* L i) (Γ : Subgroup G) (Λ : ∀ i, Subgroup (L i)) |
| 40 | (hm : ∀ (i : ι) (g : G), g ∈ Γ → f i g ∈ Λ i) : Γ →* (∀ i, Λ i) := |
| 41 | MonoidHom.pi (fun i => ((f i).comp Γ.subtype).codRestrict (Λ i) (fun g => hm i g.val g.property)) |
| 42 | |
| 43 | theorem denseRange_subgroupPiDiagonal_of_commutators (f : ∀ i, G →* L i) |
| 44 | (hd : DenseRange (fun g : G => fun i => f i g)) |
| 45 | (Γ : Subgroup G) (hΓ : commutator G ≤ Γ) |
| 46 | (Λ : ∀ i, Subgroup (L i)) (hΛ : ∀ i, Λ i ≤ commutator (L i)) |
| 47 | (hm : ∀ (i : ι) (g : G), g ∈ Γ → f i g ∈ Λ i) : |
| 48 | DenseRange (subgroupPiDiagonal f Γ Λ hm) := by |
| 49 | let e : (∀ i, Λ i) → (∀ i, L i) := fun x i => (x i).val |
| 50 | have he : Topology.IsInducing e := Topology.IsInducing.piMap |
| 51 | (fun _ => Topology.IsInducing.subtypeVal) |
| 52 | rw [DenseRange, he.dense_iff] |
| 53 | intro x |
| 54 | have hx : e x ∈ commutator (∀ i, L i) := by |
| 55 | have hp : Subgroup.pi Set.univ (fun i => commutator (L i)) = commutator (∀ i, L i) := by |
| 56 | simpa only [← commutator_def, Subgroup.pi_top] using |
| 57 | (Subgroup.commutator_pi_pi_of_finite (fun i => (⊤ : Subgroup (L i))) |
| 58 | (fun i => (⊤ : Subgroup (L i)))).symm |
| 59 | rw [← hp] |
| 60 | exact fun i _ => hΛ i (x i).property |
| 61 | have hmemb := commutator_le_closure_of_denseRange (MonoidHom.pi f) hd Γ hΓ hx |
| 62 | have hr : e '' Set.range (subgroupPiDiagonal f Γ Λ hm) = |
| 63 | (Γ.map (MonoidHom.pi f) : Set (∀ i, L i)) := by |
| 64 | ext y |
| 65 | constructor |
| 66 | · rintro ⟨z, ⟨g, rfl⟩, rfl⟩ |
| 67 | exact ⟨g.val, g.property, rfl⟩ |
| 68 | · rintro ⟨g, hg, rfl⟩ |
| 69 | exact ⟨subgroupPiDiagonal f Γ Λ hm ⟨g, hg⟩, Set.mem_range_self _, rfl⟩ |
| 70 | rw [hr] |
| 71 | exact hmemb |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.Quaternion.Arithmetic.CommutatorApproximation |