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.Global.DeRhamCoefficientFiniteness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.DeRhamCechUnit |
| 3 | |
| 4 | /-! # Coefficient Cech Finiteness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientCechFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual global de Rham Čech complex with original crystalline coefficients has finite cohomology. -/ |
| 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 instance coefficientLimits : HasLimitsOfSize.{u, u} |
| 20 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) := |
| 21 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 22 | |
| 23 | local instance coefficientProducts : HasProducts.{u} |
| 24 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) := |
| 25 | fun I => (coefficientLimits p k).has_limits_of_shape (Discrete I) |
| 26 | |
| 27 | def bicomplex : HomologicalComplex₂ |
| 28 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) (.up ℕ) (.up ℕ) := |
| 29 | @CechCoefficient.Total.bicomplex.{u, u, u, u + 3, u + 2} |
| 30 | X.left.Opens inferInstance (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) |
| 31 | inferInstance inferInstance (coefficientProducts p k) |
| 32 | (SmoothProper.DeRhamCechUnit.nerve k X) |
| 33 | (Global.DeRhamCoefficientComplex.complex p k X) |
| 34 | |
| 35 | def total : CochainComplex |
| 36 | (ModuleCat.{u + 2} (ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 37 | (bicomplex p k X).total (.up ℕ) |
| 38 | |
| 39 | def iso : |
| 40 | ((Global.DeRhamCoefficientComplex.coefficients p k).mapHomologicalComplex (.up ℕ)).obj |
| 41 | (SmoothProper.DeRhamCechUnit.total k X) ≅ CoefficientCechFiniteness.total p k X := |
| 42 | CechCoefficient.Total.totalIso (Global.DeRhamCoefficientComplex.coefficients p k) |
| 43 | (SmoothProper.DeRhamCechUnit.nerve k X) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X) |
| 44 | |
| 45 | def homologyIso (n : ℕ) : |
| 46 | (Global.DeRhamCoefficientComplex.coefficients p k).obj |
| 47 | ((SmoothProper.DeRhamCechUnit.total k X).homology n) ≅ (CoefficientCechFiniteness.total p k X).homology n := |
| 48 | (((SmoothProper.DeRhamCechUnit.total k X).sc n).mapHomologyIso |
| 49 | (Global.DeRhamCoefficientComplex.coefficients p k)).symm ≪≫ |
| 50 | HomologicalComplex.homologyMapIso (iso p k X) n |
| 51 | |
| 52 | omit [CharP k p] in |
| 53 | theorem finite (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) (n : ℕ) : |
| 54 | Module.Finite (ExactRestriction.Coeff (B := WittVector p k)) ((CoefficientCechFiniteness.total p k X).homology n) := by |
| 55 | let : Module.Finite k ((SmoothProper.DeRhamCechUnit.total k X).homology n) := |
| 56 | SmoothProper.DeRhamCechUnit.finite k X hprojective n |
| 57 | let : Module.Finite (ExactRestriction.Coeff (B := WittVector p k)) |
| 58 | ((Global.DeRhamCoefficientComplex.coefficients p k).obj ((SmoothProper.DeRhamCechUnit.total k X).homology n)) := |
| 59 | Global.DeRhamCoefficientFiniteness.finite p k _ |
| 60 | exact Module.Finite.equiv (homologyIso p k X n).toLinearEquiv |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CoefficientCechFiniteness |