Documentation

CslibFrontier.Foundations.Analysis.SpecialFunctions.LogDivLogLog

Elementary factorial and log y / log (log y) inversion bounds #

Elementary estimates used when inverting factorial growth 2 ^ k * k! into Ω(log m / log log m) lower bounds (such as Czumaj–Vöcking related-machine and balls-into-bins price-of-anarchy bounds):

theorem Nat.four_pow_le_two_mul_two_pow_mul_factorial {k : ℕ} (hk : 1 ≤ k) :
4 ^ k ≤ 2 * (2 ^ k * k.factorial)

4 ^ k ≤ 2 * (2 ^ k * k!) for k ≥ 1, from 2 ^ (k - 1) ≤ k!.

theorem Real.one_lt_log_of_three_le {x : ℝ} (hx : 3 ≤ x) :
1 < log x

1 < log x for x ≥ 3, since exp 1 < 3.

theorem Real.add_mul_log_two_le {x d : ℝ} (hx : 2 ≤ x) (hd : 0 ≤ d) :
(x + d) * log 2 ≤ (1 + d / 2) * x * log x

(x + d) * log 2 ≤ (1 + d / 2) * x * log x for x ≥ 2 and d ≥ 0, since log 2 ≤ log x and x + d ≤ (1 + d / 2) * x.

theorem Real.add_one_mul_log_add_one_le {x : ℝ} (hx : 2 ≤ x) :
(x + 1) * log (x + 1) ≤ 3 * x * log x

(x + 1) * log (x + 1) ≤ 3 * x * log x for x ≥ 2, since x + 1 ≤ x ^ 2 gives log (x + 1) ≤ 2 * log x and x + 1 ≤ (3 / 2) * x.

theorem Real.inv_mul_log_div_log_log_le {x y c : ℝ} (hx : 2 ≤ x) (hc : 0 < c) (hexp : exp x < y) (hlogy : log y ≤ c * x * log x) :
0 < log (log y) ∧ 1 / c * (log y / log (log y)) ≤ x

Logarithmic inversion for x * log x growth: if 2 ≤ x, 0 < c, exp x < y, and log y ≤ c * x * log x, then 0 < log (log y) and (1 / c) * (log y / log (log y)) ≤ x.