Find all the function satisfy: $$f(f(x)+y)=2x+f(f(y)-x), \forall x , y \in \mathbb{R}$$
I have tried that: Let $x:=-x $ we have : $$f(f(y)+x)=2x+f(f(-x)+y) ,(1) $$ Then in $(1)$ $x:=y;y:=x$ we have : $$f(f(x)+y)=2y+f(f(-y)+x)$$ So : $$2x+f(f(y)-x)=2y+f(f(-y)+x), (2)$$ Then let :$2x=f(y)-f(-y)$ we have : $$f(y)-f(-y)=2y$$ And stuck !
Edit: This is IMO2002 Shortlisted Problem A1 (CZE).