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.ResolutionFunctor |
| 2 | |
| 3 | /-! # Resolution Cocycle Class -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ResolutionCocycleClass.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Derived cohomology classes formed from actual resolution cocycles. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 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 | {X Y : C} {K : CochainComplex C ℤ} {n : ℤ} |
| 18 | |
| 19 | def resolutionCocycleHom (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) [QuasiIso a] |
| 20 | (f : X ⟶ K.X n) (hf : f ≫ K.d n (n + 1) = 0) : |
| 21 | (DerivedCategory.singleFunctor C 0).obj X ⟶ |
| 22 | ((DerivedCategory.singleFunctor C 0).obj Y)⟦n⟧ := by |
| 23 | let Q : CochainComplex C ℤ ⥤ DerivedCategory C := DerivedCategory.Q |
| 24 | have ha : IsIso (Q.map a) := (DerivedCategory.isIso_Q_map_iff_quasiIso C a).mpr inferInstance |
| 25 | exact ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom f hf) Q ≫ |
| 26 | (@CategoryTheory.inv _ _ _ _ (Q.map a) ha)⟦n⟧' |
| 27 | |
| 28 | variable (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 29 | |
| 30 | theorem resolutionCocycleHom_map (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ K) [QuasiIso a] |
| 31 | (f : X ⟶ K.X n) (hf : f ≫ K.d n (n + 1) = 0) : |
| 32 | (F.mapDerivedCategorySingleFunctor 0).inv.app X ≫ |
| 33 | ShiftedHom.map (resolutionCocycleHom a f hf) F.mapDerivedCategory ≫ |
| 34 | ((F.mapDerivedCategorySingleFunctor 0).hom.app Y)⟦n⟧' = |
| 35 | resolutionCocycleHom (Derived.ResolutionFunctor.Ext.mappedAugmentation F a) (F.map f) |
| 36 | (by change F.map f ≫ F.map (K.d n (n + 1)) = 0; rw [← F.map_comp, hf, F.map_zero]) := by |
| 37 | let c := ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom f hf) (DerivedCategory.Q (C := C)) |
| 38 | let q := inv (DerivedCategory.Q.map a) |
| 39 | let S := shiftFunctor (DerivedCategory D) n |
| 40 | have hm : ShiftedHom.map (c ≫ q⟦n⟧') F.mapDerivedCategory = |
| 41 | ShiftedHom.map c F.mapDerivedCategory ≫ (F.mapDerivedCategory.map q)⟦n⟧' := by |
| 42 | have h := ShiftedHom.map_comp c (ShiftedHom.mk₀ (0 : ℤ) rfl q) (zero_add n) F.mapDerivedCategory |
| 43 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using h |
| 44 | change (F.mapDerivedCategorySingleFunctor 0).inv.app X ≫ |
| 45 | ShiftedHom.map (c ≫ q⟦n⟧') F.mapDerivedCategory ≫ |
| 46 | S.map ((F.mapDerivedCategorySingleFunctor 0).hom.app Y) = _ |
| 47 | erw [hm, Category.assoc (ShiftedHom.map c F.mapDerivedCategory) |
| 48 | (S.map (F.mapDerivedCategory.map q)) (S.map ((F.mapDerivedCategorySingleFunctor 0).hom.app Y)), |
| 49 | ← S.map_comp (F.mapDerivedCategory.map q) |
| 50 | ((F.mapDerivedCategorySingleFunctor 0).hom.app Y), Derived.ResolutionFunctor.Ext.mappedAugmentation_derived_inverse, |
| 51 | S.map_comp] |
| 52 | erw [← Category.assoc (ShiftedHom.map c F.mapDerivedCategory) |
| 53 | (S.map (F.mapDerivedCategoryFactors.hom.app K)) |
| 54 | (S.map (inv (DerivedCategory.Q.map (Derived.ResolutionFunctor.Ext.mappedAugmentation F a)))), |
| 55 | ← Category.assoc ((F.mapDerivedCategorySingleFunctor 0).inv.app X) |
| 56 | (ShiftedHom.map c F.mapDerivedCategory ≫ S.map (F.mapDerivedCategoryFactors.hom.app K)) |
| 57 | (S.map (inv (DerivedCategory.Q.map (Derived.ResolutionFunctor.Ext.mappedAugmentation F a)))), |
| 58 | Derived.CocycleFunctor.Ext.singleCocycleHom_derived_map F f hf] |
| 59 | rfl |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Comparison.Betti.ResolutionCocycleClass.Ext |