Inequalities on powers of natural numbers #
Elementary inequalities on powers and products of natural numbers: powers of polynomial bounds
M * Y ^ q, powers of two with scaled exponents (products and sums of quantities bounded by
2 ^ (a * k) and 2 ^ (b * k)), and bounds by exponentials.
Main results #
Nat.mul_le_two_pow_add_mul:x ≤ 2 ^ (a * k) → y ≤ 2 ^ (b * k) → x * y ≤ 2 ^ ((a + b) * k).Nat.add_le_two_pow_add_add_one_mul:1 ≤ k → x ≤ 2 ^ (a * k) → y ≤ 2 ^ (b * k) → x + y ≤ 2 ^ ((a + b + 1) * k).Nat.pow_le_pow_mul_pow_of_le_mul_pow:a ≤ M * Y ^ q → a ^ k ≤ M ^ k * Y ^ (q * k).Nat.add_one_pow_le_of_le_mul_pow:0 < Y → L ≤ p * Y ^ q → (L + 1) ^ k ≤ (p + 1) ^ k * Y ^ (q * k).Nat.le_two_pow_mul:1 ≤ k → c ≤ 2 ^ (c * k).Nat.mul_add_one_pow_le:(R + 1) * d ≤ M → R * (M + 1) ^ d ≤ (R + 1) * M ^ d.Nat.add_two_le_two_pow:2 ≤ t → t + 2 ≤ 2 ^ t.Nat.two_mul_lt_two_pow:3 ≤ w → 2 * w < 2 ^ w.Nat.sq_le_two_pow:4 ≤ s → s ^ 2 ≤ 2 ^ s.Nat.pow_le_two_pow:1 ≤ D → 4 * D ^ 2 ≤ b → b ^ D ≤ 2 ^ b.Nat.succ_pow_sub_pow_le:(c + 1) ^ (j + 1) - c ^ (j + 1) ≤ (j + 1) * (c + 1) ^ j.Nat.add_le_two_pow_max_succ:l₀ ≤ 2 ^ d₀ → l₁ ≤ 2 ^ d₁ → l₀ + l₁ ≤ 2 ^ (max d₀ d₁ + 1).
References #
Consecutive (j + 1)-th powers differ by at most (j + 1) (c + 1) ^ j, the case a = b + 1
of a ^ k - b ^ k ≤ (a - b) k a ^ (k - 1) [AlonMatiasSzegedy1999, proof of Theorem 2.1]; a
specialization of Mathlib's abs_pow_sub_pow_le.