A015: ∫₀^{π/2} x log² sin x dx = Li₄(1/2) - 19π⁴/2880 + log⁴2/24 + π² log²2/12 #
Let L = ∫₀^{π/2} log² sin x dx = π³/24 + (π/2) log² 2
(LeanPool.PolylogIntegrals.Lemmas.LogSinSq) and
C = ∫₀^{π/2} x log² cos x dx.
- The reflection
x ↦ π/2 - xgivesA015 = (π/2) L - C, since∫₀^{π/2} log² cos = L. - For
|x| < π/2,log((1 + e^{2ix})/2) = log cos x + ix, soIm log³((1 + e^{2ix})/2) = 3x log² cos x - x³. Withθ = 2x,C = π⁴/192 + T/6, whereT = ∫₀^π Im log³((1 + e^{iθ})/2) dθ. - The radial argument of
LeanPool.PolylogIntegrals.Lemmas.Radial(in place of a contour integral over the upper half disk) givesT = ∫₀¹ (log³((1+r)/2) - log³((1-r)/2))/r dr, andLeanPool.PolylogIntegrals.Lemmas.LogSinSqSeriesevaluates this as2π⁴/15 + π² log² 2 - log⁴ 2/4 - 6 Li₄(1/2).
Altogether A015 = π⁴/48 + (π²/4) log² 2 - π⁴/192 - T/6, which is the claimed value.
theorem
LeanPolyLog.Proofs.intervalIntegrable_mul_log_cos_sq :
IntervalIntegrable (fun (x : ℝ) => x * Real.log (Real.cos x) ^ 2) MeasureTheory.volume 0 (Real.pi / 2)
∫₀^{π/2} x log² cos x dx = π⁴/192 + T/6, where
T = ∫₀^π Im log³((1 + e^{iθ})/2) dθ.