Polynomial bounds on partial binomial sums #
∑_{i ≤ d} n ^ i ≤ (n + 1) ^ d (Cslib.sum_range_pow_le_add_one_pow), hence
∑_{i ≤ d} (n choose i) ≤ (n + 1) ^ d (Cslib.sum_range_choose_le_add_one_pow). The second bound
counts the subsets of at most d of n points, as in Sauer's lemma and in low-degree polynomial
dimension counts. Cslib.sum_choose_le_exp_one_mul_div_pow gives the sharper (e n / d) ^ d.
Weighting by a ^ ℓ bounds the volume of a Hamming ball of radius r:
(∑_{j ≤ r} C(ℓ, j)) * a ^ ℓ ≤ a ^ r * (a + 1) ^ ℓ (Cslib.sum_range_choose_mul_pow_le).
Main results #
Cslib.sum_range_pow_le_add_one_pow:∑_{i ≤ d} n ^ i ≤ (n + 1) ^ d.Cslib.sum_range_choose_le_add_one_pow:∑_{i ≤ d} (n choose i) ≤ (n + 1) ^ d.Cslib.sum_range_choose_mul_pow_le:(∑_{j ≤ r} C(ℓ, j)) * a ^ ℓ ≤ a ^ r * (a + 1) ^ ℓ.
∑_{i ≤ d} n ^ i ≤ (n + 1) ^ d.
∑_{i ≤ d} (n choose i) ≤ (n + 1) ^ d.
A binomial estimate for the volume of a Hamming ball:
(∑_{j ≤ r} C(ℓ, j)) * a ^ ℓ ≤ a ^ r * (a + 1) ^ ℓ for 1 ≤ a, obtained from the
binomial expansion of (1 + a) ^ ℓ.