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.AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.ComplexResolution |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalIso |
| 4 | |
| 5 | /-! # Section Total -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionTotal.CechSectionTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # The direct Čech total is the actual global-section complex of the Čech sheaf total -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {ι : Type u} (U : ι → X.left.Opens) (K : CochainComplex (DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ) |
| 19 | |
| 20 | local instance : HasCoproducts.{0} (DeRhamGlobalId.DeRhamGlobal.Sheaves R X) := ZariskiColimitsCore.ZariskiColimits.coproducts R X.left |
| 21 | local instance : (SectionHypercohomologyInv.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 22 | map_add := rfl |
| 23 | local instance : (MixedCech.Functor.MixedCechFunctor.sheafFunctor R X.left U).Additive := |
| 24 | MixedCech.Functor.MixedCechFunctor.sheaf_additive R X.left U |
| 25 | local instance : (SectionUnit.CechSectionUnit.sheafSections R X.left U).Additive := |
| 26 | GlobalSectionFunctor.CechGlobalSectionFunctor.sheafSections_additive R X U |
| 27 | |
| 28 | def sheafBicomplex := |
| 29 | NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex (MixedCech.Functor.MixedCechFunctor.sheafFunctor R X.left U) K |
| 30 | |
| 31 | def sectionBicomplex : HomologicalComplex₂ (ModuleCat.{u} R) (.up ℕ) (.up ℕ) := |
| 32 | Comparison.Betti.TotalComplexFunctor.mapBicomplex (SectionHypercohomologyInv.SectionHypercohomology.sections R (TopCat.of X.left)) (sheafBicomplex R X U K) |
| 33 | |
| 34 | def directBicomplex : HomologicalComplex₂ (ModuleCat.{u} R) (.up ℕ) (.up ℕ) := |
| 35 | ((NumberTheory.PadicHodge.GeometricComparison.Cech.CechSheaf.functor R X U).mapHomologicalComplex (.up ℕ)).obj K |
| 36 | |
| 37 | def bicomplexIso : sectionBicomplex R X U K ≅ directBicomplex R X U K := |
| 38 | (NatIso.mapHomologicalComplex (GlobalSectionFunctor.CechGlobalSectionFunctor.iso R X U) (.up ℕ)).app K |
| 39 | |
| 40 | def directTotal : CochainComplex (ModuleCat.{u} R) ℤ := |
| 41 | ((directBicomplex R X U K).total (.up ℕ)).extend ComplexShape.embeddingUpNat |
| 42 | |
| 43 | def iso : directTotal R X U K ≅ |
| 44 | SectionHypercohomologyInv.SectionHypercohomology.sectionComplex R (TopCat.of X.left) |
| 45 | (MixedCech.ComplexResolution.MixedCechComplexResolution.integerTotal R X.left U K) := |
| 46 | (ComplexShape.embeddingUpNat.extendFunctor (ModuleCat.{u} R)).mapIso |
| 47 | (HomologicalComplex₂.total.mapIso (bicomplexIso R X U K).symm (.up ℕ)) ≪≫ |
| 48 | NumberTheory.PadicHodge.GeometricComparison.Finite.TotalIso.FiniteTotalExtension.iso (SectionHypercohomologyInv.SectionHypercohomology.sections R (TopCat.of X.left)) |
| 49 | (sheafBicomplex R X U K) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionTotal.CechSectionTotal |