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.OpenSubgroup |
| 2 | import Mathlib.GroupTheory.IsPerfect |
| 3 | |
| 4 | /-! # Dense Scalar Character -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseScalarCharacter.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scalar character on a dense subgroup of a perfect topological |
| 11 | group is trivial once it is trivial above an open identity subgroup. |
| 12 | No continuity of the scalar character is assumed. -/ |
| 13 | |
| 14 | open scoped Classical commutatorElement |
| 15 | |
| 16 | variable {Γ G A : Type*} [Group Γ] [Group G] [CommGroup A] |
| 17 | [TopologicalSpace G] [IsTopologicalGroup G] |
| 18 | (f : Γ →* G) (hf : DenseRange f) (χ : Γ →* A) |
| 19 | |
| 20 | include hf in |
| 21 | theorem dense_character_kernel_commutators (x y : G) : |
| 22 | ⁅x, y⁆ ∈ (χ.ker.map f).topologicalClosure := by |
| 23 | have hc : Continuous (fun z : G × G => ⁅z.1, z.2⁆) := by |
| 24 | simp only [commutatorElement_def] |
| 25 | fun_prop |
| 26 | have hs : IsClosed {z : G × G | ⁅z.1, z.2⁆ ∈ (χ.ker.map f).topologicalClosure} := |
| 27 | (χ.ker.map f).isClosed_topologicalClosure.preimage hc |
| 28 | have hr : Set.range (Prod.map f f) ⊆ {z : G × G | ⁅z.1, z.2⁆ ∈ (χ.ker.map f).topologicalClosure} := by |
| 29 | rintro _ ⟨⟨a, b⟩, rfl⟩ |
| 30 | apply (χ.ker.map f).le_topologicalClosure |
| 31 | refine ⟨⁅a, b⁆, ?_, map_commutatorElement f a b⟩ |
| 32 | change χ ⁅a, b⁆ = 1 |
| 33 | simp only [map_commutatorElement, commutatorElement_eq_one_iff_mul_comm, mul_comm] |
| 34 | exact closure_minimal hr hs ((hf.prodMap hf) (x, y)) |
| 35 | |
| 36 | include hf in |
| 37 | theorem dense_scalar_character_trivial |
| 38 | (hperfect : commutator G = ⊤) (U : OpenSubgroup G) |
| 39 | (hU : ∀ γ, f γ ∈ U → χ γ = 1) : ∀ γ, χ γ = 1 := by |
| 40 | have htop : (χ.ker.map f).topologicalClosure = ⊤ := by |
| 41 | apply top_unique |
| 42 | rw [← hperfect] |
| 43 | exact Subgroup.commutator_le.mpr (fun x _ y _ => dense_character_kernel_commutators f hf χ x y) |
| 44 | intro γ |
| 45 | have ho : IsOpen {x : G | x⁻¹ * f γ ∈ U} := |
| 46 | U.isOpen.preimage (continuous_inv.mul continuous_const) |
| 47 | have hm : f γ ∈ closure (χ.ker.map f : Set G) := by |
| 48 | change f γ ∈ (χ.ker.map f).topologicalClosure |
| 49 | rw [htop] |
| 50 | exact Subgroup.mem_top _ |
| 51 | obtain ⟨x, hx, hxN⟩ := mem_closure_iff.mp hm _ ho (by simp) |
| 52 | obtain ⟨δ, hδ, rfl⟩ := hxN |
| 53 | change (f δ)⁻¹ * f γ ∈ U at hx |
| 54 | have hdiff := hU (δ⁻¹ * γ) (by simpa only [map_mul, map_inv] using hx) |
| 55 | change χ δ = 1 at hδ |
| 56 | simpa only [map_mul, map_inv, hδ, inv_one, one_mul] using hdiff |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseScalarCharacter.TestTransport |