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.ConstantComplexEvaluated |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BifunctorDiagonalApp |
| 3 | |
| 4 | /-! # Constant Complex Diagonal -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexDiagonal.ConstantComplexDiagonalNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Diagonal evaluation preserves a commutative square of constant-source |
| 11 | maps of presheaf complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w z |
| 16 | variable {C : Type u} [Category.{v} C] {A : Type w} [Category.{z} A] [Preadditive A] |
| 17 | (D D' : C ⥤ CochainComplex A ℕ) (P P' : C ⥤ CochainComplex (C ⥤ A) ℕ) |
| 18 | |
| 19 | local instance constPreservesZero : (Functor.const C : A ⥤ C ⥤ A).PreservesZeroMorphisms where |
| 20 | map_zero _ _ := rfl |
| 21 | |
| 22 | variable |
| 23 | (a : D ⋙ (Functor.const C : A ⥤ C ⥤ A).mapHomologicalComplex (.up ℕ) ⟶ P) |
| 24 | (a' : D' ⋙ (Functor.const C : A ⥤ C ⥤ A).mapHomologicalComplex (.up ℕ) ⟶ P') |
| 25 | (d : D ⟶ D') (b : P ⟶ P') |
| 26 | (h : a ≫ b = Functor.whiskerRight d ((Functor.const C : A ⥤ C ⥤ A).mapHomologicalComplex (.up ℕ)) ≫ a') |
| 27 | |
| 28 | def diagonalMap := BifunctorDiagonalApp.BifunctorDiagonalMap.map |
| 29 | ((flipFunctor _ _ _).map (Functor.whiskerRight b HomologicalComplex.complexOfFunctorsToFunctorToComplex)) |
| 30 | |
| 31 | include h in |
| 32 | theorem transformation : ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation D P a ≫ diagonalMap P P' b = |
| 33 | d ≫ ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation D' P' a' := by |
| 34 | apply NatTrans.ext |
| 35 | funext I |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext i |
| 38 | have hi := congrArg (fun q => ((q.app I).f i).app I) h |
| 39 | change ((a.app I).f i).app I ≫ ((b.app I).f i).app I = |
| 40 | (d.app I).f i ≫ ((a'.app I).f i).app I at hi |
| 41 | change ((((a.app I).f i).app I ≫ 𝟙 _) ≫ ((b.app I).f i).app I) = |
| 42 | (d.app I).f i ≫ (((a'.app I).f i).app I ≫ 𝟙 _) |
| 43 | exact (congrArg (fun q => q ≫ ((b.app I).f i).app I) |
| 44 | (Category.comp_id (((a.app I).f i).app I))).trans |
| 45 | (hi.trans (congrArg (fun q => (d.app I).f i ≫ q) |
| 46 | (Category.comp_id (((a'.app I).f i).app I)).symm)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexDiagonal.ConstantComplexDiagonalNaturality |