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 | |
| 3 | /-! # Resolution Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionFunctor.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual inverse of a resolution augmentation is compatible with exact functors. -/ |
| 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 | {Y : C} {K : CochainComplex C ℤ} |
| 19 | |
| 20 | def mappedAugmentation (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) : |
| 21 | (CochainComplex.singleFunctor D 0).obj (F.obj Y) ⟶ |
| 22 | (F.mapHomologicalComplex (ComplexShape.up ℤ)).obj K := |
| 23 | (F.mapCochainComplexSingleFunctor 0).inv.app Y ≫ |
| 24 | (F.mapHomologicalComplex (ComplexShape.up ℤ)).map a |
| 25 | |
| 26 | instance mappedAugmentation_quasiIso (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) |
| 27 | [QuasiIso a] : QuasiIso (mappedAugmentation F a) := by |
| 28 | have h : QuasiIso ((F.mapHomologicalComplex (ComplexShape.up ℤ)).map a) := inferInstance |
| 29 | exact quasiIso_comp _ _ (hφ' := h) |
| 30 | |
| 31 | theorem mappedAugmentation_derived_square |
| 32 | (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) : |
| 33 | F.mapDerivedCategory.map (DerivedCategory.Q.map a) ≫ F.mapDerivedCategoryFactors.hom.app K = |
| 34 | (F.mapDerivedCategorySingleFunctor 0).hom.app Y ≫ DerivedCategory.Q.map (mappedAugmentation F a) := by |
| 35 | apply ((F.mapDerivedCategorySingleFunctor 0).app Y).inv_comp_eq.mp |
| 36 | erw [F.mapDerivedCategoryFactors_hom_naturality a, ← Category.assoc, |
| 37 | F.mapDerivedCategorySingleFunctor_inv_app_mapDerivedCategoryFactors_hom_app] |
| 38 | exact (DerivedCategory.Q.map_comp ((F.mapCochainComplexSingleFunctor 0).inv.app Y) |
| 39 | ((F.mapHomologicalComplex (ComplexShape.up ℤ)).map a)).symm |
| 40 | |
| 41 | theorem mappedAugmentation_derived_inverse |
| 42 | (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) [QuasiIso a] : |
| 43 | F.mapDerivedCategory.map (inv (DerivedCategory.Q.map a)) ≫ |
| 44 | (F.mapDerivedCategorySingleFunctor 0).hom.app Y = |
| 45 | F.mapDerivedCategoryFactors.hom.app K ≫ inv (DerivedCategory.Q.map (mappedAugmentation F a)) := by |
| 46 | have : IsIso (DerivedCategory.Q.map a) := |
| 47 | (DerivedCategory.isIso_Q_map_iff_quasiIso C a).mpr inferInstance |
| 48 | have : IsIso (DerivedCategory.Q.map (mappedAugmentation F a)) := |
| 49 | (DerivedCategory.isIso_Q_map_iff_quasiIso D _).mpr inferInstance |
| 50 | erw [Functor.map_inv, IsIso.inv_comp_eq, ← Category.assoc, mappedAugmentation_derived_square, |
| 51 | Category.assoc, IsIso.hom_inv_id, Category.comp_id] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionFunctor.Ext |