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 | /-! # Complex Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: degree zero of an augmentation transported through an additive functor |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v u' v' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | {D : Type u'} [Category.{v'} D] [Abelian D] (F : C ⥤ D) [F.Additive] |
| 19 | {Z : C} {Z' : D} (e : F.obj Z ≅ Z') |
| 20 | |
| 21 | def sourceIso : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ C).obj Z) ≅ |
| 22 | (CochainComplex.single₀ D).obj Z' := |
| 23 | (HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app Z ≪≫ |
| 24 | (CochainComplex.single₀ D).mapIso e |
| 25 | |
| 26 | theorem sourceIso_inv_zero : (sourceIso F e).inv.f 0 = e.inv := by |
| 27 | have h : ((HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app Z).inv.f 0 = |
| 28 | 𝟙 (F.obj Z) := |
| 29 | (HomologicalComplex.singleMapHomologicalComplex_inv_app_self F (ComplexShape.up ℕ) 0 Z).trans |
| 30 | (by |
| 31 | simp only [CochainComplex.single₀ObjXSelf, Iso.refl_hom, Iso.refl_inv] |
| 32 | change 𝟙 (F.obj Z) ≫ F.map (𝟙 Z) = 𝟙 (F.obj Z) |
| 33 | rw [F.map_id, Category.id_comp]) |
| 34 | change ((CochainComplex.single₀ D).map e.inv).f 0 ≫ |
| 35 | ((HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app Z).inv.f 0 = e.inv |
| 36 | exact (congrArg₂ (fun a b => a ≫ b) (CochainComplex.single₀_map_f_zero e.inv) h).trans (Category.comp_id _) |
| 37 | |
| 38 | variable {K : CochainComplex C ℕ} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 39 | |
| 40 | def map : (CochainComplex.single₀ D).obj Z' ⟶ (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K := |
| 41 | (sourceIso F e).inv ≫ (F.mapHomologicalComplex (ComplexShape.up ℕ)).map ι |
| 42 | |
| 43 | theorem map_zero : (ComplexTransport.map F e ι).f 0 = e.inv ≫ F.map (ι.f 0) := |
| 44 | congrArg (fun a => a ≫ F.map (ι.f 0)) (sourceIso_inv_zero F e) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransport |