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.TruncatedModel.GlobalFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryBaseIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.OrdinaryCechTotal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechComplex |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryCechCoordinates |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.CoefficientCoordinates |
| 7 | |
| 8 | /-! # Global De Rham -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GlobalDeRham.Comparison |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The ordinary de Rham Čech total of an actual smooth proper model |
| 15 | over a finite Witt level computes the original bounded crystalline |
| 16 | cohomology of its actual special fiber in every degree. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 24 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 25 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 26 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 27 | (hp : IsPullback f Y.hom X.hom |
| 28 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 29 | |
| 30 | local notation "W" => WittVector p k |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 32 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 33 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens S X) |
| 34 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalComplex.Comparison.pdComplexes p k n X Y f hp |
| 35 | local notation "U" => ModuleCat.restrictScalars (algebraMap W S) |
| 36 | |
| 37 | abbrev coefficientFunctor : ModuleCat.{0} W ⥤ ModuleCat.{2} R := |
| 38 | SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 39 | |
| 40 | instance coefficientFunctor_additive : (coefficientFunctor p k).Additive := by |
| 41 | dsimp only [coefficientFunctor] |
| 42 | infer_instance |
| 43 | |
| 44 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GlobalDeRham.Comparison.coefficientFunctor p k |
| 45 | |
| 46 | def frameDiagramIso : P ⋙ (F).mapHomologicalComplex (.up ℕ) ≅ |
| 47 | FrameDiagonalMap.source p k n X Y f hp := Iso.refl _ |
| 48 | |
| 49 | def frameIso : ((F).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.total N P) ≅ |
| 50 | GlobalFrame.Comparison.complex p k n X Y f hp := |
| 51 | GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso F N (Small.OrdinaryCechTotal.Ordinary.finiteIndices S X) P |
| 52 | |
| 53 | def rawComplex : CochainComplex (ModuleCat.{0} W) ℕ := |
| 54 | ((U).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total S X) |
| 55 | |
| 56 | def ordinaryIso : rawComplex p k n X ≅ GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.total N P := |
| 57 | OrdinaryCechCoordinates.Ordinary.iso p k n X ≪≫ |
| 58 | GeometricComparison.CechAssembly.Iso.CechAssemblyIso.totalIso N (OrdinaryBaseIso.Ordinary.pdIso p k n X Y f hp).symm |
| 59 | |
| 60 | def complex : CochainComplex (ModuleCat.{2} R) ℕ := |
| 61 | ((F).mapHomologicalComplex (.up ℕ)).obj (rawComplex p k n X) |
| 62 | |
| 63 | def iso : complex p k n X ≅ GlobalFrame.Comparison.complex p k n X Y f hp := |
| 64 | ((F).mapHomologicalComplex (.up ℕ)).mapIso (ordinaryIso p k n X Y f hp) ≪≫ |
| 65 | frameIso p k n X Y f hp |
| 66 | |
| 67 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 68 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 69 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 70 | |
| 71 | def homologyIso (i : ℕ) : (complex p k n X).homology i ≅ |
| 72 | ModuleCat.of R (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 73 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 74 | (Witt.Crystalline.wittStructureMap p k Y) n i) := |
| 75 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (iso p k n X Y f hp) ≪≫ |
| 76 | GlobalFrame.Comparison.homologyIso p k n X Y f hp J i |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GlobalDeRham.Comparison |