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.LevelZero.FrameOpenFrobeniusNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameSource |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusSectionMap |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexWhisker |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.MappedSquare |
| 6 | |
| 7 | /-! # Frobenius Frame Open -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameOpen.IntrinsicPadicFrobeniusFrameOpen |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Reindexing the actual full-frame Frobenius square gives the |
| 14 | native frame-to-open-section square without expanding affine coordinates. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 25 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | local notation "Frames" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.Objects (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 28 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 29 | local notation "V" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp 0) |
| 30 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 31 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.over_witt p Y |
| 32 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 33 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 34 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) g hg 0 |
| 35 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 38 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 39 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 40 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 41 | local notation "O" => OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 43 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 44 | |
| 45 | local instance separated : IsSeparated w := by |
| 46 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 47 | infer_instance |
| 48 | |
| 49 | local instance constXZero : |
| 50 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 51 | map_zero _ _ := rfl |
| 52 | |
| 53 | local instance constYZero : |
| 54 | (Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 55 | map_zero _ _ := rfl |
| 56 | |
| 57 | def openPullback : (Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) := |
| 58 | (Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} R)).obj |
| 59 | (SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f).op |
| 60 | |
| 61 | instance openPullback_additive : (openPullback p X Y f).Additive := by |
| 62 | dsimp only [openPullback] |
| 63 | infer_instance |
| 64 | |
| 65 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameOpen.IntrinsicPadicFrobeniusFrameOpen.openPullback p X Y f |
| 66 | |
| 67 | def reindex : (Framesᵒᵖ ⥤ CochainComplex (Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R) ℕ) ⥤ |
| 68 | (X.left.affineOpensᵒᵖ ⥤ CochainComplex (X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ℕ) := |
| 69 | (Functor.whiskeringLeft _ _ _).obj V ⋙ |
| 70 | (Functor.whiskeringRight _ _ _).obj ((H).mapHomologicalComplex (.up ℕ)) |
| 71 | |
| 72 | omit [X.left.IsSeparated] in |
| 73 | theorem open_eq : (reindex p X Y f hp).map O = FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp 0 := rfl |
| 74 | |
| 75 | omit [X.left.IsSeparated] in |
| 76 | theorem sections_eq : (reindex p X Y f hp).map (LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality.sectionsMap p Y) = |
| 77 | FrobeniusSectionMap.IntrinsicPadicFrobeniusSectionMap.complexes p X Y f hp := |
| 78 | Section.ComplexWhisker.SectionComplexWhisker.natural T S S P P (LevelZero.FrameFrobeniusSheaf.LevelZeroFrameFrobeniusSheaf.transformation p Y) |
| 79 | (LevelZero.FrobeniusOpenMap.LevelZeroFrobeniusOpenMap.largeFunctorMap p Y) V H |
| 80 | |
| 81 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 82 | theorem source_eq : (reindex p X Y f hp).map |
| 83 | (Functor.whiskerRight (LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality.sourceMap p Y) |
| 84 | ((Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ))) = |
| 85 | Functor.whiskerRight (FrobeniusFrameSource.IntrinsicPadicFrobeniusFrameSource.transformation p X Y f hp) |
| 86 | ((Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ)) := rfl |
| 87 | |
| 88 | omit [X.left.IsSeparated] in |
| 89 | theorem natural : FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp 0 ≫ |
| 90 | FrobeniusSectionMap.IntrinsicPadicFrobeniusSectionMap.complexes p X Y f hp = |
| 91 | Functor.whiskerRight (FrobeniusFrameSource.IntrinsicPadicFrobeniusFrameSource.transformation p X Y f hp) |
| 92 | ((Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ)) ≫ |
| 93 | FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp 0 := |
| 94 | MappedSquare.MappedSquareCoordinates.square (reindex p X Y f hp) |
| 95 | O (LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality.sectionsMap p Y) |
| 96 | (Functor.whiskerRight (LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality.sourceMap p Y) |
| 97 | ((Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ))) O |
| 98 | _ _ _ _ (LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality.natural p Y) |
| 99 | (open_eq p X Y f hp) (sections_eq p X Y f hp) |
| 100 | (source_eq p X Y f hp) (open_eq p X Y f hp) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameOpen.IntrinsicPadicFrobeniusFrameOpen |