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.ReductionProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameBijective |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.CupCoverIndependence |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SmoothProperWittCup |
| 5 | |
| 6 | /-! # Product Properties -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ProductProperties.IntrinsicComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The literal finite ordinary comparison is bijective and preserves the |
| 13 | balanced cup used by the original integral crystalline inverse limit. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | private theorem restriction_bijective {R S : Type*} [CommRing R] [CommRing S] |
| 18 | [Algebra R S] (K : CochainComplex (ModuleCat S) ℕ) (i : ℕ) : |
| 19 | Function.Bijective (RestrictScalarsCochainCup.map R S K i) := |
| 20 | (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso (ModuleCat.restrictScalars (algebraMap R S)) K i).symm.toLinearEquiv.bijective |
| 21 | |
| 22 | section General |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] |
| 25 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 26 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 27 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [hYsep : IsSeparated Y.hom] |
| 28 | (f : Y.left ⟶ X.left) |
| 29 | (hp : IsPullback f Y.hom X.hom |
| 30 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 31 | |
| 32 | local notation "W" => WittVector p (ZMod p) |
| 33 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 35 | local notation "K" => HomologicalComplex₂.total |
| 36 | (OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X) (ComplexShape.up ℕ) |
| 37 | |
| 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 | theorem wittMap_bijective (i : ℕ) : |
| 44 | Function.Bijective (SmallProductMap.Intrinsic.wittMap p X n i) := |
| 45 | (HomologicalComplex.homologyMapIso (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).symm i).toLinearEquiv.bijective.comp |
| 46 | (restriction_bijective (R := W) (S := ℤ_[p]) (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n) i) |
| 47 | |
| 48 | omit [IsSeparated Y.hom] in |
| 49 | theorem frameMap_bijective (i : ℕ) : |
| 50 | Function.Bijective (SmallProductMap.Intrinsic.frameMap p X Y f hp n i) := by |
| 51 | let : QuasiIso (ReducedTotalProduct.Intrinsic.totalMap p X Y f hp n) := |
| 52 | ReducedTotalProduct.Intrinsic.quasiIso p X Y f hp n |
| 53 | exact (isoOfQuasiIsoAt (ReducedTotalProduct.Intrinsic.totalMap p X Y f hp n) i).toLinearEquiv.bijective.comp |
| 54 | (wittMap_bijective p X n i) |
| 55 | |
| 56 | theorem rawFrameMap_bijective (i : ℕ) : |
| 57 | Function.Bijective (FrameProduct.IntrinsicRaw.map p X Y f hp n i) := |
| 58 | (FrameBijective.IntrinsicComparison.comparison_bijective p X Y f hp n i).comp |
| 59 | (Crystalline.CoefficientCohomologyCup.map_bijective W |
| 60 | (FrameProductMap.Intrinsic.complex p X Y f hp n) i) |
| 61 | |
| 62 | theorem smallMap_bijective (i : ℕ) : |
| 63 | Function.Bijective (SmallProductMap.Intrinsic.map p X Y f hp n i) := |
| 64 | (rawFrameMap_bijective p X Y f hp n i).comp (frameMap_bijective p X Y f hp n i) |
| 65 | |
| 66 | theorem comparison_bijective (i : ℕ) : |
| 67 | Function.Bijective (ReductionProduct.Intrinsic.comparison p X Y f hp n i) := |
| 68 | (smallMap_bijective p X Y f hp n i).comp |
| 69 | (HomologicalComplex.homologyMapIso (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).symm i).toLinearEquiv.bijective |
| 70 | |
| 71 | theorem reductionComparison_eq_zero (i : ℕ) (x : (K).homology i) |
| 72 | (hx : ∀ n : ℕ, ReductionProduct.Intrinsic.reductionComparison p X Y f hp n i x = 0) : |
| 73 | x = 0 := by |
| 74 | apply OrdinaryReduction.IntrinsicOrdinary.eq_zero p X i x |
| 75 | intro n |
| 76 | apply (comparison_bijective p X Y f hp n i).injective |
| 77 | exact (hx n).trans (map_zero (ReductionProduct.Intrinsic.comparison p X Y f hp n i)).symm |
| 78 | |
| 79 | end General |
| 80 | |
| 81 | variable (p : ℕ) [Fact p.Prime] |
| 82 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 83 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 84 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsProper Y.hom] [Smooth Y.hom] |
| 85 | (f : Y.left ⟶ X.left) |
| 86 | (hp : IsPullback f Y.hom X.hom |
| 87 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 88 | |
| 89 | local notation "W" => WittVector p (ZMod p) |
| 90 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 91 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 92 | local notation "K" => HomologicalComplex₂.total |
| 93 | (OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X) (ComplexShape.up ℕ) |
| 94 | |
| 95 | attribute [local instance] coefficients separated |
| 96 | |
| 97 | omit [X.left.IsSeparated] in |
| 98 | theorem cup_eq (i j : ℕ) |
| 99 | (x : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 100 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w n i) |
| 101 | (y : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 102 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w n j) : |
| 103 | BalancedBounded.CechCup.cup p (ZMod p) w n |
| 104 | (BoundedCech.IntrinsicComparison.frames p X Y f hp n) |
| 105 | (GeometricComparison.IntrinsicPadic.CechSheafResolution.IntrinsicPadicCechSheafResolution.cover p X Y f hp n) i j x y = |
| 106 | Balanced.SmoothProperWittCup.cup p (ZMod p) Y n i j x y := |
| 107 | Balanced.CupCoverIndependence.cup_eq p (ZMod p) w n |
| 108 | (BoundedCech.IntrinsicComparison.frames p X Y f hp n) |
| 109 | (SmoothProper.WittFrameFamily.Family.frame p (ZMod p) Y n) |
| 110 | (GeometricComparison.IntrinsicPadic.CechSheafResolution.IntrinsicPadicCechSheafResolution.cover p X Y f hp n) |
| 111 | (SmoothProper.WittFrameCover.covering p (ZMod p) Y n) i j x y |
| 112 | |
| 113 | attribute [local irreducible] Cochain.CohomologyCup.cohomologyCup |
| 114 | |
| 115 | include p X Y f hp n in |
| 116 | abbrev reductionComparison_cup (i j : ℕ) (x : (K).homology i) (y : (K).homology j) := |
| 117 | (ReductionProduct.Intrinsic.reductionComparison_cup p X Y f hp n i j x y).trans |
| 118 | (cup_eq p X Y f hp n i j _ _) |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ProductProperties.IntrinsicComparison |