Definition.Restriction [boolean/def/restriction]

Let 𝑓:{±1}𝑛→ℝ and take (𝐽,𝐽_) to be a partition of [𝑛]. Take 𝑧∈{±1}𝐽_. Then the restriction of 𝑓 to 𝐽 using 𝑧 is

𝑓𝐽|𝑧:{±1}𝐽→ℝ𝑦↦𝑓(𝑦,𝑧),

the subfunction of 𝑓 given by fixing the coordinates in 𝐽_ to 𝑧.

When the partition (𝐽,𝐽_) is clear, we will often write the restriction as 𝑓|𝑧.