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 OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PowerModuleSequence |
| 2 | import Mathlib.RingTheory.AdicCompletion.Functoriality |
| 3 | import Mathlib.LinearAlgebra.Pi |
| 4 | |
| 5 | /-! # Adic Modules -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdicModules |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Principal-adic completeness of products and separation detected by nilpotent coordinates. -/ |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (r : R) |
| 16 | {ι : Type w} (M : ι → Type v) [∀ j, AddCommGroup (M j)] [∀ j, Module R (M j)] |
| 17 | |
| 18 | theorem pi_mem (n : ℕ) (x : ∀ j, M j) : |
| 19 | x ∈ (Ideal.span {r}) ^ n • (⊤ : Submodule R (∀ j, M j)) ↔ |
| 20 | ∀ j, x j ∈ (Ideal.span {r}) ^ n • (⊤ : Submodule R (M j)) := by |
| 21 | simp only [PowerModuleSequence.mem_submodule] |
| 22 | constructor |
| 23 | · rintro ⟨y, rfl⟩ j |
| 24 | exact ⟨y j, rfl⟩ |
| 25 | · intro h |
| 26 | choose y hy using h |
| 27 | exact ⟨y, funext hy⟩ |
| 28 | |
| 29 | theorem pi_precomplete [∀ j, IsPrecomplete (Ideal.span {r}) (M j)] : |
| 30 | IsPrecomplete (Ideal.span {r}) (∀ j, M j) := by |
| 31 | constructor |
| 32 | intro f hf |
| 33 | have hcoord (j : ι) : ∃ L : M j, ∀ n, |
| 34 | f n j ≡ L [SMOD ((Ideal.span {r}) ^ n • (⊤ : Submodule R (M j)))] := by |
| 35 | apply IsPrecomplete.prec' |
| 36 | intro m n hmn |
| 37 | exact SModEq.sub_mem.mpr ((pi_mem R r M m (f m - f n)).mp |
| 38 | (SModEq.sub_mem.mp (hf hmn)) j) |
| 39 | choose L hL using hcoord |
| 40 | refine ⟨L, fun n => SModEq.sub_mem.mpr ?_⟩ |
| 41 | exact (pi_mem R r M n (f n - L)).mpr (fun j => SModEq.sub_mem.mp (hL j n)) |
| 42 | |
| 43 | variable (A : ℕ → Type v) [∀ n, AddCommGroup (A n)] [∀ n, Module R (A n)] |
| 44 | (S : Submodule R (∀ n, A n)) (hzero : ∀ n (x : A n), r ^ (n + 1) • x = 0) |
| 45 | |
| 46 | include hzero in |
| 47 | theorem hausdorff : IsHausdorff (Ideal.span {r}) S := by |
| 48 | constructor |
| 49 | intro x hx |
| 50 | apply Subtype.ext |
| 51 | funext n |
| 52 | obtain ⟨y, hy⟩ := (PowerModuleSequence.mem_submodule R S r (n + 1) x).mp |
| 53 | (SModEq.zero.mp (hx (n + 1))) |
| 54 | exact (congrArg (fun z : S => z.val n) hy).symm.trans (hzero n (y.val n)) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdicModules |