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.TotalIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.InverseHom |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Total Finite -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.GeometricComparison.TotalFinite.FiniteTotalExtensionNaturality |
| 12 | |
| 13 | /-! Naturality of the total comparison after extending to the native integer grading. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 16 | |
| 17 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 18 | [HasZeroObject C] [HasZeroObject D] [HasFiniteCoproducts C] [HasFiniteCoproducts D] |
| 19 | (F : C ⥤ D) [F.Additive] |
| 20 | |
| 21 | local instance (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 22 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 23 | local instance (K : HomologicalComplex₂ D (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 24 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 25 | |
| 26 | theorem naturality {K L : HomologicalComplex₂ C (.up ℕ) (.up ℕ)} (φ : K ⟶ L) : |
| 27 | HomologicalComplex.extendMap (total.map (Finite.TotalIso.FiniteTotalNaturality.map F φ) (.up ℕ)) |
| 28 | ComplexShape.embeddingUpNat ≫ (Finite.TotalIso.FiniteTotalExtension.iso F L).hom = |
| 29 | (Finite.TotalIso.FiniteTotalExtension.iso F K).hom ≫ |
| 30 | (F.mapHomologicalComplex (.up ℤ)).map |
| 31 | (HomologicalComplex.extendMap (total.map φ (.up ℕ)) ComplexShape.embeddingUpNat) := by |
| 32 | let E := ComplexShape.embeddingUpNat.extendFunctor D |
| 33 | have h₁ := congrArg E.map (Finite.TotalIso.FiniteTotalNaturality.naturality F φ) |
| 34 | simp only [Functor.map_comp] at h₁ |
| 35 | have h₂ := InverseHom.InverseHomCongr.inverse_square |
| 36 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat (K.total (.up ℕ))) |
| 37 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat (L.total (.up ℕ))) _ _ |
| 38 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso_naturality F ComplexShape.embeddingUpNat (total.map φ (.up ℕ))).symm |
| 39 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 40 | |
| 41 | end NumberTheory.PadicHodge.GeometricComparison.TotalFinite.FiniteTotalExtensionNaturality |
| 42 | |
| 43 | namespace NumberTheory.PadicHodge.GeometricComparison.TotalFinite.IntegerTotalFunctor |
| 44 | |
| 45 | /-! The actual finite-diagonal total complex, extended to integers, as a functor. -/ |
| 46 | |
| 47 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 48 | |
| 49 | variable (C : Type*) [Category* C] [Preadditive C] [HasZeroObject C] [HasFiniteCoproducts C] |
| 50 | |
| 51 | local instance (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 52 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 53 | |
| 54 | def functor : HomologicalComplex₂ C (.up ℕ) (.up ℕ) ⥤ CochainComplex C ℤ := |
| 55 | totalFunctor C (.up ℕ) (.up ℕ) (.up ℕ) ⋙ ComplexShape.embeddingUpNat.extendFunctor C |
| 56 | |
| 57 | variable {C} {D : Type*} [Category* D] [Preadditive D] [HasZeroObject D] [HasFiniteCoproducts D] |
| 58 | (F : C ⥤ D) [F.Additive] |
| 59 | |
| 60 | def scalarIso : |
| 61 | (F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ) ⋙ functor D ≅ |
| 62 | functor C ⋙ F.mapHomologicalComplex (.up ℤ) := |
| 63 | NatIso.ofComponents (Finite.TotalIso.FiniteTotalExtension.iso F) |
| 64 | (fun {_ _} φ => FiniteTotalExtensionNaturality.naturality F φ) |
| 65 | |
| 66 | end NumberTheory.PadicHodge.GeometricComparison.TotalFinite.IntegerTotalFunctor |
| 67 | |
| 68 | namespace NumberTheory.PadicHodge.GeometricComparison.TotalFinite.TotalScalarComparison |
| 69 | |
| 70 | /-! Transport a bicomplex scalar isomorphism through the canonical integer total comparison. -/ |
| 71 | |
| 72 | open _root_.CategoryTheory Limits |
| 73 | |
| 74 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 75 | [HasZeroObject C] [HasZeroObject D] [HasFiniteCoproducts C] [HasFiniteCoproducts D] |
| 76 | (F : C ⥤ D) [F.Additive] |
| 77 | |
| 78 | def iso {K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)} |
| 79 | {L : HomologicalComplex₂ D (.up ℕ) (.up ℕ)} (e : ((F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).obj K ≅ L) : |
| 80 | (F.mapHomologicalComplex (.up ℤ)).obj ((IntegerTotalFunctor.functor C).obj K) ≅ (IntegerTotalFunctor.functor D).obj L := |
| 81 | ((IntegerTotalFunctor.scalarIso F).app K).symm ≪≫ (IntegerTotalFunctor.functor D).mapIso e |
| 82 | |
| 83 | theorem naturality {K K' : HomologicalComplex₂ C (.up ℕ) (.up ℕ)} |
| 84 | {L L' : HomologicalComplex₂ D (.up ℕ) (.up ℕ)} |
| 85 | (e : ((F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).obj K ≅ L) (e' : ((F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).obj K' ≅ L') (φ : K ⟶ K') (ψ : L ⟶ L') |
| 86 | (h : ((F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).map φ ≫ e'.hom = e.hom ≫ ψ) : |
| 87 | (F.mapHomologicalComplex (.up ℤ)).map ((IntegerTotalFunctor.functor C).map φ) ≫ (iso F e').hom = |
| 88 | (iso F e).hom ≫ (IntegerTotalFunctor.functor D).map ψ := by |
| 89 | have h₁ := (IntegerTotalFunctor.scalarIso F).inv.naturality φ |
| 90 | have h₂ := congrArg (IntegerTotalFunctor.functor D).map h |
| 91 | simp only [Functor.map_comp] at h₂ |
| 92 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 93 | |
| 94 | end NumberTheory.PadicHodge.GeometricComparison.TotalFinite.TotalScalarComparison |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI |