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.Acyclic.ExactFunctorHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorShift |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.Resolution |
| 4 | |
| 5 | /-! # Exact Functor Short -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorShort |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exact functors preserve the original positive-degree Ext comparison on consecutive terms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |
| 16 | |
| 17 | universe u v u' v' z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 21 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] (X : C) |
| 23 | |
| 24 | private theorem transport {Z : C} {d d' : ℕ} (hd : d = d') |
| 25 | {U V : Type z} [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] |
| 26 | (e : U ≃ₗ[R] Ext.{z} X Z d) (e' : V ≃ₗ[R] Ext.{z} (F.obj X) (F.obj Z) d) |
| 27 | (a : ModuleCat.of R U ⟶ ModuleCat.of R V) |
| 28 | (h : a ≫ e'.toModuleIso.hom = e.toModuleIso.hom ≫ IntegralComparison.Ext.ExactFunctorModule.component F R X d Z) : |
| 29 | a ≫ (hd ▸ e').toModuleIso.hom = |
| 30 | (hd ▸ e).toModuleIso.hom ≫ IntegralComparison.Ext.ExactFunctorModule.component F R X d' Z := by |
| 31 | subst d' |
| 32 | exact h |
| 33 | |
| 34 | variable (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 35 | (κ : (CochainComplex.single₀ D).obj (F.obj Z) ⟶ |
| 36 | (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K) (hκ : κ.f 0 = F.map (ι.f 0)) |
| 37 | [QuasiIso ι] [QuasiIso κ] |
| 38 | (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 39 | (hL : ∀ a q, Subsingleton (Ext.{z} (F.obj X) |
| 40 | (((F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K).X a) (q + 1))) |
| 41 | |
| 42 | local notation "L" => Functor.obj (Functor.mapHomologicalComplex F (ComplexShape.up ℕ)) K |
| 43 | |
| 44 | include hκ |
| 45 | |
| 46 | theorem short_zero : ShortComplex.homologyMap |
| 47 | (IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 (Augmented.ResolutionCycles.differentialSequence K 0)) ≫ |
| 48 | (Resolution.Comparison.shortHomologyIso R (F.obj X) L κ hL 0).hom = |
| 49 | (Resolution.Comparison.shortHomologyIso R X K ι hK 0).hom ≫ |
| 50 | IntegralComparison.Ext.ExactFunctorModule.component F R X 1 Z := by |
| 51 | let : Subsingleton (Ext.{z} X (K.X 0) 1) := hK 0 0 |
| 52 | let : Subsingleton (Ext.{z} (F.obj X) ((L).X 0) 1) := hL 0 0 |
| 53 | let : Subsingleton (Ext.{z} (F.obj X) ((Augmented.ResolutionCycles.differentialSequence K 0).map F).X₁ 1) := hL 0 0 |
| 54 | have h := ExactFunctorHomology.homology F R X (𝟙 ((Augmented.ResolutionCycles.differentialSequence K 0).map F)) |
| 55 | (Augmented.ResolutionCycles.augmentation K ι) (Augmented.ResolutionCycles.augmentation L κ) (Augmented.ResolutionCycles.initialSequence K ι).zero (Augmented.ResolutionCycles.initialSequence L κ).zero |
| 56 | (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (Augmented.ResolutionCycles.initialSequence_shortExact L κ) (𝟙 (F.obj Z)) |
| 57 | ((Category.id_comp _).trans (hκ.trans (Category.comp_id _).symm)) |
| 58 | rw [ExactFunctorHomology.shortMap_id] at h |
| 59 | exact h.trans (congrArg (fun a => |
| 60 | (Resolution.Comparison.shortHomologyIso R X K ι hK 0).hom ≫ a) |
| 61 | ((congrArg (fun a => IntegralComparison.Ext.ExactFunctorModule.component F R X 1 Z ≫ a) |
| 62 | ((IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 1).map_id (F.obj Z))).trans (Category.comp_id _))) |
| 63 | |
| 64 | theorem short_succ (n : ℕ) : ShortComplex.homologyMap |
| 65 | (IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 (Augmented.ResolutionCycles.differentialSequence K (n + 1))) ≫ |
| 66 | (Resolution.Comparison.shortHomologyIso R (F.obj X) L κ hL (n + 1)).hom = |
| 67 | (Resolution.Comparison.shortHomologyIso R X K ι hK (n + 1)).hom ≫ |
| 68 | IntegralComparison.Ext.ExactFunctorModule.component F R X (n + 1 + 1) Z := by |
| 69 | let : Subsingleton (Ext.{z} X (K.X (n + 1)) 1) := hK (n + 1) 0 |
| 70 | let : Subsingleton (Ext.{z} (F.obj X) ((L).X (n + 1)) 1) := hL (n + 1) 0 |
| 71 | let : Subsingleton (Ext.{z} (F.obj X) ((Augmented.ResolutionCycles.differentialSequence K (n + 1)).map F).X₁ 1) := hL (n + 1) 0 |
| 72 | let eK := ResolutionShift.cycleExtEquiv R X K ι hK n 0 |
| 73 | let eL := ResolutionShift.cycleExtEquiv R (F.obj X) L κ hL n 0 |
| 74 | let hc : n + 0 + 2 = n + 1 + 1 := by omega |
| 75 | let a := IntegralComparison.Ext.ExactFunctorModule.component F R X 1 (Augmented.ResolutionCycles.differentialSequence K n).cycles ≫ |
| 76 | (IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 1).map (Augmented.CyclesExactFunctor.cyclesIso F K n).hom |
| 77 | have hs : a ≫ (hc ▸ eL).toModuleIso.hom = |
| 78 | (hc ▸ eK).toModuleIso.hom ≫ IntegralComparison.Ext.ExactFunctorModule.component F R X (n + 1 + 1) Z := by |
| 79 | apply transport F R X hc eK eL |
| 80 | apply ModuleCat.hom_ext |
| 81 | apply LinearMap.ext |
| 82 | intro α |
| 83 | exact ExactFunctorShift.cycles F R X K ι κ hκ hK hL n 0 α |
| 84 | have hd := ExactFunctorHomology.homology F R X |
| 85 | (𝟙 ((Augmented.ResolutionCycles.differentialSequence K (n + 1)).map F)) |
| 86 | (Augmented.ResolutionCycles.differentialSequence K n).iCycles (Augmented.ResolutionCycles.differentialSequence L n).iCycles |
| 87 | (Augmented.ResolutionCycles.successiveSequence K n).zero (Augmented.ResolutionCycles.successiveSequence L n).zero |
| 88 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n) |
| 89 | (Augmented.CyclesExactFunctor.cyclesIso F K n).hom |
| 90 | ((Augmented.CyclesExactFunctor.cycles_i F K n).trans (Category.comp_id _).symm) |
| 91 | rw [ExactFunctorHomology.shortMap_id] at hd |
| 92 | exact (Category.assoc _ _ _).symm.trans |
| 93 | ((congrArg (fun b => b ≫ (hc ▸ eL).toModuleIso.hom) hd).trans |
| 94 | ((Category.assoc _ _ _).trans |
| 95 | ((congrArg (fun b => |
| 96 | (ResolutionHomologyData.homologyIso R X (Augmented.ResolutionCycles.differentialSequence K (n + 1)) |
| 97 | (Augmented.ResolutionCycles.successiveSequence K n).f (Augmented.ResolutionCycles.successiveSequence K n).zero |
| 98 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n)).hom ≫ b) hs).trans |
| 99 | (Category.assoc _ _ _).symm))) |
| 100 | |
| 101 | theorem short (n : ℕ) : ShortComplex.homologyMap |
| 102 | (IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 (Augmented.ResolutionCycles.differentialSequence K n)) ≫ |
| 103 | (Resolution.Comparison.shortHomologyIso R (F.obj X) L κ hL n).hom = |
| 104 | (Resolution.Comparison.shortHomologyIso R X K ι hK n).hom ≫ |
| 105 | IntegralComparison.Ext.ExactFunctorModule.component F R X (n + 1) Z := by |
| 106 | cases n with |
| 107 | | zero => exact short_zero F R X K ι κ hκ hK hL |
| 108 | | succ n => exact short_succ F R X K ι κ hκ hK hL n |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorShort |