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.IntegralComparison.Single.ComplexTransport |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionToInjective |
| 3 | |
| 4 | /-! # Exact Resolution Transport -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExactResolutionTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An exact functor transports an augmented injective resolution to a |
| 11 | resolution, which maps into any target injective resolution. Preservation |
| 12 | of injective objects is not required. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v u' v' |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 19 | {D : Type u'} [Category.{v'} D] [Abelian D] |
| 20 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 21 | {Y : C} {Y' : D} (s : F.obj Y ≅ Y') |
| 22 | (I : InjectiveResolution Y) (I' : InjectiveResolution Y') |
| 23 | |
| 24 | def complex : CochainComplex D ℕ := (F.mapHomologicalComplex (.up ℕ)).obj I.cocomplex |
| 25 | |
| 26 | def augmentation : (CochainComplex.single₀ D).obj Y' ⟶ complex F I := |
| 27 | Single.ComplexTransport.map F s I.ι |
| 28 | |
| 29 | instance augmentation_quasiIso : QuasiIso (augmentation F s I) := by |
| 30 | let : QuasiIso I.ι := I.quasiIso |
| 31 | let : F.PreservesHomology := inferInstance |
| 32 | have h₁ : QuasiIso ((Single.ComplexTransport.sourceIso F s).inv) := inferInstance |
| 33 | have h₂ : QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map I.ι) := inferInstance |
| 34 | exact quasiIso_comp (Single.ComplexTransport.sourceIso F s).inv |
| 35 | ((F.mapHomologicalComplex (.up ℕ)).map I.ι) (hφ := h₁) (hφ' := h₂) |
| 36 | |
| 37 | def map : complex F I ⟶ I'.cocomplex := |
| 38 | Augmented.ResolutionToInjective.map (complex F I) (augmentation F s I) I' (𝟙 _) |
| 39 | |
| 40 | theorem map_augmentation : augmentation F s I ≫ ExactResolutionTransport.map F s I I' = I'.ι := |
| 41 | (Augmented.ResolutionToInjective.augmentation (complex F I) (augmentation F s I) I' (𝟙 _)).trans |
| 42 | ((congrArg (fun a => a ≫ I'.ι) ((CochainComplex.single₀ D).map_id _)).trans (Category.id_comp _)) |
| 43 | |
| 44 | omit [Abelian D] in |
| 45 | private theorem iso_square {A B V W : D} (e : A ≅ B) |
| 46 | (a : A ⟶ V) (b : V ⟶ W) (d : B ⟶ W) |
| 47 | (h : (e.inv ≫ a) ≫ b = d) : a ≫ b = e.hom ≫ d := by |
| 48 | rw [← h, ← Category.assoc, ← Category.assoc, e.hom_inv_id, Category.id_comp] |
| 49 | |
| 50 | theorem augmentation_square : F.map (I.ι.f 0) ≫ (ExactResolutionTransport.map F s I I').f 0 = s.hom ≫ I'.ι.f 0 := |
| 51 | iso_square s _ _ _ |
| 52 | ((congrArg (fun a => a ≫ (ExactResolutionTransport.map F s I I').f 0) |
| 53 | (Single.ComplexTransport.map_zero F s I.ι).symm).trans |
| 54 | (congrArg (fun a => a.f 0) (map_augmentation F s I I'))) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExactResolutionTransport |