If I have $f:\mathbb{R^n} \rightarrow \mathbb{R}$, a sufficiently regular function. Then how to prove that:
$\frac{\partial}{\partial y_i}(f(x-y))=-\frac{\partial f}{\partial y_i}((x-y))$,
where $y_i$ is the $i^{th}$ component of vector $y \in \mathbb{R^n}$. And the second term means:the partial derivative of $f$ with respect to $y_i$ (applied) to $x-y$
Differentiating $f$ with respect to $y_i$ at the point $(x-y)$ can be done using the chain rule for higher dimension. It states that $$\frac{\partial}{\partial y_i} (f(x-y)) = \sum_{k=1}^n \frac{\partial f}{\partial y_k}(x-y) \cdot \frac{\partial (x_k-y_k)}{\partial y_i}(y) = -\frac{\partial f}{\partial y_i}(x-y)$$ where the $y_k$ are the variables you can put into $f$. Therefore the $i$-the partial derivative of the function $f \circ (x-y)$ equals the negative of the $i$-th partial derivative of $f$ at the point $(x-y)$ which was to be shown