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