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 | /-! # Module -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.Module.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite congruence quotients of finitely generated integral modules. -/ |
| 10 | |
| 11 | open scoped Classical Pointwise |
| 12 | |
| 13 | theorem finite_of_finitely_generated_torsion_by |
| 14 | {R M : Type*} [CommRing R] [Ring.HasFiniteQuotients R] |
| 15 | [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 16 | (d : R) (hd : d ≠ 0) (ht : Module.IsTorsionBy R M d) : Finite M := by |
| 17 | let I : Ideal R := Ideal.span {d} |
| 18 | have hI : I ≠ ⊥ := by simpa [I, Ideal.span_singleton_eq_bot] using hd |
| 19 | let : Finite (R ⧸ I) := Ring.HasFiniteQuotients.finiteQuotient hI |
| 20 | have hset : Module.IsTorsionBySet R M I := |
| 21 | (Module.isTorsionBySet_span_singleton_iff d).mpr ht |
| 22 | let : Module (R ⧸ I) M := hset.module |
| 23 | let : IsScalarTower R (R ⧸ I) M := hset.isScalarTower |
| 24 | let : Module.Finite (R ⧸ I) M := Module.Finite.of_restrictScalars_finite R (R ⧸ I) M |
| 25 | exact Module.finite_of_finite (R ⧸ I) |
| 26 | |
| 27 | theorem finite_quotient_element_smul |
| 28 | {R M : Type*} [CommRing R] [Ring.HasFiniteQuotients R] |
| 29 | [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 30 | (d : R) (hd : d ≠ 0) : Finite (M ⧸ d • (⊤ : Submodule R M)) := |
| 31 | finite_of_finitely_generated_torsion_by d hd (Module.isTorsionBy_quotient_element_smul M d) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.Module.Construction |