Problem

Source: Swiss IMO TST 2016. Problem 9

Tags: function, algebra, functional equation



Find all functions $f : \mathbb{R} \mapsto \mathbb{R} $ such that $$ \left(f(x)+y\right)\left(f(x-y)+1\right)=f\left(f(xf(x+1))-yf(y-1)\right)$$for all $x,y \in \mathbb{R}$