Documentation

CslibFrontier.Foundations.Combinatorics.TupleCover

Covering a finite set by few values of a map on tuples #

Let F map the t-tuples of elements of a finite set R into a finite set Y of fewer than 2 ^ t values. Say that a value y covers a ∈ R when a is an entry of some tuple of elements of R mapped to y. Then at most ⌊log₂ |R|⌋ + 1 values cover all of R (Finset.exists_tupleCover).

The proof halves R. Some value covers at least half of R (Finset.exists_halving_tupleCover): otherwise every value y covers fewer than |R| / 2 elements, so fewer than (|R| / 2) ^ t tuples are mapped to y, and the fewer than 2 ^ t values account for fewer than |R| ^ t tuples, which is all of them. Removing the covered elements and repeating on the rest takes at most ⌊log₂ |R|⌋ + 1 rounds.

This is the counting behind the theorem of Fortnow and Santhanam that NP-hard problems have no OR-distillation unless coNP ⊆ NP/poly [BodlaenderJansenKratsch2014, Theorem 2], in the case of compression to fewer than t bits: R is a set of no-instances, F compresses a tuple of no-instances into a short no-instance, and the covering values form the advice. See CslibFrontier.Computability.Complexity.Parameterized.Distillation. The complementary witness lemma of Dell and van Melkebeek [BodlaenderJansenKratsch2014, Lemma 1] allows compression to O(t log t) bits; that case needs a cover by a number of values polynomial in t, not the halving argument, and is not formalized here.

Main results #

References #

theorem Finset.exists_halving_tupleCover {α : Type u_1} {β : Type u_2} {t : ℕ} (R : Finset α) (hR : R.Nonempty) (F : (Fin t → α) → β) (Y : Finset β) (hY : Y.card < 2 ^ t) (hFY : ∀ (g : Fin t → α), (∀ (i : Fin t), g i ∈ R) → F g ∈ Y) :
∃ y ∈ Y, ∃ C ⊆ R, R.card ≤ 2 * C.card ∧ ∀ a ∈ C, ∃ (g : Fin t → α), (∀ (i : Fin t), g i ∈ R) ∧ a ∈ Set.range g ∧ F g = y

Halving. If F maps the t-tuples of elements of a nonempty finite set R into a set Y of fewer than 2 ^ t values, then some value y ∈ Y covers at least half of R: a subset C ⊆ R with |R| ≤ 2 |C| consists of entries of tuples of elements of R mapped to y.

theorem Finset.exists_tupleCover {α : Type u_1} {β : Type u_2} {t : ℕ} (F : (Fin t → α) → β) (Y : Finset β) (hY : Y.card < 2 ^ t) (R : Finset α) :
(∀ (g : Fin t → α), (∀ (i : Fin t), g i ∈ R) → F g ∈ Y) → ∃ S ⊆ Y, S.card ≤ Nat.log 2 R.card + 1 ∧ ∀ a ∈ R, ∃ (g : Fin t → α), (∀ (i : Fin t), g i ∈ R) ∧ a ∈ Set.range g ∧ F g ∈ S

Covering by few values. If F maps the t-tuples of elements of a finite set R into a set Y of fewer than 2 ^ t values, then a set S ⊆ Y of at most ⌊log₂ |R|⌋ + 1 values covers R: every a ∈ R is an entry of a tuple of elements of R mapped into S.