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.BoundedEtale.ZeroFrameDeRhamIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.DeRhamComplex |
| 3 | |
| 4 | /-! # De Rham -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.DeRham.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: original zeroth-level crystalline cohomology is ordinary étale-chart de Rham cohomology |
| 12 | |
| 13 | The comparison retains the canonical frame section map and both original |
| 14 | coefficient lifts. The source is the ordinary residue-field de Rham |
| 15 | complex with scalars restricted along the actual Witt residue map. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k C : Type u) [Field k] [Fintype k] [CharP k p] |
| 25 | [CommRing C] [Algebra k C] |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "CoeffW" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 29 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 30 | |
| 31 | def coefficientFunctor : ModuleCat.{u} W ⥤ ModuleCat.{u + 2} CoeffW := |
| 32 | Crystalline.RelativeResolution.coefficientFunctor (B := W) ⋙ ModuleCat.uliftFunctor.{u + 2, u + 1} CoeffW |
| 33 | |
| 34 | instance coefficientFunctor_additive : (coefficientFunctor p k).Additive := by |
| 35 | dsimp [coefficientFunctor] |
| 36 | infer_instance |
| 37 | |
| 38 | def deRhamComplex : CochainComplex (ModuleCat.{u + 2} CoeffW) ℕ := |
| 39 | ((coefficientFunctor p k).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 40 | (ZeroLevel.DeRhamComplex.residueComplex p k C) |
| 41 | |
| 42 | def frameIso : BoundedEtale.ZeroFrameDeRhamIso.frameComplex p k C ≅ deRhamComplex p k C := |
| 43 | ((coefficientFunctor p k).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 44 | (ZeroLevel.DeRhamComplex.frameComplexIso p k C) |
| 45 | |
| 46 | variable (σ : Type u) [LinearOrder σ] [Fintype σ] [Algebra (MvPolynomial σ k) C] |
| 47 | [IsScalarTower k (MvPolynomial σ k) C] [Algebra.Etale (MvPolynomial σ k) C] |
| 48 | |
| 49 | def homologyIso (i : ℕ) : (deRhamComplex p k C).homology i ≅ |
| 50 | ModuleCat.of CoeffW (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 51 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 i) := |
| 52 | ((HomologicalComplex.homologyFunctor _ _ i).mapIso (frameIso p k C)).symm ≪≫ |
| 53 | BoundedEtale.ZeroFrameDeRhamIso.homologyIso p k C σ i |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.DeRham.Comparison |