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.InjectiveCechGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveSectionLevelCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplexNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralPresheafLevelData |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechLevel |
| 7 | |
| 8 | /-! # Injective Cech Level -/ |
| 9 | |
| 10 | namespace OAI |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 15 | |
| 16 | /-! Named actual bicomplex objects, comparison isomorphisms and level maps |
| 17 | for the original native injective Cech/global comparison. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] |
| 22 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 24 | (f : Y.left ⟶ X.left) |
| 25 | (n m : ℕ) (hnm : n ≤ m) |
| 26 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 28 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 29 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 30 | |
| 31 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 32 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 33 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 34 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap n I |
| 35 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap m I |
| 36 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 37 | local notation "special" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f |
| 38 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 39 | |
| 40 | local instance tuple_preserves (q : ℕ) (t : Fin (q + 1) → Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : |
| 41 | PreservesLimit (Discrete.functor (U ∘ t)) special := by |
| 42 | dsimp only [SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens] |
| 43 | infer_instance |
| 44 | |
| 45 | abbrev Values := ModuleCat.{2} R |
| 46 | |
| 47 | local notation "Iq" => fun q : ℕ => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap q I |
| 48 | |
| 49 | def cechFunctor : CochainComplex (X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ℕ ⥤ |
| 50 | HomologicalComplex₂ (ModuleCat.{2} R) (.up ℕ) (.up ℕ) := |
| 51 | Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} R E |
| 52 | |
| 53 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.cechFunctor p X |
| 54 | local notation "G" => Functor.mapHomologicalComplex (OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (A := OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) |
| 55 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f)) (ComplexShape.up ℕ) |
| 56 | local notation "pull" => Functor.mapHomologicalComplex (OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) special) (ComplexShape.up ℕ) |
| 57 | |
| 58 | def native (q : ℕ) : HomologicalComplex₂ (ModuleCat.{2} R) (.up ℕ) (.up ℕ) := |
| 59 | (F).obj (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.target p X Y f I q) |
| 60 | |
| 61 | def pulled (q : ℕ) : HomologicalComplex₂ (ModuleCat.{2} R) (.up ℕ) (.up ℕ) := |
| 62 | (F).obj ((pull).obj (IntegralComparison.BoundedOpen.SectionComplex.complex wittMap q (Iq q))) |
| 63 | |
| 64 | def opens (q : ℕ) : HomologicalComplex₂ (ModuleCat.{2} R) (.up ℕ) (.up ℕ) := |
| 65 | (G).obj (IntegralComparison.BoundedOpen.SectionComplex.complex wittMap q (Iq q)) |
| 66 | |
| 67 | def target (q : ℕ) : HomologicalComplex₂ (ModuleCat.{2} R) (.up ℕ) (.up ℕ) := |
| 68 | FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex.{1, 0, 2} R Y.left.carrier |
| 69 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f) (IntegralComparison.BoundedOpen.FlasqueComplex.complex wittMap q (Iq q)) |
| 70 | |
| 71 | def sourceIso (q : ℕ) : native p X Y f I q ≅ pulled p X Y f I q := |
| 72 | (F).mapIso (SectionComplexRestriction.IntrinsicPadicSectionComplexRestriction.comparisonIso p X Y f q (Iq q)) |
| 73 | |
| 74 | def middleIso (q : ℕ) : pulled p X Y f I q ≅ opens p X Y f I q := |
| 75 | NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso (A := Values p) special U |
| 76 | (IntegralComparison.BoundedOpen.SectionComplex.complex wittMap q (Iq q)) |
| 77 | |
| 78 | def targetIso (q : ℕ) : opens p X Y f I q ≅ target p X Y f I q := |
| 79 | (G).mapIso (IntegralComparison.BoundedOpen.FlasqueComplex.underlyingComplexIso wittMap q (Iq q)).symm |
| 80 | |
| 81 | def nativeMap : native p X Y f I m ⟶ native p X Y f I n := |
| 82 | (F).map (IntegralPresheafLevelData.IntrinsicPadicIntegralPresheafLevelData.targetMap p X Y f I n m hnm) |
| 83 | |
| 84 | def pulledMap : pulled p X Y f I m ⟶ pulled p X Y f I n := |
| 85 | (F).map ((pull).map (Bounded.OpenSectionLevel.BoundedOpenSectionLevel.complexMap wittMap n m hnm I)) |
| 86 | |
| 87 | def opensMap : opens p X Y f I m ⟶ opens p X Y f I n := |
| 88 | (G).map (Bounded.OpenSectionLevel.BoundedOpenSectionLevel.complexMap wittMap n m hnm I) |
| 89 | |
| 90 | def targetMap : target p X Y f I m ⟶ target p X Y f I n := |
| 91 | FlasqueCechTotal.FlasqueCechGlobalNaturality.bicomplexMap.{1, 0, 2} R Y.left.carrier |
| 92 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f) (Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel.complexMap wittMap n m hnm I) |
| 93 | |
| 94 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 95 | |
| 96 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel |
| 97 | |
| 98 | /-! The original native integral-cover injective Cech comparison respects |
| 99 | the original bounded crystalline level transition. -/ |
| 100 | |
| 101 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 102 | |
| 103 | private theorem map_square {A B : Type*} [Category* A] [Category* B] |
| 104 | (F : A ⥤ B) {W X Y Z : A} (a : W ⟶ X) (b : X ⟶ Z) (c : W ⟶ Y) (d : Y ⟶ Z) |
| 105 | (h : a ≫ b = c ≫ d) : F.map a ≫ F.map b = F.map c ≫ F.map d := |
| 106 | (F.map_comp a b).symm.trans ((congrArg F.map h).trans (F.map_comp c d)) |
| 107 | |
| 108 | private theorem three_squares {A : Type*} [Category* A] {W X Y Z W' X' Y' Z' : A} |
| 109 | (p : W ⟶ W') (q : X ⟶ X') (r : Y ⟶ Y') (s : Z ⟶ Z') |
| 110 | (a : W ⟶ X) (b : X ⟶ Y) (c : Y ⟶ Z) |
| 111 | (a' : W' ⟶ X') (b' : X' ⟶ Y') (c' : Y' ⟶ Z') |
| 112 | (h₁ : p ≫ a' = a ≫ q) (h₂ : q ≫ b' = b ≫ r) (h₃ : r ≫ c' = c ≫ s) : |
| 113 | p ≫ (a' ≫ b' ≫ c') = (a ≫ b ≫ c) ≫ s := by |
| 114 | have h := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 115 | have h' := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h h₃ |
| 116 | simpa only [Category.assoc] using h' |
| 117 | |
| 118 | variable (p : ℕ) [Fact p.Prime] |
| 119 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 120 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) |
| 121 | (f : Y.left ⟶ X.left) |
| 122 | (n m : ℕ) (hnm : n ≤ m) |
| 123 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 124 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 125 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 126 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 127 | |
| 128 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 129 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 130 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 131 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap n I |
| 132 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap m I |
| 133 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 134 | local notation "special" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f |
| 135 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 136 | |
| 137 | local instance tuple_preserves (q : ℕ) (t : Fin (q + 1) → Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : |
| 138 | PreservesLimit (Discrete.functor (U ∘ t)) special := by |
| 139 | dsimp only [SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens] |
| 140 | infer_instance |
| 141 | |
| 142 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 143 | |
| 144 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.cechFunctor p X |
| 145 | local notation "G" => Functor.mapHomologicalComplex |
| 146 | (IntegralComparison.NonemptyCechNerve.complexFunctor (A := IntrinsicPadicInjectiveCechLevelData.Values p) |
| 147 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f)) (ComplexShape.up ℕ) |
| 148 | |
| 149 | abbrev sectionsMap := InjectiveSectionLevelCoordinates.IntrinsicPadicInjectiveSectionLevelCoordinates.sectionsMap p X Y f n m hnm I |
| 150 | |
| 151 | theorem source_square : IntrinsicPadicInjectiveCechLevelData.nativeMap p X Y f n m hnm I ≫ (IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I n).hom = |
| 152 | (IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I m).hom ≫ IntrinsicPadicInjectiveCechLevelData.pulledMap p X Y f n m hnm I := |
| 153 | map_square F _ _ _ _ (InjectiveSectionLevelCoordinates.IntrinsicPadicInjectiveSectionLevelCoordinates.source p X Y f n m hnm I) |
| 154 | |
| 155 | theorem middle_square : IntrinsicPadicInjectiveCechLevelData.pulledMap p X Y f n m hnm I ≫ (IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I n).hom = |
| 156 | (IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I m).hom ≫ IntrinsicPadicInjectiveCechLevelData.opensMap p X Y f n m hnm I := by |
| 157 | apply HomologicalComplex.Hom.ext |
| 158 | funext i |
| 159 | exact NonemptyCech.ProductBaseChangeNaturality.NonemptyCechProductBaseChangeNaturality.naturality (A := IntrinsicPadicInjectiveCechLevelData.Values p) special U |
| 160 | ((Bounded.OpenSectionLevel.BoundedOpenSectionLevel.complexMap wittMap n m hnm I).f i) |
| 161 | |
| 162 | omit [X.left.IsSeparated] in |
| 163 | theorem target_square : IntrinsicPadicInjectiveCechLevelData.opensMap p X Y f n m hnm I ≫ (IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I n).hom = |
| 164 | (IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I m).hom ≫ IntrinsicPadicInjectiveCechLevelData.targetMap p X Y f n m hnm I := by |
| 165 | apply HomologicalComplex.Hom.ext |
| 166 | funext i |
| 167 | exact map_square (IntegralComparison.NonemptyCechNerve.complexFunctor (A := IntrinsicPadicInjectiveCechLevelData.Values p) |
| 168 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f)) _ _ _ _ |
| 169 | (congrArg (fun q => q.f i) (InjectiveSectionLevelCoordinates.IntrinsicPadicInjectiveSectionLevelCoordinates.target p Y n m hnm I)) |
| 170 | |
| 171 | def comparisonIso (q : ℕ) : IntrinsicPadicInjectiveCechLevelData.native p X Y f I q ≅ IntrinsicPadicInjectiveCechLevelData.target p X Y f I q := |
| 172 | IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I q ≪≫ IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I q ≪≫ IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I q |
| 173 | |
| 174 | theorem named_natural : IntrinsicPadicInjectiveCechLevelData.nativeMap p X Y f n m hnm I ≫ |
| 175 | (IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I n ≪≫ IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I n ≪≫ IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I n).hom = |
| 176 | (IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I m ≪≫ IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I m ≪≫ IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I m).hom ≫ |
| 177 | IntrinsicPadicInjectiveCechLevelData.targetMap p X Y f n m hnm I := |
| 178 | three_squares _ _ _ _ _ _ _ _ _ _ (source_square p X Y f n m hnm I) |
| 179 | (middle_square p X Y f n m hnm I) (target_square p X Y f n m hnm I) |
| 180 | |
| 181 | theorem bicomplex_natural : IntrinsicPadicInjectiveCechLevelData.nativeMap p X Y f n m hnm I ≫ |
| 182 | (comparisonIso p X Y f I n).hom = |
| 183 | (comparisonIso p X Y f I m).hom ≫ IntrinsicPadicInjectiveCechLevelData.targetMap p X Y f n m hnm I := |
| 184 | named_natural p X Y f n m hnm I |
| 185 | |
| 186 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI |