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.DiagonalCechLevel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechInjectiveLevelHomotopy |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.HomotopySquare |
| 4 | |
| 5 | /-! # Diagonal Injective Level Homotopy -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalInjectiveLevelHomotopy.IntrinsicPadicDiagonalInjectiveLevelHomotopy |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native diagonal-to-injective section comparisons |
| 12 | commute with bounded-level restriction up to cochain homotopy. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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)))) [IsSeparated Y.hom] |
| 19 | (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (n m : ℕ) (hnm : n ≤ m) |
| 22 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 23 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 24 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 25 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 26 | |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) |
| 30 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap n m hnm |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 32 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap n I |
| 33 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap m I |
| 34 | local notation "b" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap.IntrinsicPadicSectionLevelMap.transformation p X Y f n m hnm |
| 35 | |
| 36 | def injectiveMap := ((b).mapHomologicalComplex (.up ℕ)).app (Im).cocomplex ≫ |
| 37 | ((S n).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedLevel.Resolution.cocomplexIso wittMap n m hnm I).hom |
| 38 | |
| 39 | def homotopyCore : Homotopy |
| 40 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.map p X Y f hp m Im ≫ injectiveMap p X Y f n m hnm I) |
| 41 | ((DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel.diagonalMap p X Y f hp n m hnm ≫ |
| 42 | PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X Y f hp n) ≫ |
| 43 | ((S n).mapHomologicalComplex (.up ℕ)).map (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n In)) := |
| 44 | Section.HomotopySquare.SectionComparisonHomotopySquare.homotopy T (S m) (S n) b |
| 45 | (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp m Im) |
| 46 | (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n In) |
| 47 | (CechResolutionLevel.IntrinsicPadicCechResolutionLevel.map p X Y f hp n m hnm) |
| 48 | (IntegralComparison.BoundedLevel.Resolution.cocomplexIso wittMap n m hnm I).hom |
| 49 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X Y f hp m) |
| 50 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X Y f hp n) |
| 51 | (DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel.diagonalMap p X Y f hp n m hnm) |
| 52 | (CechInjectiveLevelHomotopy.IntrinsicPadicCechInjectiveLevelHomotopy.homotopy p X Y f hp n m hnm I) |
| 53 | (DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel.natural p X Y f hp n m hnm) |
| 54 | |
| 55 | def homotopy : Homotopy |
| 56 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.map p X Y f hp m Im ≫ injectiveMap p X Y f n m hnm I) |
| 57 | (DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel.diagonalMap p X Y f hp n m hnm ≫ |
| 58 | PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.map p X Y f hp n In) := |
| 59 | (homotopyCore p X Y f hp n m hnm I).trans (Homotopy.ofEq (Category.assoc _ _ _)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalInjectiveLevelHomotopy.IntrinsicPadicDiagonalInjectiveLevelHomotopy |