Random subsets containing a fixed set, and a weighted intersection tail #
For a uniformly random u-subset J of an n-element set, a fixed set T lies inside J with
probability C(n - #T, u - #T) / C(n, u) ≤ (u / n) ^ #T (card_filter_subset_powersetCard_le,
from Mathlib's Finset.card_filter_powersetCard_subset and Nat.choose_mul_pow_le). Expanding
(2y) ^ #(J ∩ V) over the subsets of a fixed set V turns this into a bound on a weighted upper
tail of the hypergeometric variable #(J ∩ V): the u-subsets J with #(J ∩ V) ≥ r, each
weighted by (1/2) ^ #(V \ J), have total weight at most C(n, u) (2u / (n + u)) ^ r
(sum_powersetCard_ite_half_pow_le). This is the count behind the case k = 1 of Håstad's
switching lemma in Arora and Barak's form (DNF.card_filter_not_cnf_div_card_le), where V is
the set of variables of the formula and #(V \ J) its fixed variables, each fixed to a falsifying
value with probability 1/2.
Main results #
Cslib.card_filter_subset_powersetCard_le: fewu-subsets contain a fixed set.Cslib.sum_powersetCard_ite_half_pow_le: the weighted intersection tail.
The u-subsets of an n-set containing a fixed set T number at most
C(n, u) (u / n) ^ #T.
A weighted tail of the intersection with a fixed set. Summing (1/2) ^ #(V \ J) over the
u-subsets J of an n-set that contain at least r points of V gives at most
C(n, u) (2u / (n + u)) ^ r.
Weight each J by y ^ (#(J ∩ V) - r) ≥ 1 with y = (n + u) / (2u) and expand
(2y) ^ #(J ∩ V) binomially: the subsets T ⊆ V contribute (n / u) ^ #T times the number of
J ⊇ T, at most C(n, u) (u / n) ^ #T.