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 Relation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerRelation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The completed divided-power relation xi-X and its coefficient recurrence. -/ |
| 10 | |
| 11 | open AdicCompletion OAI.NumberTheory.PadicHodge.WeakAdmissibility.RestrictedCoefficients OAI.NumberTheory.PadicHodge.WeakAdmissibility.RestrictedCoefficients.Series |
| 12 | variable {R : Type*} [CommRing R] |
| 13 | |
| 14 | def dividedPowerShift : (ℕ →₀ R) →ₗ[R] (ℕ →₀ R) := |
| 15 | Finsupp.linearCombination R (fun n : ℕ => Finsupp.single (n + 1) (n + 1 : R)) |
| 16 | |
| 17 | theorem dividedPowerShift_zero (f : ℕ →₀ R) : dividedPowerShift f 0 = 0 := by |
| 18 | simp [dividedPowerShift, Finsupp.linearCombination_apply, Finsupp.sum] |
| 19 | |
| 20 | theorem dividedPowerShift_succ (f : ℕ →₀ R) (n : ℕ) : |
| 21 | dividedPowerShift f (n + 1) = (n + 1 : ℕ) * f n := by |
| 22 | classical |
| 23 | change (f.sum fun i c => c • Finsupp.single (i + 1) (i + 1 : R)) (n + 1) = _ |
| 24 | rw [Finsupp.sum_apply] |
| 25 | rw [Finsupp.sum_eq_single n] |
| 26 | · simp only [Finsupp.smul_apply, Finsupp.single_eq_same, smul_eq_mul, mul_comm, Nat.cast_add, Nat.cast_one] |
| 27 | · intro i _ hin |
| 28 | simp only [Finsupp.smul_apply, Finsupp.single_apply, Nat.add_left_inj, hin, ↓reduceIte, smul_zero] |
| 29 | · intro _ |
| 30 | simp only [zero_smul, Finsupp.zero_apply] |
| 31 | |
| 32 | def dividedPowerRelation (ξ : R) : (ℕ →₀ R) →ₗ[R] (ℕ →₀ R) := |
| 33 | ξ • LinearMap.id - dividedPowerShift |
| 34 | |
| 35 | theorem dividedPowerRelation_zero (ξ : R) (f : ℕ →₀ R) : dividedPowerRelation ξ f 0 = ξ * f 0 := by |
| 36 | change ξ * f 0 - dividedPowerShift f 0 = _ |
| 37 | rw [dividedPowerShift_zero, sub_zero] |
| 38 | |
| 39 | theorem dividedPowerRelation_succ (ξ : R) (f : ℕ →₀ R) (n : ℕ) : |
| 40 | dividedPowerRelation ξ f (n + 1) = ξ * f (n + 1) - (n + 1 : ℕ) * f n := by |
| 41 | change ξ * f (n + 1) - dividedPowerShift f (n + 1) = _ |
| 42 | rw [dividedPowerShift_succ] |
| 43 | |
| 44 | theorem completed_relation_of_recurrence (q ξ : R) |
| 45 | (c : AdicCauchySequence (Ideal.span {q}) (ℕ →₀ R)) (a b : ℕ → R) |
| 46 | (hc : ∀ r i, q ^ r ∣ a i - c r i) (hb : RestrictedCoefficients.IsRestricted q b) |
| 47 | (hzero : ξ * b 0 = a 0) |
| 48 | (hrec : ∀ n : ℕ, ξ * b (n + 1) = a (n + 1) + (n + 1 : ℕ) * b n) : |
| 49 | AdicCompletion.map (Ideal.span {q}) (dividedPowerRelation ξ) (RestrictedCoefficients.Series.restrictedSeries q b hb) = |
| 50 | AdicCompletion.mk (Ideal.span {q}) (ℕ →₀ R) c := by |
| 51 | rw [RestrictedCoefficients.Series.restrictedSeries, AdicCompletion.map_mk] |
| 52 | apply RestrictedCoefficients.Series.completion_eq_of_coefficients q _ c a _ hc |
| 53 | intro r i |
| 54 | change q ^ r ∣ a i - dividedPowerRelation ξ (RestrictedCoefficients.Series.truncatedCauchy q b hb r) i |
| 55 | cases i with |
| 56 | | zero => |
| 57 | rw [dividedPowerRelation_zero, ← hzero, ← mul_sub] |
| 58 | exact dvd_mul_of_dvd_right (RestrictedCoefficients.Series.truncatedCauchy_approx q b hb r 0) ξ |
| 59 | | succ n => |
| 60 | rw [dividedPowerRelation_succ] |
| 61 | have he : a (n + 1) = ξ * b (n + 1) - (n + 1 : ℕ) * b n := by |
| 62 | linear_combination -(hrec n) |
| 63 | rw [he] |
| 64 | have hd := dvd_sub |
| 65 | (dvd_mul_of_dvd_right (RestrictedCoefficients.Series.truncatedCauchy_approx q b hb r (n + 1)) ξ) |
| 66 | (dvd_mul_of_dvd_right (RestrictedCoefficients.Series.truncatedCauchy_approx q b hb r n) (n + 1 : ℕ)) |
| 67 | convert hd using 1 |
| 68 | ring |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerRelation |