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.AugmentedOrdered.CechCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.TotalInjectionElements |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses |
| 4 | |
| 5 | /-! # Cech Top Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechTopTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full-intersection cocycles in the actual augmented Čech total. |
| 12 | At the last Čech index the total differential is precisely the |
| 13 | coefficient differential, with no sign. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 20 | {R : Type u} [CommRing R] |
| 21 | (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) |
| 22 | (g : ℕ) (hg : Fintype.card ι = g) |
| 23 | |
| 24 | local notation "B" => OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor.bicomplex U K |
| 25 | local notation "T" => HomologicalComplex₂.total (OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor.bicomplex U K) (ComplexShape.up ℕ) |
| 26 | |
| 27 | def topTotalInclusion (q N : ℕ) (hN : q + g = N) : |
| 28 | (K.X q).obj (op (CechCoordinates.topObject U g hg)) ⟶ (T).X N := |
| 29 | CechCoordinates.topInclusion U (K.X q) g hg ≫ (B).ιTotal (.up ℕ) q g N hN |
| 30 | |
| 31 | theorem topTotalInclusion_differential (q N N' : ℕ) (hN : q + g = N) |
| 32 | (hnext : N + 1 = N') (x : (K.X q).obj (op (CechCoordinates.topObject U g hg))) : |
| 33 | (T).d N N' (topTotalInclusion U K g hg q N hN x) = |
| 34 | topTotalInclusion U K g hg (q + 1) N' (by omega) |
| 35 | ((K.d q (q + 1)).app (op (CechCoordinates.topObject U g hg)) x) := by |
| 36 | subst N' |
| 37 | change (T).d N (N + 1) ((B).ιTotal (.up ℕ) q g N hN |
| 38 | (CechCoordinates.topInclusion U (K.X q) g hg x)) = _ |
| 39 | rw [Module.TotalInjectionElements.differential (CechFunctor.bicomplex U K) q g N hN] |
| 40 | have hzero : ((B).X q).d g (g + 1) = 0 := by |
| 41 | change (Cech.complex U (K.X q)).d g (g + 1) = 0 |
| 42 | dsimp only [Cech.complex] |
| 43 | rw [CochainComplex.of_d] |
| 44 | exact CechCoordinates.differential_top U (K.X q) g hg |
| 45 | have hz : ((B).X q).d g (g + 1) (CechCoordinates.topInclusion U (K.X q) g hg x) = 0 := by |
| 46 | rw [hzero] |
| 47 | rfl |
| 48 | rw [hz, map_zero, smul_zero, add_zero] |
| 49 | have h := ConcreteCategory.congr_hom |
| 50 | (CechCoordinates.topInclusion_naturality U (K.X q) g hg (K.d q (q + 1))) x |
| 51 | change (CechFunctor.objectMap U (K.d q (q + 1)) g) (CechCoordinates.topInclusion U (K.X q) g hg x) = |
| 52 | CechCoordinates.topInclusion U (K.X (q + 1)) g hg ((K.d q (q + 1)).app (op (CechCoordinates.topObject U g hg)) x) at h |
| 53 | change (B).ιTotal (.up ℕ) (q + 1) g (N + 1) _ |
| 54 | ((CechFunctor.objectMap U (K.d q (q + 1)) g) (CechCoordinates.topInclusion U (K.X q) g hg x)) = _ |
| 55 | rw [h] |
| 56 | rfl |
| 57 | |
| 58 | def topTotalCycle (q : ℕ) (x : (K.X q).obj (op (CechCoordinates.topObject U g hg))) |
| 59 | (hx : (K.d q (q + 1)).app (op (CechCoordinates.topObject U g hg)) x = 0) : |
| 60 | Module.CochainClasses.cycles T (q + g) := |
| 61 | ⟨topTotalInclusion U K g hg q (q + g) rfl x, by |
| 62 | change (T).d (q + g) (q + g + 1) _ = 0 |
| 63 | rw [topTotalInclusion_differential U K g hg q (q + g) (q + g + 1) rfl rfl, |
| 64 | hx, map_zero]⟩ |
| 65 | |
| 66 | def topTotalClass (q : ℕ) (x : (K.X q).obj (op (CechCoordinates.topObject U g hg))) |
| 67 | (hx : (K.d q (q + 1)).app (op (CechCoordinates.topObject U g hg)) x = 0) : (T).homology (q + g) := |
| 68 | Module.CochainClasses.classMap T (q + g) (topTotalCycle U K g hg q x hx) |
| 69 | |
| 70 | theorem topTotalClass_eq (q : ℕ) |
| 71 | (x y : (K.X (q + 1)).obj (op (CechCoordinates.topObject U g hg))) |
| 72 | (hx : (K.d (q + 1) (q + 2)).app (op (CechCoordinates.topObject U g hg)) x = 0) |
| 73 | (hy : (K.d (q + 1) (q + 2)).app (op (CechCoordinates.topObject U g hg)) y = 0) |
| 74 | (η : (K.X q).obj (op (CechCoordinates.topObject U g hg))) |
| 75 | (hη : (K.d q (q + 1)).app (op (CechCoordinates.topObject U g hg)) η = x - y) : |
| 76 | topTotalClass U K g hg (q + 1) x hx = topTotalClass U K g hg (q + 1) y hy := by |
| 77 | apply sub_eq_zero.mp |
| 78 | change Module.CochainClasses.classMap T (q + 1 + g) (topTotalCycle U K g hg _ x hx) - |
| 79 | Module.CochainClasses.classMap T (q + 1 + g) (topTotalCycle U K g hg _ y hy) = 0 |
| 80 | rw [← map_sub, Module.CochainClasses.classMap_eq_zero_iff] |
| 81 | have hprev : (ComplexShape.up ℕ).prev (q + 1 + g) = q + g := by |
| 82 | have he : q + 1 + g = (q + g) + 1 := by omega |
| 83 | rw [he] |
| 84 | exact (ComplexShape.up ℕ).prev_eq' rfl |
| 85 | rw [hprev] |
| 86 | refine ⟨topTotalInclusion U K g hg q (q + g) rfl η, ?_⟩ |
| 87 | rw [topTotalInclusion_differential U K g hg q (q + g) (q + 1 + g) rfl (by omega), hη] |
| 88 | exact map_sub _ x y |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechTopTotal |