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.WittTotalProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ReducedTotalProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProduct |
| 4 | |
| 5 | /-! # Small Product Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.SmallProductMap.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native finite comparison from the original small ordinary |
| 12 | quotient Čech groups to original bounded crystalline Ext preserves cup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 24 | |
| 25 | local notation "W" => WittVector p (ZMod p) |
| 26 | local notation "IW" => (Ideal.span {(p : W)}) ^ (n+1) |
| 27 | local notation "IZ" => (Ideal.span {(p : ℤ_[p])}) ^ (n+1) |
| 28 | local notation "AW" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X |
| 29 | local notation "AZ" => CategoryTheory.Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left) ⋙ |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℤ_[p] X |
| 31 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex ℤ_[p] IZ AZ |
| 32 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing ℤ_[p] IZ AZ |
| 33 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 34 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 35 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n |
| 36 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 37 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.frames p X Y f hp n |
| 38 | local instance coefficients : Algebra W ℤ_[p] := GeometricComparison.WittAlgebra.PadicWittAlgebra.coefficientAlgebra p |
| 39 | local instance separated : IsSeparated w := by |
| 40 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 41 | infer_instance |
| 42 | |
| 43 | abbrev sourceCup := OrdinaryQuotientDiagramProduct.Ordinary.cohomologyCup ℤ_[p] IZ AZ U |
| 44 | abbrev wittCup := OrdinaryQuotientDiagramProduct.Ordinary.cohomologyCup W IW AW U |
| 45 | |
| 46 | abbrev restrictedCup := Cochain.CohomologyCup.cohomologyCup |
| 47 | (((ModuleCat.restrictScalars (algebraMap W ℤ_[p])).mapHomologicalComplex (.up ℕ)).obj M) |
| 48 | (WittTotalProduct.Intrinsic.targetCup p X n) |
| 49 | (WittTotalProduct.Intrinsic.target_differential p X n) |
| 50 | |
| 51 | abbrev restriction (i : ℕ) := RestrictScalarsCochainCup.map W ℤ_[p] M i |
| 52 | |
| 53 | abbrev restriction_cup := RestrictScalarsCochainCup.map_cup W ℤ_[p] M |
| 54 | (Presheaf.TotalCup.CechProduct.totalCup N Q ν) (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N Q ν |
| 55 | (OrdinaryQuotientDiagramProduct.Ordinary.natural ℤ_[p] IZ AZ) |
| 56 | (OrdinaryQuotientDiagramProduct.Ordinary.differential ℤ_[p] IZ AZ)) |
| 57 | |
| 58 | def wittMap (i : ℕ) := |
| 59 | (HomologicalComplex.homologyMap (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).inv i).hom.toAddMonoidHom.comp (restriction p X n i) |
| 60 | |
| 61 | abbrev wittMap_cup (i j : ℕ) (x : (M).homology i) (y : (M).homology j) := by |
| 62 | have result := (congrArg (HomologicalComplex.homologyMap |
| 63 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).inv (i+j)) |
| 64 | (restriction_cup p X n i j x y)).trans |
| 65 | (WittTotalProduct.Intrinsic.inverse_cohomologyMap_cup p X n i j _ _) |
| 66 | exact result |
| 67 | |
| 68 | def frameMap (i : ℕ) := |
| 69 | (HomologicalComplex.homologyMap (ReducedTotalProduct.Intrinsic.totalMap p X Y f hp n) i).hom.toAddMonoidHom.comp (wittMap p X n i) |
| 70 | |
| 71 | omit [IsSeparated Y.hom] in |
| 72 | abbrev frameMap_cup (i j : ℕ) (x : (M).homology i) (y : (M).homology j) := |
| 73 | (congrArg (HomologicalComplex.homologyMap |
| 74 | (ReducedTotalProduct.Intrinsic.totalMap p X Y f hp n) (i+j)) |
| 75 | (wittMap_cup p X n i j x y)).trans |
| 76 | (ReducedTotalProduct.Intrinsic.cohomologyMap_cup p X Y f hp n i j _ _) |
| 77 | |
| 78 | def map (i : ℕ) := (FrameProduct.IntrinsicRaw.map p X Y f hp n i).comp |
| 79 | (frameMap p X Y f hp n i) |
| 80 | |
| 81 | abbrev map_cup (i j : ℕ) (x : (M).homology i) (y : (M).homology j) := |
| 82 | (congrArg (FrameProduct.IntrinsicRaw.map p X Y f hp n (i+j)) |
| 83 | (frameMap_cup p X Y f hp n i j x y)).trans |
| 84 | (FrameProduct.IntrinsicRaw.map_cup p X Y f hp n i j _ _) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.SmallProductMap.Intrinsic |