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.OpenRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameSource |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap |
| 4 | |
| 5 | /-! # Frame Open -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameOpen.IntrinsicPadicGeometricFrameOpen |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native frame comparison is geometrically natural |
| 12 | on both variables of the compatible-affine-pair section diagram. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 18 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 19 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 20 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 23 | |
| 24 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 25 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 27 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₁ Y₁ f₁ hp₁ n |
| 29 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₂ Y₂ f₂ hp₂ n |
| 30 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagram.IntrinsicPadicFrameGeometricDiagram.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n |
| 31 | |
| 32 | local instance sourceSeparated : IsSeparated w₁ := by |
| 33 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 34 | infer_instance |
| 35 | local instance targetSeparated : IsSeparated w₂ := by |
| 36 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 37 | infer_instance |
| 38 | |
| 39 | local instance constPairsZero : |
| 40 | (Functor.const (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ : ModuleCat.{2} Rcoeff ⥤ |
| 41 | (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 42 | map_zero _ _ := rfl |
| 43 | local instance constSourceZero : |
| 44 | (Functor.const Y₁.left.Opensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ Y₁.left.Opensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 45 | map_zero _ _ := rfl |
| 46 | local instance constTargetZero : |
| 47 | (Functor.const Y₂.left.Opensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ Y₂.left.Opensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 48 | map_zero _ _ := rfl |
| 49 | |
| 50 | def sourcePullback : (Y₁.left.Opensᵒᵖ ⥤ ModuleCat.{2} Rcoeff) ⥤ |
| 51 | ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff) := |
| 52 | (Functor.whiskeringLeft _ _ _).obj (OpenPairs.IntrinsicPadicGeometricOpenPairs.source p u f₁).op |
| 53 | def targetPullback : (Y₂.left.Opensᵒᵖ ⥤ ModuleCat.{2} Rcoeff) ⥤ |
| 54 | ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff) := |
| 55 | (Functor.whiskeringLeft _ _ _).obj (OpenPairs.IntrinsicPadicGeometricOpenPairs.target p u f₂).op |
| 56 | |
| 57 | instance sourcePullback_additive : (sourcePullback p u f₁).Additive := by |
| 58 | dsimp only [sourcePullback] |
| 59 | infer_instance |
| 60 | instance targetPullback_additive : (targetPullback p u f₂).Additive := by |
| 61 | dsimp only [targetPullback] |
| 62 | infer_instance |
| 63 | |
| 64 | def constantComplexes : CochainComplex (ModuleCat.{2} Rcoeff) ℕ ⥤ |
| 65 | CochainComplex ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff) ℕ := |
| 66 | (Functor.const (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ : ModuleCat.{2} Rcoeff ⥤ |
| 67 | (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff).mapHomologicalComplex (.up ℕ) |
| 68 | |
| 69 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameOpen.IntrinsicPadicGeometricFrameOpen.constantComplexes p u |
| 70 | |
| 71 | def sourceOpen : (P).op ⋙ Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source w₁ n ⋙ K ⟶ |
| 72 | (P).op ⋙ BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₁ n ⋙ |
| 73 | (SectionMap.IntrinsicPadicGeometricSectionMap.sourceSections p u f₁ n).mapHomologicalComplex (.up ℕ) := |
| 74 | Functor.whiskerRight (Functor.whiskerLeft (P).op (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w₁ n)) |
| 75 | ((sourcePullback p u f₁).mapHomologicalComplex (.up ℕ)) |
| 76 | |
| 77 | def targetOpen : (Q).op ⋙ Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source w₂ n ⋙ K ⟶ |
| 78 | (Q).op ⋙ BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₂ n ⋙ |
| 79 | (SectionMap.IntrinsicPadicGeometricSectionMap.targetSections p u f₂ n).mapHomologicalComplex (.up ℕ) := |
| 80 | Functor.whiskerRight (Functor.whiskerLeft (Q).op (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w₂ n)) |
| 81 | ((targetPullback p u f₂).mapHomologicalComplex (.up ℕ)) |
| 82 | |
| 83 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 84 | theorem frame_component (U : Affine.MapPairs.AffineMapPairs.Charts u.left) : |
| 85 | (FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n).app (op U) = |
| 86 | ((ModuleCat.uliftFunctor.{2, 1} Rcoeff).mapHomologicalComplex (.up ℕ)).map |
| 87 | (IntegralComparison.BoundedFrame.SectionChange.frameMap ((a).app U)) := |
| 88 | FrameSource.IntrinsicPadicGeometricFrameSource.component p u v f₁ f₂ hp₁ hp₂ hsquare n U |
| 89 | |
| 90 | theorem component (F U : Affine.MapPairs.AffineMapPairs.Charts u.left) (i : ℕ) : |
| 91 | (((targetOpen p u f₂ hp₂ n).app (op F)).f i).app (op U) ≫ |
| 92 | (((SectionMap.IntrinsicPadicGeometricSectionMap.complexes p u v f₁ f₂ hsquare n hp₁ hp₂).app (op F)).f i).app (op U) = |
| 93 | ((FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n).app (op F)).f i ≫ |
| 94 | (((sourceOpen p u f₁ hp₁ n).app (op F)).f i).app (op U) := by |
| 95 | have h := Frame.OpenRestriction.FrameGeometricOpenRestriction.natural v.left (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n ((a).app F) |
| 96 | (f₂ ⁻¹ᵁ U.val.2.val) (f₁ ⁻¹ᵁ U.val.1.val) |
| 97 | (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare |
| 98 | U.val.2.val U.val.1.val U.property) i |
| 99 | have hc := congrArg (fun q => q.f i) (frame_component p u v f₁ f₂ hp₁ hp₂ hsquare n F) |
| 100 | exact h.trans (congrArg (fun q => q ≫ |
| 101 | (((Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w₁ n).app (op ((P).obj F))).f i).app |
| 102 | (op (f₁ ⁻¹ᵁ U.val.1.val))) hc.symm) |
| 103 | |
| 104 | /-- Restrict the target frame comparison along the original section map. -/ |
| 105 | def naturalityLeft := targetOpen p u f₂ hp₂ n ≫ |
| 106 | SectionMap.IntrinsicPadicGeometricSectionMap.complexes p u v f₁ f₂ hsquare n hp₁ hp₂ |
| 107 | |
| 108 | /-- Apply the frame map before the source open comparison. -/ |
| 109 | def naturalityRight := |
| 110 | Functor.whiskerRight (FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n) K ≫ |
| 111 | sourceOpen p u f₁ hp₁ n |
| 112 | |
| 113 | theorem natural : naturalityLeft p u v f₁ f₂ hp₁ hp₂ hsquare n = |
| 114 | naturalityRight p u v f₁ f₂ hp₁ hp₂ hsquare n := by |
| 115 | apply NatTrans.ext |
| 116 | funext F |
| 117 | apply HomologicalComplex.Hom.ext |
| 118 | funext i |
| 119 | apply NatTrans.ext |
| 120 | funext U |
| 121 | exact component p u v f₁ f₂ hp₁ hp₂ hsquare n F.unop U.unop i |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameOpen.IntrinsicPadicGeometricFrameOpen |