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.IntegralComparison.Module.CochainClassNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizationFixedClass |
| 3 | |
| 4 | /-! # Localized Fixed Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.LocalizedFixedClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Clearing a boundary denominator and then its coefficient kernel |
| 11 | shows that localization kills only power-torsion in cohomology. In |
| 12 | particular, localization detects classes fixed by its parameter. -/ |
| 13 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 14 | universe u v |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 16 | variable {R : Type u} [CommRing R] (r : R) |
| 17 | {K L : CochainComplex (ModuleCat.{v} R) ℕ} (f : K ⟶ L) |
| 18 | (hsurj : ∀ q (y : L.X q), ∃ (a : ℕ) (x : K.X q), r^a • y = f.f q x) |
| 19 | (hker : ∀ q (x : K.X q), f.f q x = 0 → ∃ a : ℕ, r^a • x = 0) |
| 20 | |
| 21 | include hsurj hker in |
| 22 | theorem homology_kernel (n : ℕ) (x : K.homology n) (hx : homologyMap f n x = 0) : |
| 23 | ∃ a : ℕ, r^a • x = 0 := by |
| 24 | obtain ⟨u, rfl⟩ := Module.CochainClasses.classMap_surjective K n x |
| 25 | have hu : Module.CochainClasses.classMap L n (Module.CochainClassNaturality.cycleMap f n u) = 0 := |
| 26 | (Module.CochainClassNaturality.naturality_apply f n u).trans hx |
| 27 | obtain ⟨w, hw⟩ := (Module.CochainClasses.classMap_eq_zero_iff L n _).mp hu |
| 28 | obtain ⟨a, v, hv⟩ := hsurj ((ComplexShape.up ℕ).prev n) w |
| 29 | have hd : f.f n (K.d ((ComplexShape.up ℕ).prev n) n v) = r^a • (f.f n u.val) := by |
| 30 | have hc := ConcreteCategory.congr_hom (f.comm ((ComplexShape.up ℕ).prev n) n) v |
| 31 | change L.d ((ComplexShape.up ℕ).prev n) n (f.f _ v) = |
| 32 | f.f n (K.d ((ComplexShape.up ℕ).prev n) n v) at hc |
| 33 | rw [← hc, ← hv, map_smul, hw] |
| 34 | rfl |
| 35 | have he : f.f n (r^a • u.val - K.d ((ComplexShape.up ℕ).prev n) n v) = 0 := by |
| 36 | rw [map_sub, map_smul, hd, sub_self] |
| 37 | obtain ⟨b, hb⟩ := hker n _ he |
| 38 | have hb' : r^b • (K.d ((ComplexShape.up ℕ).prev n) n v) = r^(b+a) • u.val := by |
| 39 | rw [smul_sub, sub_eq_zero] at hb |
| 40 | exact hb.symm.trans (by rw [pow_add, mul_smul]) |
| 41 | have hz : Module.CochainClasses.classMap K n (r^(b+a) • u) = 0 := |
| 42 | (Module.CochainClasses.classMap_eq_zero_iff K n _).mpr ⟨r^b • v, |
| 43 | ((K.d ((ComplexShape.up ℕ).prev n) n).hom.map_smul _ _).trans hb'⟩ |
| 44 | exact ⟨b+a, by simpa only [map_smul] using hz⟩ |
| 45 | |
| 46 | include hsurj hker in |
| 47 | theorem eq_of_map_eq (n : ℕ) (x y : K.homology n) |
| 48 | (hx : r • x = x) (hy : r • y = y) (h : homologyMap f n x = homologyMap f n y) : x = y := by |
| 49 | have hz : homologyMap f n (x-y) = 0 := by rw [map_sub, h, sub_self] |
| 50 | obtain ⟨a, ha⟩ := homology_kernel r f hsurj hker n (x-y) hz |
| 51 | have hxy : r • (x-y) = x-y := by rw [smul_sub, hx, hy] |
| 52 | rw [LocalizationFixedClass.pow_fixed r (x-y) hxy a] at ha |
| 53 | exact sub_eq_zero.mp ha |
| 54 | |
| 55 | variable (hloc : ∀ q, IsLocalizedModule.Away r (f.f q).hom) |
| 56 | |
| 57 | include hloc in |
| 58 | theorem localized_eq (n : ℕ) (x y : K.homology n) |
| 59 | (hx : r • x = x) (hy : r • y = y) (h : homologyMap f n x = homologyMap f n y) : x = y := by |
| 60 | apply eq_of_map_eq r f (fun q y => ?_) (fun q x hx => ?_) n x y hx hy h |
| 61 | · let := hloc q |
| 62 | exact IsLocalizedModule.Away.surj (f.f q).hom r y |
| 63 | · let := hloc q |
| 64 | obtain ⟨a, ha⟩ := IsLocalizedModule.Away.exists_of_eq r |
| 65 | (hx.trans ((f.f q).hom.map_zero).symm) |
| 66 | exact ⟨a, by simpa only [smul_zero] using ha⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.LocalizedFixedClass |