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.AlgebraicGeometry.Comparison.Betti.Derived.CocycleFunctor |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality |
| 3 | |
| 4 | /-! # Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.Cocycle.Ext |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual shifted cocycles retain coefficient precomposition and exact-functor comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v w u' v' w' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] |
| 17 | |
| 18 | theorem derivedSingleCocycle_precomp {A A' : C} {K : CochainComplex C ℤ} {n : ℤ} |
| 19 | (v : A' ⟶ A) (z : A ⟶ K.X n) (hz : z ≫ K.d n (n + 1) = 0) : |
| 20 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom (v ≫ z) |
| 21 | (by rw [Category.assoc, hz, comp_zero])) DerivedCategory.Q = |
| 22 | (DerivedCategory.singleFunctor C 0).map v ≫ |
| 23 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom z hz) DerivedCategory.Q := by |
| 24 | rw [ResolutionCocycleNaturality.Ext.singleCocycleHom_precomp] |
| 25 | dsimp only [ShiftedHom.map] |
| 26 | erw [Functor.map_comp] |
| 27 | exact Category.assoc _ _ _ |
| 28 | |
| 29 | variable {D : Type u'} [Category.{v'} D] [Abelian D] [HasDerivedCategory.{w'} D] |
| 30 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 31 | |
| 32 | theorem derivedSingleCocycle_functor_postcomp {A : C} |
| 33 | {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} {n : ℤ} |
| 34 | (z : A ⟶ K.X n) (hz : z ≫ K.d n (n + 1) = 0) |
| 35 | (β : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) : |
| 36 | (F.mapDerivedCategorySingleFunctor 0).inv.app A ≫ |
| 37 | ShiftedHom.map (ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom z hz) DerivedCategory.Q) |
| 38 | F.mapDerivedCategory ≫ |
| 39 | (F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map β)⟦n⟧' = |
| 40 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom (F.map z ≫ β.f n) |
| 41 | (by |
| 42 | erw [Category.assoc, β.comm, ← Category.assoc] |
| 43 | change (F.map z ≫ F.map (K.d n (n + 1))) ≫ β.f (n + 1) = 0 |
| 44 | rw [← F.map_comp, hz, F.map_zero] |
| 45 | exact zero_comp)) DerivedCategory.Q := by |
| 46 | have hzF : F.map z ≫ ((F.mapHomologicalComplex (.up ℤ)).obj K).d n (n + 1) = 0 := by |
| 47 | change F.map z ≫ F.map (K.d n (n + 1)) = 0 |
| 48 | rw [← F.map_comp, hz, F.map_zero] |
| 49 | have hF := CocycleFunctor.Ext.singleCocycleHom_derived_map F z hz |
| 50 | have hβ := Acyclic.HomNaturality.Ext.derivedSingleCocycle_postcomp (F.map z) hzF β |
| 51 | rw [Functor.map_comp] |
| 52 | let u := (F.mapDerivedCategorySingleFunctor 0).inv.app A |
| 53 | let v := ShiftedHom.map (ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom z hz) DerivedCategory.Q) |
| 54 | F.mapDerivedCategory |
| 55 | let c := (F.mapDerivedCategoryFactors.hom.app K)⟦n⟧' |
| 56 | let d := (DerivedCategory.Q.map β)⟦n⟧' |
| 57 | exact (congrArg (u ≫ ·) (Category.assoc v c d).symm).trans |
| 58 | ((Category.assoc u (v ≫ c) d).symm.trans |
| 59 | ((congrArg (· ≫ d) hF).trans hβ.symm)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.Cocycle.Ext |