Formally smooth and formally unramified implies formally etale theorem

Let $X$, $Y$ be schemes, and possibly some arrows, satisfying the following conditions:

Then

References