Corollary.Expectation of restrictions w/r/t ๐‘ง [boolean/thm/restriction-exp]

Let ๐‘“:{ยฑ1}๐‘›โ†’โ„, (๐ฝ,๐ฝ_) be a partition of [๐‘›], and fix ๐‘†โІ๐ฝ. Then if we choose ๐‘งโˆผ{ยฑ1}๐ฝ_ uniformly at random, we have

๐„๐‘ง[๐‘“๐ฝ|๐‘งฬ‚(๐‘†)]=๐‘“ฬ‚(๐‘†)๐„๐‘ง[๐‘“๐ฝ|๐‘งฬ‚(๐‘†)2]=โˆ‘๐‘‡โІ๐ฝ_๐‘“ฬ‚(๐‘†โˆช๐‘‡)2.