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 Mathlib.Algebra.Homology.Functor |
| 2 | import Mathlib.CategoryTheory.Preadditive.FunctorCategory |
| 3 | import Mathlib.CategoryTheory.Functor.Currying |
| 4 | |
| 5 | /-! # Complex Bifunctor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Applying a presheaf-valued section functor to a diagram of |
| 12 | complexes gives a bifunctor, with the section variable first. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u v w z r s t q |
| 17 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 18 | {A : Type r} [Category.{s} A] [Preadditive A] |
| 19 | {B : Type t} [Category.{q} B] [Preadditive B] |
| 20 | (S : A ⥤ D ⥤ B) [S.Additive] (P : C ⥤ CochainComplex A ℕ) |
| 21 | |
| 22 | def functor : D ⥤ C ⥤ CochainComplex B ℕ := |
| 23 | (P ⋙ S.mapHomologicalComplex (.up ℕ) ⋙ |
| 24 | HomologicalComplex.complexOfFunctorsToFunctorToComplex).flip |
| 25 | |
| 26 | def rowIso (I : D) : (functor S P).obj I ≅ |
| 27 | P ⋙ (S ⋙ (evaluation D B).obj I).mapHomologicalComplex (.up ℕ) := |
| 28 | NatIso.ofComponents (fun _ => Iso.refl _) (by |
| 29 | intro X Y f |
| 30 | exact (Category.comp_id _).trans (Category.id_comp _).symm) |
| 31 | |
| 32 | theorem row_map (I : D) {X Y : C} (f : X ⟶ Y) : |
| 33 | ((functor S P).obj I).map f = |
| 34 | ((S ⋙ (evaluation D B).obj I).mapHomologicalComplex (.up ℕ)).map (P.map f) := rfl |
| 35 | |
| 36 | theorem restriction_f {I J : D} (f : I ⟶ J) (X : C) (n : ℕ) : |
| 37 | (((functor S P).map f).app X).f n = (S.obj ((P.obj X).X n)).map f := rfl |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor |