Basic definitions #
Mathlib does not (yet) have polylogarithms or Catalan's constant, so we define them here by their series.
LeanPolyLog.Li s z: the polylogarithmLi_s(z) = ∑_{n ≥ 1} z^n / n^sonℂ.LeanPolyLog.Lir s x: the same series onℝ.LeanPolyLog.G: Catalan's constant∑_{n ≥ 0} (-1)^n / (2n+1)^2.LeanPolyLog.zeta3: Apéry's constant∑_{n ≥ 1} 1/n^3.
For s ≥ 2 the polylog series converges absolutely on the closed unit disk. Outside the disk
tsum returns the junk value 0. Every statement in this project therefore evaluates Li
only for ‖z‖ ≤ 1; for instance A014 is stated in a form that avoids Li₃(1+i).