Contents
Theorem43Lemmas.lean
Statement index · Original Lean file
1
import Thesis.Iwasawa23/-!4# The two Lemmas A and C of Theorem 4.3, machine-checked56`source/chapter-4-proof-reconstruction.md` reduces Theorem 4.3 of Bhattacharya's7thesis to three ingredients, of which two are missing from Mathlib (obligations O218and O23 in that document's ledger):910**Lemma A (O21).** Reduction modulo the maximal ideal `𝔭` of the ring of integers of11`ℂ_[p]` is injective on roots of unity of order prime to `p`; consequently two12Dirichlet characters modulo `p` whose values are congruent mod `𝔭` are equal. This13is what makes the hypothesis `χ₁ ≡ χ₂ (mod 𝔭)` of Theorem 4.3 force `θ₁ = θ₂` for14the tame parts.1516**Lemma C (O23).** If `F ∈ ℤ_p⟦T⟧` and `x, y` lie in the open unit ball (the maximal17ideal of `𝒪`), then `F(x) − F(y) ∈ (x − y)𝒪`; quantitatively `‖F(x) − F(y)‖ ≤ ‖x − y‖`.18That is the continuity step the printed proof of Theorem 4.3 omits.1920Everything here is proved from Mathlib + `Thesis/Prelude.lean`; there are no axioms21and no `sorry`. The proofs are phrased so that they can be pasted into22`Thesis/Iwasawa.lean` (the declarations are `Thesis`-namespaced and use the project's23`padicIntToCp`, `evalPowerSeries` and `ResidueModEq`).24-/2526namespace Thesis2728noncomputable section2930open scoped BigOperators Topology3132variable {p : ℕ} [Fact p.Prime]3334/-! ## Ultrametric bookkeeping in `ℂ_[p]` -/3536/-- A finite sum in an ultrametric normed field is bounded by the maximum of the37norms of its terms. -/38lemma norm_sum_le_of_ultrametric {ι : Type*} (s : Finset ι) (f : ι → ℂ_[p]) {r : ℝ}39 (hr : 0 ≤ r) (h : ∀ i ∈ s, ‖f i‖ ≤ r) : ‖∑ i ∈ s, f i‖ ≤ r := by40 classical41 induction s using Finset.induction_on with42 | empty => simpa using hr43 | insert a s ha ih =>44 rw [Finset.sum_insert ha]45 refine (PadicComplex.isNonarchimedean p (f a) (∑ i ∈ s, f i)).trans (max_le ?_ ?_)46 · exact h a (Finset.mem_insert_self a s)47 · exact ih fun i hi => h i (Finset.mem_insert_of_mem hi)4849/-- In an ultrametric normed field, a strictly smaller summand does not change the50norm of a sum. -/51lemma norm_add_eq_of_norm_lt {x y : ℂ_[p]} (h : ‖y‖ < ‖x‖) : ‖x + y‖ = ‖x‖ := by52 have hne : dist (x + y) y ≠ dist y 0 := by53 rw [dist_eq_norm, dist_eq_norm]54 simp only [add_sub_cancel_right, sub_zero]55 exact h.ne'56 have hmain := IsUltrametricDist.dist_eq_max_of_dist_ne_dist (x := x + y) (y := y) (z := 0) hne57 rw [dist_eq_norm, dist_eq_norm, add_sub_cancel_right, sub_zero, dist_zero_right] at hmain58 rw [hmain, max_eq_left h.le]5960/-- A root of unity in `ℂ_[p]` has norm one. -/61lemma norm_eq_one_of_pow_eq_one {ζ : ℂ_[p]} {n : ℕ} (hn : n ≠ 0) (h : ζ ^ n = 1) :62 ‖ζ‖ = 1 := by63 have hpow : ‖ζ‖ ^ n = 1 := by rw [← norm_pow, h, norm_one]64 have hpow' : ‖ζ‖ ^ n = (1 : ℝ) ^ n := by rw [one_pow, hpow]65 rcases (norm_nonneg ζ).lt_or_eq with hpos | hzero66 · exact pow_left_inj₀ hpos.le zero_le_one hn |>.mp hpow'67 · exfalso68 rw [← hzero, zero_pow hn] at hpow69 exact zero_ne_one hpow7071/-- The norm of `n` inside `ℂ_[p]`, for `p ∤ n`. -/72lemma norm_natCast_eq_one_of_not_dvd {n : ℕ} (hn : ¬ p ∣ n) : ‖(n : ℂ_[p])‖ = 1 := by73 have hnat : ‖(n : ℚ_[p])‖ = 1 := by74 rw [Padic.norm_natCast_eq_one_iff]75 exact (Fact.out : p.Prime).coprime_iff_not_dvd.mpr hn76 rw [show (n : ℂ_[p]) = ((n : ℚ_[p]) : ℂ_[p]) by norm_cast,77 PadicComplex.norm_extends', hnat]7879/-! ## Lemma A: reduction mod `𝔭` is injective on prime-to-`p` roots of unity -/8081/-- **Lemma A.** A root of unity of order prime to `p` in `ℂ_[p]` which is congruent82to `1` modulo the maximal ideal is equal to `1`. -/83theorem eq_one_of_pow_eq_one_of_not_dvd {ζ : ℂ_[p]} {n : ℕ} (hn : ¬ p ∣ n)84 (hζ : ζ ^ n = 1) (h : ‖ζ - 1‖ < 1) : ζ = 1 := by85 have hn0 : n ≠ 0 := fun h0 => hn (h0 ▸ dvd_zero p)86 have hζnorm : ‖ζ‖ = 1 := norm_eq_one_of_pow_eq_one hn0 hζ87 by_contra hne88 have hpos : 0 < ‖ζ - 1‖ := norm_pos_iff.mpr (sub_ne_zero.mpr hne)89 have hfac : (∑ i ∈ Finset.range n, ζ ^ i) * (ζ - 1) = 0 := by90 rw [geom_sum_mul, hζ, sub_self]91 have hS : (∑ i ∈ Finset.range n, ζ ^ i) = 0 := by92 rcases mul_eq_zero.mp hfac with h' | h'93 · exact h'94 · exact absurd h' (sub_ne_zero.mpr hne)95 have hterm : ∀ i ∈ Finset.range n, ‖ζ ^ i - 1‖ ≤ ‖ζ - 1‖ := by96 intro i _97 rcases Nat.eq_zero_or_pos i with h0 | hpos'98 · subst h099 simp100 · have hgeom : ‖∑ j ∈ Finset.range i, ζ ^ j‖ ≤ 1 := by101 refine norm_sum_le_of_ultrametric _ _ zero_le_one ?_102 intro j _103 rw [norm_pow, hζnorm, one_pow]104 have hfac' : ζ ^ i - 1 = (ζ - 1) * ∑ j ∈ Finset.range i, ζ ^ j := by105 rw [mul_comm, geom_sum_mul]106 rw [hfac', norm_mul]107 calc ‖ζ - 1‖ * ‖∑ j ∈ Finset.range i, ζ ^ j‖ ≤ ‖ζ - 1‖ * 1 :=108 mul_le_mul_of_nonneg_left hgeom (norm_nonneg _)109 _ = ‖ζ - 1‖ := mul_one _110 have hdiff : ‖(∑ i ∈ Finset.range n, ζ ^ i) - (n : ℂ_[p])‖ < 1 := by111 have hsplit : (∑ i ∈ Finset.range n, ζ ^ i) - (n : ℂ_[p]) =112 ∑ i ∈ Finset.range n, (ζ ^ i - 1) := by113 simp [Finset.sum_sub_distrib, Finset.sum_const, Finset.card_range]114 rw [hsplit]115 exact (norm_sum_le_of_ultrametric _ _ hpos.le hterm).trans_lt h116 rw [hS] at hdiff117 have hnormn : ‖(n : ℂ_[p])‖ = 1 := norm_natCast_eq_one_of_not_dvd hn118 rw [zero_sub, norm_neg, hnormn] at hdiff119 exact lt_irrefl 1 hdiff120121/-- Two roots of unity of the same order prime to `p` that are congruent modulo the122maximal ideal are equal. -/123theorem eq_of_pow_eq_one_of_norm_sub_lt_one {ζ₁ ζ₂ : ℂ_[p]} {k : ℕ} (hk : ¬ p ∣ k)124 (h₁ : ζ₁ ^ k = 1) (h₂ : ζ₂ ^ k = 1) (h : ‖ζ₁ - ζ₂‖ < 1) : ζ₁ = ζ₂ := by125 have hk0 : k ≠ 0 := fun h0 => hk (h0 ▸ dvd_zero p)126 have hζ₂0 : ζ₂ ≠ 0 := by127 rintro rfl128 rw [zero_pow hk0] at h₂129 exact zero_ne_one h₂130 have hζ₂ : ‖ζ₂‖ = 1 := norm_eq_one_of_pow_eq_one hk0 h₂131 have hratio : (ζ₁ / ζ₂) ^ k = 1 := by132 rw [div_pow, h₁, h₂, div_one]133 have hdist : ‖ζ₁ / ζ₂ - 1‖ < 1 := by134 have hrewrite : ζ₁ / ζ₂ - 1 = (ζ₁ - ζ₂) / ζ₂ := by135 field_simp136 rw [hrewrite, norm_div, hζ₂]137 simpa using h138 have hone : ζ₁ / ζ₂ = 1 := eq_one_of_pow_eq_one_of_not_dvd hk hratio hdist139 rw [div_eq_one_iff_eq hζ₂0] at hone140 exact hone141142/-- **Lemma A, character form.** Two Dirichlet characters modulo `p` whose values are143congruent modulo the maximal ideal are equal; in particular reduction modulo the144maximal ideal is injective on the character group of `(ℤ/p)^×`. -/145theorem dirichletCharacter_eq_of_residueModEq (θ₁ θ₂ : DirichletCharacter ℂ_[p] p)146 (h : ∀ a : ZMod p, ResidueModEq p (θ₁ a) (θ₂ a)) : θ₁ = θ₂ := by147 classical148 have hcard : Fintype.card (ZMod p)ˣ = p - 1 := by149 rw [ZMod.card_units_eq_totient, Nat.totient_prime (Fact.out : p.Prime)]150 have hvalues : ∀ u : (ZMod p)ˣ, θ₁ (u : ZMod p) = θ₂ (u : ZMod p) := by151 intro u152 have hpow₁ : θ₁ (u : ZMod p) ^ (p - 1) = 1 := by153 have hpow := congrArg (fun ψ : DirichletCharacter ℂ_[p] p => ψ u) θ₁.pow_card_eq_one154 rw [MulChar.pow_apply_coe, MulChar.one_apply_coe, hcard] at hpow155 exact hpow156 have hpow₂ : θ₂ (u : ZMod p) ^ (p - 1) = 1 := by157 have hpow := congrArg (fun ψ : DirichletCharacter ℂ_[p] p => ψ u) θ₂.pow_card_eq_one158 rw [MulChar.pow_apply_coe, MulChar.one_apply_coe, hcard] at hpow159 exact hpow160 have hnotdvd : ¬ p ∣ (p - 1) := by161 intro hd162 have hp := (Fact.out : p.Prime).two_le163 exact absurd (Nat.le_of_dvd (by omega) hd) (by omega)164 exact eq_of_pow_eq_one_of_norm_sub_lt_one hnotdvd hpow₁ hpow₂ (h (u : ZMod p))165 exact MulChar.ext hvalues166167/-! ## Lemma C: evaluation of an integral power series is `1`-Lipschitz -/168169lemma norm_padicIntToCp_le_one (x : ℤ_[p]) : ‖padicIntToCp x‖ ≤ 1 := by170 rw [padicIntToCp, PadicComplex.norm_extends', ← PadicInt.norm_def]171 exact PadicInt.norm_le_one x172173/-- **Ultrametric bound for an infinite sum**: a summable sequence in `ℂ_[p]` whose174terms are all bounded by `C` has `tsum` bounded by `C`. -/175lemma norm_tsum_le_of_forall_le {f : ℕ → ℂ_[p]} {C : ℝ}176 (hs : Summable f) (hC : 0 ≤ C) (h : ∀ i, ‖f i‖ ≤ C) : ‖∑' i, f i‖ ≤ C := by177 have hpartial : ∀ s : Finset ℕ, ‖∑ i ∈ s, f i‖ ≤ C := fun s =>178 norm_sum_le_of_ultrametric s f hC fun i _ => h i179 have htend : Filter.Tendsto (fun n : ℕ => ‖∑ i ∈ Finset.range n, f i‖) Filter.atTop180 (𝓝 ‖∑' i, f i‖) :=181 (continuous_norm.tendsto _).comp hs.hasSum.tendsto_sum_nat182 exact le_of_tendsto_of_tendsto htend tendsto_const_nhds (Filter.Eventually.of_forall fun n => hpartial _)183184/-- The defining series of `evalPowerSeries F a` is summable for `‖a‖ < 1`. -/185lemma summable_evalPowerSeries (F : PowerSeries ℤ_[p]) {a : ℂ_[p]} (ha : ‖a‖ < 1) :186 Summable fun k : ℕ => padicIntToCp (PowerSeries.coeff k F) * a ^ k := by187 refine Summable.of_norm_bounded (g := fun k : ℕ => ‖a‖ ^ k)188 (summable_geometric_of_norm_lt_one (x := (‖a‖ : ℝ)) (by simpa using ha)) ?_189 intro k190 rw [norm_mul, norm_pow]191 calc ‖padicIntToCp (PowerSeries.coeff k F)‖ * ‖a‖ ^ k ≤ 1 * ‖a‖ ^ k :=192 mul_le_mul_of_nonneg_right (norm_padicIntToCp_le_one _) (by positivity)193 _ = ‖a‖ ^ k := one_mul _194195/-- The divided-difference sum `∑_{i<k} x^i y^{k-1-i}` is bounded by196`(max ‖x‖ ‖y‖)^(k-1)`. -/197lemma norm_geomDiff_le {x y : ℂ_[p]} (hx : ‖x‖ ≤ 1) (hy : ‖y‖ ≤ 1) (k : ℕ) :198 ‖∑ i ∈ Finset.range k, x ^ i * y ^ (k - 1 - i)‖ ≤ (max ‖x‖ ‖y‖) ^ (k - 1) := by199 have hR0 : (0 : ℝ) ≤ max ‖x‖ ‖y‖ := le_trans (norm_nonneg x) (le_max_left _ _)200 have hR1 : max ‖x‖ ‖y‖ ≤ 1 := max_le hx hy201 rcases Nat.eq_zero_or_pos k with hk | hk202 · subst hk203 simp204 · have hterm : ∀ i ∈ Finset.range k, ‖x ^ i * y ^ (k - 1 - i)‖ ≤ (max ‖x‖ ‖y‖) ^ (k - 1) := by205 intro i hi206 have hik : i < k := Finset.mem_range.mp hi207 rw [norm_mul, norm_pow, norm_pow]208 calc ‖x‖ ^ i * ‖y‖ ^ (k - 1 - i)209 ≤ (max ‖x‖ ‖y‖) ^ i * (max ‖x‖ ‖y‖) ^ (k - 1 - i) :=210 mul_le_mul (pow_le_pow_left₀ (norm_nonneg _) (le_max_left _ _) _)211 (pow_le_pow_left₀ (norm_nonneg _) (le_max_right _ _) _)212 (by positivity) (by positivity)213 _ = (max ‖x‖ ‖y‖) ^ (i + (k - 1 - i)) := by rw [← pow_add]214 _ = (max ‖x‖ ‖y‖) ^ (k - 1) := by rw [show i + (k - 1 - i) = k - 1 by omega]215 exact norm_sum_le_of_ultrametric _ _ (by positivity) hterm216217/-- **Lemma C.** Evaluation of an integral power series is `1`-Lipschitz on the open218unit ball. -/219theorem evalPowerSeries_sub_norm_le (F : PowerSeries ℤ_[p]) {x y : ℂ_[p]}220 (hx : ‖x‖ < 1) (hy : ‖y‖ < 1) :221 ‖evalPowerSeries F x - evalPowerSeries F y‖ ≤ ‖x - y‖ := by222 classical223 set a : ℕ → ℂ_[p] := fun k => padicIntToCp (PowerSeries.coeff k F) with ha224 have hSx : Summable fun k : ℕ => a k * x ^ k := summable_evalPowerSeries F hx225 have hSy : Summable fun k : ℕ => a k * y ^ k := summable_evalPowerSeries F hy226 have hgeom1 : ∀ k : ℕ, ‖∑ i ∈ Finset.range k, x ^ i * y ^ (k - 1 - i)‖ ≤ 1 := by227 intro k228 refine (norm_geomDiff_le hx.le hy.le k).trans ?_229 exact pow_le_one₀ (le_trans (norm_nonneg _) (le_max_left _ _)) (max_le hx.le hy.le)230 have hterm : ∀ k : ℕ, ‖a k * x ^ k - a k * y ^ k‖ ≤ ‖x - y‖ := by231 intro k232 have hfac : a k * x ^ k - a k * y ^ k =233 a k * ((∑ i ∈ Finset.range k, x ^ i * y ^ (k - 1 - i)) * (x - y)) := by234 rw [geom_sum₂_mul]235 ring236 rw [hfac, norm_mul, norm_mul]237 calc ‖a k‖ * (‖∑ i ∈ Finset.range k, x ^ i * y ^ (k - 1 - i)‖ * ‖x - y‖)238 ≤ 1 * (1 * ‖x - y‖) := by239 refine mul_le_mul (norm_padicIntToCp_le_one _) ?_ (by positivity) zero_le_one240 exact mul_le_mul (hgeom1 k) le_rfl (norm_nonneg _) zero_le_one241 _ = ‖x - y‖ := by ring242 have hkey : evalPowerSeries F x - evalPowerSeries F y =243 ∑' k : ℕ, (a k * x ^ k - a k * y ^ k) := by244 have h₁ : evalPowerSeries F x = ∑' k : ℕ, a k * x ^ k := rfl245 have h₂ : evalPowerSeries F y = ∑' k : ℕ, a k * y ^ k := rfl246 rw [h₁, h₂, hSx.tsum_sub hSy]247 rw [hkey]248 exact norm_tsum_le_of_forall_le (hSx.sub hSy) (norm_nonneg _) hterm249250/-! ## `p`-power roots of unity are congruent to `1` modulo `𝔭`251252This is the second half of the tame-part collapse: it lets one strip the `p`-power253order part `ψ` of a character from a congruence `χ₁ ≡ χ₂ (mod 𝔭)`.254-/255256lemma norm_intCast_le_one (z : ℤ) : ‖(z : ℂ_[p])‖ ≤ 1 := by257 rw [show (z : ℂ_[p]) = ((z : ℚ_[p]) : ℂ_[p]) from258 (map_intCast (algebraMap ℚ_[p] ℂ_[p]) z).symm,259 PadicComplex.norm_extends']260 exact Padic.norm_int_le_one z261262/-- If all coefficients of `P : ℤ[X]` are divisible by `p`, then `P` is `p` times an263integral polynomial, whence its value at a point of the closed unit ball has norm at264most `‖p‖`. -/265lemma eval₂_norm_le_of_coeff_dvd {P : Polynomial ℤ} (hdiv : ∀ n, (p : ℤ) ∣ P.coeff n)266 {ζ : ℂ_[p]} (hζ : ‖ζ‖ ≤ 1) :267 ‖P.eval₂ (Int.castRingHom ℂ_[p]) ζ‖ ≤ ‖(p : ℂ_[p])‖ := by268 choose e he using hdiv269 rw [Polynomial.eval₂_eq_sum, Polynomial.sum_def]270 have hfac : ∀ n : ℕ, ((P.coeff n : ℤ) : ℂ_[p]) = (p : ℂ_[p]) * ((e n : ℤ) : ℂ_[p]) := by271 intro n272 rw [he n]273 push_cast274 ring275 have hterm : ∀ n ∈ P.support, ‖((e n : ℤ) : ℂ_[p]) * ζ ^ n‖ ≤ 1 := by276 intro n _277 rw [norm_mul, norm_pow]278 calc ‖((e n : ℤ) : ℂ_[p])‖ * ‖ζ‖ ^ n ≤ 1 * 1 :=279 mul_le_mul (norm_intCast_le_one _) (pow_le_one₀ (norm_nonneg _) hζ) (by positivity)280 zero_le_one281 _ = 1 := by norm_num282 have hinner : ‖∑ n ∈ P.support, ((e n : ℤ) : ℂ_[p]) * ζ ^ n‖ ≤ 1 :=283 norm_sum_le_of_ultrametric _ _ zero_le_one hterm284 have hsum : (∑ n ∈ P.support, (Int.castRingHom ℂ_[p]) (P.coeff n) * ζ ^ n) =285 (p : ℂ_[p]) * ∑ n ∈ P.support, ((e n : ℤ) : ℂ_[p]) * ζ ^ n := by286 rw [Finset.mul_sum]287 refine Finset.sum_congr rfl ?_288 intro n _289 rw [show (Int.castRingHom ℂ_[p]) (P.coeff n) = ((P.coeff n : ℤ) : ℂ_[p]) from rfl, hfac n]290 ring291 rw [hsum, norm_mul]292 calc ‖(p : ℂ_[p])‖ * ‖∑ n ∈ P.support, ((e n : ℤ) : ℂ_[p]) * ζ ^ n‖ ≤ ‖(p : ℂ_[p])‖ * 1 :=293 mul_le_mul_of_nonneg_left hinner (norm_nonneg _)294 _ = ‖(p : ℂ_[p])‖ := mul_one _295296/-- The coefficients of `X ^ (p ^ k) - 1 - (X - 1) ^ (p ^ k)` are all divisible by `p`297(for odd `p`): modulo `p` the two terms coincide by the Frobenius identity. -/298lemma coeff_dvd_xpow_sub_X_sub_one_pow (hp2 : p ≠ 2) (k : ℕ) :299 ∀ n, (p : ℤ) ∣ (Polynomial.X ^ (p ^ k) - 1 - (Polynomial.X - 1) ^ (p ^ k) :300 Polynomial ℤ).coeff n := by301 set P : Polynomial ℤ := Polynomial.X ^ (p ^ k) - 1 - (Polynomial.X - 1) ^ (p ^ k) with hP302 have hmap : P.map (Int.castRingHom (ZMod p)) = 0 := by303 rw [hP]304 have hpodd : Odd p := (Fact.out : p.Prime).odd_of_ne_two hp2305 have hodd : Odd (p ^ k) := hpodd.pow306 have hchar : (Polynomial.X - 1 : Polynomial (ZMod p)) ^ (p ^ k) =307 Polynomial.X ^ (p ^ k) - 1 := by308 have h := add_pow_char_pow (Polynomial.X : Polynomial (ZMod p)) (-1) p k309 rw [show (Polynomial.X + (-1) : Polynomial (ZMod p)) = Polynomial.X - 1 by ring,310 Odd.neg_one_pow hodd] at h311 simpa [sub_eq_add_neg] using h312 simp only [Polynomial.map_sub, Polynomial.map_pow, Polynomial.map_one, Polynomial.map_X]313 rw [hchar]314 ring315 intro n316 have h := congrArg (fun Q : Polynomial (ZMod p) => Q.coeff n) hmap317 simp only [Polynomial.coeff_map, Polynomial.coeff_zero] at h318 exact (ZMod.intCast_zmod_eq_zero_iff_dvd (P.coeff n) p).mp h319320/-- **`p`-power roots of unity are `≡ 1 (mod 𝔭)`** in `ℂ_[p]`, for `p` odd. -/321theorem norm_sub_one_lt_one_of_pow_prime_pow_eq_one (hp2 : p ≠ 2) {ζ : ℂ_[p]} {k : ℕ}322 (hζ : ζ ^ (p ^ k) = 1) : ‖ζ - 1‖ < 1 := by323 have hpne0 : p ^ k ≠ 0 := pow_ne_zero _ (Fact.out : p.Prime).ne_zero324 have hζnorm : ‖ζ‖ = 1 := norm_eq_one_of_pow_eq_one hpne0 hζ325 have hval : (Polynomial.X ^ (p ^ k) - 1 - (Polynomial.X - 1) ^ (p ^ k) :326 Polynomial ℤ).eval₂ (Int.castRingHom ℂ_[p]) ζ = -((ζ - 1) ^ (p ^ k)) := by327 simp only [Polynomial.eval₂_sub, Polynomial.eval₂_pow, Polynomial.eval₂_one,328 Polynomial.eval₂_X]329 rw [hζ]330 ring331 have hb := eval₂_norm_le_of_coeff_dvd (p := p) (coeff_dvd_xpow_sub_X_sub_one_pow hp2 k)332 (ζ := ζ) hζnorm.le333 rw [hval, norm_neg, norm_pow] at hb334 have hnormp : ‖(p : ℂ_[p])‖ < 1 := by335 rw [show (p : ℂ_[p]) = ((p : ℚ_[p]) : ℂ_[p]) by norm_cast,336 PadicComplex.norm_extends', Padic.norm_p]337 exact inv_lt_one_of_one_lt₀ (by exact_mod_cast (Fact.out : p.Prime).one_lt)338 have hpow : ‖ζ - 1‖ ^ (p ^ k) < 1 := lt_of_le_of_lt hb hnormp339 by_contra hcon340 push Not at hcon341 have : 1 ≤ ‖ζ - 1‖ ^ (p ^ k) := one_le_pow₀ hcon342 exact absurd hpow (not_lt.mpr this)343344/-- **Tame-part collapse.** If a product `θψ` with `θ` of order dividing `p−1` and `ψ`345of `p`-power order is congruent modulo `𝔭` to another such product `θ'ψ'`, then the tame346parts `θ` and `θ'` are equal. This is the step that removes the (unnecessary, and as347printed incorrect) Lemmas 4.9–4.10 from the proof of Theorem 4.3. -/348theorem tame_part_eq_of_mul_residueModEq (hp2 : p ≠ 2) {θ₁ θ₂ ψ₁ ψ₂ : ℂ_[p]} {k₁ k₂ : ℕ}349 (hθ₁ : θ₁ ^ (p - 1) = 1) (hθ₂ : θ₂ ^ (p - 1) = 1)350 (hψ₁ : ψ₁ ^ (p ^ k₁) = 1) (hψ₂ : ψ₂ ^ (p ^ k₂) = 1)351 (h : ‖θ₁ * ψ₁ - θ₂ * ψ₂‖ < 1) : θ₁ = θ₂ := by352 have hpne : p ≠ 0 := (Fact.out : p.Prime).ne_zero353 have hn : ¬ p ∣ (p - 1) := by354 intro hd355 have hp := (Fact.out : p.Prime).two_le356 exact absurd (Nat.le_of_dvd (by omega) hd) (by omega)357 have hθnorm₁ : ‖θ₁‖ = 1 := norm_eq_one_of_pow_eq_one (Nat.sub_ne_zero_of_lt (Fact.out : p.Prime).one_lt) hθ₁358 have hθnorm₂ : ‖θ₂‖ = 1 := norm_eq_one_of_pow_eq_one (Nat.sub_ne_zero_of_lt (Fact.out : p.Prime).one_lt) hθ₂359 have hψ₁' : ‖ψ₁ - 1‖ < 1 := norm_sub_one_lt_one_of_pow_prime_pow_eq_one hp2 hψ₁360 have hψ₂' : ‖ψ₂ - 1‖ < 1 := norm_sub_one_lt_one_of_pow_prime_pow_eq_one hp2 hψ₂361 have hdecomp : θ₁ - θ₂ =362 (θ₁ * ψ₁ - θ₂ * ψ₂) + θ₂ * (ψ₂ - 1) - θ₁ * (ψ₁ - 1) := by ring363 have hb₂ : ‖θ₂ * (ψ₂ - 1)‖ < 1 := by364 rw [norm_mul, hθnorm₂, one_mul]365 exact hψ₂'366 have hb₁ : ‖θ₁ * (ψ₁ - 1)‖ < 1 := by367 rw [norm_mul, hθnorm₁, one_mul]368 exact hψ₁'369 have hXY : ‖(θ₁ * ψ₁ - θ₂ * ψ₂) + θ₂ * (ψ₂ - 1)‖ < 1 :=370 lt_of_le_of_lt (PadicComplex.isNonarchimedean p _ _) (max_lt h hb₂)371 have hfinal : ‖θ₁ - θ₂‖ < 1 := by372 rw [hdecomp, sub_eq_add_neg]373 refine lt_of_le_of_lt (PadicComplex.isNonarchimedean p _ _) (max_lt hXY ?_)374 rw [norm_neg]375 exact hb₁376 exact eq_of_pow_eq_one_of_norm_sub_lt_one hn hθ₁ hθ₂ hfinal377378/-- **Lemma C, congruence form.** Congruent points in the open unit ball have379congruent values under an integral power series. -/380theorem evalPowerSeries_residueModEq (F : PowerSeries ℤ_[p]) {x y : ℂ_[p]}381 (hx : ‖x‖ < 1) (hy : ‖y‖ < 1) (h : ResidueModEq p x y) :382 ResidueModEq p (evalPowerSeries F x) (evalPowerSeries F y) :=383 lt_of_le_of_lt (evalPowerSeries_sub_norm_le F hx hy) h384385/-- **Lemma C at the thesis's shifted series `F_n` of equation (4.3).** -/386theorem shiftPowerSeries_eval_residueModEq {n : ℕ} (F : ShiftPowerSeries p n) {x y : ℂ_[p]}387 (hx : ‖x‖ < 1) (hy : ‖y‖ < 1) (h : ResidueModEq p x y) :388 ResidueModEq p (F.eval x) (F.eval y) :=389 evalPowerSeries_residueModEq F.series hx hy h390391/-! ## Bridge to the project's decomposition `χ = combineFirstSecondKind m θ ψ` -/392393/-- Evaluation of the project's `combineFirstSecondKind` at a unit: it is the product of394the tame part (evaluated at the residue class mod `p`) and the `p`-power part. -/395lemma combineFirstSecondKind_apply {m : ℕ} (θ : DirichletCharacter ℂ_[p] p)396 (ψ : DirichletCharacter ℂ_[p] (p ^ (m + 1))) (u : (ZMod (p ^ (m + 1)))ˣ) :397 combineFirstSecondKind m θ ψ ((u : ZMod (p ^ (m + 1)))) =398 θ (ZMod.cast ((u : ZMod (p ^ (m + 1))))) * ψ ((u : ZMod (p ^ (m + 1)))) := by399 rw [combineFirstSecondKind, MulChar.mul_apply, liftFirstKind,400 DirichletCharacter.changeLevel_eq_cast_of_dvd (χ := θ)401 (hm := dvd_pow_self p (Nat.add_one_ne_zero m)) (a := u)]402403end404405end Thesis