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.Ext.ZeroPresheafSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveSectionCohomology |
| 3 | |
| 4 | /-! # Presheaf Section Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: actual injective-resolution cohomology in presheaf-section coordinates |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 19 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 20 | [HasExt.{max u w z} (Sheaf J (ModuleCat.{w} R))] |
| 21 | |
| 22 | def sectionFunctor : Sheaf J (ModuleCat.{w} R) ⥤ ModuleCat.{max u w z} R := |
| 23 | sheafToPresheaf J (ModuleCat.{w} R) ⋙ |
| 24 | ExhaustiveSectionNaturality.globalSectionsFunctor R (ModuleCat.of R R) ⋙ |
| 25 | ModuleCat.uliftFunctor.{z, max u w} R |
| 26 | |
| 27 | instance sectionFunctor_additive : (sectionFunctor R J).Additive := by |
| 28 | dsimp only [sectionFunctor] |
| 29 | infer_instance |
| 30 | |
| 31 | def complex (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) : |
| 32 | CochainComplex (ModuleCat.{max u w z} R) ℕ := |
| 33 | ((sectionFunctor R J).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 34 | |
| 35 | def complexIso (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) : |
| 36 | Acyclic.Resolution.Comparison.complex R (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) K ≅ complex R J K := |
| 37 | (NatIso.mapHomologicalComplex (IntegralComparison.Ext.ZeroPresheafSections.iso R J) (ComplexShape.up ℕ)).app K |
| 38 | |
| 39 | def homologyIso {Z : Sheaf J (ModuleCat.{w} R)} (I : InjectiveResolution Z) (i : ℕ) : |
| 40 | (complex R J I.cocomplex).homology i ≅ |
| 41 | ModuleCat.of R (Abelian.Ext.{max u w z} (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) Z i) := |
| 42 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (complexIso R J I.cocomplex).symm ≪≫ |
| 43 | InjectiveSectionCohomology.homologyIso R (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) I i |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex |