89 Communication Complexity — Func Inner Product
89.1 Overview
This module establishes a discrepancy lower bound for the mod-2 inner product function \(\mathrm{IP}_n : \{ 0,1\} ^n \times \{ 0,1\} ^n \to \{ 0,1\} \). It shows that every combinatorial rectangle has discrepancy at most \(2^{-n/2}\) under the uniform distribution, and derives from this a public-coin communication complexity lower bound via the discrepancy method.
89.2 Declarations
Given two \(n\)-bit inputs \(x, y : \mathrm{BoolInput}\, n\), \(\mathrm{overlap}(x, y)\) is the Finset of coordinates \(i \in \mathrm{Fin}\, n\) on which both \(x\) and \(y\) are true.
\(\mathrm{innerProduct}(n, x, y) : \mathrm{Bool}\) is the mod-2 inner product of two \(n\)-bit vectors \(x\) and \(y\): it returns true exactly when the number of coordinates where both inputs are true is odd, i.e. when \(\bigoplus _{i=1}^{n} (x_i \wedge y_i) = 1\).
For every \(x : \mathrm{BoolInput}\, n\), the inner product of \(x\) with the all-zero input is false: \(\mathrm{innerProduct}(n, x, \mathbf{0}) = \mathtt{false}\).
Every element \(x : \mathrm{BoolInput}\, n\) has PMF weight \(2^{-n}\) under the uniform distribution: \(\mathrm{toPMF}(\mathrm{BoolInput}\, n,\, x) = 2^{-n}\).
For any \(f : \mathrm{BoolInput}\, n \to \mathbb {R}\), the integral against the uniform distribution satisfies
If \(y_i = \mathtt{true}\), then flipping coordinate \(i\) of \(x\) toggles the inner product: \(\mathrm{innerProduct}(n, \mathrm{flipAt}(i, x), y) = \mathrm{innerProduct}(n, x, y) \oplus \mathtt{true}\).
If \(z : \mathrm{BoolInput}\, n\) has a coordinate \(i\) with \(z_i = \mathtt{true}\), then
This is the orthogonality of Walsh characters for the inner product function.
For every \(z : \mathrm{BoolInput}\, n\),
\(\mathrm{xorInput}(y, z) : \mathrm{BoolInput}\, n\) is the coordinatewise XOR of \(y\) and \(z\): \((\mathrm{xorInput}(y, z))_i = y_i \oplus z_i\).
For all \(y, z : \mathrm{BoolInput}\, n\) and \(i : \mathrm{Fin}\, n\), \(\mathrm{xorInput}(y, z)(i) = y_i \oplus z_i\).
\(\mathrm{xorInput}(y, z) = \mathbf{0}\) if and only if \(y = z\).
For all \(x, y, z : \mathrm{BoolInput}\, n\),
The Walsh character for the inner product is multiplicative in its second argument under coordinatewise XOR.
For all \(y, z : \mathrm{BoolInput}\, n\),
For any set \(B \subseteq \mathrm{BoolInput}\, n\) and \(y : \mathrm{BoolInput}\, n\), the indicator function satisfies \((\mathbf{1}_B(y))^2 = \mathbf{1}_B(y)\).
For any set \(B \subseteq \mathrm{BoolInput}\, n\) and \(y : \mathrm{BoolInput}\, n\), \(\mathbf{1}_B(y) \le 1\).
For finite types \(\alpha \) and \(\beta \) and \(f : \alpha \to \beta \to \mathbb {R}\),
For a finite type \(\alpha \) and constants \(a, b \in \mathbb {R}\) and functions \(f, g : \alpha \to \mathbb {R}\),
For a finite type \(\alpha \) with decidable equality, a function \(h : \alpha \to \alpha \to \mathbb {R}\), and a scalar \(c \in \mathbb {R}\),
where \([\! [\cdot ]\! ]\) denotes the indicator of the condition.
Let \(\phi : \alpha \to \beta \to \mathbb {R}\) be a family of functions satisfying the orthogonality condition \(\sum _{x:\alpha } \phi (x,y)\, \phi (x,z) = c \cdot [\! [y=z]\! ]\) for a constant \(c\). Then for any weights \(b : \beta \to \mathbb {R}\),
For any \(b : \mathrm{BoolInput}\, n \to \mathbb {R}\),
For any set \(B \subseteq \mathrm{BoolInput}\, n\),
For any set \(B \subseteq \mathrm{BoolInput}\, n\),
This is the key second-moment estimate used in the discrepancy bound.
For sets \(A, B \subseteq \mathrm{BoolInput}\, n\), the discrepancy of the rectangle \(A \times B\) for the inner product function equals
For all \(A, B \subseteq \mathrm{BoolInput}\, n\),
Every combinatorial rectangle \(R \subseteq \mathrm{BoolInput}\, n \times \mathrm{BoolInput}\, n\) has discrepancy at most \(2^{-n/2}\) for the mod-2 inner product function under the uniform distribution:
If \(k, n \in \mathbb {N}\) and \(\varepsilon \in \mathbb {R}\) satisfy \(2^k \cdot \sqrt{1/2^n} \lt 1 - 2\varepsilon \), then
providing a public-coin communication complexity lower bound for the inner product function via the discrepancy method.