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.FrameDiagonalMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexF |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenSectionCoordinates |
| 4 | |
| 5 | /-! # Frame Diagonal Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalCoordinates.IntrinsicPadicFrameDiagonalCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native frame-diagonal map has exactly the original frame-section |
| 12 | and Zariski restriction components. -/ |
| 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]))) [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 | (n : ℕ) |
| 22 | |
| 23 | local notation "W" => WittVector p (ZMod p) |
| 24 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 25 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 26 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 27 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 29 | |
| 30 | local instance separated : IsSeparated w := by |
| 31 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 32 | infer_instance |
| 33 | |
| 34 | variable (I : X.left.affineOpens) |
| 35 | local notation "FY" => CategoryTheory.Functor.obj (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n) I |
| 36 | |
| 37 | local instance constPreservesZero : |
| 38 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 39 | map_zero _ _ := rfl |
| 40 | |
| 41 | omit [X.left.IsSeparated] in |
| 42 | theorem app_f (k : ℕ) : |
| 43 | ((FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.transformation p X Y f hp n).app (op I)).f k = |
| 44 | (IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{1, 0, 2} Rcoeff |
| 45 | (IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 46 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex w n FY) |
| 47 | (IntegralComparison.Bounded.RelativeSheafComplex.complex w n FY) |
| 48 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap w n FY)).f k ≫ |
| 49 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation w n).app |
| 50 | ((IntegralComparison.Bounded.RelativeSheafComplex.complex w n FY).X k)).app (op (f ⁻¹ᵁ I.val)) := by |
| 51 | have h₁ := ConstantComplexF.ConstantComplexDiagonalCoordinates.app_f |
| 52 | (FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X Y f hp n) |
| 53 | (P ⋙ (S).mapHomologicalComplex (.up ℕ)) |
| 54 | (FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp n) (op I) k |
| 55 | have h₂ := Frame.OpenSectionCoordinates.FrameOpenSectionCoordinates.open_app_f w n (op FY) (op (f ⁻¹ᵁ I.val)) k |
| 56 | have h₃ := Frame.OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app_f w n (op FY) k |
| 57 | exact h₁.trans (h₂.trans (congrArg (fun a => a ≫ |
| 58 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation w n).app |
| 59 | ((IntegralComparison.Bounded.RelativeSheafComplex.complex w n FY).X k)).app (op (f ⁻¹ᵁ I.val))) h₃)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalCoordinates.IntrinsicPadicFrameDiagonalCoordinates |