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.OpenSectionNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexEvaluated |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCone |
| 5 | |
| 6 | /-! # Frame Diagonal Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual frame de Rham complexes map naturally into the native |
| 13 | diagonal section complex through the original global-to-open section maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 30 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 32 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 33 | |
| 34 | local instance constPreservesZero : |
| 35 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 36 | map_zero _ _ := rfl |
| 37 | |
| 38 | local instance separated : IsSeparated w := by |
| 39 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 40 | infer_instance |
| 41 | |
| 42 | def source : X.left.affineOpensᵒᵖ ⥤ CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 43 | (FrameFunctor.functor p k n X Y f hp).op ⋙ |
| 44 | GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source w n |
| 45 | |
| 46 | def openTransformation : source p k n X Y f hp ⋙ |
| 47 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).mapHomologicalComplex (.up ℕ) ⟶ |
| 48 | P ⋙ (S).mapHomologicalComplex (.up ℕ) := |
| 49 | Functor.whiskerRight |
| 50 | (Functor.whiskerLeft (FrameFunctor.functor p k n X Y f hp).op |
| 51 | (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w n)) |
| 52 | (((Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} Rcoeff)).obj |
| 53 | (SectionBifunctor.specialOpens p k n X Y f).op).mapHomologicalComplex (.up ℕ)) |
| 54 | |
| 55 | def transformation : source p k n X Y f hp ⟶ |
| 56 | GeometricComparison.BifunctorDiagonalEq.BifunctorDiagonal.functor (SectionBifunctor.rows p k n X Y f hp) := |
| 57 | GeometricComparison.ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation (source p k n X Y f hp) |
| 58 | (P ⋙ (S).mapHomologicalComplex (.up ℕ)) (openTransformation p k n X Y f hp) |
| 59 | |
| 60 | def map : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (source p k n X Y f hp) ⟶ |
| 61 | GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S P := |
| 62 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (transformation p k n X Y f hp) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalMap |