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.FrameCechOne |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProductPreservation |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionComplexRestriction |
| 6 | |
| 7 | /-! # Injective Cech Global -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The native integral-cover Cech total of original injective open sections |
| 14 | computes the original global bounded crystalline cohomology. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | private structure IsoChain (C : Type*) [Category C] where |
| 19 | X₀ : C |
| 20 | X₁ : C |
| 21 | X₂ : C |
| 22 | X₃ : C |
| 23 | a : X₀ ≅ X₁ |
| 24 | b : X₁ ≅ X₂ |
| 25 | c : X₂ ≅ X₃ |
| 26 | |
| 27 | private def IsoChain.compose {C : Type*} [Category C] (chain : IsoChain C) : |
| 28 | chain.X₀ ≅ chain.X₃ := chain.a ≪≫ chain.b ≪≫ chain.c |
| 29 | |
| 30 | variable (p : ℕ) [Fact p.Prime] |
| 31 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 32 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 33 | (f : Y.left ⟶ X.left) |
| 34 | (n : ℕ) |
| 35 | |
| 36 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 37 | |
| 38 | local instance coefficientRing : Ring Rcoeff := (inferInstance : CommRing Rcoeff).toRing |
| 39 | |
| 40 | local notation "coverOpens" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 41 | local notation "special" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f |
| 42 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 43 | |
| 44 | def specialCover : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X → Y.left.Opens := |
| 45 | (special).obj ∘ coverOpens |
| 46 | |
| 47 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 48 | theorem cover : iSup (specialCover p X Y f) = ⊤ := by |
| 49 | apply top_unique |
| 50 | intro y _ |
| 51 | have hy : f y ∈ ⨆ i, Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X i := by |
| 52 | rw [Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.cover] |
| 53 | trivial |
| 54 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hy |
| 55 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 56 | |
| 57 | local instance tuple_preserves (m : ℕ) (t : Fin (m + 1) → Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : |
| 58 | PreservesLimit (Discrete.functor (coverOpens ∘ t)) special := by |
| 59 | dsimp only [SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens] |
| 60 | infer_instance |
| 61 | |
| 62 | variable (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 63 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 64 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 65 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 66 | |
| 67 | private def restrictionBicomplexIso := |
| 68 | ((IntegralComparison.NonemptyCechNerve.complexFunctor coverOpens).mapHomologicalComplex (.up ℕ)).mapIso |
| 69 | (SectionComplexRestriction.IntrinsicPadicSectionComplexRestriction.comparisonIso p X Y f n J) |
| 70 | |
| 71 | private def productBicomplexIso := |
| 72 | NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso (A := ModuleCat.{2} Rcoeff) special coverOpens |
| 73 | (IntegralComparison.BoundedOpen.SectionComplex.complex wittMap n J) |
| 74 | |
| 75 | private def flasqueBicomplexIso := |
| 76 | ((IntegralComparison.NonemptyCechNerve.complexFunctor (specialCover p X Y f)).mapHomologicalComplex (.up ℕ)).mapIso |
| 77 | (IntegralComparison.BoundedOpen.FlasqueComplex.underlyingComplexIso wittMap n J).symm |
| 78 | |
| 79 | private def isoSource {C : Type*} [Category C] {A B : C} (_e : A ≅ B) : C := A |
| 80 | private def isoTarget {C : Type*} [Category C] {A B : C} (_e : A ≅ B) : C := B |
| 81 | |
| 82 | private def alignedRestriction : |
| 83 | (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff (IntegralComparison.NonemptyCechNerve.nerve coverOpens)).obj |
| 84 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n).mapHomologicalComplex (.up ℕ)).obj J.cocomplex) ≅ isoTarget (restrictionBicomplexIso p X Y f n J) := |
| 85 | restrictionBicomplexIso p X Y f n J |
| 86 | |
| 87 | private def alignedProduct : |
| 88 | isoTarget (restrictionBicomplexIso p X Y f n J) ≅ |
| 89 | isoSource (flasqueBicomplexIso p X Y f n J) := |
| 90 | productBicomplexIso p X Y f n J |
| 91 | |
| 92 | private def alignedFlasque : |
| 93 | isoSource (flasqueBicomplexIso p X Y f n J) ≅ |
| 94 | FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex.{1, 0, 2} Rcoeff Y.left.carrier (specialCover p X Y f) |
| 95 | (IntegralComparison.BoundedOpen.FlasqueComplex.complex wittMap n J) := |
| 96 | flasqueBicomplexIso p X Y f n J |
| 97 | |
| 98 | private def comparisonChain : IsoChain |
| 99 | (CochainComplex (CochainComplex (ModuleCat.{2} Rcoeff) ℕ) ℕ) where |
| 100 | X₀ := _ |
| 101 | X₁ := _ |
| 102 | X₂ := _ |
| 103 | X₃ := _ |
| 104 | a := alignedRestriction p X Y f n J |
| 105 | b := alignedProduct p X Y f n J |
| 106 | c := alignedFlasque p X Y f n J |
| 107 | |
| 108 | def bicomplexIso : |
| 109 | (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff (IntegralComparison.NonemptyCechNerve.nerve coverOpens)).obj |
| 110 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n).mapHomologicalComplex (.up ℕ)).obj J.cocomplex) ≅ |
| 111 | FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex.{1, 0, 2} Rcoeff Y.left.carrier (specialCover p X Y f) |
| 112 | (IntegralComparison.BoundedOpen.FlasqueComplex.complex wittMap n J) := |
| 113 | (IsoChain.compose (comparisonChain p X Y f n J)) |
| 114 | |
| 115 | def homologyIso (i : ℕ) : |
| 116 | (((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff (IntegralComparison.NonemptyCechNerve.nerve coverOpens)).obj |
| 117 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n).mapHomologicalComplex (.up ℕ)).obj J.cocomplex)).total |
| 118 | (.up ℕ)).homology i ≅ |
| 119 | ModuleCat.of Rcoeff (IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 120 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 121 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap n i) := |
| 122 | (HomologicalComplex.homologyFunctor _ _ i).mapIso |
| 123 | (HomologicalComplex₂.total.mapIso (bicomplexIso p X Y f n J) (.up ℕ)) ≪≫ |
| 124 | Bounded.FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.homologyIso wittMap n J (specialCover p X Y f) |
| 125 | (cover p X Y f) i |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal |