Documentation

CslibFrontier.Foundations.Combinatorics.SetFamily.RayChaudhuriWilson

Ray-Chaudhuri–Wilson and Frankl–Wilson bounds #

Bounds on families of subsets of a finite set κ, n = |κ|, whose pairwise intersection sizes are restricted to a set L of s values, proved by the multilinear polynomial method of Alon, Babai and Suzuki [ABS91]. A family A : ι → Finset κ is indexed; the hypotheses force A to be injective, so the bounds are on the number of distinct sets.

To each member A i attach the function x ↦ ∏_{l ∈ L} (|A i ∩ X| - l) on the cube κ → Bool, where X is the set of coordinates of x that are true, with values in a field K. It has degree at most s in the sense of Cslib.BitString.lowDegree, whose dimension bound Cslib.BitString.finrank_lowDegree_le counts the sets of at most s coordinates. Evaluated at the indicator vectors of the members, these functions form a diagonal matrix with nonzero diagonal, so they are linearly independent and number at most ∑_{i ≤ s} C(n, i) (Fintype.card_le_sum_choose_of_card_inter_mem). For a d-uniform family, Alon, Babai and Suzuki adjoin the functions x ↦ x_I (|X| - d) for |I| < s, which vanish on every member. The combined family is triangular at the indicator vectors of the sets I, so it is still independent when (j : K) ≠ d for j < s; this brings the bound down to C(n, s) (Fintype.card_le_choose_of_card_inter_mem). Two specializations:

The condition s ≤ d mod p is what the triangular argument above needs over ZMod p: it is the condition (j : K) ≠ d for j < s. It holds for the Frankl–Wilson Ramsey graph (CslibFrontier.Foundations.Combinatorics.SimpleGraph.Ramsey.FranklWilson), where d = p² - 1 and s = p - 1. Some side condition is necessary: with n = 4, d = 2, p = 5 and L = {0, 1, 3, 4}, the six 2-subsets of a 4-set satisfy the other hypotheses but C(4, 4) = 1. Frankl and Wilson's modular theorem is proved with inclusion matrices and reportedly needs only s ≤ d (not checked against the paper). That form is strictly stronger (for instance p = 3, d = 4, L = {0, 2} satisfies s ≤ d but not s ≤ d mod p) and is not formalized here. Without uniformity the bound ∑_{i ≤ s} C(n, i) needs no side condition; over ZMod p this nonuniform form is due to Deza, Frankl and Singhi [DFS83]. The nonuniform theorem of Frankl and Wilson over the rationals, which needs no hypothesis on the member sizes, is not formalized.

Main results #

References #

The functions on the cube are those on κ → Bool, as in Cslib.BitString.lowDegree; a set X : Finset κ is the point ind X.

theorem Fintype.card_le_sum_choose_of_card_inter_mem {K : Type u_1} {ι : Type u_2} {κ : Type u_3} [Field K] [Fintype ι] [Fintype κ] [DecidableEq κ] (A : ι → Finset κ) (L : Finset K) (hself : ∀ (i : ι), ↑(A i).card ∉ L) (hinter : ∀ (i j : ι), i ≠ j → ↑(A i ∩ A j).card ∈ L) :
card ι ≤ ∑ i ∈ Finset.range (L.card + 1), (card κ).choose i

The nonuniform bound: if no member size lies in L ⊆ K and every pairwise intersection size of distinct members does, the family has at most ∑_{i ≤ |L|} C(|κ|, i) members. Over ZMod p this is the bound of Deza, Frankl and Singhi [DFS83]; the proof is the multilinear polynomial method [ABS91].

theorem Fintype.card_le_choose_of_card_inter_mem {K : Type u_1} {ι : Type u_2} {κ : Type u_3} [Field K] [Fintype ι] [Fintype κ] [DecidableEq κ] (A : ι → Finset κ) {d : ℕ} (L : Finset K) (hcard : ∀ (i : ι), (A i).card = d) (hinter : ∀ (i j : ι), i ≠ j → ↑(A i ∩ A j).card ∈ L) (hd : ↑d ∉ L) (hL : ∀ j < L.card, ↑j ≠ ↑d) :
card ι ≤ (card κ).choose L.card

The uniform bound: a d-uniform family whose distinct members meet in a number of points lying in L ⊆ K, with d ∉ L and (j : K) ≠ d for j < |L|, has at most C(|κ|, |L|) members. This is the multilinear polynomial method of Alon, Babai and Suzuki [ABS91].

theorem Fintype.card_le_choose_of_card_inter_mem_of_lt {ι : Type u_2} {κ : Type u_3} [Fintype ι] [Fintype κ] [DecidableEq κ] (A : ι → Finset κ) {d : ℕ} (L : Finset ℕ) (hcard : ∀ (i : ι), (A i).card = d) (hinter : ∀ (i j : ι), i ≠ j → (A i ∩ A j).card ∈ L) (hL : ∀ l ∈ L, l < d) :
card ι ≤ (card κ).choose L.card

Ray-Chaudhuri–Wilson: a d-uniform family whose distinct members meet in a number of points lying in a set L of naturals below d has at most C(|κ|, |L|) members [RCW75] [ABS91] [Jukna2011, Chapter 13].

theorem Fintype.card_le_choose_of_card_inter_mem_zmod {ι : Type u_2} {κ : Type u_3} [Fintype ι] [Fintype κ] [DecidableEq κ] {p : ℕ} [Fact (Nat.Prime p)] (A : ι → Finset κ) {d : ℕ} (L : Finset (ZMod p)) (hcard : ∀ (i : ι), (A i).card = d) (hinter : ∀ (i j : ι), i ≠ j → ↑(A i ∩ A j).card ∈ L) (hd : ↑d ∉ L) (hL : L.card ≤ d % p) :
card ι ≤ (card κ).choose L.card

Modular Frankl–Wilson, uniform case: for a prime p and a set L of residues mod p, a d-uniform family with d mod p ∉ L whose distinct members meet in a number of points lying in L mod p has at most C(|κ|, |L|) members, provided |L| ≤ d mod p [FW81] [ABS91]. This is a restricted form: the condition |L| ≤ d mod p is the one the triangular polynomial argument needs, while Frankl and Wilson's inclusion-matrix theorem reportedly needs only |L| ≤ d.