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.FrameFunctorMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebraFunctor |
| 3 | |
| 4 | /-! # Projection Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ProjectionNaturality.IntrinsicPadicProjectionNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native projection square, split at the underlying ring-homomorphism level. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | variable (p : ℕ) [Fact p.Prime] |
| 15 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 16 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 17 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 18 | (n : ℕ) |
| 19 | |
| 20 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n |
| 21 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X |
| 22 | |
| 23 | local instance padic (I : X.left.affineOpens) : Algebra ℤ_[p] (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val) := |
| 24 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X I.val |
| 25 | local instance witt (I : X.left.affineOpens) : Algebra (WittVector p (ZMod p)) (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val) := |
| 26 | WittAlgebra.PadicWittAlgebra.algebra p (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val) |
| 27 | |
| 28 | def projection (I : X.left.affineOpens) : |
| 29 | AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val →+* (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp I.val I.property n).obj.ring := |
| 30 | Ideal.Quotient.mk ((Ideal.span {(p : AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val)}) ^ (n + 1)) |
| 31 | |
| 32 | theorem projection_apply (I : X.left.affineOpens) (a : AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X I.val) : |
| 33 | projection p X Y f hp n I a = FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n I.val I.property a := rfl |
| 34 | |
| 35 | theorem restriction_apply {I J : X.left.affineOpens} (α : I ⟶ J) |
| 36 | (a : AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X J.val) : |
| 37 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom |
| 38 | (projection p X Y f hp n J a) = |
| 39 | projection p X Y f hp n I (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X I.val J.val (leOfHom α) a) := by |
| 40 | exact (DividedPowers.DPMorphism.toRingHom_apply _ _).trans ((congrArg (fun b => |
| 41 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp I.val J.val I.property J.property (leOfHom α) n).hom.ringMap b) |
| 42 | (projection_apply p X Y f hp n J a)).trans |
| 43 | ((FrameGenerators.IntrinsicPadicFrameGenerators.map p X Y f hp n I.val J.val I.property J.property (leOfHom α) a).trans |
| 44 | (projection_apply p X Y f hp n I _).symm)) |
| 45 | |
| 46 | omit [Smooth X.hom] in |
| 47 | theorem integral_map {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 48 | ((A).map α.op).hom.toRingHom = |
| 49 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X I.val J.val (leOfHom α)).toRingHom := rfl |
| 50 | |
| 51 | theorem natural {I J : X.left.affineOpens} (α : I ⟶ J) (a : (A).obj (op J)) : |
| 52 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom |
| 53 | (projection p X Y f hp n J a) = |
| 54 | projection p X Y f hp n I (((A).map α.op).hom a) := |
| 55 | (restriction_apply p X Y f hp n α a).trans |
| 56 | (congrArg (fun b => projection p X Y f hp n I b) (RingHom.congr_fun (integral_map p X α).symm a)) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ProjectionNaturality.IntrinsicPadicProjectionNaturality |