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.IntrinsicPadic.InjectiveCechLevel |
| 2 | |
| 3 | /-! # Injective Global Level -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveGlobalLevel.IntrinsicPadicInjectiveGlobalLevel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The named native injective Cech comparison computes original global |
| 10 | bounded crystalline cohomology naturally in the original level transition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 19 | (n m : ℕ) (hnm : n ≤ m) |
| 20 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 21 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 22 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 23 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 27 | local notation "Iq" => fun q : ℕ => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap q I |
| 28 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f |
| 29 | |
| 30 | def totalIso (q : ℕ) : (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I q).total (.up ℕ) ≅ (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.target p X Y f I q).total (.up ℕ) := |
| 31 | HomologicalComplex₂.total.mapIso (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel.comparisonIso p X Y f I q) (.up ℕ) |
| 32 | |
| 33 | def totalMap : (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I m).total (.up ℕ) ⟶ (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I n).total (.up ℕ) := |
| 34 | HomologicalComplex₂.total.map (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.nativeMap p X Y f n m hnm I) (.up ℕ) |
| 35 | |
| 36 | theorem total_natural : totalMap p X Y f n m hnm I ≫ (totalIso p X Y f I n).hom = |
| 37 | (totalIso p X Y f I m).hom ≫ Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel.totalMap wittMap n m hnm I U := by |
| 38 | let T := HomologicalComplex₂.totalFunctor (ModuleCat.{2} R) (.up ℕ) (.up ℕ) (.up ℕ) |
| 39 | exact (T.map_comp (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.nativeMap p X Y f n m hnm I) |
| 40 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel.comparisonIso p X Y f I n).hom).symm.trans |
| 41 | ((congrArg T.map (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel.bicomplex_natural p X Y f n m hnm I)).trans |
| 42 | (T.map_comp (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel.comparisonIso p X Y f I m).hom (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.targetMap p X Y f n m hnm I))) |
| 43 | |
| 44 | def homologyIso (q i : ℕ) : ((InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I q).total (.up ℕ)).homology i ≅ |
| 45 | ModuleCat.of R (IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 46 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 47 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap q i) := |
| 48 | (HomologicalComplex.homologyFunctor (ModuleCat.{2} R) (.up ℕ) i).mapIso (totalIso p X Y f I q) ≪≫ |
| 49 | Bounded.FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.homologyIso wittMap q (Iq q) U (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.cover p X Y f) i |
| 50 | |
| 51 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (totalMap p X Y f n m hnm I) i ≫ |
| 52 | (homologyIso p X Y f I n i).hom = |
| 53 | (homologyIso p X Y f I m i).hom ≫ ModuleCat.ofHom (IntegralComparison.Bounded.CohomologyTransition.map wittMap n m hnm i) := by |
| 54 | have h₁ := (HomologicalComplex.homologyMap_comp (totalMap p X Y f n m hnm I) (totalIso p X Y f I n).hom i).symm.trans |
| 55 | ((congrArg (fun q => HomologicalComplex.homologyMap q i) (total_natural p X Y f n m hnm I)).trans |
| 56 | (HomologicalComplex.homologyMap_comp (totalIso p X Y f I m).hom (Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel.totalMap wittMap n m hnm I U) i)) |
| 57 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ |
| 58 | (Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel.homology wittMap n m hnm I U (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.cover p X Y f) i) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveGlobalLevel.IntrinsicPadicInjectiveGlobalLevel |