OctoInform Beta

OpenAI preprint, September 2026 · §5. Parity and the binomial coupling (proof of Theorem 1) · §5

Parity twist (13): For a ±1\pm 1-valued function on {−1,1}n\{-1,1\}^n, average sensitivity equals the ordered constant-edge count of its parity twist divided by 2n2^n

Average sensitivity of ±1\pm 1-valued functions via parity twist.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Take a function ff on the nn-dimensional Boolean cube taking values in {−1,1}\{-1,1\}, and twist it by multiplying by the parity of all nn coordinates. How can the average sensitivity of ff be read off from the edges of the cube on which this twisted function is constant?

Definitions

For a natural number nn, the sign cube {−1,1}n\{-1,1\}^n is the set of all nn-tuples assigning a sign in {−1,1}\{-1,1\} to each coordinate index i∈{1,…,n}i \in \{1,\dots,n\}.✦ Given a vertex x∈{−1,1}nx \in \{-1,1\}^n and a coordinate index i∈{1,…,n}i \in \{1,\dots,n\}, the coordinate sign xix_i is the real number in {−1,1}\{-1,1\} assigned to xx at ii.✦

Given x∈{−1,1}nx \in \{-1,1\}^n and i∈{1,…,n}i \in \{1,\dots,n\}, the coordinate flip x⊕ix^{\oplus i} is the vertex in {−1,1}n\{-1,1\}^n with (x⊕i)i=−xi(x^{\oplus i})_i = -x_i and (x⊕i)j=xj(x^{\oplus i})_j = x_j for every j≠ij \ne i.✦

For a real function f:{−1,1}n→ℝf \colon \{-1,1\}^n \to \mathbb{R} and a coordinate i∈{1,…,n}i \in \{1,\dots,n\}, the set Si(f)⊆{−1,1}nS_i(f) \subseteq \{-1,1\}^n of sensitive vertices of ff at ii is Si(f)={x∈{−1,1}n:f(x)≠f(x⊕i)}.S_i(f) = \{x \in \{-1,1\}^n : f(x) \ne f(x^{\oplus i})\}.(1)✦ The average sensitivity I(f)∈ℝI(f) \in \mathbb{R} of a real function f:{−1,1}n→ℝf \colon \{-1,1\}^n \to \mathbb{R} is the sum I(f)=∑i=1n|Si(f)|2n.I(f) = \sum_{i=1}^n \frac{|S_i(f)|}{2^n}.(2)✦

On this page, χ:{−1,1}n→ℝ\chi \colon \{-1,1\}^n \to \mathbb{R} denotes the full parity, the function assigning to each vertex x∈{−1,1}nx \in \{-1,1\}^n the product χ(x)=∏i=1nxi.\chi(x) = \prod_{i=1}^n x_i.(3)✦

On this page, En⊆{−1,1}n×{−1,1}nE_n \subseteq \{-1,1\}^n \times \{-1,1\}^n denotes the set of ordered neighbor pairs, consisting of all ordered pairs (x,y)(x,y) of vertices such that y=x⊕iy = x^{\oplus i} for some coordinate index i∈{1,…,n}i \in \{1,\dots,n\}, counting every undirected edge of the cube in both directions.✦ For a real function h:{−1,1}n→ℝh \colon \{-1,1\}^n \to \mathbb{R}, the set ℰh⊆En\mathcal{E}_h \subseteq E_n of ordered constant edges of hh is ℰh={(x,y)∈En:h(x)=h(y)}.\mathcal{E}_h = \{(x,y) \in E_n : h(x) = h(y)\}.(4)✦

The claim

Theorem. Let nn be a natural number and let f:{−1,1}n→ℝf \colon \{-1,1\}^n \to \mathbb{R} satisfy f(x)∈{−1,1}f(x) \in \{-1,1\} for every x∈{−1,1}nx \in \{-1,1\}^n. With h:{−1,1}n→ℝh \colon \{-1,1\}^n \to \mathbb{R} defined by h(x)=χ(x)f(x)h(x) = \chi(x)f(x), the average sensitivity of ff satisfies I(f)=|ℰh|2n.I(f) = \frac{|\mathcal{E}_h|}{2^n}.(5)✦

In the paper, the result reads: with χ\chi full parity and h=χfh = \chi f, the equal-sign edges of hh are the sensitive edges of ff, so I(f)=|ℰh|/NI(f) = |\mathcal{E}_h|/N, where N=2nN = 2^n.

What is checked

The claim (5) is stated over a natural number nn, the sign cube {−1,1}n\{-1,1\}^n with its coordinate signs xix_i, coordinate flips x⊕ix^{\oplus i}, and ordered neighbor pairs EnE_n, a real function f:{−1,1}n→ℝf \colon \{-1,1\}^n \to \mathbb{R} satisfying f(x)∈{−1,1}f(x) \in \{-1,1\} for every x∈{−1,1}nx \in \{-1,1\}^n, its sets Si(f)S_i(f) of sensitive vertices and average sensitivity I(f)I(f), the full parity χ\chi, and the ordered constant edges ℰχf\mathcal{E}_{\chi f} of χf\chi f.