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.