The areas / V12. Number theory
Mathlib.NumberTheory.Harmonic.GammaDeriv
14 declarations. Mathlib docs · Source
theorem Real.deriv_Gamma_nat E2 #
∀ (n : ℕ), deriv Real.Gamma (↑n + 1) = ↑n.factorial * (-Real.eulerMascheroniConstant + ↑(harmonic n))
Explicit formula for the derivative of the Gamma function at positive integers, in terms of
harmonic numbers and the Euler-Mascheroni constant γ.
theorem Real.hasDerivAt_Gamma_nat E1 #
∀ (n : ℕ), HasDerivAt Real.Gamma (↑n.factorial * (-Real.eulerMascheroniConstant + ↑(harmonic n))) (↑n + 1)
theorem Real.eulerMascheroniConstant_eq_neg_deriv E1 #
Real.eulerMascheroniConstant = -deriv Real.Gamma 1
theorem Real.eulerMascheroniConstant_eq_neg_integral_log E1 #
Real.eulerMascheroniConstant = -∫ (t : ℝ) in Set.Ioi 0, Real.log t * Real.exp (-t)
The Euler–Mascheroni constant as an integral: γ = -∫₀^∞ log t · e^{-t} dt.
theorem Real.eulerMascheroniConstant_eq_neg_integral_log_log E1 #
∀ {s : ℝ},
1 < s →
Real.eulerMascheroniConstant =
-Real.log (s - 1) + -((s - 1) * ∫ (t : ℝ) in Set.Ioi 1, Real.log (Real.log t) * t ^ (-s))
An integral representation of the Euler–Mascheroni constant, valid for any s > 1.
theorem Real.hasDerivAt_Gamma_one E1 #
HasDerivAt Real.Gamma (-Real.eulerMascheroniConstant) 1
theorem Real.hasDerivAt_Gamma_one_half E1 #
HasDerivAt Real.Gamma (-√Real.pi * (Real.eulerMascheroniConstant + 2 * Real.log 2)) (1 / 2)
theorem Complex.differentiableAt_Gamma_nat_add_one E1 #
∀ (n : ℕ), DifferentiableAt ℂ Complex.Gamma (↑n + 1)
theorem Complex.hasDerivAt_Gamma_nat E1 #
∀ (n : ℕ), HasDerivAt Complex.Gamma (↑n.factorial * (-↑Real.eulerMascheroniConstant + ↑(harmonic n))) (↑n + 1)
theorem Complex.deriv_Gamma_nat E2 #
∀ (n : ℕ), deriv Complex.Gamma (↑n + 1) = ↑n.factorial * (-↑Real.eulerMascheroniConstant + ↑(harmonic n))
Explicit formula for the derivative of the complex Gamma function at positive integers, in
terms of harmonic numbers and the Euler-Mascheroni constant γ.
theorem Complex.hasDerivAt_Gamma_one E1 #
HasDerivAt Complex.Gamma (-↑Real.eulerMascheroniConstant) 1
theorem Complex.hasDerivAt_Gamma_one_half E1 #
HasDerivAt Complex.Gamma (-↑√Real.pi * (↑Real.eulerMascheroniConstant + 2 * Complex.log 2)) (1 / 2)
theorem Complex.hasDerivAt_Gammaℂ_one E1 #
HasDerivAt Complex.Gammaℂ (-(↑Real.eulerMascheroniConstant + Complex.log (2 * ↑Real.pi)) / ↑Real.pi) 1
theorem Complex.hasDerivAt_Gammaℝ_one E1 #
HasDerivAt Complex.Gammaℝ (-(↑Real.eulerMascheroniConstant + Complex.log (4 * ↑Real.pi)) / 2) 1