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.SingleCocycleFunctor |
| 2 | |
| 3 | /-! # Cocycle Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.CocycleFunctor.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Derived inverse image preserves the actual shifted cocycle representatives. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe w w' u u' v v' |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] |
| 16 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasDerivedCategory.{w'} D] |
| 17 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 18 | {X : C} {K : CochainComplex C ℤ} {n : ℤ} |
| 19 | |
| 20 | theorem singleCocycleHom_derived_map (f : X ⟶ K.X n) (hf : f ≫ K.d n (n + 1) = 0) : |
| 21 | (F.mapDerivedCategorySingleFunctor 0).inv.app X ≫ |
| 22 | (ShiftedHom.map (ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom f hf) DerivedCategory.Q) |
| 23 | F.mapDerivedCategory) ≫ (F.mapDerivedCategoryFactors.hom.app K)⟦n⟧' = |
| 24 | ShiftedHom.map |
| 25 | (SingleCocycleFunctor.Ext.singleCocycleHom (K := (F.mapHomologicalComplex (ComplexShape.up ℤ)).obj K) |
| 26 | (F.map f) (by change F.map f ≫ F.map (K.d n (n + 1)) = 0; rw [← F.map_comp, hf, F.map_zero])) |
| 27 | DerivedCategory.Q := by |
| 28 | let P := F.mapHomologicalComplex (ComplexShape.up ℤ) |
| 29 | let c := SingleCocycleFunctor.Ext.singleCocycleHom f hf |
| 30 | have h : (ShiftedHom.map (ShiftedHom.map c DerivedCategory.Q) F.mapDerivedCategory) ≫ |
| 31 | (F.mapDerivedCategoryFactors.hom.app K)⟦n⟧' = |
| 32 | F.mapDerivedCategoryFactors.hom.app ((CochainComplex.singleFunctor C 0).obj X) ≫ |
| 33 | ShiftedHom.map (ShiftedHom.map c P) DerivedCategory.Q := by |
| 34 | have h' := ShiftedHom.map_naturality c F.mapDerivedCategoryFactors.hom |
| 35 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.mk₀_comp, ShiftedHom.comp_map] using h' |
| 36 | erw [h, ← Category.assoc, |
| 37 | F.mapDerivedCategorySingleFunctor_inv_app_mapDerivedCategoryFactors_hom_app] |
| 38 | have hc := congrArg (fun k => ShiftedHom.map k (DerivedCategory.Q (C := D))) |
| 39 | (SingleCocycleFunctor.Ext.singleCocycleHom_map F f hf) |
| 40 | have hm : ShiftedHom.map |
| 41 | ((F.mapCochainComplexSingleFunctor 0).inv.app X ≫ ShiftedHom.map c P) DerivedCategory.Q = |
| 42 | DerivedCategory.Q.map ((F.mapCochainComplexSingleFunctor 0).inv.app X) ≫ |
| 43 | ShiftedHom.map (ShiftedHom.map c P) DerivedCategory.Q := by |
| 44 | dsimp only [ShiftedHom.map] |
| 45 | erw [DerivedCategory.Q.map_comp ((F.mapCochainComplexSingleFunctor 0).inv.app X) |
| 46 | (P.map c ≫ (P.commShiftIso n).hom.app K)] |
| 47 | exact Category.assoc _ _ _ |
| 48 | exact hm.symm.trans hc |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.CocycleFunctor.Ext |