Unions of sets with few pairwise intersections #
If the pairwise intersections of finite sets A₁, …, Aₙ are small compared with their sizes,
∑_{i<j} |Aᵢ ∩ Aⱼ| ≤ C ∑ᵢ |Aᵢ|, then their union is large: ∑ᵢ |Aᵢ| ≤ 4C |⋃ᵢ Aᵢ|
Arora and Barak, Claim 18.34. The proof counts, for every element x of the
union, the number kₓ of sets containing it: ∑ᵢ |Aᵢ| = ∑ₓ kₓ and
∑ₓ kₓ² = ∑ᵢ |Aᵢ| + 2 ∑_{i<j} |Aᵢ ∩ Aⱼ|, so Cauchy–Schwarz gives
(∑ᵢ |Aᵢ|)² ≤ |⋃ᵢ Aᵢ| (2C + 1) ∑ᵢ |Aᵢ|. The draft instead keeps a random part of the family and
applies the second Bonferroni inequality; the double count is shorter and gives the factor
2C + 1 ≤ 4C.
The double count holds for any family of sets inside a finite set U:
(∑_c |B_c|)² ≤ |U| ∑_c ∑_{c'} |B_c ∩ B_{c'}|
(Finset.sq_sum_card_le_card_mul_sum_sum_card_inter). The Johnson bound for codes
(Cslib.Code.card_mul_sub_le_of_le_card_of_card_inter_le) uses it with equal-size sets and a bound
on each pairwise intersection.
Main results #
Finset.sq_sum_card_le_card_mul_sum_sum_card_inter: incidence counting with Cauchy–Schwarz.Finset.sum_card_le_four_mul_card_biUnion: Arora–Barak Claim 18.34.
References #
- S. Arora, B. Barak, Computational Complexity: A Modern Approach, draft of 2007-01-08, Claim 18.34
Incidence counting. If the sets B c for c ∈ L lie in a finite set U, then
(∑_c |B c|)² ≤ |U| ∑_c ∑_{c'} |B c ∩ B c'|. With kₓ the number of sets containing x,
∑_c |B c| = ∑ₓ kₓ and ∑_c ∑_{c'} |B c ∩ B c'| = ∑ₓ kₓ², so this is Cauchy–Schwarz over U.
Few pairwise intersections force a large union [Arora and Barak, Claim 18.34]. If finite
sets A₁, …, Aₙ satisfy ∑_{i<j} |Aᵢ ∩ Aⱼ| ≤ C ∑ᵢ |Aᵢ| for a positive integer C, then
|⋃ᵢ Aᵢ| ≥ ∑ᵢ |Aᵢ| / 4C. The draft takes C ∈ ℕ; the bound needs C > 0, which its proof
uses.