Fourier weight by degree #
The degree-k part of a real function f on the cube is f^{=k} = ∑_{|S| = k} f̂(S) χ_S
(BitString.levelPart), and its Fourier weight at degree k is
W^k[f] = ∑_{|S| = k} f̂(S) ^ 2 (BitString.levelWeight)
O'Donnell, Definition 1.19. The degree-k part keeps exactly the Fourier
coefficients on the sets of size k (BitString.fourierCoeff_levelPart), has degree at most k
(BitString.levelPart_mem_lowDegree), and the parts sum to f (BitString.sum_levelPart). The
parts of different degrees are orthogonal, and the part of degree k has squared norm W^k[f]
(BitString.expect_levelPart_mul_levelPart) O'Donnell, Exercise 1.18, so the
weights sum to 𝔼 f ^ 2 (BitString.sum_levelWeight), and the noise stability is
Stab_ρ[f] = ∑_k ρ ^ k W^k[f] (BitString.noiseStability_eq_sum_levelWeight)
O'Donnell, Theorem 2.49. The weight at degree zero is the squared
mean (BitString.levelWeight_zero), the weight at degree one is ∑ᵢ f̂({i}) ^ 2
(BitString.levelWeight_one), and the weights above a level t are the Fourier weight
∑_{t < |S|} f̂(S) ^ 2 that the library uses for spectral concentration
(BitString.sum_levelWeight_Ioc). The degree-one coefficients themselves sum to the correlation
𝔼_x f(x) (x₁ + ⋯ + xₙ) with the sum of the signs
(BitString.sum_fourierCoeff_singleton_eq_expect) O'Donnell, equation (2.3). For
a function invariant under permutations of the n coordinates the degree-one coefficients are all
equal, so W^1[f] · n = (𝔼_x f(x) ∑ᵢ xᵢ)² (BitString.levelWeight_one_mul_card_of_comp_perm), or
W^1[f] = (𝔼_x f(x) ∑ᵢ xᵢ / √n)² (BitString.levelWeight_one_eq_sq_expect_mul_of_comp_perm)
O'Donnell, Exercise 5.30.
Main definitions #
Cslib.BitString.levelPart: the degree-kpartf^{=k}of a real function.Cslib.BitString.levelWeight: the Fourier weightW^k[f]at degreek.
Main results #
Cslib.BitString.fourierCoeff_levelPart: the Fourier coefficients off^{=k}.Cslib.BitString.sum_levelPart:fis the sum of its parts of each degree.Cslib.BitString.expect_levelPart_mul_levelPart: the parts are orthogonal, with‖f^{=k}‖² = W^k[f].Cslib.BitString.sum_levelWeight: the weights sum to𝔼 f ^ 2, and to one for a Boolean function read as signs (Cslib.BitString.sum_levelWeight_signVal).Cslib.BitString.noiseStability_eq_sum_levelWeight:Stab_ρ[f] = ∑_k ρ ^ k W^k[f].Cslib.BitString.levelWeight_zero,Cslib.BitString.levelWeight_one,Cslib.BitString.sum_levelWeight_Ioc: the weights at degrees zero and one and the weight above a level.Cslib.BitString.sum_fourierCoeff_singleton_eq_expect:∑ᵢ f̂({i}) = 𝔼 f(x) (x₁ + ⋯ + xₙ).Cslib.BitString.fourierCoeff_singleton_eq_of_comp_swap,Cslib.BitString.levelWeight_one_mul_card_of_comp_perm,Cslib.BitString.levelWeight_one_eq_sq_expect_mul_of_comp_perm: the degree-one coefficients and weight of a symmetric function.
References #
The degree-k part f^{=k} = ∑_{|S| = k} f̂(S) χ_S of a real function on the cube
O'Donnell, Definition 1.19.
The Fourier weight W^k[f] = ∑_{|S| = k} f̂(S) ^ 2 of a real function at degree k
O'Donnell, Definition 1.19.
The degree-k part as a combination of all the characters, with weight zero off size k.
The degree-k part keeps the Fourier coefficients on the sets of size k and no others.
A function is the sum of its parts of each degree.
The parts of different degrees are orthogonal, and the part of degree k has squared
norm W^k[f] O'Donnell, Exercise 1.18.
The part of degree k has squared norm W^k[f].
The Fourier weight at each degree is nonnegative.
There is no Fourier weight above the number of coordinates.
Parseval's identity by degree: the Fourier weights sum to 𝔼 f ^ 2.
The Fourier weights of a Boolean function read as signs sum to one.
The Fourier formula for the noise stability by degree: Stab_ρ[f] = ∑_k ρ ^ k W^k[f]
O'Donnell, Theorem 2.49.
The Fourier weight at degree zero is the squared mean.
The Fourier weight at degree one is the sum of the squared degree-one coefficients,
W^1[f] = ∑ᵢ f̂({i}) ^ 2.
The degree-one coefficients and the vote count: the degree-one Fourier coefficients of f
sum to its correlation with the sum of the signs of the bits
O'Donnell, equation (2.3).
The Fourier weights above level t are the Fourier weight on the sets of more than t
coordinates.
Degree-one weight of symmetric functions #
If f is unchanged when coordinates i and j are swapped, its degree-one Fourier
coefficients at i and j agree.
Degree-one weight of a symmetric function. If f is invariant under permutations of the
coordinates, all its degree-one coefficients are equal, so
W^1[f] · n = (∑ᵢ f̂({i}))² = (𝔼_x f(x) ∑ᵢ xᵢ)², where xᵢ = signVal (x i) and n is the
number of coordinates O'Donnell, Exercise 5.30.
Degree-one weight of a symmetric function, normalized: for f invariant under
permutations of the n coordinates, W^1[f] = (𝔼_x f(x) · ∑ᵢ xᵢ / √n)², where
xᵢ = signVal (x i) O'Donnell, Exercise 5.30.