Euler's integral ∫₀^π log sin x dx = −π log 2
ProvedFamousTheorems.euler_integral_log_sin_6cEuler's integral of .
Euler evaluated this integral in 1769, and it is a standard example of an improper integral computed by a symmetry trick: the substitution and give a linear equation for the integral. It is closely related to the Clausen function and to the value .
Formalization note. Mathlib's integral_log_sin_zero_pi. The integral is the interval integral ∫ x in 0..π. The integrand has a logarithmic singularity at both endpoints, but it is integrable, and the interval integral is the Lebesgue integral.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem euler_integral_log_sin_6c :
∫ x in (0 : ℝ)..Real.pi, Real.log (Real.sin x) = -Real.log 2 * Real.pi := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `integral_log_sin_zero_pi`. Proof here reduces to that Mathlib result.