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.Algebra.Module.Torsion.Basic |
| 2 | import Mathlib.RingTheory.Noetherian.Defs |
| 3 | |
| 4 | /-! # Power Torsion -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.PowerTorsion.FinitePowerTorsion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In a Noetherian module, power torsion has a uniform exponent and no nonzero infinitely divisible compatible tower. -/ |
| 11 | |
| 12 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 13 | [IsNoetherian R M] (r : R) |
| 14 | |
| 15 | def kernels : ℕ →o Submodule R M where |
| 16 | toFun n := Submodule.torsionBy R M (r ^ n) |
| 17 | monotone' a b hab := by |
| 18 | obtain ⟨c, rfl⟩ := Nat.exists_eq_add_of_le hab |
| 19 | intro x hx |
| 20 | change r ^ (a + c) • x = 0 |
| 21 | change r ^ a • x = 0 at hx |
| 22 | rw [pow_add, mul_comm, mul_smul, hx, smul_zero] |
| 23 | |
| 24 | theorem bounded : ∃ N : ℕ, ∀ x : M, (∃ n : ℕ, r ^ n • x = 0) → r ^ N • x = 0 := by |
| 25 | obtain ⟨N, hN⟩ := monotone_stabilizes_iff_noetherian.mpr (inferInstance : IsNoetherian R M) |
| 26 | (kernels (M := M) r) |
| 27 | refine ⟨N, ?_⟩ |
| 28 | rintro x ⟨n, hn⟩ |
| 29 | have hx : x ∈ kernels (M := M) r n := hn |
| 30 | have hm : x ∈ kernels (M := M) r (max n N) := |
| 31 | (kernels (M := M) r).monotone (le_max_left n N) hx |
| 32 | rw [← hN (max n N) (le_max_right n N)] at hm |
| 33 | exact hm |
| 34 | |
| 35 | theorem compatible_zero (x : ℕ → M) |
| 36 | (htorsion : ∀ n, ∃ a : ℕ, r ^ a • x n = 0) |
| 37 | (hcompat : ∀ n, r • x (n + 1) = x n) : ∀ n, x n = 0 := by |
| 38 | obtain ⟨N, hN⟩ := bounded (M := M) r |
| 39 | have hiter (n a : ℕ) : r ^ a • x (n + a) = x n := by |
| 40 | induction a with |
| 41 | | zero => simp |
| 42 | | succ a ih => |
| 43 | rw [pow_succ, mul_smul, show n + (a + 1) = (n + a) + 1 by omega, |
| 44 | hcompat, ih] |
| 45 | intro n |
| 46 | exact (hiter n N).symm.trans (hN (x (n + N)) (htorsion (n + N))) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.PowerTorsion.FinitePowerTorsion |