The dilogarithm #
Mathlib has no polylogarithms, so this file collects the facts about Li_s that the proofs use,
with the dilogarithm Li_2 as the main case. Lir s and Li s both unfold to the series
β_{n β₯ 0} z^(n+1)/(n+1)^s, so its basic properties are proved once, over π = β or β
(RCLike). The complex counterparts are in LeanPool.PolylogIntegrals.Lemmas.DilogComplex.
Main results #
The series over π = β or β:
LeanPolyLog.Dilog.summable_pow_div_pow,LeanPolyLog.Dilog.continuousOn_tsum_pow_div_pow: fors β₯ 2it converges absolutely, and is continuous, on the closed unit disk (M-test).LeanPolyLog.Dilog.hasDerivAt_tsum_pow_div_pow: termwise differentiation on the open disk.LeanPolyLog.Dilog.tsum_pow_div_pow_sq: the duplication formula.
The real polylogarithm Lir:
LeanPolyLog.Dilog.Lir_one:Li_1(x) = -log(1 - x)for|x| < 1.LeanPolyLog.Dilog.Lir_two_one,LeanPolyLog.Dilog.Lir_two_neg_one,LeanPolyLog.Dilog.Lir_two_one_half:Li_2(1) = ΟΒ²/6,Li_2(-1) = -ΟΒ²/12andLi_2(1/2) = ΟΒ²/12 - logΒ²2/2.LeanPolyLog.Dilog.continuousOn_Lir: fors β₯ 2,Li_sis continuous on[-1, 1].LeanPolyLog.Dilog.hasDerivAt_Lir_succ,LeanPolyLog.Dilog.hasDerivAt_Lir_two: for0 < |x| < 1,Li_(s+1)'(x) = Li_s(x)/x; in particularLi_2'(x) = -log(1 - x)/x.LeanPolyLog.Dilog.Lir_sq,LeanPolyLog.Dilog.Lir_two_sq: the duplication formulaLi_s(xΒ²) = 2^(s-1) (Li_s(x) + Li_s(-x))for|x| β€ 1.LeanPolyLog.Dilog.Lir_two_add_Lir_two_one_sub: Euler's reflection formulaLi_2(x) + Li_2(1 - x) = ΟΒ²/6 - log x Β· log(1 - x)for0 < x < 1.LeanPolyLog.Dilog.Lir_two_neg_add_Lir_two_div: Landen's identityLi_2(-y) + Li_2(y/(1+y)) = -Β½ logΒ²(1+y)for0 β€ y β€ 1.
Proof sketch #
The derivative comes from termwise differentiation on a ball of radius r < 1, where the
derivatives of the terms are bounded by rβΏ; the derivative series β xβΏ/(n+1)^s equals
Li_s(x)/x, and Li_1(x) = -log(1 - x) is Mathlib's Real.hasSum_pow_div_log_of_abs_lt_one.
The duplication formula splits the series into even and odd terms. Reflection and Landen are
proved by showing that the difference of the two sides is continuous on a closed interval with
derivative 0 inside (LeanPolyLog.Dilog.eq_of_hasDerivAt_eq_zero, from the mean value theorem),
and evaluating it at 0. For reflection this needs the continuity of log t Β· log(1 - t) at 0
(LeanPolyLog.Dilog.continuous_log_mul_log_one_sub).
The polylog series over β or β #
For s β₯ 2 the polylog series is continuous on the closed unit disk (Weierstrass M-test).
The duplication formula for the polylog series:
β (zΒ²)^(n+1)/(n+1)^s = 2^(s-1) (β z^(n+1)/(n+1)^s + β (-z)^(n+1)/(n+1)^s).
Only even powers survive in the sum on the right.
Constancy from a vanishing derivative #
A real function that is continuous on [a, b] and has derivative 0 on (a, b) takes the
same value at a and b.
The real polylogarithm Lir #
For s β₯ 2, Li_s is continuous on [-1, 1].
Euler's reflection formula #
log t Β· log(1 - t) is continuous at 0 (Lean's log 0 = 0): near 0 it is bounded by
2 |t log t|, since |log(1 - t)| β€ |t|/(1 - |t|).
t β¦ log t Β· log(1 - t) is continuous on β (with Lean's log 0 = 0).