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.Basic |
| 2 | import Mathlib.Topology.Maps.Proper.Basic |
| 3 | import Mathlib.Algebra.Group.Subgroup.Basic |
| 4 | import Mathlib.Tactic.Group |
| 5 | |
| 6 | /-! # Closed Subgroup Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.ClosedSubgroupCoordinates.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A compact subgroup and a closed complementary subgroup give |
| 13 | global topological product coordinates whenever their product covers the group. -/ |
| 14 | |
| 15 | open Set |
| 16 | |
| 17 | variable {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 18 | |
| 19 | def subgroupProductShear (K : Subgroup G) : K × G ≃ₜ K × G where |
| 20 | toFun x := (x.1, x.1.val * x.2) |
| 21 | invFun x := (x.1, x.1.val⁻¹ * x.2) |
| 22 | left_inv x := by ext <;> simp |
| 23 | right_inv x := by ext <;> simp |
| 24 | continuous_toFun := by fun_prop |
| 25 | continuous_invFun := by fun_prop |
| 26 | |
| 27 | theorem compact_closed_subgroup_product_isProperMap |
| 28 | (K P : Subgroup G) (hK : IsCompact (K : Set G)) (hP : IsClosed (P : Set G)) : |
| 29 | IsProperMap (fun x : K × P => x.1.val * x.2.val) := by |
| 30 | let : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 31 | have hinc : IsProperMap (Prod.map (id : K → K) (Subtype.val : P → G)) := |
| 32 | isProperMap_id.prodMap hP.isClosedEmbedding_subtypeVal.isProperMap |
| 33 | have hshear := (subgroupProductShear K).isProperMap.comp hinc |
| 34 | exact isProperMap_snd_of_compactSpace.comp hshear |
| 35 | |
| 36 | omit [TopologicalSpace G] [IsTopologicalGroup G] in |
| 37 | theorem disjoint_subgroup_product_injective |
| 38 | (K P : Subgroup G) (hKP : K ⊓ P = ⊥) : |
| 39 | Function.Injective (fun x : K × P => x.1.val * x.2.val) := by |
| 40 | intro x y hxy |
| 41 | change x.1.val * x.2.val = y.1.val * y.2.val at hxy |
| 42 | have he : y.1.val⁻¹ * x.1.val = y.2.val * x.2.val⁻¹ := by |
| 43 | calc |
| 44 | y.1.val⁻¹ * x.1.val = y.1.val⁻¹ * (x.1.val * x.2.val) * x.2.val⁻¹ := by group |
| 45 | _ = y.1.val⁻¹ * (y.1.val * y.2.val) * x.2.val⁻¹ := by rw [hxy] |
| 46 | _ = y.2.val * x.2.val⁻¹ := by group |
| 47 | have hm : y.1.val⁻¹ * x.1.val ∈ K ⊓ P := |
| 48 | ⟨K.mul_mem (K.inv_mem y.1.property) x.1.property, |
| 49 | he.symm ▸ P.mul_mem y.2.property (P.inv_mem x.2.property)⟩ |
| 50 | rw [hKP] at hm |
| 51 | have hk : x.1.val = y.1.val := (inv_mul_eq_one.mp hm).symm |
| 52 | apply Prod.ext |
| 53 | · exact Subtype.ext hk |
| 54 | · apply Subtype.ext |
| 55 | apply mul_left_cancel (a := y.1.val) |
| 56 | simpa only [hk] using hxy |
| 57 | |
| 58 | theorem compact_closed_subgroup_product_isHomeomorph |
| 59 | (K P : Subgroup G) (hK : IsCompact (K : Set G)) (hP : IsClosed (P : Set G)) |
| 60 | (hKP : K ⊓ P = ⊥) |
| 61 | (hcover : ∀ g : G, ∃ k : K, ∃ p : P, k.val * p.val = g) : |
| 62 | IsHomeomorph (fun x : K × P => x.1.val * x.2.val) := by |
| 63 | have hp := compact_closed_subgroup_product_isProperMap K P hK hP |
| 64 | apply isHomeomorph_iff_continuous_isClosedMap_bijective.mpr |
| 65 | refine ⟨hp.continuous, hp.isClosedMap, disjoint_subgroup_product_injective K P hKP, ?_⟩ |
| 66 | intro g |
| 67 | obtain ⟨k, p, h⟩ := hcover g |
| 68 | exact ⟨(k, p), h⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.ClosedSubgroupCoordinates.Construction |