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.Complex.Adjunction |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality |
| 3 | import Mathlib.CategoryTheory.Localization.Adjunction |
| 4 | |
| 5 | /-! # Exact Derived Adjunction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExactDerivedAdjunction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual exact adjunctions descend to the chosen derived-category functors. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe w₁ w₂ u₁ u₂ v₁ v₂ |
| 16 | |
| 17 | variable {C : Type u₁} [Category.{v₁} C] [Abelian C] [HasDerivedCategory.{w₁} C] |
| 18 | {D : Type u₂} [Category.{v₂} D] [Abelian D] [HasDerivedCategory.{w₂} D] |
| 19 | |
| 20 | instance exactFunctorCatCommSq (F : C ⥤ D) |
| 21 | [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] : |
| 22 | CatCommSq (F.mapHomologicalComplex (ComplexShape.up ℤ)) DerivedCategory.Q |
| 23 | DerivedCategory.Q F.mapDerivedCategory := ⟨F.mapDerivedCategoryFactors.symm⟩ |
| 24 | |
| 25 | variable {F : C ⥤ D} {G : D ⥤ C} |
| 26 | [F.Additive] [G.Additive] |
| 27 | [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 28 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 29 | |
| 30 | def exactAdjunction (adj : F ⊣ G) : F.mapDerivedCategory ⊣ G.mapDerivedCategory := |
| 31 | (Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).localization |
| 32 | DerivedCategory.Q (HomologicalComplex.quasiIso C (ComplexShape.up ℤ)) |
| 33 | DerivedCategory.Q (HomologicalComplex.quasiIso D (ComplexShape.up ℤ)) |
| 34 | F.mapDerivedCategory G.mapDerivedCategory |
| 35 | |
| 36 | theorem exactAdjunction_unit (adj : F ⊣ G) (K : CochainComplex C ℤ) : |
| 37 | (exactAdjunction adj).unit.app (DerivedCategory.Q.obj K) = |
| 38 | DerivedCategory.Q.map ((Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).unit.app K) ≫ |
| 39 | G.mapDerivedCategoryFactors.inv.app ((F.mapHomologicalComplex (ComplexShape.up ℤ)).obj K) ≫ |
| 40 | G.mapDerivedCategory.map (F.mapDerivedCategoryFactors.inv.app K) := |
| 41 | Adjunction.localization_unit_app _ _ _ _ _ _ _ K |
| 42 | |
| 43 | theorem exactAdjunction_counit (adj : F ⊣ G) (L : CochainComplex D ℤ) : |
| 44 | (exactAdjunction adj).counit.app (DerivedCategory.Q.obj L) = |
| 45 | F.mapDerivedCategory.map (G.mapDerivedCategoryFactors.hom.app L) ≫ |
| 46 | F.mapDerivedCategoryFactors.hom.app ((G.mapHomologicalComplex (ComplexShape.up ℤ)).obj L) ≫ |
| 47 | DerivedCategory.Q.map ((Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).counit.app L) := |
| 48 | Adjunction.localization_counit_app _ _ _ _ _ _ _ L |
| 49 | |
| 50 | theorem exactAdjunction_homEquiv (adj : F ⊣ G) |
| 51 | {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} |
| 52 | (f : (F.mapHomologicalComplex (ComplexShape.up ℤ)).obj K ⟶ L) : |
| 53 | (exactAdjunction adj).homEquiv (DerivedCategory.Q.obj K) (DerivedCategory.Q.obj L) |
| 54 | (Derived.ResolutionNaturality.Ext.derivedComplexMap F f) = |
| 55 | DerivedCategory.Q.map ((Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).homEquiv K L f) ≫ |
| 56 | G.mapDerivedCategoryFactors.inv.app L := by |
| 57 | let QC : CochainComplex C ℤ ⥤ DerivedCategory C := DerivedCategory.Q |
| 58 | let QD : CochainComplex D ℤ ⥤ DerivedCategory D := DerivedCategory.Q |
| 59 | let a := F.mapDerivedCategoryFactors.app K |
| 60 | let b := G.mapDerivedCategoryFactors.app ((F.mapHomologicalComplex (ComplexShape.up ℤ)).obj K) |
| 61 | let c := G.mapDerivedCategoryFactors.app L |
| 62 | let u := (Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).unit.app K |
| 63 | let t := (G.mapHomologicalComplex (ComplexShape.up ℤ)).map f |
| 64 | have hn : b.inv ≫ G.mapDerivedCategory.map (QD.map f) = QC.map t ≫ c.inv := |
| 65 | (G.mapDerivedCategoryFactors.inv.naturality f).symm |
| 66 | rw [Adjunction.homEquiv_unit, exactAdjunction_unit] |
| 67 | change (QC.map u ≫ b.inv ≫ G.mapDerivedCategory.map a.inv) ≫ |
| 68 | G.mapDerivedCategory.map (a.hom ≫ QD.map f) = |
| 69 | QC.map ((Complex.Adjunction.onComplexes adj (ComplexShape.up ℤ)).homEquiv K L f) ≫ c.inv |
| 70 | erw [G.mapDerivedCategory.map_comp a.hom (QD.map f)] |
| 71 | simp only [Category.assoc, Iso.map_inv_hom_id_assoc] |
| 72 | rw [hn, ← Category.assoc, ← QC.map_comp] |
| 73 | rfl |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Comparison.Betti.ExactDerivedAdjunction |