The spectral sample #
By Parseval's identity, the squared Fourier coefficients of a Boolean function read as signs sum
to one, so they are the probabilities of a distribution on sets of coordinates: the spectral
sample 𝒮_f (BitString.spectralSample), which draws S with probability f̂(S) ^ 2
O'Donnell, Definition 1.18. The size of the spectral sample is k with probability
the Fourier weight W^k[f] at degree k (BitString.spectralSample_map_card_apply).
Main definitions #
Cslib.BitString.spectralSample: the spectral sample of a Boolean function.
Main results #
Cslib.BitString.spectralSample_apply: the spectral sample drawsSwith probabilityf̂(S) ^ 2.Cslib.BitString.spectralSample_map_card_apply: its size iskwith probabilityW^k[f].
References #
The spectral sample of a Boolean function f read as signs: the distribution on sets of
coordinates that draws S with probability f̂(S) ^ 2 O'Donnell, Definition 1.18.
The spectral sample draws S with probability f̂(S) ^ 2.
The size of the spectral sample is k with probability the Fourier weight W^k[f] at
degree k O'Donnell, Definition 1.19.