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.IntrinsicPadic.CechProduct |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.SectionNaturalTransformation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.Product |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafDiagramCone |
| 6 | |
| 7 | /-! # Frame Product Map -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProductMap.Intrinsic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual frame de Rham Čech total maps multiplicatively into |
| 14 | the original global p-adic-model presheaf resolution. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 23 | (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 26 | |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 30 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 31 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.diagram p X Y f hp n |
| 32 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 33 | local notation "FF" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n |
| 34 | local notation "BG" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.baseDiagram (p := p) |
| 35 | (J := Ideal.span {(p : W)}) (δ := γ) (f := w) (n := n) |
| 36 | |
| 37 | local instance separated : IsSeparated w := by |
| 38 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 39 | infer_instance |
| 40 | |
| 41 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.pdComplexes p X Y f hp n |
| 42 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 43 | |
| 44 | def transformation : Q ⋙ (Functor.const Dᵒᵖ).mapHomologicalComplex (.up ℕ) ⟶ P := |
| 45 | Functor.whiskerLeft (FF).op (GeometricComparison.Frame.SectionNaturalTransformation.FrameSectionNaturalTransformation.transformation w n) |
| 46 | |
| 47 | def localPairing (i j : ℕ) (V : X.left.affineOpensᵒᵖ) : |
| 48 | ((Q).obj V).X i →ₗ[W] ((Q).obj V).X j →ₗ[W] ((Q).obj V).X (i+j) := |
| 49 | RelativeFrame.Product.framePairing (((FF).obj V.unop).obj) i j |
| 50 | |
| 51 | abbrev complex := Presheaf.TotalCup.CechProduct.total N (Cech.ComplexDiagramCoordinates.complex Q) |
| 52 | |
| 53 | abbrev cup := Presheaf.TotalCup.CechProduct.totalCup N |
| 54 | (Cech.ComplexDiagramCoordinates.complex Q) (localPairing p X Y f hp n) |
| 55 | |
| 56 | def map := Cech.PresheafDiagramCone.map W U Q P (transformation p X Y f hp n) |
| 57 | |
| 58 | omit [IsProper X.hom] [X.left.IsSeparated] in |
| 59 | theorem local_product (i j : ℕ) (V : X.left.affineOpensᵒᵖ) (T : Dᵒᵖ) |
| 60 | (x : ((Q).obj V).X i) (y : ((Q).obj V).X j) : |
| 61 | (((transformation p X Y f hp n).app V).f (i+j)).app T |
| 62 | (localPairing p X Y f hp n i j V x y) = |
| 63 | CechProduct.Intrinsic.localPairing p X Y f hp n i j V T |
| 64 | ((((transformation p X Y f hp n).app V).f i).app T x) |
| 65 | ((((transformation p X Y f hp n).app V).f j).app T y) := |
| 66 | RelativeFrame.Product.map_product |
| 67 | (BoundedFrame.Diagram.productDiagram ((FF).obj V.unop)) BG |
| 68 | (BoundedFrame.Diagram.projection ((FF).obj V.unop)) (((FF).obj V.unop).obj) |
| 69 | (BoundedFrame.Symbols.frameProjection ((FF).obj V.unop)) T.unop i j x y |
| 70 | |
| 71 | abbrev map_cup := Cech.PresheafDiagramCone.map_cup W U Q P |
| 72 | (transformation p X Y f hp n) (localPairing p X Y f hp n) |
| 73 | (CechProduct.Intrinsic.localPairing p X Y f hp n) |
| 74 | (local_product p X Y f hp n) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProductMap.Intrinsic |