Lemma 28.10.3. Let $X$ be a scheme. Let $Y \subset X$ be an irreducible closed subset. Let $\xi \in Y$ be the generic point. Then
\[ \text{codim}(Y, X) = \dim (\mathcal{O}_{X, \xi }) \]
where the codimension is as defined in Topology, Definition 5.11.1.
Comments (0)