Documentation

CslibFrontier.Computability.Communication.Nondeterministic.Functions

Nondeterministic complexity of equality, disjointness and inner product #

Bounds on Nondeterministic.ecomplexityFun for the standard functions on v-bit strings:

The deterministic Cslib.Communication.ecomplexityFun_equality has the same final name as Cslib.Communication.Nondeterministic.ecomplexityFun_equality; with both namespaces open, write Nondeterministic.ecomplexityFun_equality to avoid an ambiguous name.

Main results #

References #

Equality and disjointness #

N¹(EQ_v) = v: the 2 ^ v diagonal pairs form a fooling set, and the 2 ^ v diagonal singletons {w} × {w} form a 1-cover.

N¹(DISJ_v) = v: the 2 ^ v complementary pairs form a fooling set, and the rectangles {x ⊆ w} × {y ⊆ wᶜ} for the 2 ^ v sets w form a 1-cover.

Inner product #

theorem Cslib.Communication.Nondeterministic.HasCover.card_dotProduct_le {v k : ℕ} {z : Bool} (hk : HasCover z (fun (x y : BitString v) (b : Bool) => x ⬝ᵥ y = b) Set.univ Set.univ k) :
{q : BitString v × BitString v | q.1 ⬝ᵥ q.2 = z}.card ≤ 2 ^ k * 2 ^ v

A z-cover of the inner product by 2 ^ k rectangles covers at most 2 ^ k * 2 ^ v pairs.

N¹(IP_v) ≥ v - 1: for v ≥ 2, more than 2^(v-2) rectangles are needed, and for v ≤ 1 the bound is 0.

N⁰(IP_v) ≥ v: more than 2^(v-1) rectangles are needed.