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 | /-! # Exhaustive Sheaf Section Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSheafSectionComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: original sheaf cohomology from compatible bounded resolution sections |
| 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 | (P : ℕ → ObjectProperty C) (hP : Monotone P) (hC : ∀ U, ∃ n, P n U) |
| 22 | |
| 23 | def boundedFunctor : Sheaf J (ModuleCat.{w} R) ⥤ ModuleCat.{max u w z} R := |
| 24 | sheafToPresheaf J (ModuleCat.{w} R) ⋙ |
| 25 | ExhaustiveSectionNaturality.boundedSectionsFunctor R P hP (ModuleCat.of R R) ⋙ |
| 26 | ModuleCat.uliftFunctor.{z, max u w} R |
| 27 | |
| 28 | instance boundedFunctor_additive : (boundedFunctor R J P hP).Additive := by |
| 29 | dsimp only [boundedFunctor] |
| 30 | infer_instance |
| 31 | |
| 32 | def functorIso : IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) 0 ≅ |
| 33 | boundedFunctor R J P hP := |
| 34 | IntegralComparison.Ext.ZeroPresheafSections.iso R J ≪≫ Functor.isoWhiskerLeft (sheafToPresheaf J (ModuleCat.{w} R)) |
| 35 | (Functor.isoWhiskerRight (ExhaustiveSectionNaturality.iso R P hP hC (ModuleCat.of R R)) |
| 36 | (ModuleCat.uliftFunctor.{z, max u w} R)) |
| 37 | |
| 38 | def complex (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) : |
| 39 | CochainComplex (ModuleCat.{max u w z} R) ℕ := |
| 40 | ((boundedFunctor R J P hP).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 41 | |
| 42 | def complexIso (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) : |
| 43 | Acyclic.Resolution.Comparison.complex R (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) K ≅ |
| 44 | complex R J P hP K := |
| 45 | (NatIso.mapHomologicalComplex (functorIso R J P hP hC) (ComplexShape.up ℕ)).app K |
| 46 | |
| 47 | def homologyIso {Z : Sheaf J (ModuleCat.{w} R)} (I : InjectiveResolution Z) (i : ℕ) : |
| 48 | (complex R J P hP I.cocomplex).homology i ≅ |
| 49 | ModuleCat.of R (Abelian.Ext.{max u w z} (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) Z i) := |
| 50 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (complexIso R J P hP hC I.cocomplex).symm ≪≫ |
| 51 | InjectiveSectionCohomology.homologyIso R (IntegralComparison.Ext.ZeroPresheafSections.constantUnit R J) I i |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSheafSectionComplex |