Total degree and Fourier degree on the Boolean cube #
Every function f on the cube ι → Bool of finitely many coordinates, with values in a
commutative ring R, is a unique R-linear combination of the monomials ∏_{i ∈ S} xᵢ, its
multilinear representation. Its total degree BitString.totalDegree f is the least D such that
f is a combination of monomials of at most D coordinates, that is, the least D with
f ∈ BitString.lowDegree R ι D (BitString.totalDegree_le_iff_mem_lowDegree); by
BitString.lowDegree_eq_map_restrictTotalDegree it is also the least total degree of a polynomial
that agrees with f on the cube.
Over a field F in which 2 is invertible, the characters chi F S and the monomials of at most
D coordinates span the same functions (BitString.lowDegree_eq_signSpan). Over ℝ, low degree
is therefore the vanishing of the Fourier coefficients on sets of more than D coordinates
(BitString.mem_lowDegree_iff_fourierCoeff_eq_zero), and the total degree is the largest size of a
set with a nonzero Fourier coefficient (BitString.totalDegree_le_iff_fourierCoeff_eq_zero,
BitString.exists_card_eq_totalDegree_fourierCoeff_ne_zero) [NS94], [OD14].
Main definitions #
Cslib.BitString.signSpan: the span of the characters of at mostHcoordinates.Cslib.BitString.totalDegree: the total degree of a function on the cube.
Main results #
Cslib.BitString.chi_mem_lowDegree,Cslib.BitString.lowDegree_le_signSpan,Cslib.BitString.lowDegree_eq_signSpan: characters of at mostHcoordinates and monomials of at mostHcoordinates span the same space when2is invertible.Cslib.BitString.totalDegree_le_iff_mem_lowDegree: over finitely many coordinates, the total degree is the leastDwithf ∈ lowDegree R ι D.Cslib.BitString.mem_lowDegree_iff_fourierCoeff_eq_zero: overℝ, low degree is the vanishing of the Fourier coefficients on larger sets.Cslib.BitString.totalDegree_le_iff_fourierCoeff_eq_zero,Cslib.BitString.exists_card_eq_totalDegree_fourierCoeff_ne_zero: the total degree overℝis the largest size of a set with a nonzero Fourier coefficient.Cslib.BitString.signVal_comp_mem_lowDegree_iff,Cslib.BitString.totalDegree_signVal_comp: reading a Boolean function as0/1or as±1gives the same degree overℝ.
References #
The span of characters #
When 2 is invertible in F, every function of degree at most H lies in the span of the
characters of at most H coordinates.
Degree in the ±1 basis. When 2 is invertible in F, the functions of degree at most
H are exactly the linear combinations of the characters chi F S = ∏ i ∈ S, (-1) ^ xᵢ with
#S ≤ H.
Total degree over a commutative ring #
The total degree of a function on the cube: the least D such that f is an R-linear
combination of monomials of at most D coordinates, the degree of its multilinear representation.
It is 0 when there is no such D, which can only happen over infinitely many coordinates.
Membership in lowDegree R ι D bounds totalDegree f above by D.
Negating every input bit preserves the total degree.
Total degree and Fourier coefficients #
A function of total degree at most D has no Fourier weight on sets of more than D
coordinates.
Low degree is Fourier degree: a real function is a combination of monomials of at most D
coordinates exactly when its Fourier coefficients on sets of more than D coordinates vanish.
A nonzero Fourier coefficient bounds the total degree below.
The total degree of a real function is at most D exactly when its Fourier coefficients vanish
on the sets of more than D coordinates.
The total degree is attained: a real function of positive total degree has a nonzero Fourier coefficient on a set of exactly its total degree coordinates.
Reading the values of a Boolean function as 0 and 1 or as the signs ±1 gives the same
low-degree membership: signVal b = 1 - 2 bitVal ℝ b.
Reading the values of a Boolean function as 0 and 1 or as the signs ±1 gives the same
total degree: signVal b = 1 - 2 bitVal ℝ b.