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.RingTheory.Noetherian.Basic |
| 2 | import Mathlib.RingTheory.Finiteness.Finsupp |
| 3 | |
| 4 | /-! # Range Modulo -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.RangeModulo |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite generation of an image detected modulo a finite submodule. -/ |
| 11 | |
| 12 | universe u v w z |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 15 | {M : Type v} [AddCommGroup M] [Module R M] |
| 16 | {N : Type w} [AddCommGroup N] [Module R N] |
| 17 | {P : Type z} [AddCommGroup P] [Module R P] |
| 18 | |
| 19 | theorem finite_range (f : M →ₗ[R] N) (g : M →ₗ[R] P) (S : Submodule R N) |
| 20 | [Module.Finite R P] [Module.Finite R S] |
| 21 | (h : ∀ x, g x = 0 → f x ∈ S) : Module.Finite R f.range := by |
| 22 | let q := S.mkQ |
| 23 | have hker : g.ker ≤ (q.comp f).ker := by |
| 24 | intro x hx |
| 25 | exact (Submodule.Quotient.mk_eq_zero S).mpr (h x hx) |
| 26 | let l := g.ker.liftQ (q.comp f) hker |
| 27 | let : Module.Finite R (M ⧸ g.ker) := |
| 28 | Module.Finite.equiv g.quotKerEquivRange.symm |
| 29 | have hcomp : l.comp g.ker.mkQ = q.comp f := by ext; rfl |
| 30 | have hmap : (f.range.map q).FG := by |
| 31 | rw [← LinearMap.range_comp, ← hcomp, LinearMap.range_comp, |
| 32 | Submodule.range_mkQ, Submodule.map_top] |
| 33 | exact Submodule.fg_range l |
| 34 | have hinf : (f.range ⊓ q.ker).FG := by |
| 35 | have hle : f.range ⊓ q.ker ≤ S := by |
| 36 | simpa only [q, Submodule.ker_mkQ] using (inf_le_right : f.range ⊓ S ≤ S) |
| 37 | exact Submodule.FG.of_le_of_isNoetherian hle |
| 38 | exact ⟨(Submodule.fg_top f.range).mpr (Submodule.fg_of_fg_map_of_fg_inf_ker q hmap hinf)⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.RangeModulo |