Chapter 1: Boolean functions and the Fourier expansion — Internal lemmas #
Technical helper lemmas for the Fourier expansion theory. These support the
main results in BooleanAnalysis.FourierExpansion but are not intended for
direct use by downstream code.
Definition 1.11 (explicit form): For Boolean-valued f,
𝔼[f] = Pr[f = 1] - Pr[f = -1].
For Boolean-valued f, Pr[f = 1] + Pr[f = -1] = 1.
(Implicit in Definition 1.11: every input maps to exactly one of 1 or -1.)
Helper: ⟪f, g⟫ + 2 · dist(f, g) = 1 for Boolean-valued f, g.
The Fourier expansion: f(x) = ∑_S 𝓕 f S · χ_S(x).
Fourier uniqueness: If f(x) = ∑_S c_S · χ_S(x) for all x,
then c_S = 𝓕 f S for all S.
Proof: take ⟪–, χ T⟫ of both sides. On the right, orthonormality
kills every term except S = T, leaving c T. On the left we get 𝓕 f T.
Orthonormal basis of parity functions #
The parity functions χ S form an orthonormal basis for BooleanFunction n
under the uniform-measure inner product. Plancherel and Parseval follow
directly from Mathlib's OrthonormalBasis API.
The parity functions are orthonormal under the uniform-measure inner product.
The parity functions span BooleanFunction n.
The parity functions form an orthonormal basis for BooleanFunction n.
Instances For
Plancherel's theorem: ⟪f, g⟫ = ∑_S 𝓕 f S · 𝓕 g S.
Derived from the OrthonormalBasis of parity functions.
Helpers for §1.4 Proposition 1.15 (variance–distance bounds) #
dist(f, 1) = Pr[f = -1] for Boolean-valued f.
dist(f, -1) = Pr[f = 1] for Boolean-valued f.
Helpers for §1.5 (densities and convolution) #
Every Fourier coefficient of setDensity {0} is 1.
The convolution of two densities is again a density.
The convolution theorem: 𝓕 (f ⊛ g) S = (𝓕 f S) · (𝓕 g S).
Helpers for §1.6 (BLR test and local correctability) #
Local correctability of the Fourier decoding algorithm.
Helpers for §1.6 (BLR acceptance probability and soundness) #
Parseval's theorem: ⟪f, f⟫ = ∑_S (𝓕 f S)².
Parseval's theorem for Boolean-valued functions.
For Boolean f, (𝓕 f S)² ≤ 1.
For Boolean f, (𝓕 f S)³ ≤ c · (𝓕 f S)² when c dominates all Fourier
coefficients.
Parity functions are Boolean-valued.
dist(f, χ S) = (1 - 𝓕 f S) / 2 for Boolean-valued f.
𝔼_x[𝔼_y[f(x)·f(y)·f(x+y)]] = ⟪f, f ⊛ f⟫.
⟪f, f ⊛ f⟫ = ∑_S (𝓕 f S)³.
The BLR acceptance probability formula.
BLR completeness: If f is linear (i.e., f = χ_S for some S),
then the BLR test accepts with probability 1.
BLR soundness: if the BLR test accepts with probability ≥ 1 - ε,
then f is ε-close to a linear function.
Equivalence of linearity characterizations (§1.6) #
For Boolean-valued multiplicative f, f(0) = 1.
Linear implies multiplicative.
A multiplicative function distributes over finite sums:
f(∑_{i ∈ s} gᵢ) = ∏_{i ∈ s} f(gᵢ).
Multiplicative + Boolean-valued implies linear.
Key idea: define S = {i | f(eᵢ) = -1} and show f = χ S by
decomposing x into a sum of basis vectors and using multiplicativity.
Definition 1.28 (equivalence): Linear ↔ multiplicative for Boolean-valued functions.
Helpers for §1.5 (set density properties) #
For nonempty A, setDensity A is a valid probability density.