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.GeometricComparison.IntrinsicCech.SectionUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.GlobalCoefficients |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechSheaf |
| 4 | |
| 5 | /-! # Global Section Functor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual global sections of the native Čech sheaf resolution are naturally the direct Čech cochains of the original sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 16 | {ι : Type} (U : ι → X.left.Opens) |
| 17 | |
| 18 | def presheafIso : SectionUnit.IntrinsicCechSectionUnit.presheafSections R X.left U ≅ Cech.CechSheaf.functor R X U := by |
| 19 | let P := AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X.left |
| 20 | let E := (FormalCoproduct.mk ι U).cech |
| 21 | let G : P ⥤ ModuleCat.{0} R := GlobalCoefficients.IntrinsicCechGlobalCoefficients.evaluate R X |
| 22 | let C₁ : (X.left.Opensᵒᵖ ⥤ P) ⥤ CochainComplex P ℕ := FormalCoproduct.cochainComplexFunctor E |
| 23 | let C₂ : P ⥤ CochainComplex (ModuleCat.{0} R) ℕ := FormalCoproduct.cochainComplexFunctor E |
| 24 | let W : (X.left.Opensᵒᵖ ⥤ P) ⥤ P := (Functor.whiskeringRight X.left.Opensᵒᵖ P (ModuleCat.{0} R)).obj G |
| 25 | let F : P ⥤ (X.left.Opensᵒᵖ ⥤ P) := IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R X.left |
| 26 | let T := G.mapHomologicalComplex (.up ℕ) |
| 27 | let hc : C₁ ⋙ T ≅ W ⋙ C₂ := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.iso G E |
| 28 | let hi : F ⋙ W ≅ 𝟭 P := GlobalCoefficients.IntrinsicCechGlobalCoefficients.iso R X |
| 29 | let inner : (F ⋙ C₁) ⋙ T ≅ C₂ := |
| 30 | Functor.associator F C₁ T ≪≫ Functor.isoWhiskerLeft F hc ≪≫ |
| 31 | (Functor.associator F W C₂).symm ≪≫ Functor.isoWhiskerRight hi C₂ ≪≫ Functor.leftUnitor C₂ |
| 32 | exact Functor.isoWhiskerLeft (sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} R)) inner |
| 33 | |
| 34 | def iso : SectionUnit.IntrinsicCechSectionUnit.sheafSections R X.left U ≅ Cech.CechSheaf.functor R X U := |
| 35 | (SectionUnit.IntrinsicCechSectionUnit.iso R X.left U).symm ≪≫ presheafIso R X U |
| 36 | |
| 37 | instance sheafSections_additive : (SectionUnit.IntrinsicCechSectionUnit.sheafSections R X.left U).Additive := |
| 38 | Functor.additive_of_iso (iso R X U).symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor |