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.Contravariant.HomologyNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ShiftNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.Resolution |
| 4 | |
| 5 | /-! # Short Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ShortNaturality.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: naturality of the positive-degree acyclic source-resolution comparison on short complexes |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycleMaps |
| 18 | |
| 19 | universe u v z t |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 22 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 23 | |
| 24 | private theorem transport {Z W : Cᵒᵖ} (f : Z ⟶ W) {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} Z.unop Y d) (e' : V ≃ₗ[R] Ext.{z} W.unop Y d) |
| 27 | (a : ModuleCat.of R U ⟶ ModuleCat.of R V) |
| 28 | (h : a ≫ e'.toModuleIso.hom = e.toModuleIso.hom ≫ (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y d).map f) : |
| 29 | a ≫ (hd ▸ e').toModuleIso.hom = (hd ▸ e).toModuleIso.hom ≫ (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y d').map f := by |
| 30 | subst d' |
| 31 | exact h |
| 32 | |
| 33 | variable {K L : CochainComplex Cᵒᵖ ℕ} {Z W : Cᵒᵖ} |
| 34 | (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) (κ : (CochainComplex.single₀ Cᵒᵖ).obj W ⟶ L) |
| 35 | [QuasiIso ι] [QuasiIso κ] |
| 36 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 37 | (hL : ∀ a q, Subsingleton (Ext.{z} (L.X a).unop Y (q + 1))) |
| 38 | (φ : K ⟶ L) (f : Z ⟶ W) (hφ : ι ≫ φ = (CochainComplex.single₀ Cᵒᵖ).map f ≫ κ) |
| 39 | |
| 40 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0 |
| 41 | |
| 42 | include hφ |
| 43 | |
| 44 | theorem short_zero : ShortComplex.homologyMap ((F).mapShortComplex.map (Augmented.ResolutionCycleMaps.differential φ 0)) ≫ |
| 45 | (Resolution.Comparison.shortHomologyIso R Y L κ hL 0).hom = |
| 46 | (Resolution.Comparison.shortHomologyIso R Y K ι hK 0).hom ≫ |
| 47 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 1).map f := by |
| 48 | let : Subsingleton (Ext.{z} (K.X 0).unop Y 1) := hK 0 0 |
| 49 | let : Subsingleton (Ext.{z} (L.X 0).unop Y 1) := hL 0 0 |
| 50 | have h := HomologyNaturality.homology R Y |
| 51 | (T := Augmented.ResolutionCycles.differentialSequence K 0) (U := Augmented.ResolutionCycles.differentialSequence L 0) |
| 52 | (Augmented.ResolutionCycles.augmentation K ι) (Augmented.ResolutionCycles.augmentation L κ) |
| 53 | (Augmented.ResolutionCycles.initialSequence K ι).zero (Augmented.ResolutionCycles.initialSequence L κ).zero |
| 54 | (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (Augmented.ResolutionCycles.initialSequence_shortExact L κ) |
| 55 | (Augmented.ResolutionCycleMaps.differential φ 0) f (Augmented.ResolutionCycleMaps.augmentation φ ι κ f hφ) |
| 56 | exact h |
| 57 | |
| 58 | theorem short_succ (n : ℕ) : ShortComplex.homologyMap ((F).mapShortComplex.map (Augmented.ResolutionCycleMaps.differential φ (n + 1))) ≫ |
| 59 | (Resolution.Comparison.shortHomologyIso R Y L κ hL (n + 1)).hom = |
| 60 | (Resolution.Comparison.shortHomologyIso R Y K ι hK (n + 1)).hom ≫ |
| 61 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y (n + 1 + 1)).map f := by |
| 62 | let : Subsingleton (Ext.{z} (K.X (n + 1)).unop Y 1) := hK (n + 1) 0 |
| 63 | let : Subsingleton (Ext.{z} (L.X (n + 1)).unop Y 1) := hL (n + 1) 0 |
| 64 | let eK := ResolutionShift.cycleExtEquiv R Y K ι hK n 0 |
| 65 | let eL := ResolutionShift.cycleExtEquiv R Y L κ hL n 0 |
| 66 | let hc : n + 0 + 2 = n + 1 + 1 := by omega |
| 67 | have hs : (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 1).map (ShortComplex.cyclesMap (Augmented.ResolutionCycleMaps.differential φ n)) ≫ |
| 68 | (hc ▸ eL).toModuleIso.hom = (hc ▸ eK).toModuleIso.hom ≫ |
| 69 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y (n + 1 + 1)).map f := by |
| 70 | apply transport R Y f hc eK eL |
| 71 | apply ModuleCat.hom_ext |
| 72 | apply LinearMap.ext |
| 73 | intro α |
| 74 | exact ShiftNaturality.cycles R Y ι κ hK hL φ f hφ n 0 α |
| 75 | have hd := HomologyNaturality.homology R Y |
| 76 | (T := Augmented.ResolutionCycles.differentialSequence K (n + 1)) (U := Augmented.ResolutionCycles.differentialSequence L (n + 1)) |
| 77 | (Augmented.ResolutionCycles.differentialSequence K n).iCycles (Augmented.ResolutionCycles.differentialSequence L n).iCycles |
| 78 | (Augmented.ResolutionCycles.successiveSequence K n).zero (Augmented.ResolutionCycles.successiveSequence L n).zero |
| 79 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n) |
| 80 | (Augmented.ResolutionCycleMaps.differential φ (n + 1)) (ShortComplex.cyclesMap (Augmented.ResolutionCycleMaps.differential φ n)) |
| 81 | (ShortComplex.cyclesMap_i (Augmented.ResolutionCycleMaps.differential φ n)) |
| 82 | exact (Category.assoc _ _ _).symm.trans |
| 83 | ((congrArg (fun a => a ≫ (hc ▸ eL).toModuleIso.hom) hd).trans |
| 84 | ((Category.assoc _ _ _).trans |
| 85 | ((congrArg (fun a => |
| 86 | (ResolutionHomologyData.homologyIso R Y (Augmented.ResolutionCycles.differentialSequence K (n + 1)) |
| 87 | (Augmented.ResolutionCycles.successiveSequence K n).f (Augmented.ResolutionCycles.successiveSequence K n).zero |
| 88 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n)).hom ≫ a) hs).trans |
| 89 | (Category.assoc _ _ _).symm))) |
| 90 | |
| 91 | theorem short (n : ℕ) : ShortComplex.homologyMap ((F).mapShortComplex.map (Augmented.ResolutionCycleMaps.differential φ n)) ≫ |
| 92 | (Resolution.Comparison.shortHomologyIso R Y L κ hL n).hom = |
| 93 | (Resolution.Comparison.shortHomologyIso R Y K ι hK n).hom ≫ |
| 94 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y (n + 1)).map f := by |
| 95 | cases n with |
| 96 | | zero => exact short_zero R Y ι κ hK hL φ f hφ |
| 97 | | succ n => exact short_succ R Y ι κ hK hL φ f hφ n |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ShortNaturality.Comparison |