In proof of reversed triangle inequality $|x - y| \geq ||x| - |y||$, which is derived from triangle equality $|x + y| \leq |x| + |y|$ there is a step where triangle inequality is transformed into $$|(x-y)+ y| = |x| \leq |y| + |x - y|.$$
What is the logic behind that transformation? If I understood that correctly, we put $x = x - y$ in this case, to make $|x|$ term on LHS. This is also permissible to do for inequality, as inequality will remain the same.
Do I understand it correctly, or is there something else I do miss/do not understand?
$$ |x| = |x| $$
$$ |x+0| = |x| $$
$$ |(x+y)-y| = |x| $$
There is no change of variables in that step; adding a $0$ to only one side is a viable way to prove many different theorems, such as this one.