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.MixedResolutionShort |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ExactFunctorComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionZero |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionCohomology |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.HomologyTripleNaturality |
| 6 | |
| 7 | /-! # Mixed Resolution Cohomology -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MixedResolutionCohomology |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Mixed naturality of the original Ext comparison, using acyclicity only |
| 14 | for the actual source and target resolutions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | attribute [local instance] preservesFiniteLimits_op preservesFiniteColimits_op |
| 19 | |
| 20 | open Abelian |
| 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 | {K : CochainComplex Cᵒᵖ ℕ} {L : CochainComplex Dᵒᵖ ℕ} |
| 29 | (φ : (F.op.mapHomologicalComplex (.up ℕ)).obj K ⟶ L) |
| 30 | |
| 31 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ContravariantModuleFunctor.functor R (F.obj Y) 0 |
| 32 | |
| 33 | def map : Contravariant.Resolution.Comparison.complex R Y K ⟶ |
| 34 | Contravariant.Resolution.Comparison.complex R (F.obj Y) L := |
| 35 | Contravariant.ExactFunctorComplex.map F R Y K ≫ ((H).mapHomologicalComplex (.up ℕ)).map φ |
| 36 | |
| 37 | theorem differential (n : ℕ) : Augmented.ResolutionCycleMaps.differential (MixedResolutionCohomology.map F R Y φ) n = |
| 38 | Contravariant.ExactFunctorHomology.shortMap F R Y |
| 39 | (Mapped.AugmentedCycleMaps.differential F.op φ n) := rfl |
| 40 | |
| 41 | variable {Z : Cᵒᵖ} {W : Dᵒᵖ} (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) |
| 42 | (κ : (CochainComplex.single₀ Dᵒᵖ).obj W ⟶ L) (g : F.op.obj Z ⟶ W) |
| 43 | (h : g ≫ κ.f 0 = F.op.map (ι.f 0) ≫ φ.f 0) |
| 44 | [QuasiIso ι] [QuasiIso κ] |
| 45 | |
| 46 | local notation "augP" => OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionZero.augmentation R Y K ι |
| 47 | local notation "augQ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionZero.augmentation R (F.obj Y) L κ |
| 48 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 Z ≫ CategoryTheory.Functor.map H g |
| 49 | |
| 50 | include h |
| 51 | |
| 52 | omit [QuasiIso ι] [QuasiIso κ] in |
| 53 | theorem augmentation : augP ≫ MixedResolutionCohomology.map F R Y φ = (CochainComplex.single₀ _).map μ ≫ augQ := by |
| 54 | apply HomologicalComplex.from_single_hom_ext |
| 55 | change (augP).f 0 ≫ (MixedResolutionCohomology.map F R Y φ).f 0 = ((CochainComplex.single₀ _).map μ).f 0 ≫ (augQ).f 0 |
| 56 | rw [Contravariant.ResolutionZero.augmentation_zero, |
| 57 | Contravariant.ResolutionZero.augmentation_zero, CochainComplex.single₀_map_f_zero] |
| 58 | change (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0).map (ι.f 0) ≫ |
| 59 | (IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 (K.X 0) ≫ (H).map (φ.f 0)) = |
| 60 | (IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 Z ≫ CategoryTheory.Functor.map H g) ≫ (H).map (κ.f 0) |
| 61 | have hn : (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0).map (ι.f 0) ≫ |
| 62 | IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 (K.X 0) = |
| 63 | IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 Z ≫ (H).map (F.op.map (ι.f 0)) := |
| 64 | IntegralComparison.Ext.SourceExactFunctorModule.naturality F R Y 0 (ι.f 0) |
| 65 | have hm : (H).map (F.op.map (ι.f 0)) ≫ (H).map (φ.f 0) = |
| 66 | (H).map g ≫ (H).map (κ.f 0) := |
| 67 | ((H).map_comp (F.op.map (ι.f 0)) (φ.f 0)).symm.trans |
| 68 | ((congrArg (H).map h.symm).trans ((H).map_comp g (κ.f 0))) |
| 69 | exact (Category.assoc _ _ _).symm.trans |
| 70 | ((congrArg (fun a => a ≫ (H).map (φ.f 0)) hn).trans |
| 71 | ((Category.assoc _ _ _).trans |
| 72 | ((congrArg (fun a => IntegralComparison.Ext.SourceExactFunctorModule.component F R Y 0 Z ≫ a) hm).trans |
| 73 | (Category.assoc _ _ _).symm))) |
| 74 | |
| 75 | theorem zero : HomologicalComplex.homologyMap (MixedResolutionCohomology.map F R Y φ) 0 ≫ |
| 76 | (Contravariant.ResolutionZero.homologyIso R (F.obj Y) L κ).hom = |
| 77 | (Contravariant.ResolutionZero.homologyIso R Y K ι).hom ≫ μ := by |
| 78 | have hs : HomologicalComplex.homologyMap augP 0 ≫ HomologicalComplex.homologyMap (MixedResolutionCohomology.map F R Y φ) 0 = |
| 79 | HomologicalComplex.homologyMap ((CochainComplex.single₀ _).map μ) 0 ≫ |
| 80 | HomologicalComplex.homologyMap augQ 0 := |
| 81 | (HomologicalComplex.homologyMap_comp augP (MixedResolutionCohomology.map F R Y φ) 0).symm.trans |
| 82 | ((congrArg (fun f => HomologicalComplex.homologyMap f 0) (augmentation F R Y φ ι κ g h)).trans |
| 83 | (HomologicalComplex.homologyMap_comp _ _ 0)) |
| 84 | apply (cancel_epi (HomologicalComplex.homologyMap augP 0)).mp |
| 85 | change HomologicalComplex.homologyMap augP 0 ≫ |
| 86 | (HomologicalComplex.homologyMap (MixedResolutionCohomology.map F R Y φ) 0 ≫ ((isoOfQuasiIsoAt augQ 0).inv ≫ |
| 87 | (HomologicalComplex.singleObjHomologySelfIso (.up ℕ) 0 ((H).obj W)).hom)) = |
| 88 | HomologicalComplex.homologyMap augP 0 ≫ (((isoOfQuasiIsoAt augP 0).inv ≫ |
| 89 | (HomologicalComplex.singleObjHomologySelfIso (.up ℕ) 0 |
| 90 | ((IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0).obj Z)).hom) ≫ μ) |
| 91 | rw [← Category.assoc, hs] |
| 92 | simp only [Category.assoc, isoOfQuasiIsoAt_hom_inv_id_assoc] |
| 93 | exact HomologicalComplex.singleObjHomologySelfIso_hom_naturality (.up ℕ) 0 μ |
| 94 | |
| 95 | variable (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 96 | (hL : ∀ a q, Subsingleton (Ext.{z} (L.X a).unop (F.obj Y) (q + 1))) |
| 97 | |
| 98 | theorem positive (n : ℕ) : HomologicalComplex.homologyMap (MixedResolutionCohomology.map F R Y φ) (n + 1) ≫ |
| 99 | (Contravariant.Resolution.Comparison.positiveHomologyIso R (F.obj Y) L κ hL n).hom = |
| 100 | (Contravariant.Resolution.Comparison.positiveHomologyIso R Y K ι hK n).hom ≫ |
| 101 | (IntegralComparison.Ext.SourceExactFunctorModule.component F R Y (n + 1) Z ≫ |
| 102 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R (F.obj Y) (n + 1)).map g) := by |
| 103 | have h₁ := Cochain.HomologyTripleNaturality.naturality (MixedResolutionCohomology.map F R Y φ) n |
| 104 | have h₂ := MixedResolutionShort.Comparison.short F R Y φ ι κ g h hK hL n |
| 105 | exact (Category.assoc _ _ _).symm.trans |
| 106 | ((congrArg (fun a => a ≫ (Contravariant.Resolution.Comparison.shortHomologyIso R (F.obj Y) L κ hL n).hom) h₁).trans |
| 107 | ((Category.assoc _ _ _).trans |
| 108 | ((congrArg (fun a => |
| 109 | ((Contravariant.Resolution.Comparison.complex R Y K).homologyIsoSc' n (n + 1) (n + 2) |
| 110 | (by simp) (by simp)).hom ≫ a) h₂).trans (Category.assoc _ _ _).symm))) |
| 111 | |
| 112 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (MixedResolutionCohomology.map F R Y φ) i ≫ |
| 113 | (Contravariant.ResolutionCohomology.homologyIso R (F.obj Y) L κ hL i).hom = |
| 114 | (Contravariant.ResolutionCohomology.homologyIso R Y K ι hK i).hom ≫ |
| 115 | (IntegralComparison.Ext.SourceExactFunctorModule.component F R Y i Z ≫ |
| 116 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R (F.obj Y) i).map g) := by |
| 117 | cases i with |
| 118 | | zero => exact MixedResolutionCohomology.zero F R Y φ ι κ g h |
| 119 | | succ i => exact positive F R Y φ ι κ g h hK hL i |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MixedResolutionCohomology |