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.FrameGenerators |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingExt |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.RestrictionLaws |
| 4 | |
| 5 | /-! # Frame Functor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine integral-section frames form a strict functor on affine opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (n : ℕ) |
| 22 | |
| 23 | theorem map_id (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 24 | PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U U hU hU le_rfl n = |
| 25 | 𝟙 (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n) := |
| 26 | BoundedFrame.RingExt.BoundedFrameRingExt.id_of_formula (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n U hU) |
| 27 | (FrameGenerators.IntrinsicPadicFrameGenerators.surjective p X Y f hp n U hU) |
| 28 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U U hU hU le_rfl n) |
| 29 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X U U le_rfl) |
| 30 | (FrameGenerators.IntrinsicPadicFrameGenerators.map p X Y f hp n U U hU hU le_rfl) |
| 31 | (RestrictionLaws.IntrinsicPadicRestrictionLaws.id p X U) |
| 32 | |
| 33 | theorem map_comp (U V T : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 34 | (hT : IsAffineOpen T) (hUV : U ≤ V) (hVT : V ≤ T) : |
| 35 | PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U T hU hT (hUV.trans hVT) n = |
| 36 | PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n ≫ |
| 37 | PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp V T hV hT hVT n := |
| 38 | BoundedFrame.RingExt.BoundedFrameRingExt.comp_of_formulas |
| 39 | (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n U hU) |
| 40 | (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n V hV) |
| 41 | (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n T hT) |
| 42 | (FrameGenerators.IntrinsicPadicFrameGenerators.surjective p X Y f hp n T hT) |
| 43 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n) |
| 44 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp V T hV hT hVT n) |
| 45 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U T hU hT (hUV.trans hVT) n) |
| 46 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X U V hUV) |
| 47 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X V T hVT) |
| 48 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X U T (hUV.trans hVT)) |
| 49 | (FrameGenerators.IntrinsicPadicFrameGenerators.map p X Y f hp n U V hU hV hUV) |
| 50 | (FrameGenerators.IntrinsicPadicFrameGenerators.map p X Y f hp n V T hV hT hVT) |
| 51 | (FrameGenerators.IntrinsicPadicFrameGenerators.map p X Y f hp n U T hU hT (hUV.trans hVT)) |
| 52 | (RestrictionLaws.IntrinsicPadicRestrictionLaws.comp p X U V T hUV hVT) |
| 53 | |
| 54 | def functor : X.left.affineOpens ⥤ IntegralComparison.BoundedCrystalline.Site.Objects (p := p) |
| 55 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 56 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 57 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n where |
| 58 | obj U := ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U.val U.property n |
| 59 | map {U V} α := PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U.val V.val U.property V.property (leOfHom α) n |
| 60 | map_id U := IntrinsicPadicFrameFunctor.map_id p X Y f hp n U.val U.property |
| 61 | map_comp {U V T} α β := IntrinsicPadicFrameFunctor.map_comp p X Y f hp n U.val V.val T.val U.property V.property T.property |
| 62 | (leOfHom α) (leOfHom β) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor |