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.TruncatedModel.PrincipalFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CrystallinePDCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameInjective |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexAssemblyPresheaves |
| 5 | |
| 6 | /-! # Principal -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The local principal PD complex maps to the original injective |
| 13 | resolution on the same actual affine opens of a smooth finite-level model. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _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 | [IsProper X.hom] [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 | (U : X.left.affineOpens) |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 32 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 33 | local notation "Q" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X Y f hp) U |
| 34 | |
| 35 | def nativeDiagram : Cᵒᵖ ⥤ CochainComplex (ModuleCat W) ℕ := |
| 36 | (F ⋙ FrameFunctor.functor p k n X Y f hp).op ⋙ |
| 37 | GeometricComparison.Crystalline.FrameComplexFunctor.CrystallineFrameComplexFunctor.bounded w n |
| 38 | |
| 39 | def nativePDMap : Supported.PDComplex.localizedComplex p k Y Q ⟶ |
| 40 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (nativeDiagram p k n X Y f hp U) := |
| 41 | PrincipalFrame.pdMap p k n X Y f hp U ≫ |
| 42 | ((AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ)).mapIso (Functor.isoWhiskerLeft (Functor.op F) |
| 43 | (Open.CrystallinePDCoordinates.iso p k Y |
| 44 | (SmallFrame.bigFunctor p k n X Y f hp) |
| 45 | (SmallFrame.mapToX_open p k n X Y f hp)))).hom |
| 46 | |
| 47 | def coefficients : ModuleCat W ⥤ ModuleCat.{2} R := |
| 48 | Crystalline.RelativeResolution.coefficientFunctor (B := W) ⋙ ModuleCat.uliftFunctor.{2, 1} R |
| 49 | |
| 50 | instance coefficients_additive : (coefficients p k).Additive := by |
| 51 | dsimp only [coefficients] |
| 52 | infer_instance |
| 53 | |
| 54 | def source : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 55 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) (coefficients p k)).mapHomologicalComplex |
| 56 | (.up ℕ)).obj (Supported.PDComplex.localizedComplex p k Y Q) |
| 57 | |
| 58 | def coefficientMap : source p k n X Y f hp U ⟶ |
| 59 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (Functor.op F ⋙ FrameDiagonalMap.source p k n X Y f hp) := |
| 60 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) (coefficients p k)).mapHomologicalComplex |
| 61 | (.up ℕ)).map (nativePDMap p k n X Y f hp U) ≫ |
| 62 | (GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.iso (coefficients p k) (nativeDiagram p k n X Y f hp U)).inv |
| 63 | |
| 64 | def restriction : (X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (Cᵒᵖ ⥤ ModuleCat.{2} R) := |
| 65 | (Functor.whiskeringLeft _ _ _).obj (Functor.op F) |
| 66 | |
| 67 | instance restriction_additive : (restriction p k n X U).Additive where |
| 68 | map_add := rfl |
| 69 | |
| 70 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 71 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 72 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 73 | |
| 74 | def map : source p k n X Y f hp U ⟶ |
| 75 | ((restriction p k n X U).mapHomologicalComplex (.up ℕ)).obj |
| 76 | (((SectionBifunctor.sections p k n X Y f).mapHomologicalComplex (.up ℕ)).obj I.cocomplex) := |
| 77 | coefficientMap p k n X Y f hp U ≫ |
| 78 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport.iso (Functor.op F) (𝟭 (ModuleCat.{2} R)) (.up ℕ) |
| 79 | (FrameDiagonalMap.source p k n X Y f hp)).inv ≫ |
| 80 | ((restriction p k n X U).mapHomologicalComplex (.up ℕ)).map |
| 81 | (FrameInjective.Comparison.map p k n X Y f hp I) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison |