Polynomial versus exponential growth #
The arithmetic behind the threshold of the recursive compression argument
(planning/compression-track.md, K3 step 4): for every polynomial Q over ℕ there is a
constant K such that n ≥ 2 ^ (K + 1 + x) forces Q (x + log n) ≤ n + 1
(exists_threshold). The proof is elementary: a polynomial is bounded by its coefficient
sum times the top power (polynomial_eval_le_sum_coeff_mul_pow), and A · σ ^ D ≤ 2 ^ σ
as soon as σ ≥ A (D + 1) ^ (D + 1) (mul_pow_le_two_pow).
A polynomial over ℕ is bounded by its coefficient sum times the top power.
The threshold lemma. For a polynomial Q, there is a constant K such that
n ≥ 2 ^ (K + 1 + x) implies Q (x + log n) ≤ n + 1 (with log n = Nat.size n). This is
what makes the threshold r e = 2 ^ (K + 1 + esize e) of the compression argument work:
above it, every polynomial overhead in esize e + log n is at most n + 1.