Fooling functions on the cube, and k-wise independence #
A distribution X on the cube ι → Bool ε-fools a real function F on the cube
(Cslib.BitString.Fools) if the expectation of F under X is within ε of its expectation
under the uniform distribution. A distribution is k-wise independent
(Cslib.BitString.IsKWiseIndependent) if every k of its coordinates are uniformly distributed;
in terms of biases, its bias at every nonempty set of at most k coordinates vanishes, and this is
how the abbreviation is defined, as IsKWiseSmallBias k 0. A uniformly seeded k-wise
independent family of bit strings, such as one built from Cslib.Probability.polynomialHash,
induces a k-wise independent distribution
(Cslib.Probability.IsKWiseIndependentHash.isKWiseIndependent_map).
The expectation of F under X is the sum of the Fourier coefficients of F weighted by the
biases of X (Cslib.BitString.sum_mul_eq_sum_fourierCoeff_mul_bias). A function of degree at
most k has no Fourier weight above level k, so a k-wise independent distribution fools it
exactly Braverman, Proposition 6
(Cslib.BitString.IsKWiseIndependent.fools_of_mem_lowDegree).
A Boolean function is fooled once both it and its negation have one-sided lower bounds
(Cslib.BitString.fools_bitVal_of_le), which is how Braverman obtains the
two-sided bound of his Main Theorem from the one-sided Lemma 12.
Main definitions #
Cslib.BitString.Fools:Xε-foolsF.Cslib.BitString.IsKWiseIndependent:k-wise independent distributions on the cube.
Main results #
Cslib.BitString.sum_mul_eq_sum_fourierCoeff_mul_bias: expectations through Fourier coefficients and biases.Cslib.BitString.IsKWiseIndependent.fools_of_mem_lowDegree:k-wise independence fools degree-kfunctions exactly.Cslib.Probability.IsKWiseIndependentHash.isKWiseIndependent_map: seededk-wise independent families inducek-wise independent distributions.Cslib.BitString.isKWiseIndependent_uniformOfFintype: the uniform distribution isk-wise independent for everyk.Cslib.BitString.fools_bitVal_of_le: two one-sided bounds fool a Boolean function.
References #
The expectation under the uniform distribution is the average.
The uniform distribution fools every function exactly.
Two one-sided bounds fool a Boolean function: if the expectations under X of a Boolean
function F and of its negation are each at least their uniform expectation minus ε, then X
ε-fools F Braverman, after Lemma 12.
A distribution on the cube is k-wise independent if every k of its coordinates are
independent and uniform; equivalently, its bias at every nonempty set of at most k coordinates
vanishes (IsKWiseSmallBias.dist_map_restrict_le), which is the definition used here.
Instances For
The expectation of f under X is the sum over sets S of the Fourier coefficient of f at
S times the bias of X at S.
The uniform distribution is k-wise independent for every k.
A k-wise independent distribution gives a function of degree at most k its uniform
expectation Braverman, Proposition 6.
k-wise independence fools degree-k functions exactly
Braverman, Proposition 6.
Seeded k-wise independent families are k-wise independent distributions: a uniformly
random member of a k-wise independent family of bit strings is a k-wise independent
distribution on the cube.