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.IntegralComparison.ConstantSection.OpenTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap |
| 4 | |
| 5 | /-! # Constant Open Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ConstantOpenCoordinates.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical constant-sheaf section construction is the original |
| 12 | frame-to-open-section transformation on the actual truncated model. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom |
| 20 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 21 | |
| 22 | local notation "W" => WittVector p (ZMod p) |
| 23 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 24 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 25 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 26 | local notation "JT" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology |
| 27 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 28 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections |
| 29 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 30 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n |
| 31 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.pdComplexes p X Y f hp n ⋙ |
| 32 | Functor.mapHomologicalComplex (Crystalline.RelativeResolution.coefficientFunctor (B := W)) (ComplexShape.up ℕ) |
| 33 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 34 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates.Intrinsic.transformation p X Y f hp n |
| 35 | |
| 36 | local instance separated : IsSeparated w := by |
| 37 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 38 | infer_instance |
| 39 | |
| 40 | local instance constZero : |
| 41 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} CR ⥤ |
| 42 | X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} CR).PreservesZeroMorphisms where |
| 43 | map_zero _ _ := rfl |
| 44 | |
| 45 | def restriction : G ⋙ Functor.const X.left.affineOpensᵒᵖ ⟶ S := |
| 46 | Functor.whiskerRight (GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation |
| 47 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 48 | ((Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} CR)).obj |
| 49 | (GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f).op) |
| 50 | |
| 51 | abbrev extIso := Ext.ZeroPresheafSections.iso.{1,0,1,2} CR JT |
| 52 | |
| 53 | def transformation := ConstantSection.OpenTotal.transformation.{1,0,1,2,0,0} CR JT G S |
| 54 | (extIso p Y n).hom (restriction p X Y f n) Q P a |
| 55 | |
| 56 | omit [IsProper X.hom] [X.left.IsSeparated] in |
| 57 | theorem transformation_eq : transformation p X Y f hp n = |
| 58 | GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp n := by |
| 59 | apply NatTrans.ext |
| 60 | funext U |
| 61 | apply HomologicalComplex.Hom.ext |
| 62 | funext i |
| 63 | apply NatTrans.ext |
| 64 | funext V |
| 65 | rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ConstantOpenCoordinates.Intrinsic |