@@ -363,15 +363,15 @@ private lemma aux_iteratedDeriv_tsum_cotTerm {k : ℕ} (hk : 1 ≤ k) (hz : z
363363 ring_nf
364364
365365lemma iteratedDerivWithin_cot_sub_inv_eq_add_mul_tsum {k : ℕ} (hk : 1 ≤ k) (hz : z ∈ ℍₒ) :
366- iteratedDerivWithin k (fun x ↦ π * Complex. cot (π * x) - 1 / x) ℍₒ z =
366+ iteratedDerivWithin k (fun x : ℂ ↦ π * cot (π * x) - 1 / x) ℍₒ z =
367367 -(-1 ) ^ k * k ! * (z ^ (-1 - k : ℤ)) + (-1 ) ^ k * k ! * ∑' n : ℤ, (z + n) ^ (-1 - k : ℤ) := by
368368 simp only [← aux_iteratedDeriv_tsum_cotTerm hk hz, one_div, neg_mul, neg_add_cancel_left]
369369 refine iteratedDerivWithin_congr (fun z hz ↦ ?_) hz
370370 simpa [cotTerm] using (cot_series_rep' (UpperHalfPlane.coe_mem_integerComplement ⟨z, hz⟩))
371371
372372private lemma iteratedDerivWithin_cot_pi_mul_sub_inv {z : ℂ} (hz : z ∈ ℍₒ) :
373- iteratedDerivWithin k (fun x ↦ π * Complex. cot (π * x) - 1 / x) ℍₒ z =
374- (iteratedDerivWithin k (fun x ↦ π * Complex. cot (π * x)) ℍₒ z) -
373+ iteratedDerivWithin k (fun x : ℂ ↦ π * cot (π * x) - 1 / x) ℍₒ z =
374+ (iteratedDerivWithin k (fun x : ℂ ↦ π * cot (π * x)) ℍₒ z) -
375375 (-1 ) ^ k * k ! * (z ^ (-1 - k : ℤ)) := by
376376 simp_rw [sub_eq_add_neg]
377377 rw [iteratedDerivWithin_fun_add hz isOpen_upperHalfPlaneSet.uniqueDiffOn]
@@ -384,7 +384,7 @@ private lemma iteratedDerivWithin_cot_pi_mul_sub_inv {z : ℂ} (hz : z ∈ ℍ
384384 exact ContDiffWithinAt.inv (by fun_prop) (ne_zero ⟨z, hz⟩)
385385
386386lemma iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_zpow {k : ℕ} (hk : 1 ≤ k) {z : ℂ} (hz : z ∈ ℍₒ) :
387- iteratedDerivWithin k (fun x ↦ π * Complex. cot (π * x)) ℍₒ z =
387+ iteratedDerivWithin k (fun x : ℂ ↦ π * cot (π * x)) ℍₒ z =
388388 (-1 ) ^ k * k ! * ∑' n : ℤ, (z + n) ^ (-1 - k : ℤ):= by
389389 have h0 := iteratedDerivWithin_cot_pi_mul_sub_inv k hz
390390 rw [iteratedDerivWithin_cot_sub_inv_eq_add_mul_tsum hk hz, add_comm] at h0
@@ -394,7 +394,7 @@ lemma iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_zpow {k : ℕ} (hk : 1 ≤ k) {
394394/-- The series expansion of the iterated derivative of `π cot (π z)`. -/
395395theorem iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_div_pow {k : ℕ} (hk : 1 ≤ k) {z : ℂ}
396396 (hz : z ∈ ℍₒ) :
397- iteratedDerivWithin k (fun x ↦ π * Complex. cot (π * x)) ℍₒ z =
397+ iteratedDerivWithin k (fun x : ℂ ↦ π * cot (π * x)) ℍₒ z =
398398 (-1 ) ^ k * k ! * ∑' n : ℤ, 1 / (z + n) ^ (k + 1 ) := by
399399 convert iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_zpow hk hz with n
400400 rw [show (-1 - k : ℤ) = -(k + 1 :) by norm_cast; omega, zpow_neg_coe_of_pos _ (by omega),
0 commit comments