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.IntegralInjectiveLevelHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralCoefficientLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveLevelMapCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TotalHomotopySquare |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralPresheafLevelData |
| 7 | |
| 8 | /-! # Integral Cech Level -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralCechLevel.IntrinsicPadicIntegralCechLevel |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The canonical integral quotient-to-injective comparison commutes |
| 15 | with original level restriction on Cech total H-one. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 22 | (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (n m : ℕ) (hnm : n ≤ m) |
| 25 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 27 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 28 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 29 | |
| 30 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 31 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 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 "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X) |
| 35 | |
| 36 | def source (q : ℕ) : CochainComplex (ModuleCat.{2} R) ℕ := |
| 37 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} R E).obj |
| 38 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.source p X q)).total (.up ℕ) |
| 39 | |
| 40 | def target (q : ℕ) : CochainComplex (ModuleCat.{2} R) ℕ := |
| 41 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} R E).obj |
| 42 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.target p X Y f I q)).total (.up ℕ) |
| 43 | |
| 44 | def sourceMap : source p X m ⟶ source p X n := |
| 45 | Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.sourceMap p X n m hnm) |
| 46 | |
| 47 | def comparisonMap (q : ℕ) : source p X q ⟶ target p X Y f I q := |
| 48 | Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I q) |
| 49 | |
| 50 | def targetMap : target p X Y f I m ⟶ target p X Y f I n := |
| 51 | Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm) |
| 52 | |
| 53 | def sourceHOne (q : ℕ) : ModuleCat.{2} R := (source p X q).homology 1 |
| 54 | |
| 55 | def targetHOne (q : ℕ) : ModuleCat.{2} R := |
| 56 | (target p X Y f I q).homology 1 |
| 57 | |
| 58 | def comparisonHOne (q : ℕ) : sourceHOne p X q ⟶ targetHOne p X Y f I q := |
| 59 | HomologicalComplex.homologyMap (comparisonMap p X Y f hp I q) 1 |
| 60 | |
| 61 | def sourceHOneMap : sourceHOne p X m ⟶ sourceHOne p X n := |
| 62 | HomologicalComplex.homologyMap (sourceMap p X n m hnm) 1 |
| 63 | |
| 64 | def targetHOneMap : targetHOne p X Y f I m ⟶ targetHOne p X Y f I n := |
| 65 | HomologicalComplex.homologyMap (targetMap p X Y f n m hnm I) 1 |
| 66 | |
| 67 | def homotopy : Homotopy |
| 68 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I m ≫ |
| 69 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm) |
| 70 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.sourceMap p X n m hnm ≫ |
| 71 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I n) := |
| 72 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.homotopy p X Y f hp I n m hnm |
| 73 | |
| 74 | theorem total_left : Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E |
| 75 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I m ≫ |
| 76 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm) = |
| 77 | comparisonMap p X Y f hp I m ≫ targetMap p X Y f n m hnm I := |
| 78 | Cech.TotalHomotopySquare.CechTotalHomotopySquare.map_comp.{1, 2, 0, 0} R E |
| 79 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I m) |
| 80 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm) |
| 81 | |
| 82 | theorem total_right : Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E |
| 83 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.sourceMap p X n m hnm ≫ |
| 84 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I n) = |
| 85 | sourceMap p X n m hnm ≫ comparisonMap p X Y f hp I n := |
| 86 | Cech.TotalHomotopySquare.CechTotalHomotopySquare.map_comp.{1, 2, 0, 0} R E |
| 87 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.sourceMap p X n m hnm) |
| 88 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I n) |
| 89 | |
| 90 | theorem homology_raw : HomologicalComplex.homologyMap (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E |
| 91 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I m ≫ |
| 92 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm)) 1 = |
| 93 | HomologicalComplex.homologyMap (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R E |
| 94 | (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.sourceMap p X n m hnm ≫ |
| 95 | IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.comparison p X Y f hp I n)) 1 := |
| 96 | Cech.TotalHomotopyOne.CechTotalHomotopyHOne.homology.{1, 2, 0, 0} R E (homotopy p X Y f hp n m hnm I) |
| 97 | |
| 98 | theorem homology : comparisonHOne p X Y f hp I m ≫ targetHOneMap p X Y f n m hnm I = |
| 99 | sourceHOneMap p X n m hnm ≫ comparisonHOne p X Y f hp I n := by |
| 100 | let H := fun (q : source p X m ⟶ target p X Y f I n) => |
| 101 | HomologicalComplex.homologyMap q 1 |
| 102 | have h := (congrArg H (total_left p X Y f hp n m hnm I).symm).trans |
| 103 | ((homology_raw p X Y f hp n m hnm I).trans (congrArg H (total_right p X Y f hp n m hnm I))) |
| 104 | exact (HomologicalComplex.homologyMap_comp (comparisonMap p X Y f hp I m) (targetMap p X Y f n m hnm I) 1).symm.trans |
| 105 | (h.trans (HomologicalComplex.homologyMap_comp (sourceMap p X n m hnm) (comparisonMap p X Y f hp I n) 1)) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralCechLevel.IntrinsicPadicIntegralCechLevel |