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.NumberTheory.NumberField.ClassNumber |
| 2 | import Mathlib.RingTheory.FractionalIdeal.Operations |
| 3 | |
| 4 | /-! # Finiteness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ClassGroup.Finiteness |
| 7 | |
| 8 | open scoped _root_.NumberField nonZeroDivisors |
| 9 | |
| 10 | /- |
| 11 | All ideals are fractional ideals of the full ring of integers. The proof uses |
| 12 | Mathlib's finiteness theorem and raises an ideal class to the class number. |
| 13 | This file does not import the statement placeholders or other graph results. |
| 14 | -/ |
| 15 | |
| 16 | theorem classGroup_finite |
| 17 | (K : Type*) [Field K] [NumberField K] : |
| 18 | Finite (ClassGroup (𝓞 K)) := by |
| 19 | infer_instance |
| 20 | |
| 21 | theorem fractionalIdeal_pow_principal |
| 22 | (K : Type*) [Field K] [NumberField K] |
| 23 | (I : FractionalIdeal (𝓞 K)⁰ K) (hI : I ≠ 0) : |
| 24 | ∃ (m : ℕ) (α : K), |
| 25 | 0 < m ∧ α ≠ 0 ∧ |
| 26 | I ^ m = FractionalIdeal.spanSingleton (𝓞 K)⁰ α := by |
| 27 | let m := Fintype.card (ClassGroup (𝓞 K)) |
| 28 | let u : (FractionalIdeal (𝓞 K)⁰ K)ˣ := Units.mk0 I hI |
| 29 | have hm : 0 < m := Fintype.card_pos |
| 30 | have hu : ClassGroup.mk K (u ^ m) = 1 := by |
| 31 | rw [map_pow] |
| 32 | exact pow_card_eq_one |
| 33 | have hp : ((I ^ m : FractionalIdeal (𝓞 K)⁰ K) : Submodule (𝓞 K) K).IsPrincipal := by |
| 34 | simpa [u] using (ClassGroup.mk_eq_one_iff.mp hu) |
| 35 | obtain ⟨α, hα⟩ := (FractionalIdeal.isPrincipal_iff (I ^ m)).mp hp |
| 36 | refine ⟨m, α, hm, ?_, hα⟩ |
| 37 | intro hzero |
| 38 | apply pow_ne_zero m hI |
| 39 | simpa [hzero] using hα |
| 40 | |
| 41 | end OAI.NumberTheory.ClassGroup.Finiteness |