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.PeriodInvariants.ResidueEmbedding |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.TiltConstants |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ResidueCoefficients |
| 4 | |
| 5 | /-! # Embedding -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.PeriodInvariants.Embedding.UnramifiedConstants |
| 12 | |
| 13 | /-! |
| 14 | # Unramified Witt constants in the actual A_inf |
| 15 | |
| 16 | The residue field of K embeds canonically, relative to the chosen closure |
| 17 | embedding, into the tilt of O_Cp. Its Witt vectors therefore embed into A_inf. |
| 18 | The local Galois action fixes these constants, and Witt Frobenius is preserved. |
| 19 | -/ |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates.Frobenius OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineScalars |
| 22 | ResidueCoefficients ResidueEmbedding TiltConstants |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] |
| 25 | variable (K : Type*) [Field K] [Algebra ℚ_[p] K] [FiniteDimensional ℚ_[p] K] |
| 26 | |
| 27 | local instance residueFintype : Fintype (IntegralGeometry.ResidueField p K) := Fintype.ofFinite _ |
| 28 | |
| 29 | def residueTiltMap : IntegralGeometry.ResidueField p K →+* PreTilt 𝓞_ℂ_[p] p := |
| 30 | TiltConstants.tiltConstants p (IntegralGeometry.ResidueField p K) (ResidueEmbedding.residueEmbedding p K) |
| 31 | |
| 32 | theorem residueTiltMap_injective : Function.Injective (residueTiltMap p K) := |
| 33 | TiltConstants.tiltConstants_injective p (IntegralGeometry.ResidueField p K) (ResidueEmbedding.residueEmbedding p K) |
| 34 | |
| 35 | theorem residueTiltMap_galois (σ : CrystallineScalars.LocalGalois K) (a : IntegralGeometry.ResidueField p K) : |
| 36 | PeriodRing.tiltMap p (PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ)).toRingHom (residueTiltMap p K a) = |
| 37 | residueTiltMap p K a := by |
| 38 | have he : (IsLocalRing.ResidueField.map (PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ)).toRingHom).comp |
| 39 | (ResidueEmbedding.residueEmbedding p K) = ResidueEmbedding.residueEmbedding p K := |
| 40 | RingHom.ext (ResidueEmbedding.residueEmbedding_galois p K σ) |
| 41 | have h := TiltConstants.tiltConstants_natural p (IntegralGeometry.ResidueField p K) (ResidueEmbedding.residueEmbedding p K) |
| 42 | (PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ)) a |
| 43 | rw [he] at h |
| 44 | exact h |
| 45 | |
| 46 | def ainfConstants : ResidueCoefficients.WittCoefficients p K →+* PeriodRing.Ainf p := WittVector.map (residueTiltMap p K) |
| 47 | |
| 48 | theorem ainfConstants_injective : Function.Injective (ainfConstants p K) := |
| 49 | WittVector.map_injective (residueTiltMap p K) (residueTiltMap_injective p K) |
| 50 | |
| 51 | theorem ainfConstants_galois (σ : CrystallineScalars.LocalGalois K) (x : ResidueCoefficients.WittCoefficients p K) : |
| 52 | PeriodRing.ainfMap p (PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ)).toRingHom (ainfConstants p K x) = |
| 53 | ainfConstants p K x := by |
| 54 | apply WittVector.ext |
| 55 | intro n |
| 56 | exact residueTiltMap_galois p K σ (x.coeff n) |
| 57 | |
| 58 | theorem ainfConstants_frobenius (x : ResidueCoefficients.WittCoefficients p K) : |
| 59 | AdicEstimates.Frobenius.ainfFrobenius p (ainfConstants p K x) = ainfConstants p K (WittVector.frobenius x) := by |
| 60 | apply WittVector.ext |
| 61 | intro n |
| 62 | simp only [AdicEstimates.Frobenius.ainfFrobenius, ainfConstants, WittVector.frobeniusEquiv_apply, WittVector.coeff_frobenius_charP, |
| 63 | WittVector.map_coeff, map_pow] |
| 64 | |
| 65 | theorem ainfConstants_padicInt (x : ℤ_[p]) : |
| 66 | ainfConstants p K (ResidueCoefficients.padicIntToWitt p K x) = PeriodRing.padicIntToAinf p x := by |
| 67 | have he : (residueTiltMap p K).comp (ZMod.castHom (dvd_refl p) (IntegralGeometry.ResidueField p K)) = |
| 68 | ZMod.castHom (dvd_refl p) (PreTilt 𝓞_ℂ_[p] p) := Subsingleton.elim _ _ |
| 69 | apply WittVector.ext |
| 70 | intro n |
| 71 | exact DFunLike.congr_fun he ((WittVector.fromPadicInt p x).coeff n) |
| 72 | |
| 73 | end NumberTheory.PadicHodge.PeriodInvariants.Embedding.UnramifiedConstants |
| 74 | |
| 75 | namespace NumberTheory.PadicHodge.PeriodInvariants.Embedding.Period |
| 76 | |
| 77 | /-! |
| 78 | # The actual unramified coefficient field inside crystalline periods |
| 79 | |
| 80 | The constructed Witt constants extend through p-inversion to K_0. Their |
| 81 | embedding into B_cris is fixed by G_K and preserves Frobenius and Q_p. |
| 82 | This constructs K_0 inside the fixed scalars; surjectivity onto all fixed |
| 83 | scalars is not assumed or asserted. |
| 84 | -/ |
| 85 | |
| 86 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates.Frobenius OAI.NumberTheory.PadicHodge.PeriodInvariants.Cyclotomic OAI.NumberTheory.PadicHodge.PeriodInvariants.TateCyclotomic.Galois OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineScalars |
| 87 | IntegralGeometry CrystallineScalars ResidueCoefficients UnramifiedConstants |
| 88 | |
| 89 | variable (p : ℕ) [Fact p.Prime] |
| 90 | |
| 91 | local instance bcrisQpSMul : SMul ℚ_[p] (PeriodRing.Bcris p) := (PeriodRing.bcris_padicAlgebra p).toSMul |
| 92 | |
| 93 | def ainfToBcris : PeriodRing.Ainf p →+* PeriodRing.Bcris p := |
| 94 | (algebraMap (PeriodRing.BcrisPlus p) (PeriodRing.Bcris p)).comp |
| 95 | ((algebraMap (PeriodRing.Acris p) (PeriodRing.BcrisPlus p)).comp |
| 96 | ((algebraMap (PeriodRing.AcrisZero p) (PeriodRing.Acris p)).comp (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p)))) |
| 97 | |
| 98 | theorem ainfToBcris_galois (σ : PeriodRing.PadicGalois p) (x : PeriodRing.Ainf p) : |
| 99 | TateCyclotomic.Galois.galoisBcrisAction p σ (ainfToBcris p x) = |
| 100 | ainfToBcris p (PeriodRing.ainfMap p (PeriodRing.galoisIntegerEquiv p σ).toRingHom x) := by |
| 101 | change TateCyclotomic.Galois.bcrisGaloisMap p σ |
| 102 | (algebraMap (PeriodRing.BcrisPlus p) (PeriodRing.Bcris p) (algebraMap (PeriodRing.Acris p) (PeriodRing.BcrisPlus p) |
| 103 | (algebraMap (PeriodRing.AcrisZero p) (PeriodRing.Acris p) (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) x)))) = _ |
| 104 | rw [TateCyclotomic.Galois.bcrisGaloisMap_algebraMap, PeriodRing.bcrisPlusEquiv_algebraMap, PeriodRing.acrisEquiv_algebraMap, |
| 105 | PeriodRing.acrisZeroMap_algebraMap] |
| 106 | rfl |
| 107 | |
| 108 | theorem ainfToBcris_frobenius (x : PeriodRing.Ainf p) : |
| 109 | CrystallineScalars.bcrisFrobeniusAlg p (ainfToBcris p x) = ainfToBcris p (AdicEstimates.Frobenius.ainfFrobenius p x) := by |
| 110 | change Cyclotomic.bcrisFrobenius p |
| 111 | (algebraMap (PeriodRing.BcrisPlus p) (PeriodRing.Bcris p) (algebraMap (PeriodRing.Acris p) (PeriodRing.BcrisPlus p) |
| 112 | (algebraMap (PeriodRing.AcrisZero p) (PeriodRing.Acris p) (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) x)))) = _ |
| 113 | rw [Cyclotomic.bcrisFrobenius_algebraMap, AdicEstimates.Frobenius.bcrisPlusFrobenius_algebraMap, CrystallineScalars.acrisFrobenius_algebraMap, |
| 114 | CrystallineScalars.acrisZeroFrobenius_algebraMap] |
| 115 | rfl |
| 116 | |
| 117 | theorem ainfToBcris_padicInt (x : ℤ_[p]) : |
| 118 | ainfToBcris p (PeriodRing.padicIntToAinf p x) = PeriodRing.padicFieldToBcris p (algebraMap ℤ_[p] ℚ_[p] x) := by |
| 119 | change ainfToBcris p (PeriodRing.padicIntToAinf p x) = |
| 120 | algebraMap (PeriodRing.BcrisPlus p) (PeriodRing.Bcris p) (PeriodRing.padicFieldToBcrisPlus p (algebraMap ℤ_[p] ℚ_[p] x)) |
| 121 | rw [PeriodRing.padicFieldToBcrisPlus_int] |
| 122 | rfl |
| 123 | |
| 124 | variable (K : Type*) [Field K] [Algebra ℚ_[p] K] [FiniteDimensional ℚ_[p] K] |
| 125 | |
| 126 | def wittToBcris : ResidueCoefficients.WittCoefficients p K →+* PeriodRing.Bcris p := (ainfToBcris p).comp (UnramifiedConstants.ainfConstants p K) |
| 127 | |
| 128 | theorem wittToBcris_galois (σ : CrystallineScalars.LocalGalois K) (x : ResidueCoefficients.WittCoefficients p K) : |
| 129 | CrystallineScalars.localPeriodAction p K σ (wittToBcris p K x) = wittToBcris p K x := by |
| 130 | change TateCyclotomic.Galois.galoisBcrisAction p (CrystallineScalars.galoisToPadic p K σ) (ainfToBcris p (UnramifiedConstants.ainfConstants p K x)) = _ |
| 131 | rw [ainfToBcris_galois, UnramifiedConstants.ainfConstants_galois] |
| 132 | rfl |
| 133 | |
| 134 | theorem wittToBcris_frobenius (x : ResidueCoefficients.WittCoefficients p K) : |
| 135 | CrystallineScalars.bcrisFrobeniusAlg p (wittToBcris p K x) = wittToBcris p K (WittVector.frobenius x) := by |
| 136 | change CrystallineScalars.bcrisFrobeniusAlg p (ainfToBcris p (UnramifiedConstants.ainfConstants p K x)) = _ |
| 137 | rw [ainfToBcris_frobenius, UnramifiedConstants.ainfConstants_frobenius] |
| 138 | rfl |
| 139 | |
| 140 | theorem wittToBcris_padicInt (x : ℤ_[p]) : |
| 141 | wittToBcris p K (ResidueCoefficients.padicIntToWitt p K x) = PeriodRing.padicFieldToBcris p (algebraMap ℤ_[p] ℚ_[p] x) := by |
| 142 | change ainfToBcris p (UnramifiedConstants.ainfConstants p K (ResidueCoefficients.padicIntToWitt p K x)) = _ |
| 143 | rw [UnramifiedConstants.ainfConstants_padicInt] |
| 144 | exact ainfToBcris_padicInt p x |
| 145 | |
| 146 | /-- The actual W(k)[1/p] coefficient map into B_cris. -/ |
| 147 | def k0ToBcris : ResidueCoefficients.K0 p K →+* PeriodRing.Bcris p := |
| 148 | IsLocalization.Away.lift (p : ResidueCoefficients.WittCoefficients p K) (g := wittToBcris p K) |
| 149 | (by rw [map_natCast]; exact PeriodRing.p_isUnit_bcris p) |
| 150 | |
| 151 | theorem k0ToBcris_algebraMap (x : ResidueCoefficients.WittCoefficients p K) : |
| 152 | k0ToBcris p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) x) = wittToBcris p K x := |
| 153 | IsLocalization.Away.lift_eq _ _ x |
| 154 | |
| 155 | theorem k0ToBcris_injective : Function.Injective (k0ToBcris p K) := (k0ToBcris p K).injective |
| 156 | |
| 157 | theorem k0ToBcris_galois (σ : CrystallineScalars.LocalGalois K) (x : ResidueCoefficients.K0 p K) : |
| 158 | CrystallineScalars.localPeriodAction p K σ (k0ToBcris p K x) = k0ToBcris p K x := by |
| 159 | have he : (CrystallineScalars.localPeriodAction p K σ).toRingHom.comp (k0ToBcris p K) = k0ToBcris p K := by |
| 160 | apply IsLocalization.ringHom_ext (M := Submonoid.powers (p : ResidueCoefficients.WittCoefficients p K)) |
| 161 | apply RingHom.ext |
| 162 | intro a |
| 163 | change CrystallineScalars.localPeriodAction p K σ (k0ToBcris p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) a)) = |
| 164 | k0ToBcris p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) a) |
| 165 | exact (congrArg (CrystallineScalars.localPeriodAction p K σ) (k0ToBcris_algebraMap p K a)).trans |
| 166 | ((wittToBcris_galois p K σ a).trans (k0ToBcris_algebraMap p K a).symm) |
| 167 | exact DFunLike.congr_fun he x |
| 168 | |
| 169 | theorem k0ToBcris_frobenius (x : ResidueCoefficients.K0 p K) : |
| 170 | CrystallineScalars.bcrisFrobeniusAlg p (k0ToBcris p K x) = k0ToBcris p K (ResidueCoefficients.coefficientFrobenius p K x) := by |
| 171 | have he : (CrystallineScalars.bcrisFrobeniusAlg p).toRingHom.comp (k0ToBcris p K) = |
| 172 | (k0ToBcris p K).comp (ResidueCoefficients.coefficientFrobenius p K).toRingHom := by |
| 173 | apply IsLocalization.ringHom_ext (M := Submonoid.powers (p : ResidueCoefficients.WittCoefficients p K)) |
| 174 | apply RingHom.ext |
| 175 | intro a |
| 176 | change CrystallineScalars.bcrisFrobeniusAlg p (k0ToBcris p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) a)) = |
| 177 | k0ToBcris p K (ResidueCoefficients.coefficientFrobenius p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) a)) |
| 178 | rw [k0ToBcris_algebraMap, ResidueCoefficients.coefficientFrobenius_algebraMap, k0ToBcris_algebraMap] |
| 179 | exact wittToBcris_frobenius p K a |
| 180 | exact DFunLike.congr_fun he x |
| 181 | |
| 182 | theorem k0ToBcris_padic (x : ℚ_[p]) : |
| 183 | k0ToBcris p K (ResidueCoefficients.padicToK0 p K x) = PeriodRing.padicFieldToBcris p x := by |
| 184 | have he : (k0ToBcris p K).comp (ResidueCoefficients.padicToK0 p K) = PeriodRing.padicFieldToBcris p := by |
| 185 | apply IsLocalization.ringHom_ext (nonZeroDivisors ℤ_[p]) |
| 186 | apply RingHom.ext |
| 187 | intro a |
| 188 | change k0ToBcris p K (ResidueCoefficients.padicToK0 p K (algebraMap ℤ_[p] ℚ_[p] a)) = |
| 189 | PeriodRing.padicFieldToBcris p (algebraMap ℤ_[p] ℚ_[p] a) |
| 190 | rw [ResidueCoefficients.padicToK0_int] |
| 191 | change k0ToBcris p K (algebraMap (ResidueCoefficients.WittCoefficients p K) (ResidueCoefficients.K0 p K) (ResidueCoefficients.padicIntToWitt p K a)) = _ |
| 192 | rw [k0ToBcris_algebraMap] |
| 193 | exact wittToBcris_padicInt p K a |
| 194 | exact DFunLike.congr_fun he x |
| 195 | |
| 196 | instance bcris_k0Algebra : Algebra (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p) := (k0ToBcris p K).toAlgebra |
| 197 | |
| 198 | instance bcris_k0SMul : SMul (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p) := (bcris_k0Algebra p K).toSMul |
| 199 | |
| 200 | instance bcris_k0Module : Module (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p) := (bcris_k0Algebra p K).toModule |
| 201 | |
| 202 | instance bcris_k0ScalarTower : IsScalarTower ℚ_[p] (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p) := |
| 203 | IsScalarTower.of_algebraMap_eq (fun x => (k0ToBcris_padic p K x).symm) |
| 204 | |
| 205 | def k0ToFixedScalars : ResidueCoefficients.K0 p K →ₐ[ℚ_[p]] CrystallineScalars.localFixedScalars p K where |
| 206 | toFun x := ⟨k0ToBcris p K x, fun σ => k0ToBcris_galois p K σ x⟩ |
| 207 | map_zero' := Subtype.ext (map_zero (k0ToBcris p K)) |
| 208 | map_one' := Subtype.ext (map_one (k0ToBcris p K)) |
| 209 | map_add' x y := Subtype.ext (map_add (k0ToBcris p K) x y) |
| 210 | map_mul' x y := Subtype.ext (map_mul (k0ToBcris p K) x y) |
| 211 | commutes' a := Subtype.ext (k0ToBcris_padic p K a) |
| 212 | |
| 213 | theorem k0ToFixedScalars_injective : Function.Injective (k0ToFixedScalars p K) := |
| 214 | (k0ToFixedScalars p K).injective |
| 215 | |
| 216 | theorem k0ToFixedScalars_frobenius (x : ResidueCoefficients.K0 p K) : |
| 217 | CrystallineScalars.localScalarFrobenius p K (k0ToFixedScalars p K x) = |
| 218 | k0ToFixedScalars p K (ResidueCoefficients.coefficientFrobenius p K x) := |
| 219 | Subtype.ext (k0ToBcris_frobenius p K x) |
| 220 | |
| 221 | def localPeriodActionOverK0 : CrystallineScalars.LocalGalois K →* (PeriodRing.Bcris p ≃ₐ[ResidueCoefficients.K0 p K] PeriodRing.Bcris p) where |
| 222 | toFun σ := { (CrystallineScalars.localPeriodAction p K σ).toRingEquiv with commutes' := k0ToBcris_galois p K σ } |
| 223 | map_one' := by |
| 224 | apply AlgEquiv.ext |
| 225 | intro x |
| 226 | exact DFunLike.congr_fun (CrystallineScalars.localPeriodAction p K).map_one x |
| 227 | map_mul' σ τ := by |
| 228 | apply AlgEquiv.ext |
| 229 | intro x |
| 230 | exact DFunLike.congr_fun ((CrystallineScalars.localPeriodAction p K).map_mul σ τ) x |
| 231 | |
| 232 | theorem bcrisFrobenius_k0_smul (a : ResidueCoefficients.K0 p K) (b : PeriodRing.Bcris p) : |
| 233 | CrystallineScalars.bcrisFrobeniusAlg p (a • b) = ResidueCoefficients.coefficientFrobenius p K a • CrystallineScalars.bcrisFrobeniusAlg p b := by |
| 234 | change CrystallineScalars.bcrisFrobeniusAlg p (k0ToBcris p K a * b) = |
| 235 | k0ToBcris p K (ResidueCoefficients.coefficientFrobenius p K a) * CrystallineScalars.bcrisFrobeniusAlg p b |
| 236 | rw [map_mul, k0ToBcris_frobenius] |
| 237 | |
| 238 | end NumberTheory.PadicHodge.PeriodInvariants.Embedding.Period |
| 239 | |
| 240 | end |
| 241 | |
| 242 | end OAI |