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.AlgebraicGeometry.PELModuli.CMPoints.Splitting |
| 2 | import OAI.NumberTheory.Splitting.Integral |
| 3 | import OAI.NumberTheory.Splitting.Polynomial |
| 4 | |
| 5 | /-! # Local Padic -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Construct q-adic embeddings from simple residue roots, using Hensel's |
| 14 | lemma for the actual q-adic integers and an integral primitive element. -/ |
| 15 | |
| 16 | open _root_.Polynomial _root_.NumberField |
| 17 | |
| 18 | variable {q : ℕ} [Fact q.Prime] |
| 19 | |
| 20 | theorem toZMod_eq_zero_iff_norm_lt_one (z : PadicInt q) : |
| 21 | PadicInt.toZMod z = 0 ↔ ‖z‖ < 1 := by |
| 22 | change z ∈ RingHom.ker PadicInt.toZMod ↔ _ |
| 23 | rw [PadicInt.ker_toZMod, IsLocalRing.mem_maximalIdeal, PadicInt.mem_nonunits] |
| 24 | |
| 25 | theorem polynomial_reduction_eval (f : ℤ[X]) (z : PadicInt q) : |
| 26 | PadicInt.toZMod (f.aeval z) = |
| 27 | (f.map (Int.castRingHom (ZMod q))).eval (PadicInt.toZMod z) := by |
| 28 | rw [Polynomial.aeval_def, Polynomial.hom_eval₂, Polynomial.eval_map] |
| 29 | congr 1 |
| 30 | ext n |
| 31 | simp |
| 32 | |
| 33 | /-- A simple residue root lifts to an actual q-adic integral root. -/ |
| 34 | theorem hensel_lift_simple_root (f : ℤ[X]) (r : ZMod q) |
| 35 | (hr : (f.map (Int.castRingHom (ZMod q))).eval r = 0) |
| 36 | (hd : ((f.map (Int.castRingHom (ZMod q))).derivative).eval r ≠ 0) : |
| 37 | ∃ z : PadicInt q, f.aeval z = 0 ∧ PadicInt.toZMod z = r := by |
| 38 | let a : PadicInt q := r.val |
| 39 | have ha : PadicInt.toZMod a = r := by simp [a] |
| 40 | have hf : ‖f.aeval a‖ < 1 := |
| 41 | (toZMod_eq_zero_iff_norm_lt_one _).mp (by rw [polynomial_reduction_eval, ha, hr]) |
| 42 | have hd' : ‖f.derivative.aeval a‖ = 1 := by |
| 43 | apply le_antisymm (PadicInt.norm_le_one _) (le_of_not_gt _) |
| 44 | intro h |
| 45 | have hz := (toZMod_eq_zero_iff_norm_lt_one _).mpr h |
| 46 | rw [polynomial_reduction_eval, ha, ← Polynomial.derivative_map] at hz |
| 47 | exact hd hz |
| 48 | obtain ⟨z, hz, hza, _⟩ := hensels_lemma (F := f) (a := a) (by |
| 49 | simpa only [hd', one_pow] using hf) |
| 50 | refine ⟨z, hz, ?_⟩ |
| 51 | have he : PadicInt.toZMod (z - a) = 0 := |
| 52 | (toZMod_eq_zero_iff_norm_lt_one _).mpr (by simpa only [hd'] using hza) |
| 53 | rwa [map_sub, sub_eq_zero, ha] at he |
| 54 | |
| 55 | /-- Algebraic integers remain integral under every embedding in Q_q. -/ |
| 56 | def integersToPadicInt {K : Type*} [Field K] [NumberField K] |
| 57 | (f : K →+* Padic q) : RingOfIntegers K →+* PadicInt q := by |
| 58 | have hi (a : RingOfIntegers K) : IsIntegral (PadicInt q) (f (a : K)) := |
| 59 | ((a.property.map f.toIntAlgHom).tower_top) |
| 60 | let z (a : RingOfIntegers K) : PadicInt q := |
| 61 | (IsIntegrallyClosed.isIntegral_iff.mp (hi a)).choose |
| 62 | have hz (a : RingOfIntegers K) : (z a : Padic q) = f (a : K) := |
| 63 | (IsIntegrallyClosed.isIntegral_iff.mp (hi a)).choose_spec |
| 64 | exact { |
| 65 | toFun := z |
| 66 | map_one' := by apply Subtype.ext; rw [hz]; exact map_one f |
| 67 | map_zero' := by apply Subtype.ext; rw [hz]; exact map_zero f |
| 68 | map_add' := by intro a b; apply Subtype.ext; simp only [PadicInt.coe_add, hz]; exact map_add f _ _ |
| 69 | map_mul' := by intro a b; apply Subtype.ext; simp only [PadicInt.coe_mul, hz]; exact map_mul f _ _ } |
| 70 | |
| 71 | theorem integersToPadicInt_coe {K : Type*} [Field K] [NumberField K] |
| 72 | (f : K →+* Padic q) (a : RingOfIntegers K) : |
| 73 | (integersToPadicInt f a : Padic q) = f (a : K) := |
| 74 | (IsIntegrallyClosed.isIntegral_iff.mp |
| 75 | ((a.property.map f.toIntAlgHom).tower_top : IsIntegral (PadicInt q) (f (a : K)))).choose_spec |
| 76 | |
| 77 | /-- Lift a simple integral primitive-element residue to a field embedding. -/ |
| 78 | theorem exists_padic_embedding_of_simple_residue |
| 79 | {K : Type*} [Field K] [NumberField K] |
| 80 | (B : PowerBasis ℚ K) (hint : IsIntegral ℤ B.gen) |
| 81 | (r : RingOfIntegers K →+* ZMod q) |
| 82 | (hsep : ((minpoly ℤ (⟨B.gen, hint⟩ : RingOfIntegers K)).map |
| 83 | (Int.castRingHom (ZMod q))).Separable) : Nonempty (K →+* Padic q) := by |
| 84 | let θ : RingOfIntegers K := ⟨B.gen, hint⟩ |
| 85 | let f : ℤ[X] := minpoly ℤ θ |
| 86 | have hr : (f.map (Int.castRingHom (ZMod q))).eval (r θ) = 0 := by |
| 87 | rw [Polynomial.eval_map] |
| 88 | change aeval (r.toIntAlgHom θ) f = 0 |
| 89 | rw [Polynomial.aeval_algHom_apply, minpoly.aeval, map_zero] |
| 90 | have hd : (f.map (Int.castRingHom (ZMod q))).derivative.eval (r θ) ≠ 0 := |
| 91 | hsep.eval₂_derivative_ne_zero (RingHom.id _) hr |
| 92 | obtain ⟨z, hz, _⟩ := hensel_lift_simple_root f (r θ) hr hd |
| 93 | have hz' : aeval (z : Padic q) f = 0 := by |
| 94 | have h := Polynomial.aeval_algHom_apply |
| 95 | (IsScalarTower.toAlgHom ℤ (PadicInt q) (Padic q)) z f |
| 96 | exact h.trans (congrArg (algebraMap (PadicInt q) (Padic q)) hz |>.trans (map_zero _)) |
| 97 | have hmin : minpoly ℚ B.gen = f.map (algebraMap ℤ ℚ) := |
| 98 | minpoly.isIntegrallyClosed_eq_field_fractions ℚ K θ.isIntegral |
| 99 | have hroot : aeval (z : Padic q) (minpoly ℚ B.gen) = 0 := by |
| 100 | rw [hmin, Polynomial.aeval_map_algebraMap] |
| 101 | exact hz' |
| 102 | exact ⟨(B.lift (z : Padic q) hroot).toRingHom⟩ |
| 103 | |
| 104 | /-- Outside one finite bound, complete splitting supplies an actual embedding |
| 105 | of the number field into Q_q. -/ |
| 106 | theorem exists_padic_embedding_bound (K : Type*) [Field K] [NumberField K] : |
| 107 | ∃ d : ℕ, ∀ (q : ℕ) [Fact q.Prime], d < q → Arithmetic.SplitsCompletelyAt K q → |
| 108 | Nonempty (K →+* Padic q) := by |
| 109 | obtain ⟨B, hint⟩ := NumberTheory.Splitting.Integral.SplitPrimesConstruction.exists_integral_powerBasis K |
| 110 | let θ : RingOfIntegers K := ⟨B.gen, hint⟩ |
| 111 | let f := minpoly ℤ θ |
| 112 | have hf : f.natDegree ≠ 0 := (minpoly.natDegree_pos θ.isIntegral).ne' |
| 113 | have hsep : (f.map (Int.castRingHom ℚ)).Separable := by |
| 114 | have h := Algebra.IsSeparable.isSeparable ℚ B.gen |
| 115 | change (minpoly ℚ (algebraMap (RingOfIntegers K) K θ)).Separable at h |
| 116 | rw [minpoly.isIntegrallyClosed_eq_field_fractions ℚ K θ.isIntegral] at h |
| 117 | exact h |
| 118 | obtain ⟨d, hd, hgood⟩ := NumberTheory.Splitting.Polynomial.SplitPrimesConstruction.exists_separability_denominator f hf hsep |
| 119 | refine ⟨d.natAbs, fun q _ hq hs => ?_⟩ |
| 120 | obtain ⟨e⟩ := hs |
| 121 | let i : Fin (Module.finrank ℚ K) := ⟨0, Module.finrank_pos⟩ |
| 122 | let r := (Pi.evalRingHom (fun _ : Fin (Module.finrank ℚ K) => ZMod q) i).comp |
| 123 | (e.toRingHom.comp (Ideal.Quotient.mk _)) |
| 124 | apply exists_padic_embedding_of_simple_residue B hint r |
| 125 | apply hgood q (Fact.out : q.Prime) |
| 126 | intro hdiv |
| 127 | have hn : q ∣ d.natAbs := by exact_mod_cast Int.natAbs_dvd_natAbs.mpr hdiv |
| 128 | exact (Nat.not_dvd_of_pos_of_lt (Int.natAbs_pos.mpr hd) hq) hn |
| 129 | |
| 130 | end |
| 131 | |
| 132 | section |
| 133 | |
| 134 | /-! The finite place defined by an actual embedding into Q_q. Its adic |
| 135 | topology agrees with the topology pulled back from Q_q. -/ |
| 136 | |
| 137 | open _root_.NumberField IsDedekindDomain |
| 138 | open scoped NNReal |
| 139 | |
| 140 | variable {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 141 | |
| 142 | def embeddingResidue (f : K →+* Padic q) : RingOfIntegers K →+* ZMod q := |
| 143 | PadicInt.toZMod.comp (integersToPadicInt f) |
| 144 | |
| 145 | def embeddingPlace (f : K →+* Padic q) : HeightOneSpectrum (RingOfIntegers K) where |
| 146 | asIdeal := RingHom.ker (embeddingResidue f) |
| 147 | isPrime := RingHom.ker_isPrime _ |
| 148 | ne_bot := by |
| 149 | intro h |
| 150 | have hm : (q : RingOfIntegers K) ∈ RingHom.ker (embeddingResidue f) := by |
| 151 | rw [RingHom.mem_ker, map_natCast] |
| 152 | exact ZMod.natCast_self q |
| 153 | rw [h, Ideal.mem_bot] at hm |
| 154 | exact (Nat.cast_ne_zero.mpr (Fact.out : q.Prime).ne_zero) hm |
| 155 | |
| 156 | theorem embeddingPlace_liesOver (f : K →+* Padic q) : |
| 157 | (q : RingOfIntegers K) ∈ (embeddingPlace f).asIdeal := by |
| 158 | change embeddingResidue f q = 0 |
| 159 | simp |
| 160 | |
| 161 | theorem embedding_norm_eq_one_of_not_mem (f : K →+* Padic q) (a : RingOfIntegers K) |
| 162 | (ha : a ∉ (embeddingPlace f).asIdeal) : ‖f (a : K)‖ = 1 := by |
| 163 | rw [← integersToPadicInt_coe f a] |
| 164 | change ‖integersToPadicInt f a‖ = 1 |
| 165 | apply le_antisymm (PadicInt.norm_le_one _) (le_of_not_gt _) |
| 166 | intro h |
| 167 | exact ha ((toZMod_eq_zero_iff_norm_lt_one _).mpr h) |
| 168 | |
| 169 | /-- The normalized adic valuation and the pulled-back q-adic norm have |
| 170 | the same valuation ring, hence define equivalent valuations. -/ |
| 171 | theorem embedding_valuation_equiv (f : K →+* Padic q) : |
| 172 | ((embeddingPlace f).valuation K).IsEquiv |
| 173 | ((NormedField.valuation (K := Padic q)).comap f) := by |
| 174 | let v := embeddingPlace f |
| 175 | let w := (NormedField.valuation (K := Padic q)).comap f |
| 176 | have hle : HeightOneSpectrum.valuationSubringAtPrime K v ≤ w.valuationSubring := by |
| 177 | rintro x ⟨a, s, hs, rfl⟩ |
| 178 | have hn : ‖f (s : K)‖ = 1 := embedding_norm_eq_one_of_not_mem f s hs |
| 179 | have ha : ‖f (a : K)‖ ≤ 1 := by |
| 180 | rw [← integersToPadicInt_coe f a] |
| 181 | exact (integersToPadicInt f a).property |
| 182 | change ‖f ((a : K) * (s : K)⁻¹)‖₊ ≤ 1 |
| 183 | rw [← div_eq_mul_inv, map_div₀, nnnorm_div] |
| 184 | have hn' : ‖f (s : K)‖₊ = 1 := NNReal.coe_injective hn |
| 185 | rw [hn', div_one] |
| 186 | exact ha |
| 187 | have htop : w.valuationSubring ≠ ⊤ := by |
| 188 | intro h |
| 189 | have hm : ((q : K)⁻¹) ∈ w.valuationSubring := by rw [h]; trivial |
| 190 | change ‖f (q : K)⁻¹‖₊ ≤ 1 at hm |
| 191 | have hm' : ‖f (q : K)⁻¹‖ ≤ 1 := hm |
| 192 | rw [map_inv₀, map_natCast, norm_inv, Padic.norm_p, inv_inv] at hm' |
| 193 | exact (not_le_of_gt (Nat.one_lt_cast.mpr (Fact.out : q.Prime).one_lt)) hm' |
| 194 | rw [Valuation.isEquiv_iff_valuationSubring, |
| 195 | ← HeightOneSpectrum.valuationSubringAtPrime_eq_valuationSubring] |
| 196 | exact ValuationSubring.eq_of_le_of_ne_top _ hle htop |
| 197 | |
| 198 | /-- The embedding induces exactly the uniformity of the selected finite place. -/ |
| 199 | theorem embedding_isUniformInducing (f : K →+* Padic q) : |
| 200 | IsUniformInducing (f.comp (WithVal.equiv ((embeddingPlace f).valuation K)).toRingHom) := by |
| 201 | let : NormedField K := NormedField.induced K (Padic q) f f.injective |
| 202 | have hi : Isometry f := by intro x y; rfl |
| 203 | let : IsUltrametricDist K := |
| 204 | IsUltrametricDist.isUltrametricDist_of_isNonarchimedean_norm (by |
| 205 | intro x y |
| 206 | change ‖f (x + y)‖ ≤ max ‖f x‖ ‖f y‖ |
| 207 | rw [map_add] |
| 208 | exact Padic.nonarchimedean _ _) |
| 209 | let : Valued K ℝ≥0 := NormedField.toValued |
| 210 | let e := WithVal.uniformEquiv (R := K) |
| 211 | (show Valued.v = ((NormedField.valuation (K := Padic q)).comap f) from rfl) |
| 212 | (embedding_valuation_equiv f) |
| 213 | exact hi.isUniformInducing.comp e.isUniformInducing |
| 214 | |
| 215 | theorem embedding_denseRange (f : K →+* Padic q) : |
| 216 | DenseRange (f.comp (WithVal.equiv ((embeddingPlace f).valuation K)).toRingHom) := by |
| 217 | apply (Padic.denseRange_ratCast q).mono |
| 218 | rintro y ⟨a, rfl⟩ |
| 219 | exact ⟨(WithVal.equiv ((embeddingPlace f).valuation K)).symm (a : K), |
| 220 | by simp⟩ |
| 221 | |
| 222 | end |
| 223 | |
| 224 | section |
| 225 | |
| 226 | /-! Identify the actual adic completion with Q_q using the dense uniform |
| 227 | embedding constructed from the field embedding. -/ |
| 228 | |
| 229 | open _root_.NumberField IsDedekindDomain UniformSpace |
| 230 | |
| 231 | variable {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 232 | |
| 233 | def embeddingCompletionHom (f : K →+* Padic q) : |
| 234 | (embeddingPlace f).adicCompletion K →+* Padic q := |
| 235 | (Completion.extensionHom |
| 236 | (f.comp (WithVal.equiv ((embeddingPlace f).valuation K)).toRingHom) |
| 237 | (embedding_isUniformInducing f).uniformContinuous.continuous).comp |
| 238 | (HeightOneSpectrum.adicCompletion.equiv K (embeddingPlace f)).toRingHom |
| 239 | |
| 240 | theorem embeddingCompletionHom_coe (f : K →+* Padic q) (x : K) : |
| 241 | embeddingCompletionHom f (FinitePlace.embedding (embeddingPlace f) x) = f x := by |
| 242 | change Completion.extensionHom _ (embedding_isUniformInducing f).uniformContinuous.continuous |
| 243 | ((HeightOneSpectrum.adicCompletion.equiv K (embeddingPlace f)) |
| 244 | ((HeightOneSpectrum.adicCompletion.equiv K (embeddingPlace f)).symm |
| 245 | ((WithVal.equiv ((embeddingPlace f).valuation K)).symm x : |
| 246 | ((embeddingPlace f).valuation K).Completion))) = f x |
| 247 | rw [RingEquiv.apply_symm_apply, Completion.extensionHom_coe] |
| 248 | exact congrArg f ((WithVal.equiv ((embeddingPlace f).valuation K)).apply_symm_apply x) |
| 249 | |
| 250 | theorem embeddingCompletionHom_isUniformInducing (f : K →+* Padic q) : |
| 251 | IsUniformInducing (embeddingCompletionHom f) := |
| 252 | (Completion.isUniformInducing_extension (embedding_isUniformInducing f)).comp |
| 253 | (HeightOneSpectrum.adicCompletion.isUniformInducing_toCompletion K (embeddingPlace f)) |
| 254 | |
| 255 | theorem embeddingCompletionHom_denseRange (f : K →+* Padic q) : |
| 256 | DenseRange (embeddingCompletionHom f) := by |
| 257 | apply (embedding_denseRange f).mono |
| 258 | rintro y ⟨x, rfl⟩ |
| 259 | exact ⟨FinitePlace.embedding (embeddingPlace f) |
| 260 | ((WithVal.equiv ((embeddingPlace f).valuation K)) x), embeddingCompletionHom_coe f _⟩ |
| 261 | |
| 262 | theorem embeddingCompletionHom_bijective (f : K →+* Padic q) : |
| 263 | Function.Bijective (embeddingCompletionHom f) := by |
| 264 | refine ⟨(embeddingCompletionHom f).injective, ?_⟩ |
| 265 | apply Set.range_eq_univ.mp |
| 266 | have hclosed := (embeddingCompletionHom_isUniformInducing f).isComplete_range.isClosed |
| 267 | exact hclosed.closure_eq.symm.trans (embeddingCompletionHom_denseRange f).closure_range |
| 268 | |
| 269 | /-- The ring equivalence is constructed by extending the given embedding. -/ |
| 270 | def embeddingCompletionEquiv (f : K →+* Padic q) : |
| 271 | (embeddingPlace f).adicCompletion K ≃+* Padic q := |
| 272 | RingEquiv.ofBijective (embeddingCompletionHom f) (embeddingCompletionHom_bijective f) |
| 273 | |
| 274 | theorem embeddingCompletionEquiv_continuous (f : K →+* Padic q) : |
| 275 | Continuous (embeddingCompletionEquiv f) := |
| 276 | (embeddingCompletionHom_isUniformInducing f).uniformContinuous.continuous |
| 277 | |
| 278 | theorem embeddingCompletionEquiv_symm_continuous (f : K →+* Padic q) : |
| 279 | Continuous (embeddingCompletionEquiv f).symm := |
| 280 | ((embeddingCompletionEquiv f).toEquiv.toHomeomorphOfIsInducing |
| 281 | (embeddingCompletionHom_isUniformInducing f).isInducing).continuous_symm |
| 282 | |
| 283 | theorem embeddingCompletionEquiv_comp (f : K →+* Padic q) : |
| 284 | (embeddingCompletionEquiv f).toRingHom.comp |
| 285 | (FinitePlace.embedding (embeddingPlace f)) = f := by |
| 286 | ext x |
| 287 | exact embeddingCompletionHom_coe f x |
| 288 | |
| 289 | end |
| 290 | |
| 291 | /-! Construct all fields of the literal q-adic choice, including the two |
| 292 | algebraic-closure embeddings and the compatible completion identification. -/ |
| 293 | |
| 294 | open _root_.NumberField |
| 295 | |
| 296 | variable {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 297 | |
| 298 | /-- Extend the chosen complex and q-adic embeddings through a common |
| 299 | algebraic closure of Q. -/ |
| 300 | def qadicChoiceOfEmbedding (κ : K →+* ℂ) (f : K →+* Padic q) : Arithmetic.QadicChoice K κ q := by |
| 301 | letI : Algebra ℚ (AlgebraicClosure ℚ) := AlgebraicClosure.instAlgebra ℚ |
| 302 | letI : Algebra.IsAlgebraic ℚ (AlgebraicClosure ℚ) := AlgebraicClosure.isAlgebraic ℚ |
| 303 | let ψ : K →+* AlgebraicClosure ℚ := |
| 304 | (IsAlgClosed.lift : K →ₐ[ℚ] AlgebraicClosure ℚ).toRingHom |
| 305 | letI : Algebra K (AlgebraicClosure ℚ) := ψ.toAlgebra |
| 306 | letI : IsScalarTower ℚ K (AlgebraicClosure ℚ) := |
| 307 | IsScalarTower.of_algebraMap_eq (fun r => by |
| 308 | change (r : AlgebraicClosure ℚ) = ψ (r : K) |
| 309 | simp) |
| 310 | letI : Algebra.IsAlgebraic K (AlgebraicClosure ℚ) := |
| 311 | Algebra.IsAlgebraic.tower_top (K := ℚ) K |
| 312 | letI : Algebra K ℂ := κ.toAlgebra |
| 313 | let c : AlgebraicClosure ℚ →ₐ[K] ℂ := IsAlgClosed.lift |
| 314 | let fq : K →+* AlgebraicClosure (Padic q) := |
| 315 | (algebraMap (Padic q) (AlgebraicClosure (Padic q))).comp f |
| 316 | letI : Algebra K (AlgebraicClosure (Padic q)) := fq.toAlgebra |
| 317 | let i : AlgebraicClosure ℚ →ₐ[K] AlgebraicClosure (Padic q) := IsAlgClosed.lift |
| 318 | refine { |
| 319 | complexClosure := c.toRingHom |
| 320 | fieldInClosure := ψ |
| 321 | complex_compatibility := ?_ |
| 322 | iota := i.toRingHom |
| 323 | prime := embeddingPlace f |
| 324 | liesOver := embeddingPlace_liesOver f |
| 325 | completion := embeddingCompletionEquiv f |
| 326 | completion_continuous := embeddingCompletionEquiv_continuous f |
| 327 | completion_inverse_continuous := embeddingCompletionEquiv_symm_continuous f |
| 328 | closure_compatibility := ?_ |
| 329 | integralEmbedding := integersToPadicInt f |
| 330 | integral_compatibility := ?_ } |
| 331 | · ext x |
| 332 | exact c.commutes x |
| 333 | · rw [embeddingCompletionEquiv_comp] |
| 334 | ext x |
| 335 | exact i.commutes x |
| 336 | · rw [embeddingCompletionEquiv_comp] |
| 337 | ext x |
| 338 | exact integersToPadicInt_coe f x |
| 339 | |
| 340 | /-- A sufficiently large completely split prime admits the full q-adic choice. -/ |
| 341 | theorem exists_qadicChoice_bound (κ : K →+* ℂ) : |
| 342 | ∃ d : ℕ, ∀ (q : ℕ) [Fact q.Prime], d < q → Arithmetic.SplitsCompletelyAt K q → |
| 343 | Nonempty (Arithmetic.QadicChoice K κ q) := by |
| 344 | obtain ⟨d, hd⟩ := exists_padic_embedding_bound K |
| 345 | refine ⟨d, fun q _ hq hs => ?_⟩ |
| 346 | obtain ⟨f⟩ := hd q hq hs |
| 347 | exact ⟨qadicChoiceOfEmbedding κ f⟩ |
| 348 | |
| 349 | end |
| 350 | |
| 351 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |