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.ShiftCoherence |
| 2 | |
| 3 | /-! # Functor Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.FunctorIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A constructed isomorphism of exact functors induces a normalized derived isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _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 G : C ⥤ D} [F.Additive] [G.Additive] |
| 18 | [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 19 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] (e : F ≅ G) |
| 20 | |
| 21 | def functorIsoBeforeLocalization : DerivedCategory.Q ⋙ F.mapDerivedCategory ≅ |
| 22 | DerivedCategory.Q ⋙ G.mapDerivedCategory := |
| 23 | F.mapDerivedCategoryFactors ≪≫ |
| 24 | isoWhiskerRight (NatIso.mapHomologicalComplex e (ComplexShape.up ℤ)) DerivedCategory.Q ≪≫ |
| 25 | G.mapDerivedCategoryFactors.symm |
| 26 | |
| 27 | instance functorIsoBeforeLocalizationCommShift : |
| 28 | NatTrans.CommShift (functorIsoBeforeLocalization e).hom ℤ := by |
| 29 | change NatTrans.CommShift |
| 30 | (F.mapDerivedCategoryFactors.hom ≫ |
| 31 | Functor.whiskerRight (NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℤ)) DerivedCategory.Q ≫ |
| 32 | G.mapDerivedCategoryFactors.inv) ℤ |
| 33 | infer_instance |
| 34 | |
| 35 | def functorIso : F.mapDerivedCategory ≅ G.mapDerivedCategory := |
| 36 | (Localization.fullyFaithfulWhiskeringLeft |
| 37 | (DerivedCategory.Q : CochainComplex C ℤ ⥤ DerivedCategory C) |
| 38 | (HomologicalComplex.quasiIso C (ComplexShape.up ℤ)) (DerivedCategory D)).preimageIso |
| 39 | (functorIsoBeforeLocalization e) |
| 40 | |
| 41 | theorem functorIso_normalization : |
| 42 | Functor.whiskerLeft DerivedCategory.Q (functorIso e).hom = |
| 43 | (functorIsoBeforeLocalization e).hom := |
| 44 | (Localization.fullyFaithfulWhiskeringLeft |
| 45 | (DerivedCategory.Q : CochainComplex C ℤ ⥤ DerivedCategory C) |
| 46 | (HomologicalComplex.quasiIso C (ComplexShape.up ℤ)) (DerivedCategory D)).map_preimage |
| 47 | (functorIsoBeforeLocalization e).hom |
| 48 | |
| 49 | theorem functorIso_hom_app (K : CochainComplex C ℤ) : |
| 50 | (functorIso e).hom.app (DerivedCategory.Q.obj K) = |
| 51 | F.mapDerivedCategoryFactors.hom.app K ≫ |
| 52 | DerivedCategory.Q.map ((NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℤ)).app K) ≫ |
| 53 | G.mapDerivedCategoryFactors.inv.app K := |
| 54 | congr_app (functorIso_normalization e) K |
| 55 | |
| 56 | instance functorIsoCommShift : NatTrans.CommShift (functorIso e).hom ℤ := by |
| 57 | have : NatTrans.CommShift (Functor.whiskerLeft DerivedCategory.Q (functorIso e).hom) ℤ := by |
| 58 | rw [functorIso_normalization] |
| 59 | infer_instance |
| 60 | exact ShiftCoherence.commShift_of_localization |
| 61 | (DerivedCategory.Q : CochainComplex C ℤ ⥤ DerivedCategory C) |
| 62 | (HomologicalComplex.quasiIso C (ComplexShape.up ℤ)) (functorIso e).hom |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.FunctorIso |