Documentation

LeanPool.PolylogIntegrals.Lemmas.TrilogLogSubLogSq

The integral ∫₀¹ log²(x/(1 + x))/(1 + x²) dx #

This file proves ∫₀¹ (log x - log(1 + x))²/(1 + x²) dx = 2 G log 2 + 2 Im Li₃((1+i)/2), the integral 𝒥 of A014, with an explicit primitive in the point χ(x) = x (1 - i)/(1 + x), which satisfies |χ(x)| = √2 x/(1 + x) ≤ 1/√2 on [0, 1].

Main results #

Proof sketch #

The point χ(x) #

noncomputable def LeanPolyLog.Trilog.chi (x : ℝ) :

χ(x) = x (1 - i)/(1 + x).

Equations
Instances For
    theorem LeanPolyLog.Trilog.chi_re (x : ℝ) :
    (chi x).re = x / (1 + x)
    theorem LeanPolyLog.Trilog.normSq_chi (x : ℝ) :
    Complex.normSq (chi x) = 2 * (x / (1 + x)) ^ 2

    |χ(x)|² = 2 (x/(1 + x))².

    theorem LeanPolyLog.Trilog.norm_chi_le {x : ℝ} (hx : x ∈ Set.Icc 0 1) :
    ‖chi x‖ ≤ 3 / 4

    On [0, 1], |χ(x)| ≤ 1/√2 < 3/4.

    theorem LeanPolyLog.Trilog.chi_ne_zero {x : ℝ} (hx : 0 < x) :
    chi x ≠ 0

    For x ≥ 0, Re (1 - χ(x)) = 1/(1 + x) > 0.

    theorem LeanPolyLog.Trilog.one_sub_chi {x : ℝ} (hx : 0 ≤ x) :
    1 - chi x = (1 + ↑x * Complex.I) / (1 + ↑x)

    1 - χ(x) = (1 + x i)/(1 + x).

    Derivatives #

    theorem LeanPolyLog.Trilog.hasDerivAt_chi {x : ℝ} (hx : 0 ≤ x) :
    HasDerivAt chi (↑(1 / (1 + x) ^ 2) * (1 - Complex.I)) x
    theorem LeanPolyLog.Trilog.deriv_chi_div_chi {x : ℝ} (hx : 0 < x) :
    ↑(1 / (1 + x) ^ 2) * (1 - Complex.I) / chi x = ↑(1 / x - 1 / (1 + x))

    χ'/χ = 1/x - 1/(1 + x).

    theorem LeanPolyLog.Trilog.neg_deriv_chi_div_one_sub_chi {x : ℝ} (hx : 0 ≤ x) :
    -(↑(1 / (1 + x) ^ 2) * (1 - Complex.I)) / (1 - chi x) = 1 / (↑x - Complex.I) - 1 / (↑x + 1)

    -χ'/(1 - χ) = 1/(x - i) - 1/(x + 1).

    The primitive #

    noncomputable def LeanPolyLog.Trilog.primJ (x : ℝ) :

    A primitive of L(x)² (1/(x - i) - 1/(x + 1)) on (0, 1), with L(x) = log x - log(1 + x): L² log(1 - χ) + 2 L Li₂(χ) - 2 Li₃(χ).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem LeanPolyLog.Trilog.hasDerivAt_primJ {x : ℝ} (hx0 : 0 < x) (hx1 : x < 1) :
      HasDerivAt primJ (↑(Real.log x - Real.log (1 + x)) ^ 2 * (1 / (↑x - Complex.I) - 1 / (↑x + 1))) x

      On (0, 1), primJ' = L² (1/(x - i) - 1/(x + 1)).

      theorem LeanPolyLog.Trilog.im_ofReal_mul_sub (a x : ℝ) :
      (↑a * (1 / (↑x - Complex.I) - 1 / (↑x + 1))).im = a / (1 + x ^ 2)

      Im (a (1/(x - i) - 1/(x + 1))) = a/(1 + x²) for real a and x.

      theorem LeanPolyLog.Trilog.hasDerivAt_im_primJ {x : ℝ} (hx0 : 0 < x) (hx1 : x < 1) :
      HasDerivAt (fun (t : ℝ) => (primJ t).im) ((Real.log x - Real.log (1 + x)) ^ 2 / (1 + x ^ 2)) x

      On (0, 1), (Im primJ)' = (log x - log(1 + x))²/(1 + x²).

      Continuity of the primitive at 0 #

      theorem LeanPolyLog.Trilog.Li_eq_mul_tsum (s : ℕ) (z : ℂ) :
      Li s z = z * ∑' (n : ℕ), z ^ n / (↑n + 1) ^ s

      Li_s(z) = z ∑ zⁿ/(n+1)^s.

      theorem LeanPolyLog.Trilog.continuousOn_tsum_pow_div_succ_pow (s : ℕ) {r : ℝ} (hr0 : 0 ≤ r) (hr1 : r < 1) :
      ContinuousOn (fun (z : ℂ) => ∑' (n : ℕ), z ^ n / (↑n + 1) ^ s) (Metric.closedBall 0 r)

      For 0 ≤ r < 1, z ↦ ∑ zⁿ/(n+1)^s is continuous on the closed ball of radius r (Weierstrass M-test with rⁿ).

      x ↦ x (log x - log(1 + x)) is continuous on [0, 1].

      x ↦ x (log x - log(1 + x))² is continuous on [0, 1].

      primJ is continuous on [0, 1]. On [0, 1] it equals -(x L²/(1 + x)) (1 - i) S₁(χ) + 2 (x L/(1 + x)) (1 - i) S₂(χ) - 2 Li₃(χ) with S_s(z) = ∑ zⁿ/(n+1)^s, and each factor is continuous there.

      The integral #

      (log x - log(1 + x))²/(1 + x²) is integrable on [0, 1]: it is the nonnegative derivative of the continuous function Im primJ.

      ∫₀¹ (log x - log(1 + x))²/(1 + x²) dx = Im primJ 1 - Im primJ 0.

      theorem LeanPolyLog.Trilog.im_primJ_one :
      (primJ 1).im = 2 * G * Real.log 2 + 2 * (Li 3 ((1 + Complex.I) / 2)).im

      Im primJ 1 = 2 G log 2 + 2 Im Li₃((1+i)/2).

      ∫₀¹ (log x - log(1 + x))²/(1 + x²) dx = 2 G log 2 + 2 Im Li₃((1+i)/2).