Definition.Covariance [boolean/def/covar]

The covariance of 𝑓,𝑔:{±1}𝑛 is

𝐂𝐨𝐯[𝑓,𝑔]=𝑓𝐄[𝑓],𝑔𝐄[𝑔]=𝐄[𝑓𝑔]𝐄[𝑓]𝐄[𝑔].