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.FrobeniusFrameComplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralInjective |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameFrobeniusCoefficientForms |
| 4 | |
| 5 | /-! # Frobenius Frame Source -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameSource.IntrinsicPadicFrobeniusFrameSource |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual frame Frobenius acts on the native large-coefficient |
| 12 | frame-source diagram and is zero in every positive form degree. -/ |
| 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 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 23 | |
| 24 | def transformation : FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X Y f hp 0 ⟶ |
| 25 | FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X Y f hp 0 := |
| 26 | Functor.whiskerRight |
| 27 | (Functor.whiskerLeft (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp 0).op |
| 28 | (LevelZero.FrobeniusFrameComplex.LevelZeroFrobeniusFrameComplex.transformation p Y)) |
| 29 | ((IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p).mapHomologicalComplex (.up ℕ)) |
| 30 | |
| 31 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 32 | theorem component (U : X.left.affineOpens) : (transformation p X Y f hp).app (op U) = |
| 33 | ((ModuleCat.uliftFunctor.{2, 1} R).mapHomologicalComplex (.up ℕ)).map |
| 34 | (IntegralComparison.BoundedFrame.SectionChange.frameMap (LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y |
| 35 | ((FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp 0).obj U))) := by |
| 36 | change ((IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p).mapHomologicalComplex (.up ℕ)).map |
| 37 | ((LevelZero.FrobeniusFrameComplex.LevelZeroFrobeniusFrameComplex.pulled p Y).app |
| 38 | (op ((FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp 0).obj U)) ≫ 𝟙 _) = _ |
| 39 | rw [Category.comp_id] |
| 40 | rfl |
| 41 | |
| 42 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 43 | theorem positive (U : X.left.affineOpens) (n : ℕ) (hn : 0 < n) : |
| 44 | ((transformation p X Y f hp).app (op U)).f n = 0 := by |
| 45 | rw [component] |
| 46 | exact LevelZero.FrameFrobeniusCoefficientForms.LevelZeroFrameFrobeniusCoefficientForms.positive p Y |
| 47 | ((FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp 0).obj U) n hn |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusFrameSource.IntrinsicPadicFrobeniusFrameSource |