I am studying Monte Carlo simulation and I came across with this claim from notes:
Let $Y_1$ and $Y_2$ be two independent $Exp(1)$ random variables. We accept $Y_1$ as one sample when $Y_2$ is larger than $(Y_1 - 1)^2/2$. Then by the memory-less property of exponential random variables, $Y_2 - (Y_1 - 1)^2/2$ is also $Exp(1)$ distributed and independent of $Y_1$. This means we can make use of $Y_2 - (Y_1 - 1)^2/2$ as a new exponential r.v. in the next iteration.
I am kind of stuck with how to apply the memory-less property here. Any solution or hint will be appreciated. Thanks!