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 | /-! # Witt Coefficient Regularity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WittCoefficientRegularity |
| 6 | |
| 7 | /-! |
| 8 | # Regular zeroth coefficients give regular Witt vectors |
| 9 | |
| 10 | The proof uses p-torsion-freeness and p-adic separation of Witt vectors |
| 11 | over a perfect ring. No domain assumption on the coefficient ring occurs. |
| 12 | -/ |
| 13 | |
| 14 | variable (p : ℕ) [Fact p.Prime] {R : Type*} [CommRing R] [CharP R p] [PerfectRing R p] |
| 15 | |
| 16 | theorem p_regular : IsSMulRegular (WittVector p R) (p : WittVector p R) := by |
| 17 | apply IsSMulRegular.of_right_eq_zero_of_smul |
| 18 | intro x hx |
| 19 | apply WittVector.eq_zero_of_p_mul_eq_zero x |
| 20 | simpa only [smul_eq_mul, mul_comm] using hx |
| 21 | |
| 22 | theorem eq_zero_of_mul_eq_zero (w x : WittVector p R) |
| 23 | (hw : IsSMulRegular R (w.coeff 0)) (hx : w * x = 0) : x = 0 := by |
| 24 | have hp : ∀ n : ℕ, (p : WittVector p R) ^ n ∣ x := by |
| 25 | intro n |
| 26 | induction n with |
| 27 | | zero => simp only [pow_zero, one_dvd] |
| 28 | | succ n ih => |
| 29 | obtain ⟨a, ha⟩ := ih |
| 30 | have hwa : w * a = 0 := by |
| 31 | apply ((p_regular p (R := R)).pow n).isLeftRegular |
| 32 | change (p : WittVector p R) ^ n * (w * a) = (p : WittVector p R) ^ n * 0 |
| 33 | rw [mul_zero] |
| 34 | calc |
| 35 | (p : WittVector p R) ^ n * (w * a) = w * x := by rw [ha]; ring |
| 36 | _ = 0 := hx |
| 37 | have ha0 : a.coeff 0 = 0 := by |
| 38 | apply hw.right_eq_zero_of_smul |
| 39 | have he := congrArg (WittVector.constantCoeff (p := p)) hwa |
| 40 | rw [map_mul, map_zero] at he |
| 41 | exact he |
| 42 | obtain ⟨b, hb⟩ := Ideal.mem_span_singleton.mp |
| 43 | ((WittVector.mem_span_p_iff_coeff_zero_eq_zero a).mpr ha0) |
| 44 | exact ⟨b, by rw [ha, hb, pow_succ, mul_assoc]⟩ |
| 45 | apply IsHausdorff.haus' (I := Ideal.span {(p : WittVector p R)}) |
| 46 | intro n |
| 47 | simpa only [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top, |
| 48 | Ideal.span_singleton_pow, Ideal.mem_span_singleton] using hp n |
| 49 | |
| 50 | theorem regular_of_coefficient (w : WittVector p R) |
| 51 | (hw : IsSMulRegular R (w.coeff 0)) : IsSMulRegular (WittVector p R) w := by |
| 52 | apply IsSMulRegular.of_right_eq_zero_of_smul |
| 53 | intro x hx |
| 54 | exact eq_zero_of_mul_eq_zero p w x hw hx |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WittCoefficientRegularity |