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.Balanced.ResolutionCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ChainRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ExtFunctoriality |
| 4 | |
| 5 | /-! # Resolution Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Refinement of source resolutions preserves the balanced comparison |
| 12 | with the original Ext groups. Both coefficient edges use the same actual |
| 13 | injective resolution. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | open Abelian |
| 18 | |
| 19 | universe u v z t |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] [EnoughInjectives C] |
| 22 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 23 | (P Q : ChainComplex C ℕ) (β : Q ⟶ P) |
| 24 | |
| 25 | def mappedSource : Q ⟶ ((𝟭 C).mapHomologicalComplex (.down ℕ)).obj P where |
| 26 | f := β.f |
| 27 | comm' i j _ := β.comm i j |
| 28 | |
| 29 | theorem coefficientMap : |
| 30 | ResolutionHom.TransportEdges.coefficientMap (𝟭 C) R P Q |
| 31 | (mappedSource P Q β) (𝟙 Y) = Acyclic.ChainRefinement.map R Y P Q β := by |
| 32 | apply HomologicalComplex.Hom.ext |
| 33 | funext b |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | exact (ResolutionHom.TransportEdges.coefficientMap_apply (𝟭 C) R P Q |
| 38 | (mappedSource P Q β) (𝟙 Y) b x).trans |
| 39 | (congrArg ((Ext.mk₀ (β.f b)).comp · (zero_add 0)) |
| 40 | ((Ext.comp_mk₀_id _).trans (PeriodInvariants.ExtFunctoriality.mapExactFunctor_id x))) |
| 41 | |
| 42 | theorem extMap (Z : C) (i : ℕ) : |
| 43 | ResolutionHom.TransportCohomology.extMap (𝟭 C) R (𝟙 Z) (𝟙 Y) i = |
| 44 | 𝟙 (ModuleCat.of R (Ext.{z} Z Y i)) := by |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro x |
| 48 | exact (Ext.mk₀_id_comp _).trans |
| 49 | ((Ext.comp_mk₀_id _).trans (PeriodInvariants.ExtFunctoriality.mapExactFunctor_id x)) |
| 50 | |
| 51 | variable {Z : C} (ε : P ⟶ (ChainComplex.single₀ C).obj Z) |
| 52 | (η : Q ⟶ (ChainComplex.single₀ C).obj Z) [QuasiIso ε] [QuasiIso η] |
| 53 | (hβ : β ≫ ε = η) (I : InjectiveResolution Y) |
| 54 | (hP : ∀ a q, Subsingleton (Ext.{z} (P.X a) Y (q + 1))) |
| 55 | (hQ : ∀ a q, Subsingleton (Ext.{z} (Q.X a) Y (q + 1))) |
| 56 | |
| 57 | include hβ in |
| 58 | theorem homology (i : ℕ) : |
| 59 | HomologicalComplex.homologyMap (Acyclic.ChainRefinement.map R Y P Q β) i ≫ |
| 60 | (ResolutionCohomology.homologyIso R Q η I hQ i).hom = |
| 61 | (ResolutionCohomology.homologyIso R P ε I hP i).hom := by |
| 62 | let γ := (Functor.mapHomologicalComplexIdIso C (.up ℕ)).hom.app I.cocomplex |
| 63 | have hb : (mappedSource P Q β).f 0 ≫ (𝟭 C).map (ε.f 0) = η.f 0 ≫ 𝟙 Z := |
| 64 | (congrArg (fun a => a.f 0) hβ).trans (Category.comp_id _).symm |
| 65 | have hc : (𝟭 C).map (I.ι.f 0) ≫ γ.f 0 = 𝟙 Y ≫ I.ι.f 0 := by |
| 66 | change I.ι.f 0 ≫ 𝟙 (I.cocomplex.X 0) = 𝟙 Y ≫ I.ι.f 0 |
| 67 | exact (Category.comp_id (show Y ⟶ I.cocomplex.X 0 from I.ι.f 0)).trans |
| 68 | (Category.id_comp (show Y ⟶ I.cocomplex.X 0 from I.ι.f 0)).symm |
| 69 | have hn := ResolutionCohomology.naturality R P ε I hP (𝟭 C) Q |
| 70 | (mappedSource P Q β) η I hQ γ (𝟙 Z) hb (𝟙 Y) hc i |
| 71 | rw [coefficientMap, extMap, Category.comp_id] at hn |
| 72 | exact hn |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionRefinement |