HF RL Explorer

Task 19

Task 19: test task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Let $f(x)=x+1$ and $g(x)=2x$. Also denote the inverses to these functions as $f^{-1}$ and $g^{-1}$. Compute \ f(g^{-1}(f^{-1}(f^{-1}(g(f(5)))))).\

The task

Let $f(x)=x+1$ and $g(x)=2x$. Also denote the inverses to these functions as $f^{-1}$ and $g^{-1}$. Compute \[f(g^{-1}(f^{-1}(f^{-1}(g(f(5)))))).\]