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 | /-! # Noetherian Submonoid -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.NoetherianSubmonoid.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A closed submonoid of a Noetherian group with continuous translations |
| 10 | is a subgroup. This applies to algebraic matrix groups with their Zariski |
| 11 | topology, which need only separate continuity of multiplication. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set _root_.TopologicalSpace |
| 15 | |
| 16 | theorem closed_noetherian_submonoid_inv_mem |
| 17 | {H : Type*} [Group H] [TopologicalSpace H] [SeparatelyContinuousMul H] |
| 18 | [NoetherianSpace H] (M : Submonoid H) (hM : IsClosed (M : Set H)) |
| 19 | {x : H} (hx : x ∈ M) : x⁻¹ ∈ M := by |
| 20 | let F : ℕ → Closeds H := fun n => |
| 21 | ⟨(fun y : H => x ^ n * y) '' (M : Set H), |
| 22 | (Homeomorph.mulLeft (x ^ n)).isClosedMap _ hM⟩ |
| 23 | obtain ⟨Z, hZ, hmin⟩ := WellFoundedLT.exists_minimal |
| 24 | (inferInstance : WellFoundedLT (Closeds H)) (Set.range F) ⟨F 0, mem_range_self 0⟩ |
| 25 | obtain ⟨n, rfl⟩ := hZ |
| 26 | have hle : F (n + 1) ≤ F n := by |
| 27 | rintro _ ⟨y, hy, rfl⟩ |
| 28 | refine ⟨x * y, M.mul_mem hx hy, ?_⟩ |
| 29 | simp only [pow_succ, mul_assoc] |
| 30 | have hback : F n ≤ F (n + 1) := hmin (mem_range_self (n + 1)) hle |
| 31 | have hxn : x ^ n ∈ F n := ⟨1, M.one_mem, mul_one _⟩ |
| 32 | obtain ⟨y, hy, he⟩ := hback hxn |
| 33 | have hxy : x * y = 1 := by |
| 34 | apply mul_left_cancel (a := x ^ n) |
| 35 | simpa only [pow_succ, mul_assoc, mul_one] using he |
| 36 | have heq : y = x⁻¹ := by |
| 37 | calc |
| 38 | y = x⁻¹ * (x * y) := by simp |
| 39 | _ = x⁻¹ := by rw [hxy, mul_one] |
| 40 | exact heq ▸ hy |
| 41 | |
| 42 | def closedNoetherianSubgroup |
| 43 | {H : Type*} [Group H] [TopologicalSpace H] [SeparatelyContinuousMul H] |
| 44 | [NoetherianSpace H] (M : Submonoid H) (hM : IsClosed (M : Set H)) : Subgroup H where |
| 45 | toSubmonoid := M |
| 46 | inv_mem' := fun hx => closed_noetherian_submonoid_inv_mem M hM hx |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.ArithmeticGroups.Lattices.NoetherianSubmonoid.Construction |