**Proof.**
If (2) holds, then the fibre rings $A \otimes _ R \kappa (\mathfrak p)$ have invertible dualizing complexes, and hence are Gorenstein. See Lemmas 47.25.2 and 47.21.4.

For the converse, assume (1). Observe that $\omega _{A/R}^\bullet $ is in $D^ b_{\textit{Coh}}(A)$ by Lemma 47.24.2 (since flat finite type homomorphisms of Noetherian rings are perfect, see More on Algebra, Lemma 15.77.4). Take a prime $\mathfrak q \subset A$ lying over $\mathfrak p \subset R$. Then

\[ \omega _{A/R}^\bullet \otimes _ A^\mathbf {L} \kappa (\mathfrak q) = \omega _{A/R}^\bullet \otimes _ A^\mathbf {L} (A \otimes _ R \kappa (\mathfrak p)) \otimes _{(A \otimes _ R \kappa (\mathfrak p))}^\mathbf {L} \kappa (\mathfrak q) \]

Applying Lemmas 47.25.2 and 47.21.4 and assumption (1) we find that this complex has $1$ nonzero cohomology group which is a $1$-dimensional $\kappa (\mathfrak q)$-vector space. By More on Algebra, Lemma 15.72.5 we conclude that $(\omega _{A/R}^\bullet )_ f$ is an invertible object of $D(A_ f)$ for some $f \in A$, $f \not\in \mathfrak q$. This proves (2) holds.
$\square$

## Comments (0)