Documentation

CslibFrontier.Foundations.Data.Nat.PolynomialBound.Exponential

Polynomial bounds are eventually below exponentials #

A polynomially bounded function is eventually smaller than 2 ^ n (PolynomiallyBounded.eventually_lt_two_pow): exponential lower bounds rule out polynomial upper bounds. It is therefore bounded everywhere by a constant multiple of 2 ^ n, the constant absorbing the finitely many exceptions (PolynomiallyBounded.exists_le_mul_two_pow).

Main results #

A polynomially bounded function is eventually below 2 ^ n.

theorem Cslib.PolynomiallyBounded.exists_le_mul_two_pow {p : ℕ → ℕ} (hp : PolynomiallyBounded p) :
∃ (C : ℕ), ∀ (n : ℕ), p n ≤ C * 2 ^ n

A polynomially bounded function is bounded by a constant multiple of 2 ^ n.