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.Bicomplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.CoefficientNaturality |
| 3 | |
| 4 | /-! # Ext Bicomplex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.ExtBicomplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For the actual covering-presentation resolution, the mixed Hom |
| 11 | bicomplex is canonically the native frame Čech bicomplex of the coefficient |
| 12 | complex. The identification respects both differentials. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v z |
| 17 | |
| 18 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 20 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 21 | |
| 22 | local instance moduleProducts : HasProducts.{v} (ModuleCat.{max u v} R) := by |
| 23 | let h : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 24 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 25 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 26 | |
| 27 | def liftedFunctor : Sheaf J (ModuleCat.{max u v} R) ⥤ |
| 28 | CochainComplex (ModuleCat.{max u v z} R) ℕ := |
| 29 | sheafToPresheaf J (ModuleCat.{max u v} R) ⋙ NonemptyCechNerve.complexFunctor F ⋙ |
| 30 | (ModuleCat.uliftFunctor.{z, max u v} R).mapHomologicalComplex (.up ℕ) |
| 31 | |
| 32 | def functorIso : |
| 33 | ResolutionHom.Bicomplex.functor R (CoveringPresentationResolution.complex J R F) ≅ |
| 34 | liftedFunctor.{u, v, z} F R J := |
| 35 | NatIso.ofComponents (Ext.Comparison.comparison F R J) |
| 36 | (fun μ => CoefficientNaturality.complexes F R J μ) |
| 37 | |
| 38 | instance liftedFunctor_additive : (liftedFunctor.{u, v, z} F R J).Additive := |
| 39 | Functor.additive_of_iso (functorIso.{u, v, z} F R J) |
| 40 | |
| 41 | variable (K : CochainComplex (Sheaf J (ModuleCat.{max u v} R)) ℕ) |
| 42 | |
| 43 | def bicomplexIso : |
| 44 | ResolutionHom.Bicomplex.bicomplex R (CoveringPresentationResolution.complex J R F) K ≅ |
| 45 | ((liftedFunctor.{u, v, z} F R J).mapHomologicalComplex (.up ℕ)).obj K := |
| 46 | (NatIso.mapHomologicalComplex (functorIso.{u, v, z} F R J) (.up ℕ)).app K |
| 47 | |
| 48 | theorem bicomplexIso_component (b : ℕ) : |
| 49 | (bicomplexIso.{u, v, z} F R J K).hom.f b = |
| 50 | (Ext.Comparison.comparison.{u, v, z} F R J (K.X b)).hom := rfl |
| 51 | |
| 52 | theorem naturality {L : CochainComplex (Sheaf J (ModuleCat.{max u v} R)) ℕ} (g : K ⟶ L) : |
| 53 | ResolutionHom.Bicomplex.map R (CoveringPresentationResolution.complex J R F) g ≫ |
| 54 | (bicomplexIso.{u, v, z} F R J L).hom = |
| 55 | (bicomplexIso.{u, v, z} F R J K).hom ≫ |
| 56 | ((liftedFunctor.{u, v, z} F R J).mapHomologicalComplex (.up ℕ)).map g := |
| 57 | (NatIso.mapHomologicalComplex (functorIso.{u, v, z} F R J) (.up ℕ)).hom.naturality g |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.ExtBicomplex |