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 OAI.NumberTheory.PadicHodge.WeakAdmissibility.RestrictedCoefficients |
| 2 | |
| 3 | /-! # Divided Power Recurrence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerRecurrence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restrictedness of the recurrence occurring in divided-power division by X-xi. -/ |
| 10 | |
| 11 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.RestrictedCoefficients |
| 12 | variable {R : Type*} [CommRing R] |
| 13 | variable (p : ℕ) [Fact p.Prime] (ξ : R) |
| 14 | |
| 15 | theorem recurrence_restricted (a b : ℕ → R) |
| 16 | (ha : RestrictedCoefficients.IsRestricted (p : R) a) |
| 17 | (hcancel : ∀ (r : ℕ) (x : R), (p : R) ^ r ∣ ξ * x → (p : R) ^ r ∣ x) |
| 18 | (hrec : ∀ n : ℕ, ξ * b (n + 1) = a (n + 1) + (n + 1 : ℕ) * b n) : |
| 19 | RestrictedCoefficients.IsRestricted (p : R) b := by |
| 20 | intro r |
| 21 | induction r with |
| 22 | | zero => exact ⟨0, fun _ _ => by simp only [pow_zero, one_dvd]⟩ |
| 23 | | succ r ih => |
| 24 | obtain ⟨Na, hNa⟩ := ha (r + 1) |
| 25 | obtain ⟨Nb, hNb⟩ := ih |
| 26 | let N := max Na Nb |
| 27 | let M := p * (N + 1) |
| 28 | have hp : 1 ≤ p := (Fact.out : p.Prime).one_lt.le |
| 29 | have hNM : N + 1 ≤ M := by |
| 30 | dsimp only [M] |
| 31 | exact Nat.le_mul_of_pos_left _ hp |
| 32 | have hMpos : 0 < M := lt_of_lt_of_le (Nat.succ_pos N) hNM |
| 33 | have hprev : Nb ≤ M - 1 := by dsimp only [N] at hNM; omega |
| 34 | have hstart : (p : R) ^ (r + 1) ∣ b M := by |
| 35 | apply hcancel |
| 36 | have he := hrec (M - 1) |
| 37 | rw [Nat.sub_add_cancel hMpos] at he |
| 38 | rw [he] |
| 39 | apply dvd_add (hNa M (by dsimp only [N] at hNM; omega)) |
| 40 | have hdp : (p : R) ∣ (M : R) := by |
| 41 | refine ⟨(N + 1 : ℕ), ?_⟩ |
| 42 | simp only [M, Nat.cast_mul] |
| 43 | rw [pow_succ'] |
| 44 | exact mul_dvd_mul hdp (hNb (M - 1) hprev) |
| 45 | refine ⟨M, fun n hn => ?_⟩ |
| 46 | induction n, hn using Nat.le_induction with |
| 47 | | base => exact hstart |
| 48 | | succ n hn ih => |
| 49 | apply hcancel |
| 50 | rw [hrec] |
| 51 | exact dvd_add (hNa (n + 1) (by dsimp only [N] at hNM; omega)) |
| 52 | (dvd_mul_of_dvd_right ih (n + 1 : ℕ)) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerRecurrence |