Series helpers #
Elementary series identities and bounds shared by the proofs of A001, A004 and A005.
Main results #
LeanPolyLog.Series.hasSum_one_div_odd_sq:∑_{k ≥ 0} 1/(2k+1)² = π²/8.LeanPolyLog.Series.hasSum_eta_two:η(2) = ∑_{n ≥ 0} (-1)ⁿ/(n+1)² = π²/12.LeanPolyLog.Series.hasSum_catalan: the series definingGconverges (absolutely) toG.LeanPolyLog.Series.hasSum_log_one_add_sq_div: for0 < x < 1,log(1+x²)/x = ∑_{n ≥ 0} (-1)ⁿ x^(2n+1)/(n+1).LeanPolyLog.Series.continuous_log_one_add_sq_divandLeanPolyLog.Series.continuous_log_one_add_sq_sq_div_cube:log(1+x²)/xandlog²(1+x²)/x³are continuous on all ofℝ. Atx = 0Lean's division gives the value0, which is also the limit, because0 ≤ log(1+x²) ≤ x².
Values of ζ(2)-type series #
The function log(1 + x²) #
theorem
LeanPolyLog.Series.continuous_of_norm_le_of_tendsto_zero
{f g : ℝ → ℝ}
(hf : ∀ (x : ℝ), x ≠ 0 → ContinuousAt f x)
(hf0 : f 0 = 0)
(hle : ∀ (x : ℝ), ‖f x‖ ≤ g x)
(hg : Filter.Tendsto g (nhds 0) (nhds 0))
:
A function f : ℝ → ℝ that is continuous away from 0, vanishes at 0 and is dominated by a
function tending to 0 at 0 is continuous.
x ↦ log(1+x²)/x is continuous on ℝ (its value at 0 is 0).