Definition.Discrete Derivative [boolean/def/derivative]

For 𝑓:{±1}𝑛→ℝ and a coordinate 𝑖∈[𝑛], the (discrete) derivative of 𝑓 in direction 𝑖 is

𝐷𝑖𝑓(𝑥)=𝑓(𝑥𝑖→1)−𝑓(𝑥𝑖→−1)2,

where 𝑥𝑖→𝑏 is 𝑥 with its 𝑖th coordinate set to 𝑏.