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.ResolutionHom.TransportCohomology |
| 2 | |
| 3 | /-! # Resolution Cohomology -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionCohomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual source Čech cohomology computes original Ext by the two |
| 10 | mixed-resolution edges. This balanced comparison has direct geometric |
| 11 | naturality, independently of any source dimension-shift sign convention. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open Abelian |
| 16 | |
| 17 | universe u v u' v' z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | (R : Type t) [CommRing R] [Linear R C] (P : ChainComplex C ℕ) |
| 21 | {Z Y : C} (ε : P ⟶ (ChainComplex.single₀ C).obj Z) [QuasiIso ε] |
| 22 | (I : InjectiveResolution Y) (hP : ∀ a q, Subsingleton (Ext.{z} (P.X a) Y (q + 1))) |
| 23 | |
| 24 | local instance moduleCoproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 25 | fun A => (ModuleCat.hasColimitsOfSize.{z, t, 0, 0} R).has_colimits_of_shape (Discrete A) |
| 26 | |
| 27 | def homologyIso (i : ℕ) : (Acyclic.ChainCohomology.complex R Y P).homology i ≅ |
| 28 | ModuleCat.of R (Ext.{z} Z Y i) := by |
| 29 | let e := ResolutionHom.CoefficientEdge.edge R P I.cocomplex I.ι |
| 30 | let : QuasiIso e := ResolutionHom.CoefficientQuasiIso.edge_quasiIso R P I hP |
| 31 | exact isoOfQuasiIsoAt e i ≪≫ ResolutionHom.Total.homologyIso R P ε I i |
| 32 | |
| 33 | theorem homologyIso_hom (i : ℕ) : (homologyIso R P ε I hP i).hom = |
| 34 | HomologicalComplex.homologyMap (ResolutionHom.CoefficientEdge.edge R P I.cocomplex I.ι) i ≫ |
| 35 | (ResolutionHom.Total.homologyIso R P ε I i).hom := rfl |
| 36 | |
| 37 | variable {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 38 | [Linear R D] (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 39 | [F.Linear R] (Q : ChainComplex D ℕ) (β : Q ⟶ (F.mapHomologicalComplex (.down ℕ)).obj P) |
| 40 | {W Y' : D} (η : Q ⟶ (ChainComplex.single₀ D).obj W) [QuasiIso η] |
| 41 | (J : InjectiveResolution Y') |
| 42 | (hQ : ∀ a q, Subsingleton (Ext.{z} (Q.X a) Y' (q + 1))) |
| 43 | (γ : (F.mapHomologicalComplex (.up ℕ)).obj I.cocomplex ⟶ J.cocomplex) |
| 44 | (g : W ⟶ F.obj Z) (hβ : β.f 0 ≫ F.map (ε.f 0) = η.f 0 ≫ g) |
| 45 | (a : F.obj Y ⟶ Y') (hγ : F.map (I.ι.f 0) ≫ γ.f 0 = a ≫ J.ι.f 0) |
| 46 | |
| 47 | include hβ hγ in |
| 48 | theorem naturality (i : ℕ) : |
| 49 | HomologicalComplex.homologyMap (ResolutionHom.TransportEdges.coefficientMap F R P Q β a) i ≫ |
| 50 | (homologyIso R Q η J hQ i).hom = |
| 51 | (homologyIso R P ε I hP i).hom ≫ ResolutionHom.TransportCohomology.extMap F R g a i := by |
| 52 | let c := ResolutionHom.TransportEdges.coefficientMap F R P Q β a |
| 53 | let e := ResolutionHom.CoefficientEdge.edge R P I.cocomplex I.ι |
| 54 | let e' := ResolutionHom.CoefficientEdge.edge R Q J.cocomplex J.ι |
| 55 | let m := ResolutionHom.TransportEdges.totalMap F R P Q β γ |
| 56 | have hc : HomologicalComplex.homologyMap e i ≫ HomologicalComplex.homologyMap m i = |
| 57 | HomologicalComplex.homologyMap c i ≫ HomologicalComplex.homologyMap e' i := |
| 58 | (HomologicalComplex.homologyMap_comp e m i).symm.trans |
| 59 | ((congrArg (fun f => HomologicalComplex.homologyMap f i) |
| 60 | (ResolutionHom.TransportEdges.coefficient_edge F R P Q β γ I.ι J.ι a hγ)).trans |
| 61 | (HomologicalComplex.homologyMap_comp c e' i)) |
| 62 | rw [homologyIso_hom, homologyIso_hom, ← Category.assoc, ← hc, Category.assoc, |
| 63 | ResolutionHom.TransportCohomology.total_homology F R I J γ g a hγ P Q β ε η hβ, |
| 64 | ← Category.assoc] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionCohomology |