Definition.Weight at Degree [boolean/def/weight-at-deg]

For 𝑓:{±1}𝑛→ℝ and 0≤𝑘≤𝑛, the (Fourier) weight of 𝑓 at degree 𝑘 is

𝐖𝑘[𝑓]=∑𝑆⊆[𝑛]|𝑆|=𝑘𝑓̂(𝑆)2.

By Parseval's Theorem, we have 𝐖𝑘[𝑓]=‖𝑓=𝑘‖22, where

𝑓=𝑘=∑|𝑆|=𝑘𝑓̂(𝑆)𝜒𝑆

is the degree 𝑘 part of 𝑓.

If 𝑓:{±1}𝑛→{±1} is Boolean-valued, then equivalently we have

𝐖𝑘[𝑓]=𝐏𝐫𝑺∈𝒮︀𝑓[|𝑆|=𝑘].

Analogously, the weight below degree 𝑘 and weight at or above degree 𝑘 are

𝐖<𝑘[𝑓]=∑|𝑆|<𝑘𝑓̂(𝑆)2and𝐖≥𝑘[𝑓]=∑|𝑆|≥𝑘𝑓̂(𝑆)2.

As before, these are ‖𝑓<𝑘‖2 and ‖𝑓≥𝑘‖2, where 𝑓<𝑘=∑|𝑆|<𝑘𝑓̂(𝑆)𝜒𝑆 is the low-degree part of 𝑓 (below 𝑘) and 𝑓≥𝑘=∑|𝑆|≥𝑘𝑓̂(𝑆)𝜒𝑆=𝑓−𝑓<𝑘 is its high-degree part (from 𝑘 on).

In particular 𝐖<𝑘[𝑓]+𝐖≥𝑘[𝑓]=‖𝑓‖2, which is 1 when 𝑓 is Boolean-valued.