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.IntersectionTheory.ProjectionFormula.Tensor.SpectralObject |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.ShiftedHom |
| 3 | |
| 4 | /-! # Spectral Connecting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralConnecting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native formulas for the connecting maps of the filtered tensor |
| 11 | spectral object. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.ComposableArrows _root_.CochainComplex |
| 17 | |
| 18 | variable (R : Type) [CommRing R] (K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 19 | {ι : Type*} [Category* ι] (D : ι ⥤ CochainComplex (ModuleCat.{0} R) ℤ) |
| 20 | {i j k : ι} (f : i ⟶ j) (g : j ⟶ k) |
| 21 | |
| 22 | theorem precomp_δ : |
| 23 | ((HomotopyCategory.spectralObjectMappingCone (ModuleCat.{0} R)).precomp D).δ f g = |
| 24 | _root_.CategoryTheory.ShiftedHom.map (mappingConeCompTriangle (D.map f) (D.map g)).mor₃ |
| 25 | (HomotopyCategory.quotient _ _) := by |
| 26 | change (HomotopyCategory.quotient _ _).map |
| 27 | (mappingCone.map (D.map g) (D.map g) (𝟙 _) (𝟙 _) (by simp)) ≫ |
| 28 | ((HomotopyCategory.quotient _ _).mapTriangle.obj |
| 29 | (mappingConeCompTriangle (D.map f) (D.map g))).mor₃ ≫ |
| 30 | (CategoryTheory.shiftFunctor (HomotopyCategory (ModuleCat.{0} R) (.up ℤ)) (1 : ℤ)).map |
| 31 | ((HomotopyCategory.quotient _ _).map |
| 32 | (mappingCone.map (D.map f) (D.map f) (𝟙 _) (𝟙 _) (by simp))) = _ |
| 33 | simp only [mappingCone.map_id, CategoryTheory.Functor.map_id, |
| 34 | Category.id_comp] |
| 35 | change _root_.CategoryTheory.ShiftedHom.map (mappingConeCompTriangle (D.map f) (D.map g)).mor₃ |
| 36 | (HomotopyCategory.quotient _ _) ≫ |
| 37 | (CategoryTheory.shiftFunctor (HomotopyCategory (ModuleCat.{0} R) (.up ℤ)) (1 : ℤ)).map |
| 38 | ((HomotopyCategory.quotient _ _).map (𝟙 (mappingConeCompTriangle (D.map f) (D.map g)).obj₁)) = _ |
| 39 | rw [CategoryTheory.Functor.map_id, CategoryTheory.Functor.map_id, Category.comp_id] |
| 40 | |
| 41 | theorem triangulated_δ : |
| 42 | (Tensor.SpectralObject.triangulated R K D).δ f g = |
| 43 | _root_.CategoryTheory.ShiftedHom.map |
| 44 | (_root_.CategoryTheory.ShiftedHom.map (mappingConeCompTriangle (D.map f) (D.map g)).mor₃ |
| 45 | (Homotopy.complexFunctor R K)) |
| 46 | (HomotopyCategory.quotient _ _) := by |
| 47 | change (((HomotopyCategory.spectralObjectMappingCone (ModuleCat.{0} R)).precomp D).mapTriangulatedFunctor |
| 48 | (Homotopy.homotopyFunctor R K)).δ f g = _ |
| 49 | rw [Triangulated.SpectralObject.mapTriangulatedFunctor_δ, precomp_δ] |
| 50 | exact Tensor.ShiftedHom.map R K _ |
| 51 | |
| 52 | @[reassoc] |
| 53 | theorem abelian_δ (n m : ℤ) (h : n + 1 = m) : |
| 54 | (Tensor.SpectralObject.abelian R K D).δ f g n m h ≫ |
| 55 | (Tensor.SpectralObject.termIso R K D f m).hom = |
| 56 | (Tensor.SpectralObject.termIso R K D g n).hom ≫ |
| 57 | (HomologicalComplex.homologyFunctor (ModuleCat.{0} R) (.up ℤ) 0).shiftMap |
| 58 | (_root_.CategoryTheory.ShiftedHom.map (mappingConeCompTriangle (D.map f) (D.map g)).mor₃ |
| 59 | (Homotopy.complexFunctor R K)) n m (by omega) := by |
| 60 | change (HomotopyCategory.homologyFunctor (ModuleCat.{0} R) (.up ℤ) 0).shiftMap |
| 61 | ((Tensor.SpectralObject.triangulated R K D).δ f g) n m (by omega) ≫ _ = _ |
| 62 | rw [triangulated_δ, HomotopyCategory.homologyFunctor_shiftMap] |
| 63 | simp only [Tensor.SpectralObject.termIso, Iso.app_hom, Category.assoc] |
| 64 | change (HomotopyCategory.homologyFunctorFactors (ModuleCat.{0} R) (.up ℤ) n).hom.app |
| 65 | ((Homotopy.complexFunctor R K).obj (mappingCone (D.map g))) ≫ _ ≫ |
| 66 | (HomotopyCategory.homologyFunctorFactors (ModuleCat.{0} R) (.up ℤ) m).inv.app |
| 67 | ((Homotopy.complexFunctor R K).obj (mappingCone (D.map f))) ≫ |
| 68 | (HomotopyCategory.homologyFunctorFactors (ModuleCat.{0} R) (.up ℤ) m).hom.app |
| 69 | ((Homotopy.complexFunctor R K).obj (mappingCone (D.map f))) = _ |
| 70 | rw [Iso.inv_hom_id_app, Category.comp_id] |
| 71 | rfl |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralConnecting |