The digamma function at 1 equals −γ
ProvedFamousTheorems.digamma_one_eq_neg_euler_gamma_6cThe digamma function at . Let be the digamma function. Then
where is the Euler–Mascheroni constant. Equivalently, .
Together with the recurrence , this gives for the harmonic numbers . This is one of the standard ways the Euler–Mascheroni constant appears in analysis.
Formalization note. Mathlib's Complex.digamma_one. Complex.digamma is the logarithmic derivative of the complex Gamma function, and Real.eulerMascheroniConstant is , cast to .
Preamble
import Mathlib
Formal statement
namespace FamousTheorems theorem digamma_one_eq_neg_euler_gamma_6c : Complex.digamma 1 = -(Real.eulerMascheroniConstant : ℂ) := by sorry end FamousTheorems
Source
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Complex.digamma_one`. Proof here reduces to that Mathlib result.