TCSLib

267 Boolean Analysis — Decomposition

267.1 Overview

Restricting the final bit gives the average and half-difference decomposition. Its expectation, Fourier, degree, and moment identities support induction on cube dimension.

267.2 Declarations

Definition 267.1 Restriction of the last coordinate
✓

Let \(n\) be a natural number, let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\), and let \(b\in \{ 0,1\} \). The last-coordinate restriction of \(f\) at \(b\) is the function \(f_b\colon \{ 0,1\} ^n\to \mathbb {R}\) defined by \(f_b(x)=f(x,b)\).

Definition 267.2 Average over the last coordinate
✓

Let \(n\) be a natural number and let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\). Its last-coordinate average is the function \(g\colon \{ 0,1\} ^n\to \mathbb {R}\) defined by \(g(x)=\tfrac 12\bigl(f(x,0)+f(x,1)\bigr)\).

Definition 267.3 Half-difference over the last coordinate
✓

Let \(n\) be a natural number and let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\). Its last-coordinate half-difference is the function \(h\colon \{ 0,1\} ^n\to \mathbb {R}\) defined by \(h(x)=\tfrac 12\bigl(f(x,0)-f(x,1)\bigr)\).

Lemma 267.4 Recovering the false-restriction from average and half-difference
✓

Let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\), and let \(x\) be a point of the \(n\)-dimensional Boolean hypercube. Then the restriction of \(f\) obtained by fixing its last coordinate to \(\mathrm{false}\) equals the sum of the average and the half-difference of \(f\) over that coordinate:

\[ f(x,\mathrm{false}) = \frac{f(x,\mathrm{false}) + f(x,\mathrm{true})}{2} + \frac{f(x,\mathrm{false}) - f(x,\mathrm{true})}{2}. \]
Lemma 267.5 Recovering the true-restriction from average and half-difference
✓

Let \(f : \{ 0,1\} ^{n+1} \to \mathbb {R}\) be a Boolean function on \(n+1\) variables. For a bit \(b\), write \(f_b : \{ 0,1\} ^n \to \mathbb {R}\) for the restriction \(x \mapsto f(x,b)\) that fixes the last coordinate to \(b\), and let its average and half-difference over the last coordinate be the functions \(\tfrac 12(f_0 + f_1)\) and \(\tfrac 12(f_0 - f_1)\). Then for every point \(x \in \{ 0,1\} ^n\), the restriction fixing the last coordinate to \(\mathrm{true}\) equals the average minus the half-difference at that point:

\[ f_1(x) \; =\; \tfrac 12\bigl(f_0(x) + f_1(x)\bigr) \; -\; \tfrac 12\bigl(f_0(x) - f_1(x)\bigr). \]
Lemma 267.6 Splitting a sum over the hypercube on its last coordinate
✓

Let \(n\) be a natural number and let \(\varphi \colon \{ 0,1\} ^{n+1} \to \mathbb {R}\) be a real-valued function on the Boolean hypercube of dimension \(n+1\). Then the sum of \(\varphi \) over all points of the cube splits according to the value of the final coordinate:

\[ \sum _{x \in \{ 0,1\} ^{n+1}} \varphi (x) \; =\; \sum _{y \in \{ 0,1\} ^{n}} \varphi \bigl((y,\mathrm{false})\bigr) \; +\; \sum _{y \in \{ 0,1\} ^{n}} \varphi \bigl((y,\mathrm{true})\bigr), \]

where \((y,b)\) denotes the point of \(\{ 0,1\} ^{n+1}\) obtained by appending the bit \(b\) to \(y \in \{ 0,1\} ^{n}\) as its last coordinate.

Lemma 267.7 Uniform weight halves with each added coordinate
✓

For every natural number \(n\), the uniform weight \(2^{-n}\) assigned to each point of \(\{ 0,1\} ^n\) satisfies

\[ 2^{-(n+1)} = \frac{2^{-n}}{2}, \]

so that the uniform weight on the cube of one higher dimension is half the uniform weight on the original cube.

Let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\), let \(g\) be the average of \(f\) over its last coordinate — the Boolean function of arity \(n\) given by \(g(x) = \tfrac 12\bigl(f(x,\text{false}) + f(x,\text{true})\bigr)\) — and let \(S \subseteq [n]\) be a set of coordinates among the first \(n\). Write \(\iota \colon [n] \hookrightarrow [n+1]\) for the inclusion sending each of the first \(n\) coordinates to itself and omitting the last, so that \(\iota (S)\) is \(S\) viewed as a subset of \([n+1]\) that avoids the coordinate \(n+1\). Then the Fourier–Walsh coefficient of \(g\) at frequency \(S\) equals the Fourier–Walsh coefficient of \(f\) at frequency \(\iota (S)\):

\[ \hat g(S) \; =\; \hat f\bigl(\iota (S)\bigr). \]
Lemma 267.9 Fourier coefficient of the half-difference over the last coordinate
✓

Let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\) be a Boolean function on \(n+1\) variables, and let \(g\colon \{ 0,1\} ^{n}\to \mathbb {R}\) be its half-difference over the last coordinate, given by \(g(x)=\tfrac 12\bigl(f(x,0)-f(x,1)\bigr)\). For every frequency set \(S\subseteq \{ 1,\dots ,n\} \), the Fourier–Walsh coefficient of \(g\) at \(S\) equals the Fourier–Walsh coefficient of \(f\) at the frequency set obtained by regarding \(S\) as a subset of the first \(n\) coordinates of \(\{ 1,\dots ,n+1\} \) and adjoining the last coordinate:

\[ \hat g(S) \; =\; \hat f\bigl(S\cup \{ n+1\} \bigr). \]
Lemma 267.10 Expectation splits over the last coordinate
✓

Let \(\varphi : \{ 0,1\} ^{n+1} \to \mathbb {R}\) be a Boolean function on \(n+1\) variables, and for a bit \(b \in \{ 0,1\} \) let \(\varphi _b : \{ 0,1\} ^n \to \mathbb {R}\), \(\varphi _b(x) = \varphi (x, b)\), be its restriction obtained by fixing the last coordinate to \(b\). Then the expectation of \(\varphi \) under the uniform measure on \(\{ 0,1\} ^{n+1}\) is the average of the expectations of its two restrictions:

\[ \mathbb {E}[\varphi ] \; =\; \frac{\mathbb {E}[\varphi _{0}] + \mathbb {E}[\varphi _{1}]}{2}. \]
Lemma 267.11 A fourth-power sum-and-difference identity
✓

For all real numbers \(a\) and \(b\), the sum of the fourth powers of \(a+b\) and \(a-b\) satisfies

\[ (a+b)^4 + (a-b)^4 = 2\left(a^4 + 6\, a^2 b^2 + b^4\right). \]
Lemma 267.12 Parallelogram identity for real numbers
✓

For all real numbers \(a\) and \(b\), the identity

\[ (a+b)^2 + (a-b)^2 = 2\, (a^2 + b^2) \]

holds.

Lemma 267.13 Fourth-moment decomposition over the last coordinate
✓

Let \(f : \{ 0,1\} ^{n+1} \to \mathbb {R}\) be a Boolean function on \(n+1\) variables, and let \(g\) and \(h\) be the average and the half-difference of \(f\) over its last coordinate, so that \(g(x) = \tfrac 12\bigl(f(x,0) + f(x,1)\bigr)\) and \(h(x) = \tfrac 12\bigl(f(x,0) - f(x,1)\bigr)\) for \(x \in \{ 0,1\} ^n\). Then, with all expectations taken under the uniform measure, the fourth moment of \(f\) decomposes as

\[ \mathbb {E}[f^4] \; =\; \mathbb {E}[g^4] + 6\, \mathbb {E}[g^2 h^2] + \mathbb {E}[h^4]. \]

Let \(f : \{ 0,1\} ^{n+1} \to \mathbb {R}\) be a Boolean function on \(n+1\) variables. Define its average and half-difference over the last coordinate as the functions on \(n\) variables

\[ g(x) = \tfrac 12\bigl(f(x,0) + f(x,1)\bigr), \qquad h(x) = \tfrac 12\bigl(f(x,0) - f(x,1)\bigr). \]

Then, with the expectation on the left taken under the uniform measure on \(\{ 0,1\} ^{n+1}\) and those on the right under the uniform measure on \(\{ 0,1\} ^n\), the second moment of \(f\) decomposes as

\[ \mathbb {E}\bigl[f^2\bigr] = \mathbb {E}\bigl[g^2\bigr] + \mathbb {E}\bigl[h^2\bigr]. \]
Lemma 267.15 Cauchy–Schwarz for the uniform expectation
✓

Let \(g, h : \{ 0,1\} ^n \to \mathbb {R}\) be Boolean functions, and let \(\mathbb {E}[\, \cdot \, ]\) denote the expectation under the uniform measure on the hypercube \(\{ 0,1\} ^n\). Then

\[ \bigl(\mathbb {E}[g^2 h^2]\bigr)^2 \; \le \; \mathbb {E}[g^4]\cdot \mathbb {E}[h^4]. \]
Lemma 267.16 Nonnegativity of the mean square
✓

For every Boolean function \(f : \{ 0,1\} ^n \to \mathbb {R}\), the expectation of \(f^2\) under the uniform measure is nonnegative: \(0 \le \mathbb {E}[f^2]\), where \(\mathbb {E}[f^2] = 2^{-n}\sum _{x\in \{ 0,1\} ^n} f(x)^2\).

Lemma 267.17 Nonnegativity of the expectation of a product of squares
✓

For any two Boolean functions \(g, h : \{ 0,1\} ^n \to \mathbb {R}\), the expectation of the product of their squares under the uniform measure is nonnegative:

\[ \mathbb {E}\! \left[\, g^2\, h^2\, \right] \; =\; 2^{-n} \sum _{x \in \{ 0,1\} ^n} g(x)^2\, h(x)^2 \; \ge \; 0. \]
Lemma 267.18 Nonnegativity of the fourth moment
✓

Let \(f : \{ 0,1\} ^n \to \mathbb {R}\) be a Boolean function on the Boolean hypercube. Then its fourth moment under the uniform measure is nonnegative:

\[ \mathbb {E}\! \left[f^4\right] \; =\; 2^{-n}\sum _{x\in \{ 0,1\} ^n} f(x)^4 \; \ge \; 0. \]

Let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\) be a Boolean function on \(n+1\) variables, and suppose \(f\) has degree at most \(k\); that is, every set \(S\) with nonzero Fourier coefficient \(\hat f(S)\ne 0\) satisfies \(\left\lvert S\right\rvert \le k\). Form the average of \(f\) over its last coordinate, the function on \(n\) variables obtained by fixing that coordinate to each of its two values and averaging,

\[ x \; \longmapsto \; \tfrac 12\bigl(f(x,0) + f(x,1)\bigr). \]

Then this averaged function also has degree at most \(k\): each set \(S\) with a nonzero Fourier coefficient of the average satisfies \(\left\lvert S\right\rvert \le k\).

Lemma 267.20 Degree bound for the half-difference over the last coordinate
✓

Let \(f\colon \{ 0,1\} ^{n+1}\to \mathbb {R}\) be a Boolean function of degree at most \(k\), meaning that every frequency set \(S\) with nonzero Fourier–Walsh coefficient \(\hat f(S)\ne 0\) satisfies \(\left\lvert S\right\rvert \le k\). Write \(f_0\) and \(f_1\) for the two restrictions of \(f\) to \(\{ 0,1\} ^{n}\) obtained by fixing its last coordinate to \(0\) and to \(1\) respectively, and let \(g=\tfrac 12(f_0-f_1)\) be the half-difference of \(f\) over that coordinate. Then \(g\) is a Boolean function on \(\{ 0,1\} ^{n}\) of degree at most \(k-1\), with \(k-1\) interpreted as \(0\) when \(k=0\).