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.PeriodInvariants.WittAlgebraFunctor |
| 2 | import Mathlib.RingTheory.Nakayama |
| 3 | import Mathlib.RingTheory.AdicCompletion.LocalRing |
| 4 | import Mathlib.RingTheory.Unramified.Basic |
| 5 | |
| 6 | /-! # Witt Finite Unramified -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WittFiniteUnramified |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # A finite-type Witt algebra of a perfect ring is formally unramified -/ |
| 13 | |
| 14 | attribute [local instance] WittAlgebraFunctor.wittAlgebra |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (A B : Type*) [CommRing A] [CommRing B] [Algebra A B] |
| 17 | [CharP B p] [PerfectRing B p] |
| 18 | |
| 19 | theorem teichmuller_mem (b : B) : |
| 20 | KaehlerDifferential.D (WittVector p A) (WittVector p B) (WittVector.teichmuller p b) ∈ |
| 21 | Ideal.span {(p : WittVector p B)} • |
| 22 | (⊤ : Submodule (WittVector p B) (KaehlerDifferential (WittVector p A) (WittVector p B))) := by |
| 23 | obtain ⟨c, hc⟩ := surjective_frobenius B p b |
| 24 | change c ^ p = b at hc |
| 25 | rw [← hc, map_pow, Derivation.leibniz_pow] |
| 26 | have hm := Submodule.smul_mem_smul |
| 27 | (Ideal.subset_span (Set.mem_singleton (p : WittVector p B))) |
| 28 | (show (WittVector.teichmuller p c) ^ (p - 1) • |
| 29 | KaehlerDifferential.D (WittVector p A) (WittVector p B) (WittVector.teichmuller p c) ∈ |
| 30 | (⊤ : Submodule (WittVector p B) (KaehlerDifferential (WittVector p A) (WittVector p B))) from trivial) |
| 31 | simpa only [Nat.cast_smul_eq_nsmul] using hm |
| 32 | |
| 33 | theorem derivation_mem (x : WittVector p B) : |
| 34 | KaehlerDifferential.D (WittVector p A) (WittVector p B) x ∈ Ideal.span {(p : WittVector p B)} • |
| 35 | (⊤ : Submodule (WittVector p B) (KaehlerDifferential (WittVector p A) (WittVector p B))) := by |
| 36 | have hz : (x - WittVector.teichmuller p (x.coeff 0)).coeff 0 = 0 := by |
| 37 | change WittVector.constantCoeff (x - WittVector.teichmuller p (x.coeff 0)) = 0 |
| 38 | rw [map_sub] |
| 39 | exact sub_self _ |
| 40 | obtain ⟨y, hy⟩ := Ideal.mem_span_singleton.mp |
| 41 | ((WittVector.mem_span_p_iff_coeff_zero_eq_zero _).mpr hz) |
| 42 | have he : x = WittVector.teichmuller p (x.coeff 0) + (p : WittVector p B) * y := by |
| 43 | rw [← hy] |
| 44 | abel |
| 45 | rw [he, map_add, Derivation.leibniz, Derivation.map_natCast, smul_zero, add_zero] |
| 46 | exact Submodule.add_mem _ (teichmuller_mem p A B (x.coeff 0)) |
| 47 | (Submodule.smul_mem_smul (Ideal.subset_span (Set.mem_singleton _)) Submodule.mem_top) |
| 48 | |
| 49 | theorem unramified [Algebra.FiniteType (WittVector p A) (WittVector p B)] : |
| 50 | Algebra.FormallyUnramified (WittVector p A) (WittVector p B) := by |
| 51 | let W := WittVector p B |
| 52 | let Ω := KaehlerDifferential (WittVector p A) W |
| 53 | let I : Ideal W := Ideal.span {(p : W)} |
| 54 | have hle : (⊤ : Submodule W Ω) ≤ I • ⊤ := by |
| 55 | rw [← KaehlerDifferential.span_range_derivation (WittVector p A) W] |
| 56 | apply Submodule.span_le.mpr |
| 57 | rintro _ ⟨x, rfl⟩ |
| 58 | rw [KaehlerDifferential.span_range_derivation] |
| 59 | exact derivation_mem p A B x |
| 60 | have he : (⊤ : Submodule W Ω) = ⊥ := |
| 61 | Submodule.eq_bot_of_le_smul_of_le_jacobson_bot I ⊤ Module.Finite.fg_top hle |
| 62 | (IsAdicComplete.le_jacobson_bot I) |
| 63 | have : Subsingleton Ω := ⟨fun x y => by |
| 64 | have hx : x ∈ (⊥ : Submodule W Ω) := he ▸ Submodule.mem_top |
| 65 | have hy : y ∈ (⊥ : Submodule W Ω) := he ▸ Submodule.mem_top |
| 66 | have hx0 : x = 0 := by simpa only [Submodule.mem_bot] using hx |
| 67 | have hy0 : y = 0 := by simpa only [Submodule.mem_bot] using hy |
| 68 | exact hx0.trans hy0.symm⟩ |
| 69 | exact ⟨this⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WittFiniteUnramified |