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.Acyclic.Functor |
| 2 | |
| 3 | /-! # Coefficient Derived Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.CoefficientDerivedNaturality.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The normalized derived coefficient map commutes with actual comparison squares of complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u u' v w w' |
| 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 : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 18 | {K K' : CochainComplex C ℤ} {L L' : CochainComplex D ℤ} |
| 19 | (β : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 20 | (β' : (F.mapHomologicalComplex (.up ℤ)).obj K' ⟶ L') |
| 21 | (e : K ⟶ K') (d : L ⟶ L') |
| 22 | (h : (F.mapHomologicalComplex (.up ℤ)).map e ≫ β' = β ≫ d) |
| 23 | |
| 24 | include h in |
| 25 | theorem coefficientDerivedMap_factor_square : |
| 26 | F.mapDerivedCategory.map (DerivedCategory.Q.map e) ≫ |
| 27 | (F.mapDerivedCategoryFactors.hom.app K' ≫ DerivedCategory.Q.map β') = |
| 28 | (F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map β) ≫ DerivedCategory.Q.map d := by |
| 29 | have hn := F.mapDerivedCategoryFactors.hom.naturality e |
| 30 | change F.mapDerivedCategory.map (DerivedCategory.Q.map e) ≫ F.mapDerivedCategoryFactors.hom.app K' = |
| 31 | F.mapDerivedCategoryFactors.hom.app K ≫ |
| 32 | DerivedCategory.Q.map ((F.mapHomologicalComplex (.up ℤ)).map e) at hn |
| 33 | calc |
| 34 | _ = (F.mapDerivedCategory.map (DerivedCategory.Q.map e) ≫ F.mapDerivedCategoryFactors.hom.app K') ≫ |
| 35 | DerivedCategory.Q.map β' := (Category.assoc _ _ _).symm |
| 36 | _ = (F.mapDerivedCategoryFactors.hom.app K ≫ |
| 37 | DerivedCategory.Q.map ((F.mapHomologicalComplex (.up ℤ)).map e)) ≫ |
| 38 | DerivedCategory.Q.map β' := congrArg (· ≫ DerivedCategory.Q.map β') hn |
| 39 | _ = F.mapDerivedCategoryFactors.hom.app K ≫ |
| 40 | DerivedCategory.Q.map ((F.mapHomologicalComplex (.up ℤ)).map e ≫ β') := |
| 41 | (Category.assoc _ _ _).trans |
| 42 | (congrArg (F.mapDerivedCategoryFactors.hom.app K ≫ ·) |
| 43 | (DerivedCategory.Q.map_comp ((F.mapHomologicalComplex (.up ℤ)).map e) β').symm) |
| 44 | _ = F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map (β ≫ d) := |
| 45 | congrArg (fun a => F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map a) h |
| 46 | _ = _ := (congrArg (F.mapDerivedCategoryFactors.hom.app K ≫ ·) |
| 47 | (DerivedCategory.Q.map_comp β d)).trans (Category.assoc _ _ _).symm |
| 48 | |
| 49 | theorem derivedShiftedHom_map_postcomp {A : DerivedCategory C} {n : ℤ} |
| 50 | (x : A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) : |
| 51 | ShiftedHom.map (x ≫ (DerivedCategory.Q.map e)⟦n⟧') F.mapDerivedCategory = |
| 52 | ShiftedHom.map x F.mapDerivedCategory ≫ |
| 53 | (F.mapDerivedCategory.map (DerivedCategory.Q.map e))⟦n⟧' := by |
| 54 | have h := ShiftedHom.map_comp x (ShiftedHom.mk₀ (0 : ℤ) rfl (DerivedCategory.Q.map e)) |
| 55 | (zero_add n) F.mapDerivedCategory |
| 56 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using h |
| 57 | |
| 58 | include h in |
| 59 | theorem coefficientDerivedMap_naturality (A : C) (A' : D) (a : A' ⟶ F.obj A) (n : ℤ) |
| 60 | (x : (DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) : |
| 61 | Acyclic.Functor.Ext.coefficientDerivedMap F A A' a K' L' β' n (x ≫ (DerivedCategory.Q.map e)⟦n⟧') = |
| 62 | Acyclic.Functor.Ext.coefficientDerivedMap F A A' a K L β n x ≫ (DerivedCategory.Q.map d)⟦n⟧' := by |
| 63 | unfold Acyclic.Functor.Ext.coefficientDerivedMap |
| 64 | rw [derivedShiftedHom_map_postcomp F e] |
| 65 | have hs := congrArg (fun t => t⟦n⟧') (coefficientDerivedMap_factor_square F β β' e d h) |
| 66 | let S := shiftFunctor (DerivedCategory D) n |
| 67 | have hs' := (S.map_comp (F.mapDerivedCategory.map (DerivedCategory.Q.map e)) |
| 68 | (F.mapDerivedCategoryFactors.hom.app K' ≫ DerivedCategory.Q.map β')).symm.trans |
| 69 | (hs.trans (S.map_comp (F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map β) |
| 70 | (DerivedCategory.Q.map d))) |
| 71 | simp only [Category.assoc] |
| 72 | exact congrArg (fun t => (DerivedCategory.singleFunctor D 0).map a ≫ |
| 73 | (F.mapDerivedCategorySingleFunctor 0).inv.app A ≫ ShiftedHom.map x F.mapDerivedCategory ≫ t) hs' |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Comparison.Betti.CoefficientDerivedNaturality.Ext |