Documentation

CslibFrontier.Foundations.Analysis.Asymptotics.Exponential

Exponentiating sublinear bounds #

If e(n) = o(n), then every constant multiple of the ceiling of C * 2 ^ e(n) is eventually at most 2 ^ (ε * n) for every positive real ε. The estimate accounts for natural-number rounding and is useful when converting asymptotic circuit or formula bounds into integer sizes.

Main results #

theorem Asymptotics.IsLittleO.eventually_mul_natCeil_two_rpow_le {e : ℕ → ℝ} (he : e =o[Filter.atTop] fun (n : ℕ) => ↑n) (C : ℝ) (hC : 0 ≤ C) (a : ℕ) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ↑(a * ⌈C * 2 ^ e n⌉₊) ≤ 2 ^ (ε * ↑n)

If an exponent is little-o of the input, fixed factors and natural ceiling rounding can be absorbed into every positive exponential rate. The exponent itself need not be nonnegative.