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.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionTransformation |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionComposition |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TotalFinite |
| 4 | |
| 5 | /-! # Total Section -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TotalSection.TotalSectionPullbackNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual integer total comparison commutes with a section pullback and an actual map of coefficient bicomplexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 14 | |
| 15 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 16 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 17 | [HasZeroObject C] [HasZeroObject D] [HasZeroObject E] |
| 18 | [HasFiniteCoproducts C] [HasFiniteCoproducts D] [HasFiniteCoproducts E] |
| 19 | (F : C ⥤ D) (Γ : C ⥤ E) (Λ : D ⥤ E) [F.Additive] [Γ.Additive] [Λ.Additive] |
| 20 | (a : Γ ⟶ F ⋙ Λ) |
| 21 | {K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)} {L : HomologicalComplex₂ D (.up ℕ) (.up ℕ)} |
| 22 | (b : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K ⟶ L) |
| 23 | |
| 24 | def resolvedMap : (F.mapHomologicalComplex (.up ℤ)).obj ((TotalFinite.IntegerTotalFunctor.functor C).obj K) ⟶ |
| 25 | (TotalFinite.IntegerTotalFunctor.functor D).obj L := |
| 26 | (Finite.TotalIso.FiniteTotalExtension.iso F K).inv ≫ (TotalFinite.IntegerTotalFunctor.functor D).map b |
| 27 | |
| 28 | def sectionMap : (Γ.mapHomologicalComplex (.up ℤ)).obj ((TotalFinite.IntegerTotalFunctor.functor C).obj K) ⟶ |
| 29 | (Λ.mapHomologicalComplex (.up ℤ)).obj ((TotalFinite.IntegerTotalFunctor.functor D).obj L) := |
| 30 | (NatTrans.mapHomologicalComplex a (.up ℤ)).app ((TotalFinite.IntegerTotalFunctor.functor C).obj K) ≫ |
| 31 | (Λ.mapHomologicalComplex (.up ℤ)).map (resolvedMap F b) |
| 32 | |
| 33 | def cochainMap : (TotalFinite.IntegerTotalFunctor.functor E).obj (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex Γ K) ⟶ |
| 34 | (TotalFinite.IntegerTotalFunctor.functor E).obj (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex Λ L) := |
| 35 | (TotalFinite.IntegerTotalFunctor.functor E).map |
| 36 | (Finite.TotalTransformation.FiniteTotalTransformation.bicomplexMap a K ≫ Finite.TotalIso.FiniteTotalNaturality.map Λ b) |
| 37 | |
| 38 | theorem comparison_square : cochainMap F Γ Λ a b ≫ (Finite.TotalIso.FiniteTotalExtension.iso Λ L).hom = |
| 39 | (Finite.TotalIso.FiniteTotalExtension.iso Γ K).hom ≫ sectionMap F Γ Λ a b := by |
| 40 | let M := TotalFinite.IntegerTotalFunctor.functor E |
| 41 | let N := Λ.mapHomologicalComplex (.up ℤ) |
| 42 | let m := (TotalFinite.IntegerTotalFunctor.functor D).map b |
| 43 | have h₂ : M.map (Finite.TotalIso.FiniteTotalNaturality.map Λ b) ≫ (Finite.TotalIso.FiniteTotalExtension.iso Λ L).hom = |
| 44 | (Finite.TotalIso.FiniteTotalExtension.iso (F ⋙ Λ) K).hom ≫ N.map (resolvedMap F b) := |
| 45 | (TotalFinite.FiniteTotalExtensionNaturality.naturality Λ b).trans |
| 46 | ((congrArg (fun k => k ≫ N.map m) (Finite.TotalExtensionComposition.FiniteTotalExtensionComposition.hom_inverse F Λ K)).trans |
| 47 | ((Category.assoc _ _ _).trans |
| 48 | (congrArg (fun k => (Finite.TotalIso.FiniteTotalExtension.iso (F ⋙ Λ) K).hom ≫ k) |
| 49 | (N.map_comp (Finite.TotalIso.FiniteTotalExtension.iso F K).inv m).symm))) |
| 50 | have h₃ := Finite.TotalExtensionTransformation.FiniteTotalExtensionTransformation.naturality a K |
| 51 | exact (congrArg (fun k => k ≫ (Finite.TotalIso.FiniteTotalExtension.iso Λ L).hom) |
| 52 | (M.map_comp (Finite.TotalTransformation.FiniteTotalTransformation.bicomplexMap a K) (Finite.TotalIso.FiniteTotalNaturality.map Λ b))).trans |
| 53 | ((Category.assoc _ _ _).trans |
| 54 | ((congrArg (fun k => M.map (Finite.TotalTransformation.FiniteTotalTransformation.bicomplexMap a K) ≫ k) h₂).trans |
| 55 | ((Category.assoc _ _ _).symm.trans |
| 56 | ((congrArg (fun k => k ≫ N.map (resolvedMap F b)) h₃).trans (Category.assoc _ _ _))))) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TotalSection.TotalSectionPullbackNaturality |