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 Mathlib.CategoryTheory.Abelian.LeftDerived |
| 2 | import Mathlib.CategoryTheory.Preadditive.Projective.Resolution |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 4 | |
| 5 | /-! # Derived Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DerivedBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A commuting square of additive functors gives a comparison of left |
| 12 | derived functors when the vertical functors preserve the required exactness |
| 13 | and projective objects. The comparison is constructed from projective |
| 14 | resolutions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | universe v₁ v₂ v₃ v₄ u₁ u₂ u₃ u₄ |
| 19 | |
| 20 | variable {C : Type u₁} [Category.{v₁} C] [Abelian C] [EnoughProjectives C] |
| 21 | {D : Type u₂} [Category.{v₂} D] [Abelian D] |
| 22 | {C' : Type u₃} [Category.{v₃} C'] [Abelian C'] [EnoughProjectives C'] |
| 23 | {D' : Type u₄} [Category.{v₄} D'] [Abelian D'] |
| 24 | |
| 25 | def leftDerivedIso (F : C ⥤ D) (F' : C' ⥤ D') (H : C ⥤ C') (G : D ⥤ D') |
| 26 | [F.Additive] [F'.Additive] [H.Additive] [G.Additive] |
| 27 | [H.PreservesProjectiveObjects] [H.PreservesHomology] [G.PreservesHomology] |
| 28 | (e : H ⋙ F' ≅ F ⋙ G) (M : C) (n : ℕ) : |
| 29 | (F'.leftDerived n).obj (H.obj M) ≅ G.obj ((F.leftDerived n).obj M) := by |
| 30 | let P := projectiveResolution M |
| 31 | let K := (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex |
| 32 | refine (H.mapProjectiveResolution P).isoLeftDerivedObj F' n ≪≫ ?_ ≪≫ |
| 33 | G.mapIso (P.isoLeftDerivedObj F n).symm |
| 34 | refine (HomologicalComplex.homologyFunctor D' (ComplexShape.down ℕ) n).mapIso |
| 35 | ((Functor.mapHomologicalComplexCompIso e (ComplexShape.down ℕ)).app P.complex) ≪≫ ?_ |
| 36 | exact (K.sc n).mapHomologyIso G |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DerivedBaseChange |