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 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplexNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusInjectiveSectionCoordinates |
| 4 | |
| 5 | /-! # Frobenius Injective Cech -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusInjectiveCech.IntrinsicPadicFrobeniusInjectiveCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native integral-cover injective Cech comparison respects |
| 12 | actual level-zero crystalline Frobenius. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | private theorem map_square {A B : Type*} [Category* A] [Category* B] |
| 17 | (F : A ⥤ B) {W X Y Z : A} (a : W ⟶ X) (b : X ⟶ Z) (c : W ⟶ Y) (d : Y ⟶ Z) |
| 18 | (h : a ≫ b = c ≫ d) : F.map a ≫ F.map b = F.map c ≫ F.map d := |
| 19 | (F.map_comp a b).symm.trans ((congrArg F.map h).trans (F.map_comp c d)) |
| 20 | |
| 21 | private theorem three_squares {A : Type*} [Category* A] {W X Y Z W' X' Y' Z' : A} |
| 22 | (p : W ⟶ W') (q : X ⟶ X') (r : Y ⟶ Y') (s : Z ⟶ Z') |
| 23 | (a : W ⟶ X) (b : X ⟶ Y) (c : Y ⟶ Z) |
| 24 | (a' : W' ⟶ X') (b' : X' ⟶ Y') (c' : Y' ⟶ Z') |
| 25 | (h₁ : p ≫ a' = a ≫ q) (h₂ : q ≫ b' = b ≫ r) (h₃ : r ≫ c' = c ≫ s) : |
| 26 | p ≫ (a' ≫ b' ≫ c') = (a ≫ b ≫ c) ≫ s := by |
| 27 | have h := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 28 | have h' := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h h₃ |
| 29 | simpa only [Category.assoc] using h' |
| 30 | |
| 31 | variable (p : ℕ) [Fact p.Prime] |
| 32 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 33 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) |
| 34 | (f : Y.left ⟶ X.left) |
| 35 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 38 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 39 | |
| 40 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 41 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 42 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 43 | local notation "I0" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap 0 I |
| 44 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 45 | local notation "special" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f |
| 46 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 47 | |
| 48 | local instance tuple_preserves (q : ℕ) (t : Fin (q + 1) → Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : |
| 49 | PreservesLimit (Discrete.functor (U ∘ t)) special := by |
| 50 | dsimp only [SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens] |
| 51 | infer_instance |
| 52 | |
| 53 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 54 | |
| 55 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.cechFunctor p X |
| 56 | local notation "G" => Functor.mapHomologicalComplex |
| 57 | (IntegralComparison.NonemptyCechNerve.complexFunctor (A := InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) |
| 58 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f)) (ComplexShape.up ℕ) |
| 59 | |
| 60 | abbrev sectionsMap := FrobeniusInjectiveSectionCoordinates.IntrinsicPadicFrobeniusInjectiveSectionCoordinates.sectionsMap p X Y f I0 |
| 61 | |
| 62 | def nativeMap : InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I 0 ⟶ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I 0 := |
| 63 | (F).map (sectionsMap p X Y f I) |
| 64 | |
| 65 | def pulledMap : InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.pulled p X Y f I 0 ⟶ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.pulled p X Y f I 0 := |
| 66 | (F).map (((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) special).mapHomologicalComplex (.up ℕ)).map |
| 67 | (LevelZero.BoundedOpenFrobenius.LevelZeroBoundedOpenFrobenius.map p Y I0)) |
| 68 | |
| 69 | def opensMap : InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.opens p X Y f I 0 ⟶ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.opens p X Y f I 0 := |
| 70 | (G).map (LevelZero.BoundedOpenFrobenius.LevelZeroBoundedOpenFrobenius.map p Y I0) |
| 71 | |
| 72 | def targetMap : InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.target p X Y f I 0 ⟶ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.target p X Y f I 0 := |
| 73 | FlasqueCechTotal.FlasqueCechGlobalNaturality.bicomplexMap.{1, 0, 2} R Y.left.carrier |
| 74 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f) (LevelZero.BoundedOpenFrobenius.LevelZeroBoundedOpenFrobenius.flasqueMap p Y I0) |
| 75 | |
| 76 | theorem source_square : nativeMap p X Y f I ≫ (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I 0).hom = |
| 77 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I 0).hom ≫ pulledMap p X Y f I := |
| 78 | map_square F _ _ _ _ (FrobeniusInjectiveSectionCoordinates.IntrinsicPadicFrobeniusInjectiveSectionCoordinates.source p X Y f I0) |
| 79 | |
| 80 | theorem middle_square : pulledMap p X Y f I ≫ (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I 0).hom = |
| 81 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I 0).hom ≫ opensMap p X Y f I := by |
| 82 | apply HomologicalComplex.Hom.ext |
| 83 | funext i |
| 84 | exact NonemptyCech.ProductBaseChangeNaturality.NonemptyCechProductBaseChangeNaturality.naturality (A := InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) special U |
| 85 | ((LevelZero.BoundedOpenFrobenius.LevelZeroBoundedOpenFrobenius.map p Y I0).f i) |
| 86 | |
| 87 | omit [X.left.IsSeparated] in |
| 88 | theorem target_square : opensMap p X Y f I ≫ (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I 0).hom = |
| 89 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I 0).hom ≫ targetMap p X Y f I := by |
| 90 | apply HomologicalComplex.Hom.ext |
| 91 | funext i |
| 92 | exact map_square (IntegralComparison.NonemptyCechNerve.complexFunctor (A := InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.Values p) |
| 93 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f)) _ _ _ _ |
| 94 | (congrArg (fun q => q.f i) (FrobeniusInjectiveSectionCoordinates.IntrinsicPadicFrobeniusInjectiveSectionCoordinates.target p Y I0)) |
| 95 | |
| 96 | abbrev comparisonIso := InjectiveCechLevel.IntrinsicPadicInjectiveCechLevel.comparisonIso p X Y f I 0 |
| 97 | |
| 98 | theorem named_natural : nativeMap p X Y f I ≫ |
| 99 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I 0 ≪≫ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I 0 ≪≫ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I 0).hom = |
| 100 | (InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.sourceIso p X Y f I 0 ≪≫ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.middleIso p X Y f I 0 ≪≫ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.targetIso p X Y f I 0).hom ≫ |
| 101 | targetMap p X Y f I := |
| 102 | three_squares _ _ _ _ _ _ _ _ _ _ (source_square p X Y f I) |
| 103 | (middle_square p X Y f I) (target_square p X Y f I) |
| 104 | |
| 105 | theorem bicomplex_natural : nativeMap p X Y f I ≫ |
| 106 | (comparisonIso p X Y f I).hom = |
| 107 | (comparisonIso p X Y f I).hom ≫ targetMap p X Y f I := |
| 108 | named_natural p X Y f I |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusInjectiveCech.IntrinsicPadicFrobeniusInjectiveCech |