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 | /-! # Separate Closure -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SeparateClosure.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Subgroup closure with separate continuity, suitable for geometric |
| 12 | Zariski topologies. -/ |
| 13 | |
| 14 | open scoped Classical commutatorElement |
| 15 | open Set _root_.Topology |
| 16 | |
| 17 | variable {H : Type*} [Group H] [TopologicalSpace H] |
| 18 | [SeparatelyContinuousMul H] [ContinuousInv H] |
| 19 | |
| 20 | def separateSubgroupClosure (K : Subgroup H) : Subgroup H where |
| 21 | carrier := _root_.closure (K : Set H) |
| 22 | one_mem' := subset_closure K.one_mem |
| 23 | mul_mem' := by |
| 24 | intro x y hx hy |
| 25 | apply closure_minimal (t := {a : H | a * y ∈ _root_.closure (K : Set H)}) |
| 26 | _ (isClosed_closure.preimage (continuous_mul_const y)) hx |
| 27 | intro a ha |
| 28 | exact map_mem_closure (continuous_const_mul a) hy |
| 29 | (fun z hz => K.mul_mem ha hz) |
| 30 | inv_mem' := by |
| 31 | intro x hx |
| 32 | exact map_mem_closure continuous_inv hx (fun z hz => K.inv_mem hz) |
| 33 | |
| 34 | theorem separateSubgroupClosure_mono {K L : Subgroup H} (h : K ≤ L) : |
| 35 | separateSubgroupClosure K ≤ separateSubgroupClosure L := closure_mono h |
| 36 | |
| 37 | theorem separateSubgroupClosure_normal (K : Subgroup H) [K.Normal] : |
| 38 | (separateSubgroupClosure K).Normal := by |
| 39 | constructor |
| 40 | intro x hx g |
| 41 | apply map_mem_closure |
| 42 | ((continuous_mul_const g⁻¹).comp (continuous_const_mul g)) hx |
| 43 | intro y hy |
| 44 | exact Subgroup.Normal.conj_mem inferInstance y hy g |
| 45 | |
| 46 | theorem commutator_separateClosure_le |
| 47 | (hleft : ∀ y : H, Continuous (fun x : H => ⁅x, y⁆)) |
| 48 | (hright : ∀ x : H, Continuous (fun y : H => ⁅x, y⁆)) (K L : Subgroup H) : |
| 49 | ⁅separateSubgroupClosure K, separateSubgroupClosure L⁆ ≤ |
| 50 | separateSubgroupClosure ⁅K, L⁆ := by |
| 51 | apply Subgroup.commutator_le.mpr |
| 52 | intro x hx y hy |
| 53 | apply closure_minimal (t := {a : H | ⁅a, y⁆ ∈ _root_.closure ((⁅K, L⁆ : Subgroup H) : Set H)}) |
| 54 | _ (isClosed_closure.preimage (hleft y)) hx |
| 55 | intro a ha |
| 56 | exact map_mem_closure (hright a) hy |
| 57 | (fun z hz => Subgroup.commutator_mem_commutator ha hz) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! Solvability is preserved by closure when commutator maps are separately |
| 62 | continuous. This formulation applies to geometric Zariski topologies. -/ |
| 63 | |
| 64 | open scoped Classical commutatorElement |
| 65 | open Set |
| 66 | |
| 67 | def iteratedSubgroupDerived {H : Type*} [Group H] (K : Subgroup H) : ℕ → Subgroup H |
| 68 | | 0 => K |
| 69 | | n + 1 => ⁅iteratedSubgroupDerived K n, iteratedSubgroupDerived K n⁆ |
| 70 | |
| 71 | theorem map_derivedSeries_subtype {H : Type*} [Group H] (K : Subgroup H) (n : ℕ) : |
| 72 | (derivedSeries K n).map K.subtype = Construction.iteratedSubgroupDerived K n := by |
| 73 | induction n with |
| 74 | | zero => |
| 75 | change (⊤ : Subgroup K).map K.subtype = K |
| 76 | rw [← MonoidHom.range_eq_map, K.range_subtype] |
| 77 | | succ n ih => |
| 78 | rw [derivedSeries_succ, Subgroup.map_commutator, ih] |
| 79 | rfl |
| 80 | |
| 81 | theorem solvable_iff_iteratedSubgroupDerived_eq_bot {H : Type*} [Group H] (K : Subgroup H) : |
| 82 | Group.IsSolvable K ↔ ∃ n, Construction.iteratedSubgroupDerived K n = ⊥ := by |
| 83 | constructor |
| 84 | · intro h |
| 85 | obtain ⟨n, hn⟩ := h.solvable |
| 86 | refine ⟨n, ?_⟩ |
| 87 | rw [← map_derivedSeries_subtype, hn, Subgroup.map_bot] |
| 88 | · rintro ⟨n, hn⟩ |
| 89 | constructor |
| 90 | refine ⟨n, ?_⟩ |
| 91 | apply (Subgroup.map_injective K.subtype_injective) |
| 92 | rw [map_derivedSeries_subtype, hn, Subgroup.map_bot] |
| 93 | |
| 94 | theorem iteratedDerived_separateClosure_le |
| 95 | {H : Type*} [Group H] [TopologicalSpace H] |
| 96 | [SeparatelyContinuousMul H] [ContinuousInv H] |
| 97 | (hleft : ∀ y : H, Continuous (fun x : H => ⁅x, y⁆)) |
| 98 | (hright : ∀ x : H, Continuous (fun y : H => ⁅x, y⁆)) (K : Subgroup H) (n : ℕ) : |
| 99 | Construction.iteratedSubgroupDerived (separateSubgroupClosure K) n ≤ |
| 100 | separateSubgroupClosure (Construction.iteratedSubgroupDerived K n) := by |
| 101 | induction n with |
| 102 | | zero => exact le_rfl |
| 103 | | succ n ih => |
| 104 | exact (Subgroup.commutator_mono ih ih).trans |
| 105 | (commutator_separateClosure_le hleft hright _ _) |
| 106 | |
| 107 | theorem separateClosure_solvable |
| 108 | {H : Type*} [Group H] [TopologicalSpace H] [T1Space H] |
| 109 | [SeparatelyContinuousMul H] [ContinuousInv H] |
| 110 | (hleft : ∀ y : H, Continuous (fun x : H => ⁅x, y⁆)) |
| 111 | (hright : ∀ x : H, Continuous (fun y : H => ⁅x, y⁆)) |
| 112 | (K : Subgroup H) [hK : Group.IsSolvable K] : |
| 113 | Group.IsSolvable (separateSubgroupClosure K) := by |
| 114 | obtain ⟨n, hn⟩ := (solvable_iff_iteratedSubgroupDerived_eq_bot K).mp hK |
| 115 | apply (solvable_iff_iteratedSubgroupDerived_eq_bot (separateSubgroupClosure K)).mpr |
| 116 | refine ⟨n, le_antisymm ?_ bot_le⟩ |
| 117 | have h := iteratedDerived_separateClosure_le hleft hright K n |
| 118 | rw [hn] at h |
| 119 | exact h.trans (show separateSubgroupClosure (⊥ : Subgroup H) ≤ ⊥ from by |
| 120 | intro x hx |
| 121 | change x ∈ _root_.closure ({1} : Set H) at hx |
| 122 | rw [closure_singleton] at hx |
| 123 | exact mem_singleton_iff.mp hx) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SeparateClosure.Construction |