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.Frame.OpenSectionNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexEvaluated |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCone |
| 5 | |
| 6 | /-! # Frame Diagonal Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual frame de Rham complexes map naturally into the native |
| 13 | diagonal section complex through the original global-to-open section maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (n : ℕ) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 27 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 28 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n |
| 29 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 30 | |
| 31 | local instance constPreservesZero : |
| 32 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 33 | map_zero _ _ := rfl |
| 34 | |
| 35 | local instance separated : IsSeparated w := by |
| 36 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 37 | infer_instance |
| 38 | |
| 39 | def source : X.left.affineOpensᵒᵖ ⥤ CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 40 | (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op ⋙ |
| 41 | Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source w n |
| 42 | |
| 43 | def openTransformation : source p X Y f hp n ⋙ |
| 44 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).mapHomologicalComplex (.up ℕ) ⟶ |
| 45 | P ⋙ (S).mapHomologicalComplex (.up ℕ) := |
| 46 | Functor.whiskerRight |
| 47 | (Functor.whiskerLeft (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op |
| 48 | (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w n)) |
| 49 | (((Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} Rcoeff)).obj |
| 50 | (SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f).op).mapHomologicalComplex (.up ℕ)) |
| 51 | |
| 52 | def transformation : source p X Y f hp n ⟶ |
| 53 | BifunctorDiagonalEq.BifunctorDiagonal.functor (SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp n) := |
| 54 | ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation (source p X Y f hp n) |
| 55 | (P ⋙ (S).mapHomologicalComplex (.up ℕ)) (openTransformation p X Y f hp n) |
| 56 | |
| 57 | def map : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (source p X Y f hp n) ⟶ |
| 58 | Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S P := |
| 59 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (transformation p X Y f hp n) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap |