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 | /-! # Nilpotence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Nilpotence |
| 6 | |
| 7 | /-! |
| 8 | # IntegralComparison: nilpotence of divided-power thickenings |
| 9 | |
| 10 | If p is nilpotent in a ring carrying divided powers, every element of |
| 11 | the divided-power ideal is nilpotent. The exponent is proved explicitly |
| 12 | from p^N = 0 and p^N dividing (N*p)!. |
| 13 | -/ |
| 14 | |
| 15 | lemma pow_dvd_mul_factorial (p N : ℕ) (hp : 0 < p) : p ^ N ∣ (N * p).factorial := by |
| 16 | induction N with |
| 17 | | zero => simp |
| 18 | | succ N ih => |
| 19 | rw [pow_succ, Nat.succ_mul] |
| 20 | exact (Nat.mul_dvd_mul ih (Nat.dvd_factorial hp le_rfl)).trans |
| 21 | (Nat.factorial_mul_factorial_dvd_factorial_add _ _) |
| 22 | |
| 23 | lemma nilpotent_of_mem {A : Type*} [CommRing A] {I : Ideal A} |
| 24 | (δ : DividedPowers I) (p : ℕ) (hp : 0 < p) (hpn : IsNilpotent (p : A)) |
| 25 | {x : A} (hx : x ∈ I) : IsNilpotent x := by |
| 26 | obtain ⟨N, hN⟩ := hpn |
| 27 | obtain ⟨d, hd⟩ := pow_dvd_mul_factorial p N hp |
| 28 | have hfac : ((N * p).factorial : A) = 0 := by |
| 29 | rw [hd, Nat.cast_mul, Nat.cast_pow, hN, zero_mul] |
| 30 | refine ⟨N * p, ?_⟩ |
| 31 | rw [← δ.factorial_mul_dpow_eq_pow hx, hfac, zero_mul] |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Nilpotence |