Definition 48.25.2. Let $f : X \to Y$ be a morphism of schemes. Assume that all the fibres $X_ y$ are locally Noetherian schemes.
Let $x \in X$, and $y = f(x)$. We say that $f$ is Gorenstein at $x$ if $f$ is flat at $x$, and the local ring of the scheme $X_ y$ at $x$ is Gorenstein.
We say $f$ is a Gorenstein morphism if $f$ is Gorenstein at every point of $X$.