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.SourceHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceShift |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.Resolution |
| 4 | |
| 5 | /-! # Source Short -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceShort |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original positive-degree Ext comparison on consecutive terms is natural in its source. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |
| 16 | |
| 17 | universe u v z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | (R : Type t) [CommRing R] [Linear R C] {X X' : C} (f : X' ⟶ X) |
| 21 | |
| 22 | private theorem transport {Z : C} {d d' : ℕ} (hd : d = d') |
| 23 | {U V : Type z} [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] |
| 24 | (e : U ≃ₗ[R] Ext.{z} X Z d) (e' : V ≃ₗ[R] Ext.{z} X' Z d) |
| 25 | (a : ModuleCat.of R U ⟶ ModuleCat.of R V) |
| 26 | (h : a ≫ e'.toModuleIso.hom = e.toModuleIso.hom ≫ IntegralComparison.Ext.SourceModule.component R f d Z) : |
| 27 | a ≫ (hd ▸ e').toModuleIso.hom = |
| 28 | (hd ▸ e).toModuleIso.hom ≫ IntegralComparison.Ext.SourceModule.component R f d' Z := by |
| 29 | subst d' |
| 30 | exact h |
| 31 | |
| 32 | variable (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 33 | [QuasiIso ι] |
| 34 | (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 35 | (hK' : ∀ a q, Subsingleton (Ext.{z} X' (K.X a) (q + 1))) |
| 36 | |
| 37 | theorem short_zero : ShortComplex.homologyMap (IntegralComparison.Ext.SourceModule.shortMap R f 0 (Augmented.ResolutionCycles.differentialSequence K 0)) ≫ |
| 38 | (Resolution.Comparison.shortHomologyIso R X' K ι hK' 0).hom = |
| 39 | (Resolution.Comparison.shortHomologyIso R X K ι hK 0).hom ≫ |
| 40 | IntegralComparison.Ext.SourceModule.component R f 1 Z := by |
| 41 | let : Subsingleton (Ext.{z} X (K.X 0) 1) := hK 0 0 |
| 42 | let : Subsingleton (Ext.{z} X' (K.X 0) 1) := hK' 0 0 |
| 43 | exact SourceHomology.homology R f (Augmented.ResolutionCycles.differentialSequence K 0) |
| 44 | (Augmented.ResolutionCycles.augmentation K ι) (Augmented.ResolutionCycles.initialSequence K ι).zero (Augmented.ResolutionCycles.initialSequence_shortExact K ι) |
| 45 | |
| 46 | theorem short_succ (n : ℕ) : |
| 47 | ShortComplex.homologyMap (IntegralComparison.Ext.SourceModule.shortMap R f 0 (Augmented.ResolutionCycles.differentialSequence K (n + 1))) ≫ |
| 48 | (Resolution.Comparison.shortHomologyIso R X' K ι hK' (n + 1)).hom = |
| 49 | (Resolution.Comparison.shortHomologyIso R X K ι hK (n + 1)).hom ≫ |
| 50 | IntegralComparison.Ext.SourceModule.component R f (n + 1 + 1) Z := by |
| 51 | let : Subsingleton (Ext.{z} X (K.X (n + 1)) 1) := hK (n + 1) 0 |
| 52 | let : Subsingleton (Ext.{z} X' (K.X (n + 1)) 1) := hK' (n + 1) 0 |
| 53 | let eK := ResolutionShift.cycleExtEquiv R X K ι hK n 0 |
| 54 | let eK' := ResolutionShift.cycleExtEquiv R X' K ι hK' n 0 |
| 55 | let hc : n + 0 + 2 = n + 1 + 1 := by omega |
| 56 | have hs : IntegralComparison.Ext.SourceModule.component R f 1 (Augmented.ResolutionCycles.differentialSequence K n).cycles ≫ |
| 57 | (hc ▸ eK').toModuleIso.hom = (hc ▸ eK).toModuleIso.hom ≫ |
| 58 | IntegralComparison.Ext.SourceModule.component R f (n + 1 + 1) Z := by |
| 59 | apply transport R f hc eK eK' |
| 60 | apply ModuleCat.hom_ext |
| 61 | apply LinearMap.ext |
| 62 | intro α |
| 63 | exact SourceShift.cycles R f K ι hK hK' n 0 α |
| 64 | have hd := SourceHomology.homology R f (Augmented.ResolutionCycles.differentialSequence K (n + 1)) |
| 65 | (Augmented.ResolutionCycles.differentialSequence K n).iCycles (Augmented.ResolutionCycles.successiveSequence K n).zero |
| 66 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) |
| 67 | exact (Category.assoc _ _ _).symm.trans |
| 68 | ((congrArg (fun a => a ≫ (hc ▸ eK').toModuleIso.hom) hd).trans |
| 69 | ((Category.assoc _ _ _).trans |
| 70 | ((congrArg (fun a => |
| 71 | (ResolutionHomologyData.homologyIso R X (Augmented.ResolutionCycles.differentialSequence K (n + 1)) |
| 72 | (Augmented.ResolutionCycles.successiveSequence K n).f (Augmented.ResolutionCycles.successiveSequence K n).zero |
| 73 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n)).hom ≫ a) hs).trans |
| 74 | (Category.assoc _ _ _).symm))) |
| 75 | |
| 76 | theorem short (n : ℕ) : ShortComplex.homologyMap (IntegralComparison.Ext.SourceModule.shortMap R f 0 (Augmented.ResolutionCycles.differentialSequence K n)) ≫ |
| 77 | (Resolution.Comparison.shortHomologyIso R X' K ι hK' n).hom = |
| 78 | (Resolution.Comparison.shortHomologyIso R X K ι hK n).hom ≫ |
| 79 | IntegralComparison.Ext.SourceModule.component R f (n + 1) Z := by |
| 80 | cases n with |
| 81 | | zero => exact short_zero R f K ι hK hK' |
| 82 | | succ n => exact short_succ R f K ι hK hK' n |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceShort |