Lemma 114.4.13. Let $A \to B$ be a flat local homomorphism of Noetherian local rings. If $A$ and $B/\mathfrak m_ A B$ are Gorenstein, then $B$ is Gorenstein.

Proof. Follows immediately from Dualizing Complexes, Lemma 47.21.8. $\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).