Documentation

CslibFrontier.Computability.Communication.DistinctRows

Distinct rows and the rank of the communication matrix #

A zero/one matrix of rank r over a field has at most 2 ^ r distinct rows (card_image_le_two_pow_rank): some r columns span its column space, and every row is determined by its zero/one entries on those columns. This gives a rank upper bound on deterministic communication complexity, C(f) ≤ rank M(f) + 1 (ecomplexityFun_le_rank_add_one): Alice names her row among at most 2 ^ r candidates in r bits, and Bob announces the value. Together with the rank lower bound clog_rank_le_ecomplexity, a function on n-bit inputs with pairwise distinct rows has communication complexity at least ⌈log₂ n⌉ (clog_le_ecomplexityFun_of_injective).

These are Exercises 4 (in the corrected form recorded in results/arora-barak-2007-exercises.md; the printed statement lacks its relation symbol) and 6 of Chapter 12 of Arora and Barak, draft of 2007-01-08.

Main results #

References #

theorem Cslib.Communication.card_image_le_two_pow_rank {X : Type u_1} {Y : Type u_2} [Finite Y] [Fintype X] (K : Type u_3) [Field K] [DecidableEq (Y → Bool)] (f : X → Y → Bool) :

A zero/one matrix of rank r has at most 2 ^ r distinct rows over any field K [AroraBarak07, Chapter 12, Exercises 4 and 6]: the rows f x of a Boolean function f take at most 2 ^ rank values, where rank is the rank of its communication matrix over K. Some rank columns span the column space, and a row is determined by its entries on them.

theorem Cslib.Communication.ecomplexityFun_le_rank_add_one {X : Type u_1} {Y : Type u_2} [Finite Y] [Finite X] (K : Type u_3) [Field K] (f : X → Y → Bool) :

The rank upper bound [AroraBarak07, Chapter 12, Exercise 4, corrected]: for finite input sets and every field K, the deterministic communication complexity of f is at most the rank of its communication matrix over K plus one. Alice sends the index of her row among the at most 2 ^ rank distinct rows (card_image_le_two_pow_rank), and Bob announces the value. The printed exercise reads "C(f) rank(M(f)+1", missing its relation symbol; this is the evident repair.

theorem Cslib.Communication.le_rank_of_injective (K : Type u_3) [Field K] {n : ℕ} {Y : Type u_4} [Finite Y] {f : BitString n → Y → Bool} (hf : Function.Injective f) :

If a Boolean function on n-bit inputs has pairwise distinct rows, its communication matrix has rank at least n over every field.

Distinct rows force log₂ n bits [AroraBarak07, Chapter 12, Exercise 6]: if f : {0,1}ⁿ × {0,1}ⁿ → {0,1} has pairwise distinct rows, its deterministic communication complexity is at least ⌈log₂ n⌉, so at least log₂ n. The rank is at least n (le_rank_of_injective), and the rank bound clog_rank_le_ecomplexity applies. The exercise's hypothesis n ≥ 1 is not needed.