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 |
| 2 | |
| 3 | /-! # Exact Injective Resolution -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExactInjectiveResolution |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: transporting actual injective resolutions through exact functors |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe v v' u u' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | {D : Type u'} [Category.{v'} D] [Abelian D] |
| 19 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 20 | [F.PreservesInjectiveObjects] {Z : C} (I : InjectiveResolution Z) |
| 21 | |
| 22 | def sourceIso : |
| 23 | (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ C).obj Z) ≅ |
| 24 | (CochainComplex.single₀ D).obj (F.obj Z) := |
| 25 | (HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app Z |
| 26 | |
| 27 | def map : InjectiveResolution (F.obj Z) where |
| 28 | cocomplex := (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 29 | injective n := Functor.PreservesInjectiveObjects.injective_obj (I.injective n) |
| 30 | ι := (sourceIso F).inv ≫ (F.mapHomologicalComplex (ComplexShape.up ℕ)).map I.ι |
| 31 | |
| 32 | theorem map_ι_zero : (ExactInjectiveResolution.map F I).ι.f 0 = F.map (I.ι.f 0) := by |
| 33 | have h : (sourceIso F (Z := Z)).inv.f 0 = 𝟙 (F.obj Z) := |
| 34 | (HomologicalComplex.singleMapHomologicalComplex_inv_app_self F (ComplexShape.up ℕ) 0 Z).trans |
| 35 | (by |
| 36 | simp only [CochainComplex.single₀ObjXSelf, Iso.refl_hom, Iso.refl_inv] |
| 37 | change 𝟙 (F.obj Z) ≫ F.map (𝟙 Z) = 𝟙 (F.obj Z) |
| 38 | rw [F.map_id, Category.id_comp]) |
| 39 | change (sourceIso F).inv.f 0 ≫ F.map (I.ι.f 0) = _ |
| 40 | exact (congrArg (fun t => t ≫ F.map (I.ι.f 0)) h).trans (Category.id_comp _) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExactInjectiveResolution |