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.Perfectoid.FontaineTheta |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Witt Nilpotent Target Lift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WittNilpotentTargetLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Finite ghost components lift Witt vectors into a ring killed by a power of p -/ |
| 11 | |
| 12 | universe u v |
| 13 | variable (p : ℕ) [Fact p.Prime] (T : Type u) [CommRing T] [CharP T p] [PerfectRing T p] |
| 14 | |
| 15 | def roots : ℕ → T →+* T |
| 16 | | 0 => RingHom.id T |
| 17 | | n + 1 => (roots n).comp (frobeniusEquiv T p).symm.toRingHom |
| 18 | |
| 19 | theorem roots_pow (n : ℕ) (x : T) : WittNilpotentTargetLift.roots p T n x ^ (p ^ n) = x := by |
| 20 | induction n generalizing x with |
| 21 | | zero => simp [WittNilpotentTargetLift.roots] |
| 22 | | succ n ih => |
| 23 | change (WittNilpotentTargetLift.roots p T n ((frobeniusEquiv T p).symm x)) ^ (p ^ (n + 1)) = x |
| 24 | rw [pow_succ, pow_mul, ih, frobeniusEquiv_symm_pow_p] |
| 25 | |
| 26 | variable {A : Type v} [CommRing A] (n : ℕ) (hn : (p : A) ^ (n + 1) = 0) |
| 27 | |
| 28 | include hn |
| 29 | |
| 30 | omit [Fact p.Prime] in |
| 31 | theorem power_eq_bot : (Ideal.span {(p : A)}) ^ (n + 1) = ⊥ := by |
| 32 | rw [Ideal.span_singleton_pow, hn] |
| 33 | exact Ideal.span_singleton_zero |
| 34 | |
| 35 | def levelEquiv : A ⧸ (Ideal.span {(p : A)}) ^ (n + 1) ≃+* A := |
| 36 | (Ideal.quotEquivOfEq (power_eq_bot p n hn)).trans (RingEquiv.quotientBot A) |
| 37 | |
| 38 | omit [Fact p.Prime] in |
| 39 | theorem levelEquiv_mk (x : A) : |
| 40 | levelEquiv p n hn (Ideal.Quotient.mk ((Ideal.span {(p : A)}) ^ (n + 1)) x) = x := rfl |
| 41 | |
| 42 | variable (f : T →+* ModP A p) |
| 43 | |
| 44 | def map : WittVector p T →+* A := |
| 45 | (levelEquiv p n hn).toRingHom.comp |
| 46 | ((WittVector.ghostComponentModPPow n).comp (WittVector.map (f.comp (WittNilpotentTargetLift.roots p T n)))) |
| 47 | |
| 48 | theorem map_teichmuller (x : T) (a : A) |
| 49 | (ha : Ideal.Quotient.mk (Ideal.span {(p : A)}) a = f (WittNilpotentTargetLift.roots p T n x)) : |
| 50 | WittNilpotentTargetLift.map p T n hn f (WittVector.teichmuller p x) = a ^ (p ^ n) := by |
| 51 | change levelEquiv p n hn (WittVector.ghostComponentModPPow n |
| 52 | (WittVector.map (f.comp (WittNilpotentTargetLift.roots p T n)) (WittVector.teichmuller p x))) = a ^ (p ^ n) |
| 53 | rw [WittVector.map_teichmuller] |
| 54 | change levelEquiv p n hn (WittVector.ghostComponentModPPow n |
| 55 | (WittVector.teichmuller p (f (WittNilpotentTargetLift.roots p T n x)))) = a ^ (p ^ n) |
| 56 | rw [← ha, ← WittVector.map_teichmuller, WittVector.ghostComponentModPPow_map_mk, |
| 57 | WittVector.ghostComponent_teichmuller] |
| 58 | exact levelEquiv_mk p n hn _ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WittNilpotentTargetLift |