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.AdicModules |
| 2 | import Mathlib.RingTheory.Finiteness.Basic |
| 3 | |
| 4 | /-! # Adic Finiteness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdicFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A separated module with finite residue is finitely generated over a principal-adically complete ring. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable (R : Type u) [CommRing R] (r : R) [IsPrecomplete (Ideal.span {r}) R] |
| 15 | (M : Type v) [AddCommGroup M] [Module R M] [IsHausdorff (Ideal.span {r}) M] |
| 16 | |
| 17 | theorem finite [Finite (M ⧸ ((Ideal.span {r}) • (⊤ : Submodule R M)))] : Module.Finite R M := by |
| 18 | classical |
| 19 | let P : Submodule R M := (Ideal.span {r}) • ⊤ |
| 20 | let Q := M ⧸ P |
| 21 | let : Fintype Q := Fintype.ofFinite Q |
| 22 | let v (q : Q) : M := (P.mkQ_surjective q).choose |
| 23 | have hv (q : Q) : P.mkQ (v q) = q := (P.mkQ_surjective q).choose_spec |
| 24 | let f : (Q → R) →ₗ[R] M := LinearMap.lsum R (fun _ : Q => R) R |
| 25 | (fun q => LinearMap.toSpanSingleton R M (v q)) |
| 26 | let : IsPrecomplete (Ideal.span {r}) (Q → R) := |
| 27 | AdicModules.pi_precomplete R r (fun _ : Q => R) |
| 28 | apply Module.Finite.of_surjective f |
| 29 | apply surjective_of_mkQ_comp_surjective (I := Ideal.span {r}) |
| 30 | intro q |
| 31 | refine ⟨Pi.single q 1, ?_⟩ |
| 32 | change P.mkQ (f (Pi.single q 1)) = q |
| 33 | have h : f (Pi.single q 1) = v q := by |
| 34 | dsimp only [f] |
| 35 | rw [LinearMap.lsum_piSingle] |
| 36 | exact one_smul R (v q) |
| 37 | exact (congrArg P.mkQ h).trans (hv q) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdicFiniteness |