§ Splitting f(x)=y into indicators
If the output of f(x) is a natural number, then we can write the value f(x) as:
f(x)=i=1∑∞[f(x)≥i]
where [f(x)≥i] is 1 if the condition is true and 0 otherwise.
Another useful indicator type equation is:
x∑f(x)=x∑i∑i⋅[f(x)=i]=i∑i⋅(x∑[f(x)=i])