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.OpenSectionLevel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameSourceLevelMap |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap |
| 4 | |
| 5 | /-! # Frame Open Level -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameOpenLevel.IntrinsicPadicFrameOpenLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native frame-to-open-section transformation is natural |
| 12 | for the canonical prime-power level maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 19 | (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (n m : ℕ) (hnm : n ≤ m) |
| 22 | |
| 23 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 24 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 25 | |
| 26 | local instance separated : IsSeparated wittMap := by |
| 27 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 28 | infer_instance |
| 29 | |
| 30 | local instance constPreservesZero : |
| 31 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 32 | map_zero _ _ := rfl |
| 33 | |
| 34 | omit [X.left.IsSeparated] in |
| 35 | theorem natural : FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp m ≫ |
| 36 | SectionLevelMap.IntrinsicPadicSectionLevelMap.complexes p X Y f n m hnm hp = |
| 37 | Functor.whiskerRight (FrameSourceLevelMap.IntrinsicPadicFrameSourceLevelMap.transformation p X Y f hp n m hnm) |
| 38 | ((Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ)) ≫ |
| 39 | FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp n := by |
| 40 | apply NatTrans.ext |
| 41 | funext U |
| 42 | apply HomologicalComplex.Hom.ext |
| 43 | funext i |
| 44 | apply NatTrans.ext |
| 45 | funext V |
| 46 | exact congrArg (fun q => (q.f i).app ((SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f).op.obj V)) |
| 47 | (Frame.OpenSectionLevel.FrameOpenSectionLevel.natural wittMap n m hnm |
| 48 | (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp U.unop.val U.unop.property n m hnm)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameOpenLevel.IntrinsicPadicFrameOpenLevel |