I am looking for function(s) which satisfy the following property:
$$f\left(\frac{x}{t}\right) f\left(-\frac{y}{r}\right)=f\left(\frac{x-y}{t-r}\right)$$
I am not sure if there is any function which satisfies this property.
I thought that using an ansatz like $f\left(\frac{x}{t}\right)=\exp \left[g\left(\frac{x}{t}\right)\right]$ should help. But I can't get any further.
Consider the three equations $$\left\{\begin{align} \frac{x}{t} = & z_1,\\ -\frac{y}{r} = & z_2,\\ \frac{x-y}{t-r} = & z_3. \end{align}\right.$$ They can always be solved, except for some special values of the $z_i$ (e.g. $z_1=z_2=0$). This implies that the only solution is $f$ must be constant and equal either $0$ or $1$.