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.Data.Nat.Choose.Dvd |
| 2 | import Mathlib.Algebra.Divisibility.Basic |
| 3 | import Mathlib.Tactic |
| 4 | |
| 5 | /-! # Prime Binomial Divisibility -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrimeBinomialDivisibility |
| 8 | |
| 9 | /-! Higher binomial coefficients acquire an extra prime factor after substitution by a sufficiently deep prime power. -/ |
| 10 | |
| 11 | theorem primeBinomial_highTerm_divisible (q r i : ℕ) (hq : q.Prime) (hr : 0 < r) |
| 12 | (hi : 2 ≤ i) (hiq : i ≤ q) (hsize : r + 2 ≤ r * q) : |
| 13 | q ^ (r + 2) ∣ q.choose i * (q ^ r) ^ i := by |
| 14 | rw [← pow_mul] |
| 15 | by_cases he : i = q |
| 16 | · subst i |
| 17 | rw [Nat.choose_self, one_mul] |
| 18 | exact pow_dvd_pow q hsize |
| 19 | · have hiq' : i < q := lt_of_le_of_ne hiq he |
| 20 | obtain ⟨c, hc⟩ := hq.dvd_choose_self (by omega) hiq' |
| 21 | have hri : r * 2 ≤ r * i := Nat.mul_le_mul_left r hi |
| 22 | have hexp : r + 2 ≤ r * i + 1 := by omega |
| 23 | apply dvd_trans (pow_dvd_pow q hexp) |
| 24 | refine ⟨c, ?_⟩ |
| 25 | rw [hc, pow_succ] |
| 26 | ac_rfl |
| 27 | |
| 28 | theorem primeBinomial_highTerm_divisible_of_odd (q r i : ℕ) (hq : q.Prime) (hodd : 3 ≤ q) |
| 29 | (hr : 0 < r) (hi : 2 ≤ i) (hiq : i ≤ q) : |
| 30 | q ^ (r + 2) ∣ q.choose i * (q ^ r) ^ i := by |
| 31 | have hmul : r * 3 ≤ r * q := Nat.mul_le_mul_left r hodd |
| 32 | exact primeBinomial_highTerm_divisible q r i hq hr hi hiq (by omega) |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrimeBinomialDivisibility |