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.RingTheory.WittVector.Complete |
| 2 | |
| 3 | /-! # Perfect Witt Quotient -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PerfectWittQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every actual p-power Witt quotient of a finite perfect ring is finite. -/ |
| 10 | |
| 11 | variable (p : ℕ) [Fact p.Prime] (A : Type*) [CommRing A] [CharP A p] [PerfectRing A p] |
| 12 | |
| 13 | theorem kernel (n : ℕ) : (Ideal.span {(p : WittVector p A)}) ^ (n + 1) = |
| 14 | RingHom.ker (WittVector.truncate (p := p) (R := A) (n + 1)) := by |
| 15 | ext x |
| 16 | rw [Ideal.span_singleton_pow, WittVector.mem_span_p_pow_iff_le_coeff_eq_zero, |
| 17 | WittVector.mem_ker_truncate] |
| 18 | |
| 19 | def equiv (n : ℕ) : (WittVector p A ⧸ (Ideal.span {(p : WittVector p A)}) ^ (n + 1)) ≃+* |
| 20 | TruncatedWittVector p (n + 1) A := |
| 21 | (Ideal.quotEquivOfEq (kernel p A n)).trans |
| 22 | (RingHom.quotientKerEquivOfSurjective (WittVector.truncate_surjective (p := p) (n := n + 1) (R := A))) |
| 23 | |
| 24 | theorem finite [Finite A] (n : ℕ) : |
| 25 | Finite (WittVector p A ⧸ (Ideal.span {(p : WittVector p A)}) ^ (n + 1)) := by |
| 26 | let : Finite (TruncatedWittVector p (n + 1) A) := inferInstanceAs (Finite (Fin (n + 1) → A)) |
| 27 | exact Finite.of_injective _ (equiv p A n).injective |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PerfectWittQuotient |