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 | |
| 3 | /-! # Total Transformation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalTransformation.FiniteTotalTransformation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite total comparison is natural in an actual transformation between additive coefficient functors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 12 | |
| 13 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 14 | [HasFiniteCoproducts C] [HasFiniteCoproducts D] |
| 15 | {F G : C ⥤ D} [F.Additive] [G.Additive] (a : F ⟶ G) |
| 16 | |
| 17 | local instance (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 18 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 19 | local instance (K : HomologicalComplex₂ D (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 20 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 21 | |
| 22 | def bicomplexMap (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 23 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K ⟶ AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G K := |
| 24 | (NatTrans.mapHomologicalComplex (NatTrans.mapHomologicalComplex a (.up ℕ)) (.up ℕ)).app K |
| 25 | |
| 26 | theorem naturality (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 27 | total.map (bicomplexMap a K) (.up ℕ) ≫ (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G K).hom = |
| 28 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).hom ≫ |
| 29 | (NatTrans.mapHomologicalComplex a (.up ℕ)).app (K.total (.up ℕ)) := by |
| 30 | ext n : 1 |
| 31 | apply total.hom_ext |
| 32 | intro q p h |
| 33 | change (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 34 | (total.map (bicomplexMap a K) (.up ℕ)).f n ≫ AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonComponent G K n = |
| 35 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) q p n h ≫ |
| 36 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonComponent F K n ≫ a.app ((K.total (.up ℕ)).X n) |
| 37 | rw [← Category.assoc, ιTotal_map, Category.assoc, AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.ι_finiteTotalComparisonComponent, |
| 38 | ← Category.assoc, AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.ι_finiteTotalComparisonComponent] |
| 39 | exact (a.naturality (K.ιTotal (.up ℕ) q p n h)).symm |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalTransformation.FiniteTotalTransformation |