Documentation

CslibFrontier.Computability.Communication.FoolingSet

Fooling sets #

A fooling set for f : X → Y → Z with value z is a finite set S of pairs of inputs on which f is z, such that for any two distinct pairs (x₁, y₁) and (x₂, y₂) of S, f x₁ y₂ ≠ z or f x₂ y₁ ≠ z (IsFoolingSet) Kushilevitz and Nisan, Chapter 1. A rectangle on which f is constantly z contains at most one pair of S. So a protocol computing f has at least |S| leaves labelled z (IsFoolingSet.card_le), and at least one leaf more when f takes another value somewhere: then |S| < 2 ^ d for every protocol sending d bits (IsFoolingSet.card_lt_two_pow). In particular a fooling set of 2 ^ n pairs for a function that is not constantly z forces n + 1 bits (IsFoolingSet.succ_le_ecomplexity).

Main definitions #

Main results #

References #

def Cslib.Communication.IsFoolingSet {X : Type u_1} {Y : Type u_2} {Z : Type u_3} (f : X → Y → Z) (z : Z) (S : Finset (X × Y)) :

A fooling set for f with value z: a finite set S of pairs of inputs on which f is z, such that two pairs (x₁, y₁) and (x₂, y₂) of S with f x₁ y₂ = z and f x₂ y₁ = z are equal.

theorem Cslib.Communication.IsFoolingSet.card_le_cover {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} {κ : Type u_4} [Fintype κ] (hS : IsFoolingSet f z S) (A : κ → Set X) (B : κ → Set Y) (hmono : ∀ (i : κ), ∀ x ∈ A i, ∀ y ∈ B i, f x y = z) (hcover : ∀ q ∈ S, ∃ (i : κ), q.1 ∈ A i ∧ q.2 ∈ B i) :

A finite cover of a fooling set by monochromatic rectangles has at least as many pieces as the fooling set. The cover may overlap and need only cover the set itself. The shared injection is extracted from András Z. Salamon's nondeterministic-cover proof.

theorem Cslib.Communication.IsFoolingSet.card_le_partition {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} [DecidableEq Z] (hS : IsFoolingSet f z S) {p : RectanglePartition X Y Z} (hp : p.run = f) :
S.card ≤ {i : Fin p.size | p.output i = z}.card

A fooling set injects into the pieces labelled z of every arbitrary monochromatic tiling.

theorem Cslib.Communication.IsFoolingSet.card_le_tilingNumber {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} (hS : IsFoolingSet f z S) :

A fooling set bounds the minimum over arbitrary monochromatic tilings [AroraBarak07, Lemma 12.8].

theorem Cslib.Communication.IsFoolingSet.card_le {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} {p : Protocol X Y Z} [DecidableEq Z] (hS : IsFoolingSet f z S) (hp : p.run = f) :
S.card ≤ {i : Fin p.leafCount | p.leafOutput i = z}.card

A protocol computing f reaches distinct leaves labelled z on the pairs of a fooling set for f with value z.

theorem Cslib.Communication.IsFoolingSet.card_lt_two_pow {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} {p : Protocol X Y Z} (hS : IsFoolingSet f z S) (hp : p.run = f) (hz : ∃ (x : X) (y : Y), f x y ≠ z) :
S.card < 2 ^ p.depth

The fooling-set bound. If f takes a value other than z, a fooling set for f with value z has fewer than 2 ^ d pairs, for every protocol computing f with d bits.

theorem Cslib.Communication.IsFoolingSet.succ_le_ecomplexity {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {f : X → Y → Z} {z : Z} {S : Finset (X × Y)} (hS : IsFoolingSet f z S) (hz : ∃ (x : X) (y : Y), f x y ≠ z) {n : ℕ} (hn : 2 ^ n ≤ S.card) :

The fooling-set bound on communication complexity. A fooling set of at least 2 ^ n pairs for a function f that is not constantly z forces n + 1 bits.