Lemma 10.138.3. A composition of formally smooth ring maps is formally smooth.

Proof. Omitted. (Hint: This is completely formal, and follows from considering a suitable diagram.) $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).