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 | |
| 3 | /-! # Derived Zero Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DerivedZeroNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The comparison from degree-zero left derived functors is natural |
| 10 | also in the additive functor being derived. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v u' v' |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasProjectiveResolutions C] |
| 19 | {D : Type u'} [Category.{v'} D] [Abelian D] |
| 20 | {F G : C ⥤ D} [F.Additive] [G.Additive] |
| 21 | |
| 22 | theorem naturality (α : F ⟶ G) (X : C) : |
| 23 | (NatTrans.leftDerived α 0).app X ≫ G.fromLeftDerivedZero.app X = |
| 24 | F.fromLeftDerivedZero.app X ≫ α.app X := by |
| 25 | let P := projectiveResolution X |
| 26 | let K := (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex |
| 27 | let L := (G.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex |
| 28 | let φ : K ⟶ L := (NatTrans.mapHomologicalComplex α (ComplexShape.down ℕ)).app P.complex |
| 29 | have hop : HomologicalComplex.opcyclesMap φ 0 ≫ P.fromLeftDerivedZero' G = |
| 30 | P.fromLeftDerivedZero' F ≫ α.app X := by |
| 31 | rw [← cancel_epi (K.pOpcycles 0), HomologicalComplex.p_opcyclesMap_assoc, |
| 32 | ProjectiveResolution.pOpcycles_comp_fromLeftDerivedZero', |
| 33 | ProjectiveResolution.pOpcycles_comp_fromLeftDerivedZero'_assoc] |
| 34 | exact (α.naturality (P.π.f 0)).symm |
| 35 | have hh : HomologicalComplex.homologyMap φ 0 ≫ L.homologyι 0 ≫ P.fromLeftDerivedZero' G = |
| 36 | K.homologyι 0 ≫ P.fromLeftDerivedZero' F ≫ α.app X := by |
| 37 | rw [HomologicalComplex.homologyι_naturality_assoc, hop] |
| 38 | rw [P.leftDerived_app_eq, P.fromLeftDerivedZero_eq G, P.fromLeftDerivedZero_eq F] |
| 39 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 40 | change (P.isoLeftDerivedObj F 0).hom ≫ HomologicalComplex.homologyMap φ 0 ≫ |
| 41 | L.homologyι 0 ≫ P.fromLeftDerivedZero' G = |
| 42 | (P.isoLeftDerivedObj F 0).hom ≫ K.homologyι 0 ≫ P.fromLeftDerivedZero' F ≫ α.app X |
| 43 | exact congrArg (fun h => (P.isoLeftDerivedObj F 0).hom ≫ h) hh |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DerivedZeroNaturality |