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.TotalComplexFunctor |
| 2 | |
| 3 | /-! # Total Coefficient Composition -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition.TotalCoefficientComparisonNaturality |
| 10 | |
| 11 | /-! The original total/coefficient comparison is natural in bicomplex |
| 12 | maps and in transformations of additive coefficient functors. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex₂ |
| 15 | |
| 16 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 17 | [HasCoproducts.{0} C] [HasCoproducts.{0} D] |
| 18 | (F : C ⥤ D) [F.Additive] |
| 19 | {K L : HomologicalComplex₂ C (.up ℕ) (.up ℕ)} (a : K ⟶ L) |
| 20 | |
| 21 | def bicomplexMap : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K ⟶ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F L := |
| 22 | ((F.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).map a |
| 23 | |
| 24 | theorem natural : HomologicalComplex₂.total.map (bicomplexMap F a) (.up ℕ) ≫ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison F L = |
| 25 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison F K ≫ (F.mapHomologicalComplex (.up ℕ)).map (HomologicalComplex₂.total.map a (.up ℕ)) := by |
| 26 | apply HomologicalComplex.Hom.ext |
| 27 | funext n |
| 28 | apply total.hom_ext |
| 29 | intro q p h |
| 30 | change (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 31 | ((HomologicalComplex₂.total.map (bicomplexMap F a) (.up ℕ)).f n ≫ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent F L n) = |
| 32 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 33 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent F K n ≫ F.map ((HomologicalComplex₂.total.map a (.up ℕ)).f n)) |
| 34 | rw [← Category.assoc, HomologicalComplex₂.ιTotal_map, Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent, |
| 35 | ← Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent] |
| 36 | change F.map ((a.f q).f p) ≫ F.map (L.ιTotal (.up ℕ) q p n h) = |
| 37 | F.map (K.ιTotal (.up ℕ) q p n h) ≫ F.map ((HomologicalComplex₂.total.map a (.up ℕ)).f n) |
| 38 | exact (F.map_comp _ _).symm.trans |
| 39 | ((congrArg F.map (HomologicalComplex₂.ιTotal_map K L a (.up ℕ) q p n h).symm).trans (F.map_comp _ _)) |
| 40 | |
| 41 | variable (G : C ⥤ D) [G.Additive] (α : F ⟶ G) (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 42 | |
| 43 | def coefficientMap : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K ⟶ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G K := |
| 44 | ((α.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).app K |
| 45 | |
| 46 | theorem coefficients : HomologicalComplex₂.total.map (coefficientMap F G α K) (.up ℕ) ≫ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison G K = |
| 47 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison F K ≫ (α.mapHomologicalComplex (.up ℕ)).app (K.total (.up ℕ)) := by |
| 48 | apply HomologicalComplex.Hom.ext |
| 49 | funext n |
| 50 | apply total.hom_ext |
| 51 | intro q p h |
| 52 | change (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 53 | ((HomologicalComplex₂.total.map (coefficientMap F G α K) (.up ℕ)).f n ≫ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent G K n) = |
| 54 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 55 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent F K n ≫ α.app ((K.total (.up ℕ)).X n)) |
| 56 | rw [← Category.assoc, HomologicalComplex₂.ιTotal_map, Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent, |
| 57 | ← Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent] |
| 58 | exact (α.naturality (K.ιTotal (.up ℕ) q p n h)).symm |
| 59 | |
| 60 | end NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition.TotalCoefficientComparisonNaturality |
| 61 | |
| 62 | namespace NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition.TotalCoefficientComparisonComposition |
| 63 | |
| 64 | /-! The original total/coefficient comparison respects composition of |
| 65 | additive coefficient functors. -/ |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex₂ |
| 68 | |
| 69 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 70 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 71 | [HasCoproducts.{0} C] [HasCoproducts.{0} D] [HasCoproducts.{0} E] |
| 72 | (F : C ⥤ D) [F.Additive] (G : D ⥤ E) [G.Additive] |
| 73 | (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 74 | |
| 75 | theorem comparison : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison (F ⋙ G) K = |
| 76 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K) ≫ |
| 77 | (G.mapHomologicalComplex (.up ℕ)).map (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparison F K) := by |
| 78 | apply HomologicalComplex.Hom.ext |
| 79 | funext n |
| 80 | apply total.hom_ext |
| 81 | intro q p h |
| 82 | change (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (F ⋙ G) K).ιTotal (.up ℕ) q p n h ≫ |
| 83 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent (F ⋙ G) K n = |
| 84 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)).ιTotal (.up ℕ) q p n h ≫ |
| 85 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K) n ≫ |
| 86 | G.map (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent F K n)) |
| 87 | rw [AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent, ← Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent] |
| 88 | exact (congrArg G.map (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent F K q p n h)).symm.trans (G.map_comp _ _) |
| 89 | |
| 90 | end NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition.TotalCoefficientComparisonComposition |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI |