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.SmoothProper.DeRhamSecondFiniteness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientCechFiniteness |
| 3 | |
| 4 | /-! # Coefficient Second Finiteness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientSecondFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of actual second-stage de Rham Cech cohomology with the original crystalline coefficients. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 17 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 18 | |
| 19 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Global.DeRhamCoefficientComplex.coefficients p k |
| 20 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.DeRhamCechUnit.bicomplex k X |
| 21 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientCechFiniteness.bicomplex p k X |
| 22 | |
| 23 | local instance coefficientLimits : HasLimitsOfSize.{u, u} |
| 24 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) := |
| 25 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 26 | |
| 27 | local instance coefficientProducts : HasProducts.{u} |
| 28 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) := |
| 29 | fun I => (coefficientLimits p k).has_limits_of_shape (Discrete I) |
| 30 | |
| 31 | local instance exactLimits : PreservesFiniteLimits G := |
| 32 | Functor.preservesFiniteLimits_of_preservesHomology G |
| 33 | |
| 34 | local instance exactColimits : PreservesFiniteColimits G := |
| 35 | Functor.preservesFiniteColimits_of_preservesHomology G |
| 36 | |
| 37 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G K ≅ L := |
| 38 | CechCoefficient.Total.bicomplexIso G (SmoothProper.DeRhamCechUnit.nerve k X) |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X) |
| 40 | |
| 41 | def complexIso (n : ℕ) : IntegralComparison.Module.TotalSecondClasses.horizontal (L).flip n ≅ |
| 42 | ((G).mapHomologicalComplex (.up ℕ)).obj (SmoothProper.DeRhamHomologyCech.complex k X n) := |
| 43 | BicomplexHomology.iso L n ≪≫ |
| 44 | HomologicalComplex.homologyMapIso (bicomplexIso p k X).symm n ≪≫ |
| 45 | ((K).sc n).mapHomologyIso ((G).mapHomologicalComplex (.up ℕ)) ≪≫ |
| 46 | ((G).mapHomologicalComplex (.up ℕ)).mapIso |
| 47 | (Cech.PresheafExactness.homologyIso k (SmoothProper.DeRhamCechUnit.nerve k X) |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X) n) |
| 49 | |
| 50 | def homologyIso (n q : ℕ) : (IntegralComparison.Module.TotalSecondClasses.horizontal (L).flip n).homology q ≅ |
| 51 | (G).obj ((SmoothProper.DeRhamHomologyCech.complex k X n).homology q) := |
| 52 | HomologicalComplex.homologyMapIso (complexIso p k X n) q ≪≫ |
| 53 | ((SmoothProper.DeRhamHomologyCech.complex k X n).sc q).mapHomologyIso G |
| 54 | |
| 55 | omit [CharP k p] in |
| 56 | theorem finite (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) (n q : ℕ) : |
| 57 | Module.Finite (ExactRestriction.Coeff (B := WittVector p k)) |
| 58 | ((IntegralComparison.Module.TotalSecondClasses.horizontal (L).flip n).homology q) := by |
| 59 | let : Module.Finite k ((SmoothProper.DeRhamHomologyCech.complex k X n).homology q) := |
| 60 | SmoothProper.DeRhamHomologyCech.finite k X hprojective n q |
| 61 | let : Module.Finite (ExactRestriction.Coeff (B := WittVector p k)) |
| 62 | ((G).obj ((SmoothProper.DeRhamHomologyCech.complex k X n).homology q)) := |
| 63 | Global.DeRhamCoefficientFiniteness.finite p k _ |
| 64 | exact Module.Finite.equiv (homologyIso p k X n q).symm.toLinearEquiv |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientSecondFiniteness |