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.OrdinaryAffineTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.CoefficientTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralReducedBaseIso |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 5 | |
| 6 | /-! # Coefficient -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal |
| 13 | |
| 14 | /-! The finite-level comparison is transported to the actual p-adic |
| 15 | ordinary de Rham quotient Cech total on the integral coordinate cover. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 22 | (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (n : ℕ) |
| 25 | |
| 26 | local notation "W" => WittVector p (ZMod p) |
| 27 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 28 | local notation "coverOpens" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 29 | local notation "coverNerve" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve coverOpens |
| 30 | local notation "Ip" => (Ideal.span {(p : ℤ_[p])}) ^ (n + 1) |
| 31 | local notation "restrict" => ModuleCat.restrictScalars (RingEquiv.toRingHom (WittVector.equiv p)) |
| 32 | |
| 33 | def coefficients : ModuleCat.{0} ℤ_[p] ⥤ ModuleCat.{2} Rcoeff := |
| 34 | restrict ⋙ IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p |
| 35 | |
| 36 | instance coefficients_additive : (coefficients p).Additive := by |
| 37 | dsimp only [coefficients] |
| 38 | infer_instance |
| 39 | |
| 40 | def diagram := OrdinaryAffineTotal.OrdinaryAffineQuotientCech.diagram ℤ_[p] X Ip |
| 41 | |
| 42 | def wittIso : ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.source p X n ≅ |
| 43 | diagram p X n ⋙ (restrict).mapHomologicalComplex (.up ℕ) := |
| 44 | IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.iso p X n |
| 45 | |
| 46 | def total : CochainComplex (ModuleCat.{0} ℤ_[p]) ℕ := |
| 47 | CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.total coverNerve (diagram p X n) |
| 48 | |
| 49 | def wittTotalIso : IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X n ≅ |
| 50 | ((restrict).mapHomologicalComplex (.up ℕ)).obj (IntrinsicPadicSmallQuotientTotal.total p X n) := |
| 51 | CechAssembly.Iso.CechAssemblyIso.totalIso coverNerve (wittIso p X n) ≪≫ |
| 52 | (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso restrict coverNerve |
| 53 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices coverOpens) (diagram p X n)).symm |
| 54 | |
| 55 | def coefficientTotalIso : ((coefficients p).mapHomologicalComplex (.up ℕ)).obj (IntrinsicPadicSmallQuotientTotal.total p X n) ≅ |
| 56 | ((IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p).mapHomologicalComplex (.up ℕ)).obj |
| 57 | (IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X n) := |
| 58 | ((IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p).mapHomologicalComplex (.up ℕ)).mapIso |
| 59 | (wittTotalIso p X n).symm |
| 60 | |
| 61 | def fullOpenIso : IntrinsicPadicSmallQuotientTotal.total p X n ≅ |
| 62 | (IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.bicomplex ℤ_[p] X (fun i => (coverOpens i).val) Ip).total (.up ℕ) := |
| 63 | OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso ℤ_[p] X coverOpens Ip |
| 64 | |
| 65 | def firstThreeHomologyIso : (IntrinsicPadicSmallQuotientTotal.total p X n).homology 1 ≅ |
| 66 | ((IntegralCech.QuotientTotal.IntegralCechQuotientTotal.bicomplex ℤ_[p] X (fun i => (coverOpens i).val) Ip).total (.up ℕ)).homology 1 := |
| 67 | (HomologicalComplex.homologyFunctor _ _ 1).mapIso (fullOpenIso p X n) ≪≫ |
| 68 | IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X (fun i => (coverOpens i).val) Ip |
| 69 | |
| 70 | variable (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 71 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 72 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 73 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 74 | |
| 75 | def homologyIso := |
| 76 | (HomologicalComplex.homologyFunctor _ _ 1).mapIso (coefficientTotalIso p X n) ≪≫ |
| 77 | IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.homologyIso p X Y f hp n J |
| 78 | |
| 79 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal |
| 80 | |
| 81 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicCoefficientHomology |
| 82 | |
| 83 | /-! The actual p-adic to crystalline coefficient transport is exact and |
| 84 | commutes with the original cochain homology. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 87 | |
| 88 | variable (p : ℕ) [Fact p.Prime] |
| 89 | |
| 90 | instance preservesFiniteLimits : PreservesFiniteLimits (IntrinsicPadicSmallQuotientTotal.coefficients p) := by |
| 91 | dsimp only [IntrinsicPadicSmallQuotientTotal.coefficients, IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients] |
| 92 | infer_instance |
| 93 | |
| 94 | instance preservesFiniteColimits : PreservesFiniteColimits (IntrinsicPadicSmallQuotientTotal.coefficients p) := by |
| 95 | dsimp only [IntrinsicPadicSmallQuotientTotal.coefficients, IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients] |
| 96 | infer_instance |
| 97 | |
| 98 | instance preservesHomology : (IntrinsicPadicSmallQuotientTotal.coefficients p).PreservesHomology := by |
| 99 | infer_instance |
| 100 | |
| 101 | def iso (K : CochainComplex (ModuleCat.{0} ℤ_[p]) ℕ) (i : ℕ) : |
| 102 | (((IntrinsicPadicSmallQuotientTotal.coefficients p).mapHomologicalComplex (.up ℕ)).obj K).homology i ≅ |
| 103 | (IntrinsicPadicSmallQuotientTotal.coefficients p).obj (K.homology i) := |
| 104 | (K.sc i).mapHomologyIso (IntrinsicPadicSmallQuotientTotal.coefficients p) |
| 105 | |
| 106 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicCoefficientHomology |
| 107 | |
| 108 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicCoefficientDescent |
| 109 | |
| 110 | /-! Descending the actual lifted crystalline coefficient functor back |
| 111 | to p-adic scalars preserves the original module and its maps. -/ |
| 112 | |
| 113 | open _root_.CategoryTheory |
| 114 | |
| 115 | variable (p : ℕ) [Fact p.Prime] |
| 116 | |
| 117 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 118 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.coefficients p |
| 119 | |
| 120 | def ringEquiv : R ≃+* ℤ_[p] := ULift.ringEquiv.trans (WittVector.equiv p) |
| 121 | |
| 122 | def restrict : ModuleCat.{2} R ⥤ ModuleCat.{2} ℤ_[p] := |
| 123 | ModuleCat.restrictScalars (IntrinsicPadicCoefficientDescent.ringEquiv p).symm.toRingHom |
| 124 | |
| 125 | def equiv (M : ModuleCat.{0} ℤ_[p]) : M ≃ₗ[ℤ_[p]] (IntrinsicPadicCoefficientDescent.restrict p).obj ((F).obj M) where |
| 126 | toFun x := ⟨⟨x⟩⟩ |
| 127 | invFun x := x.down.down |
| 128 | left_inv _ := rfl |
| 129 | right_inv _ := rfl |
| 130 | map_add' _ _ := rfl |
| 131 | map_smul' a x := by |
| 132 | apply ULift.ext |
| 133 | apply ULift.ext |
| 134 | change a • x = (WittVector.equiv p) ((WittVector.equiv p).symm a) • x |
| 135 | rw [RingEquiv.apply_symm_apply] |
| 136 | |
| 137 | theorem natural {M N : ModuleCat.{0} ℤ_[p]} (a : M ⟶ N) (x : M) : |
| 138 | IntrinsicPadicCoefficientDescent.equiv p N (a x) = (IntrinsicPadicCoefficientDescent.restrict p).map ((F).map a) (IntrinsicPadicCoefficientDescent.equiv p M x) := rfl |
| 139 | |
| 140 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicCoefficientDescent |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI |