TCSLib

68 Communication Complexity — Public Coin Finite Message

68.1 Overview

This module defines public-coin finite-message protocols, in which Alice and Bob each receive a shared random string \(\omega \in \Omega \) alongside their private inputs. It introduces the notions of approximate satisfaction of a predicate and approximate computation of a function, and establishes equivalences between the finite-message and binary public-coin protocol representations, preserving both run behavior and complexity.

68.2 Declarations

Definition 68.1 Public-coin finite-message protocol
✓

A public-coin finite-message protocol over shared-randomness space \(\Omega \), private input sets \(X\) and \(Y\), and output type \(\alpha \) is a deterministic finite-message protocol in which Alice’s effective input is \(\Omega \times X\) and Bob’s effective input is \(\Omega \times Y\).

Definition 68.2 Output node
✓

The terminal (output) node of a public-coin finite-message protocol returning the constant value \(a : \alpha \).

Definition 68.3 Alice’s send step
✓

Given a message function \(f : X \to \Omega \to \beta \) and a continuation \(P : \beta \to \mathrm{Protocol}\), this constructs the protocol node in which Alice sends a \(\beta \)-valued message determined by her private input \(x\) and the shared randomness \(\omega \), then continues with \(P\).

Definition 68.4 Bob’s send step
✓

Given a message function \(f : Y \to \Omega \to \beta \) and a continuation \(P : \beta \to \mathrm{Protocol}\), this constructs the protocol node in which Bob sends a \(\beta \)-valued message determined by his private input \(y\) and the shared randomness \(\omega \), then continues with \(P\).

Definition 68.5 Randomized execution
✓

\(\mathrm{rrun}(p, x, y, \omega )\) executes the protocol \(p\) on private inputs \(x\) and \(y\) with shared randomness \(\omega \), defined as \(p.\mathrm{run}(\omega , x)\, (\omega , y)\).

Theorem 68.6 Randomized execution unfolds to deterministic execution
✓

Let \(p\) be a public-coin finite-message protocol over shared-randomness space \(\Omega \), private input sets \(X\) and \(Y\), and output type \(\alpha \), and let \(x \in X\), \(y \in Y\), and \(\omega \in \Omega \). Then the randomized execution of \(p\) on inputs \(x\) and \(y\) with shared randomness \(\omega \) agrees with the deterministic execution of \(p\) on Alice’s effective input \((\omega , x)\) and Bob’s effective input \((\omega , y)\):

\[ \mathrm{rrun}(p, x, y, \omega ) = \mathrm{run}(p, (\omega , x), (\omega , y)). \]
Definition 68.7 Approximate satisfaction of a predicate
✓

A protocol \(p\) \(\varepsilon \)-satisfies a predicate \(Q : X \to Y \to \alpha \to \mathrm{Prop}\) if for every input pair \((x, y)\),

\[ \Pr _{\omega }\bigl[\neg Q\, x\, y\, (p.\mathrm{rrun}\, x\, y\, \omega )\bigr] \; \le \; \varepsilon . \]
Definition 68.8 Approximate computation of a function
✓

A protocol \(p\) \(\varepsilon \)-computes a function \(f : X \to Y \to \alpha \) if for every input pair \((x, y)\),

\[ \Pr _{\omega }\bigl[p.\mathrm{rrun}\, x\, y\, \omega \ne f\, x\, y\bigr] \; \le \; \varepsilon . \]
Theorem 68.9 Approximate computation as approximate satisfaction of equality
✓

Let \(\Omega \) be a probability space, and let \(p\) be a public-coin finite-message protocol with shared randomness in \(\Omega \), private inputs from \(X\) and \(Y\), and outputs in \(\alpha \). For every function \(f : X \to Y \to \alpha \) and every real number \(\varepsilon \), the assertion that \(p\) \(\varepsilon \)-computes \(f\) coincides with the assertion that \(p\) \(\varepsilon \)-satisfies the predicate \((x, y, a) \mapsto (a = f\, x\, y)\); that is, the two propositions are equal.

Definition 68.10 Conversion to binary public-coin protocol
✓

Converts a public-coin finite-message protocol to a binary public-coin protocol by delegating to CommunicationComplexity.Deterministic.FiniteMessage.Protocol.toProtocol.

Theorem 68.11 Binary conversion preserves randomized execution
✓

Let \(p\) be a public-coin finite-message protocol with shared-randomness space \(\Omega \), private input sets \(X\) and \(Y\), and output type \(\alpha \), and let \(q\) be the binary public-coin protocol obtained from \(p\) by encoding each finite-alphabet message as a string of bits. Then for every pair of private inputs \(x \in X\) and \(y \in Y\) and every shared random string \(\omega \in \Omega \), the two protocols produce the same output when executed on those inputs with that randomness: the randomized execution of \(q\) on \(x\), \(y\), \(\omega \) equals the randomized execution of \(p\) on \(x\), \(y\), \(\omega \).

Theorem 68.12 Conversion to a binary public-coin protocol preserves communication complexity
✓

Let \(\Omega \) be a shared-randomness space and let \(p\) be a public-coin finite-message protocol with Alice’s private input in \(X\), Bob’s in \(Y\), and output in \(\alpha \); that is, a deterministic finite-message protocol whose effective input types are \(\Omega \times X\) for Alice and \(\Omega \times Y\) for Bob, in which each message is an element of an arbitrary finite nonempty type \(\beta \) costing \(\lceil \log _2 \left\lvert \beta \right\rvert \rceil \) bits. Then the binary public-coin protocol obtained from \(p\) by encoding every \(\beta \)-valued message as \(\lceil \log _2 \left\lvert \beta \right\rvert \rceil \) bits has communication complexity exactly equal to that of \(p\).

Definition 68.13 Embedding of binary public-coin protocol
✓

Embeds a binary public-coin protocol into a finite-message protocol by delegating to CommunicationComplexity.Deterministic.FiniteMessage.Protocol.ofProtocol.

Theorem 68.14 Embedding preserves randomized execution
✓

Let \(\Omega \) be a shared-randomness space, let \(X\) and \(Y\) be the private input sets of the two players, and let \(\alpha \) be an output type. Let \(p\) be a binary public-coin protocol over these types, that is, a deterministic protocol whose players receive inputs in \(\Omega \times X\) and \(\Omega \times Y\). Embedding \(p\) into the finite-message framework—by treating each Boolean message as a message drawn from the two-element type—and then running the result yields the same output as running \(p\) directly: for every private input \(x \in X\), every private input \(y \in Y\), and every shared random string \(\omega \in \Omega \), the finite-message embedding of \(p\), executed on the paired inputs \((\omega , x)\) and \((\omega , y)\), returns the same value in \(\alpha \) as \(p\) executed on those same paired inputs.

Theorem 68.15 Complexity invariance of the finite-message embedding
✓

Let \(\Omega \) be a shared-randomness space, let \(X\) and \(Y\) be the private input sets of Alice and Bob, let \(\alpha \) be an output type, and let \(p\) be a binary public-coin protocol over shared randomness \(\Omega \) with these private inputs and this output — that is, a deterministic protocol whose players branch on Boolean messages, with Alice reading \(\Omega \times X\) and Bob reading \(\Omega \times Y\). Embedding \(p\) into the finite-message framework by regarding each Boolean message as an element of the two-element type \(\mathrm{Bool}\) yields a finite-message protocol whose worst-case communication complexity equals the worst-case communication complexity of \(p\).

For every public-coin protocol \(p\) over shared-randomness space \(\Omega \), private input sets \(X\) and \(Y\), and output type \(\alpha \), there exists a public-coin finite-message protocol \(P\) over the same data that computes exactly the same output under randomized execution and has the same communication complexity. Precisely, \(\mathrm{rrun}(P, x, y, \omega ) = \mathrm{rrun}(p, x, y, \omega )\) for all private inputs \(x \in X\), \(y \in Y\) and every shared random string \(\omega \in \Omega \), and the communication complexity of \(P\) equals that of \(p\).