Documentation

Combinatorics.PropertyB

Property B: Erdős's count of two-colourings #

A family of finite sets has property B (Bernstein's, in Erdős's usage) when the points of the union can be coloured with two colours so that no member is of one colour. Equivalently, some set B meets every member and contains none.

Erdős, P. (1963), On a combinatorial problem, Nordisk Mat. Tidskr. 11, 5–10, Theorem 1: a family of finite sets A₁, …, A_k with |A_i| = x_i ≥ 2 has property B whenever the sum of 2 ^ (-x_i) is at most one half. In particular at most 2 ^ (p - 1) sets of p points each, p ≥ 2, always have it.

Main results #

def PropertyB {ι : Type u_1} {α : Type u_2} (I : Finset ι) (A : ι → Finset α) :

Property B. A family A of finite sets, indexed by I, has property B when some set B meets every member and contains none: both colours, B and its complement, occur in every member.

Equations
  • PropertyB I A = ∃ (B : Set α), ∀ i ∈ I, (∃ a ∈ A i, a ∈ B) ∧ ∃ a ∈ A i, a ∉ B
Instances For
    theorem PropertyB.of_sum_le {ι : Type u_1} {α : Type u_2} (I : Finset ι) (A : ι → Finset α) (h2 : ∀ i ∈ I, 2 ≤ (A i).card) (hsum : ∑ i ∈ I, (1 / 2) ^ (A i).card ≤ 1 / 2) :

    Erdős (1963, Theorem 1). A family of finite sets of at least two points each, the sum of 2 ^ (-|A i|) over which is at most one half, has property B. The proof counts the two-colourings of the union: the ones leaving A i of one colour number at most 2 * 2 ^ (|X| - |A i|), so at most 2 ^ |X| in all, and the all-false colouring is among them for every member, which makes the union bound strict once there are two members.

    theorem PropertyB.of_card_le_two_pow {ι : Type u_1} {α : Type u_2} (I : Finset ι) (A : ι → Finset α) (p : ℕ) (hp : 2 ≤ p) (hA : ∀ i ∈ I, p ≤ (A i).card) (hI : I.card ≤ 2 ^ (p - 1)) :

    At most 2 ^ (p - 1) sets of at least p ≥ 2 points have property B (Erdős 1963, Theorem 1, and the remark after it): each member weighs at most 2 ^ (-p), so the sum is at most 2 ^ (p - 1) * 2 ^ (-p) = 1 / 2.

    theorem PropertyB.of_sum_le_nonvacuous :
    ∃ (ι : Type) (α : Type) (I : Finset ι) (A : ι → Finset α), (∀ i ∈ I, 2 ≤ (A i).card) ∧ ∑ i ∈ I, (1 / 2) ^ (A i).card ≤ 1 / 2 ∧ 2 ≤ I.card

    The sum bound of Erdős's theorem is met by a family of two pairs. The pairs {0, 1} and {0, 2} of the points of Fin 3 satisfy both hypotheses of PropertyB.of_sum_le, the sum of 2 ^ (-|A i|) being exactly one half, and there are at least two members.

    theorem PropertyB.of_card_le_two_pow_nonvacuous :
    ∃ (ι : Type) (α : Type) (I : Finset ι) (A : ι → Finset α) (p : ℕ), 2 ≤ p ∧ (∀ i ∈ I, p ≤ (A i).card) ∧ I.card ≤ 2 ^ (p - 1) ∧ I.card = 2 ^ (p - 1) ∧ 2 ≤ I.card

    The corollary is met at its boundary. The two pairs {0, 1} and {0, 2} of the points of Fin 3 are 2 ^ (p - 1) sets of p points each at p = 2.

    The bound of the theorem cannot be raised to three quarters. The three pairs of the three points of Fin 3 have no property B: the sum of 2 ^ (-|A i|) is three quarters, and every set of points misses a pair or contains one.

    The hypothesis 2 ≤ |A i| cannot be dropped. The family of the one set {0} over Fin 1 has no property B, though the sum of 2 ^ (-|A i|) is one half: a set meeting {0} contains it.