The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Trigonometric.Cotangent
31 declarations. Mathlib docs · Source
theorem Complex.cot_eq_exp_ratio E1 #
∀ (z : ℂ), Complex.cot z = (Complex.exp (2 * Complex.I * z) + 1) / (Complex.I * (1 - Complex.exp (2 * Complex.I * z)))
theorem Complex.cot_pi_eq_exp_ratio E1 #
∀ (z : ℂ),
Complex.cot (↑Real.pi * z) =
(Complex.exp (2 * ↑Real.pi * Complex.I * z) + 1) / (Complex.I * (1 - Complex.exp (2 * ↑Real.pi * Complex.I * z)))
The version one probably wants to use more.
theorem pi_mul_cot_pi_q_exp E1 #
∀ (z : UpperHalfPlane),
↑Real.pi * Complex.cot (↑Real.pi * ↑z) =
↑Real.pi * Complex.I - 2 * ↑Real.pi * Complex.I * ∑' (n : ℕ), Complex.exp (2 * ↑Real.pi * Complex.I * ↑z) ^ n
This is the version one probably wants, which is why the pi's are there.
abbrev sineTerm E1 #
ℂ → ℕ → ℂ
The main term in the infinite product for sine.
theorem sineTerm_ne_zero E1 #
∀ {x : ℂ}, x ∈ Complex.integerComplement → ∀ (n : ℕ), 1 + sineTerm x n ≠ 0
theorem tendsto_euler_sin_prod' E1 #
∀ {x : ℂ},
x ≠ 0 →
Filter.Tendsto (fun n ↦ ∏ i ∈ Finset.range n, (1 + sineTerm x i)) Filter.atTop
(nhds (Complex.sin (↑Real.pi * x) / (↑Real.pi * x)))
theorem multipliable_sineTerm E1 #
∀ (x : ℂ), Multipliable fun i ↦ 1 + sineTerm x i
theorem euler_sineTerm_tprod E1 #
∀ {x : ℂ}, x ≠ 0 → ∏' (i : ℕ), (1 + sineTerm x i) = Complex.sin (↑Real.pi * x) / (↑Real.pi * x)
theorem multipliableUniformlyOn_euler_sin_prod_on_compact E1 #
∀ {Z : Set ℂ}, IsCompact Z → MultipliableUniformlyOn (fun n z ↦ 1 + sineTerm z n) Z
theorem HasProdUniformlyOn_sineTerm_prod_on_compact E1 #
∀ {Z : Set ℂ},
0 ∉ Z →
IsCompact Z →
HasProdUniformlyOn (fun n z ↦ 1 + sineTerm z n) (fun x ↦ Complex.sin (↑Real.pi * x) / (↑Real.pi * x)) Z
theorem HasProdLocallyUniformlyOn_euler_sin_prod E1 #
HasProdLocallyUniformlyOn (fun n z ↦ 1 + sineTerm z n) (fun x ↦ Complex.sin (↑Real.pi * x) / (↑Real.pi * x)) {0}ᶜ
theorem sin_pi_mul_ne_zero E1 #
∀ {x : ℂ}, x ∈ Complex.integerComplement → Complex.sin (↑Real.pi * x) ≠ 0
sin π z is non vanishing on the complement of the integers in ℂ.
theorem cot_pi_mul_contDiffWithinAt E1 #
∀ {x : ℂ} (k : ℕ∞),
x ∈ Complex.integerComplement →
ContDiffWithinAt ℂ (↑k) (fun x ↦ Complex.cot (↑Real.pi * x)) UpperHalfPlane.upperHalfPlaneSet x
theorem tendsto_logDeriv_euler_sin_div E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
Filter.Tendsto (fun n ↦ logDeriv (fun z ↦ ∏ j ∈ Finset.range n, (1 + sineTerm z j)) x) Filter.atTop
(nhds (logDeriv (fun t ↦ Complex.sin (↑Real.pi * t) / (↑Real.pi * t)) x))
theorem logDeriv_sin_div_eq_cot E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
logDeriv (fun t ↦ Complex.sin (↑Real.pi * t) / (↑Real.pi * t)) x = ↑Real.pi * Complex.cot (↑Real.pi * x) - 1 / x
abbrev cotTerm E1 #
ℂ → ℕ → ℂ
The term in the infinite sum expansion of cot.
theorem logDeriv_sineTerm_eq_cotTerm E1 #
∀ {x : ℂ}, x ∈ Complex.integerComplement → ∀ (i : ℕ), logDeriv (fun z ↦ 1 + sineTerm z i) x = cotTerm x i
theorem logDeriv_prod_sineTerm_eq_sum_cotTerm E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
∀ (n : ℕ), logDeriv (fun z ↦ ∏ j ∈ Finset.range n, (1 + sineTerm z j)) x = ∑ j ∈ Finset.range n, cotTerm x j
theorem tendsto_logDeriv_euler_cot_sub E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
Filter.Tendsto (fun n ↦ ∑ j ∈ Finset.range n, cotTerm x j) Filter.atTop
(nhds (↑Real.pi * Complex.cot (↑Real.pi * x) - 1 / x))
theorem cotTerm_identity E1 #
∀ {x : ℂ}, x ∈ Complex.integerComplement → ∀ (n : ℕ), cotTerm x n = 2 * x * (1 / ((x + (↑n + 1)) * (x - (↑n + 1))))
theorem summable_cotTerm E1 #
∀ {x : ℂ}, x ∈ Complex.integerComplement → Summable fun n ↦ cotTerm x n
theorem cot_series_rep' E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
↑Real.pi * Complex.cot (↑Real.pi * x) - 1 / x = ∑' (n : ℕ), (1 / (x - (↑n + 1)) + 1 / (x + (↑n + 1)))
theorem cot_series_rep E1 #
∀ {x : ℂ},
x ∈ Complex.integerComplement →
↑Real.pi * Complex.cot (↑Real.pi * x) = 1 / x + ∑' (n : ℕ+), (1 / (x - ↑↑n) + 1 / (x + ↑↑n))
The cotangent infinite sum representation.
theorem eqOn_iteratedDeriv_cotTerm E1 #
∀ (k d : ℕ),
Set.EqOn (iteratedDeriv k fun z ↦ cotTerm z d)
(fun z ↦ (-1) ^ k * ↑k.factorial * ((z + (↑d + 1)) ^ (-1 - ↑k) + (z - (↑d + 1)) ^ (-1 - ↑k)))
Complex.integerComplement
theorem eqOn_iteratedDerivWithin_cotTerm_integerComplement E1 #
∀ (k d : ℕ),
Set.EqOn (iteratedDerivWithin k (fun z ↦ cotTerm z d) Complex.integerComplement)
(fun z ↦ (-1) ^ k * ↑k.factorial * ((z + (↑d + 1)) ^ (-1 - ↑k) + (z - (↑d + 1)) ^ (-1 - ↑k)))
Complex.integerComplement
theorem eqOn_iteratedDerivWithin_cotTerm_upperHalfPlaneSet E1 #
∀ (k d : ℕ),
Set.EqOn (iteratedDerivWithin k (fun z ↦ cotTerm z d) UpperHalfPlane.upperHalfPlaneSet)
(fun z ↦ (-1) ^ k * ↑k.factorial * ((z + (↑d + 1)) ^ (-1 - ↑k) + (z - (↑d + 1)) ^ (-1 - ↑k)))
UpperHalfPlane.upperHalfPlaneSet
theorem summableLocallyUniformlyOn_iteratedDerivWithin_cotTerm E1 #
∀ {k : ℕ},
1 ≤ k →
SummableLocallyUniformlyOn (fun n ↦ iteratedDerivWithin k (fun z ↦ cotTerm z n) UpperHalfPlane.upperHalfPlaneSet)
UpperHalfPlane.upperHalfPlaneSet
theorem differentiableOn_iteratedDerivWithin_cotTerm E1 #
∀ (n l : ℕ),
DifferentiableOn ℂ (iteratedDerivWithin l (fun z ↦ cotTerm z n) UpperHalfPlane.upperHalfPlaneSet)
UpperHalfPlane.upperHalfPlaneSet
theorem iteratedDerivWithin_cot_sub_inv_eq_add_mul_tsum E1 #
∀ {z : ℂ} {k : ℕ},
1 ≤ k →
z ∈ UpperHalfPlane.upperHalfPlaneSet →
iteratedDerivWithin k (fun x ↦ ↑Real.pi * Complex.cot (↑Real.pi * x) - 1 / x) UpperHalfPlane.upperHalfPlaneSet z =
-(-1) ^ k * ↑k.factorial * z ^ (-1 - ↑k) + (-1) ^ k * ↑k.factorial * ∑' (n : ℤ), (z + ↑n) ^ (-1 - ↑k)
theorem iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_zpow E1 #
∀ {k : ℕ},
1 ≤ k →
∀ {z : ℂ},
z ∈ UpperHalfPlane.upperHalfPlaneSet →
iteratedDerivWithin k (fun x ↦ ↑Real.pi * Complex.cot (↑Real.pi * x)) UpperHalfPlane.upperHalfPlaneSet z =
(-1) ^ k * ↑k.factorial * ∑' (n : ℤ), (z + ↑n) ^ (-1 - ↑k)
theorem iteratedDerivWithin_cot_pi_mul_eq_mul_tsum_div_pow E1 #
∀ {k : ℕ},
1 ≤ k →
∀ {z : ℂ},
z ∈ UpperHalfPlane.upperHalfPlaneSet →
iteratedDerivWithin k (fun x ↦ ↑Real.pi * Complex.cot (↑Real.pi * x)) UpperHalfPlane.upperHalfPlaneSet z =
(-1) ^ k * ↑k.factorial * ∑' (n : ℤ), 1 / (z + ↑n) ^ (k + 1)
The series expansion of the iterated derivative of π cot (π z).