Stacks project reader · Algebraic and Formal Geometry · Search · Suggestions (AI)

The Stacks project, tag 0EIW, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0EIW

A distance function

Let \(Y\) be a Noetherian scheme and let \(Z \subset Y\) be a closed subset. We define a function \[\begin{equation} \delta^Y_Z = \delta_Z : Y \longrightarrow \mathbf{Z}_{\geq 0} \cup \{\infty\} \end{equation}\] which measures the “distance” of a point of \(Y\) from \(Z\). For an informal discussion, please see Remark 52.18.3. Let \(y \in Y\). We set \(\delta_Z(y) = \infty\) if \(y\) is contained in a connected component of \(Y\) which does not meet \(Z\). If \(y\) is contained in a connected component of \(Y\) which meets \(Z\), then we can find \(k \geq 0\) and a system \[V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \supset V_k \subset W_k\] of integral closed subschemes of \(Y\) such that \(V_0 \subset Z\) and \(y \in W_k\) is the generic point. Set \(c_i = \text{codim}(V_i, W_i)\) for \(i = 0, \ldots, k\) and \(b_i = \text{codim}(V_{i + 1}, W_i)\) for \(i = 0, \ldots, k - 1\). For such a system we set \[\delta(V_0, W_0, V_1, \ldots, W_k) = k + \max_{i = 0, 1, \ldots, k} (c_i + c_{i + 1} + \ldots + c_k - b_i - b_{i + 1} - \ldots - b_{k - 1})\] This is \(\geq k\) as we can take \(i = k\) and we have \(c_k \geq 0\). Finally, we set \[\delta_Z(y) = \min \delta(V_0, W_0, V_1, \ldots, W_k)\] where the minimum is over all systems of integral closed subschemes of \(Y\) as above.

Lemma 52.18.1 (0EIY) official page ↗

Let \(Y\) be a Noetherian scheme and let \(Z \subset Y\) be a closed subset.

  1. For \(y \in Y\) we have \(\delta_Z(y) = 0 \Leftrightarrow y \in Z\).

  2. The subsets \(\{y \in Y \mid \delta_Z(y) \leq k\}\) are stable under specialization.

  3. For \(y \in Y\) and \(z \in \overline{\{y\}} \cap Z\) we have \(\dim(\mathcal{O}_{\overline{\{y\}}, z}) \geq \delta_Z(y)\).

  4. If \(\delta\) is a dimension function on \(Y\), then \(\delta_Z(y) \geq \delta(y) - \delta_{max}\) where \(\delta_{max}\) is the maximum value of \(\delta\) on \(Z\).

  5. If \(Y = \Spec(A)\) is the spectrum of a catenary Noetherian local ring with maximal ideal \(\mathfrak m\) and \(Z = \{\mathfrak m\}\), then \(\delta_Z(y) = \dim(\overline{\{y\}})\).

  6. If \(Y' \subset Y\) is an open subscheme, then \(\delta^{Y'}_{Y' \cap Z}(y') \geq \delta^Y_Z(y')\) for \(y' \in Y'\).

Assume \(Y\) is catenary. Then

  1. Let \(y' \leadsto y\) be an immediate specialization of points of \(Y\). If \(Y\) is catenary, then \(\delta_Z(y') \leq \delta_Z(y) + 1\).

  2. Given a pattern of specializations \[\xymatrix{ & y'_0 \ar@{~>}[ld] \ar@{~>}[rd] & & y'_1 \ar@{~>}[ld] & \ldots & y'_{k - 1} \ar@{~>}[rd] & \\ y_0 & & y_1 & & \ldots & & y_k = y }\] between points of \(Y\) with \(y_0 \in Z\) and \(y_i' \leadsto y_i\) an immediate specialization, then \(\delta_Z(y_k) \leq k\).

Proof. Proof of (1). If \(y \in Z\), then we can take \(k = 0\) and \(V_0 = W_0 = \overline{\{y\}}\) and we get \(\delta(V_0, W_0) = 0\) so \(\delta_Z(y) = 0\). If \(y \not \in Z\), then for every system \(V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \subset W_k\) for \(y\) we either have \(k = 0\) and \(V_0 \not = W_0\) or \(k > 0\). In both cases \(\delta(V_0, W_0, \ldots, W_k) > 0\). Hence \(\delta_Z(y) > 0\).

Proof of (2). Let \(y \leadsto y'\) be a nontrivial specialization and let \(V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \subset W_k\) is a system for \(y\). Here there are two cases. Case I: \(V_k = W_k\), i.e., \(c_k = 0\). In this case we can set \(V'_k = W'_k = \overline{\{y'\}}\). An easy computation shows that \(\delta(V_0, W_0, \ldots, V'_k, W'_k) \leq \delta(V_0, W_0, \ldots, V_k, W_k)\) because only \(b_{k - 1}\) is changed into a bigger integer. Case II: \(V_k \not = W_k\), i.e., \(c_k > 0\). In this case, setting \(V_{k + 1} = W_{k + 1} = \overline{\{y'\}}\) we see that \(V_0 \subset W_0 \supset \ldots \subset W_k \supset V_{k + 1} \subset W_{k + 1}\) is a system for \(y'\). Then \(c_{k + 1} = 0\) and \(b_k > 0\) so we get \[\begin{align*} & \delta(V_0, \ldots, W_{k + 1}) \\ & = k + 1 + \max_{i = 0, 1, \ldots, k + 1} (c_i + c_{i + 1} + \ldots + c_k + c_{k + 1} - b_i - b_{i + 1} - \ldots - b_{k - 1} - b_k) \\ & = k + 1 + \max_{i = 0, 1, \ldots, k + 1} (c_i + c_{i + 1} + \ldots + c_k - b_i - b_{i + 1} - \ldots - b_{k - 1} - b_k) \\ & \leq k + \max_{i = 0, 1, \ldots, k} (c_i + c_{i + 1} + \ldots + c_k - b_i - b_{i + 1} - \ldots - b_{k - 1}) \\ & = \delta(V_0, \ldots, W_k) \end{align*}\] The inequality holds because \(c_k > 0\) and \(b_k > 0\) which in particular implies that \(\delta(V_0, \ldots, W_k) \geq k + c_k \geq k + 1\).

Proof of (3). Given \(y \in Y\) and \(z \in \overline{\{y\}} \cap Z\) we get the system \[V_0 = \overline{\{z\}} \subset W_0 = \overline{\{y\}}\] and \(c_0 = \text{codim}(V_0, W_0) = \dim(\mathcal{O}_{\overline{\{y\}}, z})\) by Properties, Lemma 28.10.3. Thus we see that \(\delta(V_0, W_0) = 0 + c_0 = c_0\) which proves what we want.

Proof of (4). Let \(\delta\) be a dimension function on \(Y\). Let \(V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \subset W_k\) be a system for \(y\). Let \(y'_i \in W_i\) and \(y_i \in V_i\) be the generic points, so \(y_0 \in Z\) and \(y_k = y\). Then we see that \[\delta(y_i) - \delta(y_{i - 1}) = \delta(y'_{i - 1}) - \delta(y_{i - 1}) - \delta(y'_{i - 1}) + \delta(y_i) = c_{i - 1} - b_{i - 1}\] Finally, we have \(\delta(y'_k) - \delta(y_{k - 1}) = c_k\). Thus we see that \[\delta(y) - \delta(y_0) = c_0 + \ldots + c_k - b_0 - \ldots - b_{k - 1}\] We conclude \(\delta(V_0, W_0, \ldots, W_k) \geq k + \delta(y) - \delta(y_0)\) which proves what we want.

Proof of (5). The function \(\delta(y) = \dim(\overline{\{y\}})\) is a dimension function. Hence \(\delta(y) \leq \delta_Z(y)\) by part (4). By part (3) we have \(\delta_Z(y) \leq \delta(y)\) and we are done.

Proof of (6). This is clear as their are fewer systems to consider in the computation of \(\delta^{Y'}_{Y' \cap Z}\).

Proof of (7). Let \(V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \subset W_k\) be a system for \(y\). Set \(W'_k = \overline{\{y'\}}\). Since \(Y\) is catenary, we see that \(\text{codim}(V_k, W'_k) = \text{codim}(V_k, W_k) + 1\). It follows easily that \(\delta(V_0, \ldots, V_k, W'_k) \leq \delta(V_0, \ldots, V_k, W_k) + 1\) which proves what we want.

Proof of (8): combine (7) and (2).

Lemma 52.18.2 (0EIZ) official page ↗

Let \(Y\) be a universally catenary Noetherian scheme. Let \(Z \subset Y\) be a closed subscheme. Let \(f : Y' \to Y\) be a finite type morphism all of whose fibres have dimension \(\leq e\). Set \(Z' = f^{-1}(Z)\). Then \[\delta_Z(y) \leq \delta_{Z'}(y') + e - \text{trdeg}_{\kappa(y)}(\kappa(y'))\] for \(y' \in Y'\) with image \(y \in Y\).

Proof. If \(\delta_{Z'}(y') = \infty\), then there is nothing to prove. If \(\delta_{Z'}(y') < \infty\), then we choose a system of integral closed subschemes \[V'_0 \subset W'_0 \supset V'_1 \subset W'_1 \supset \ldots \subset W'_k\] of \(Y'\) with \(V'_0 \subset Z'\) and \(y'\) the generic point of \(W'_k\) such that \(\delta_{Z'}(y') = \delta(V'_0, W'_0, \ldots, W'_k)\). Denote \[V_0 \subset W_0 \supset V_1 \subset W_1 \supset \ldots \subset W_k\] the scheme theoretic images of the above schemes in \(Y\). Observe that \(y\) is the generic point of \(W_k\) and that \(V_0 \subset Z\). For each \(i\) we look at the diagram \[\xymatrix{ V'_i \ar[r] \ar[d] & W'_i \ar[d] & V'_{i + 1} \ar[l] \ar[d] \\ V_i \ar[r] & W_i & V_{i + 1} \ar[l] }\] Denote \(n_i\) the relative dimension of \(V'_i/V_i\) and \(m_i\) the relative dimension of \(W'_i/W_i\); more precisely these are the transcendence degrees of the corresponding extensions of the function fields. Set \(c_i = \text{codim}(V_i, W_i)\), \(c'_i = \text{codim}(V'_i, W'_i)\), \(b_i = \text{codim}(V_{i + 1}, W_i)\), and \(b'_i = \text{codim}(V'_{i + 1}, W'_i)\). By the dimension formula we have \[c_i = c'_i + n_i - m_i \quad\text{and}\quad b_i = b'_i + n_{i + 1} - m_i\] See Morphisms, Lemma 29.53.1. Hence \(c_i - b_i = c'_i - b'_i + n_i - n_{i + 1}\). Thus we see that \[\begin{align*} & c_i + c_{i + 1} + \ldots + c_k - b_i - b_{i + 1} - \ldots - b_{k - 1} \\ & = c'_i + c'_{i + 1} + \ldots + c'_k - b'_i - b'_{i + 1} - \ldots - b'_{k - 1} + n_i - n_k + c_k - c'_k \\ & = c'_i + c'_{i + 1} + \ldots + c'_k - b'_i - b'_{i + 1} - \ldots - b'_{k - 1} + n_i - m_k \end{align*}\] Thus we see that \[\begin{align*} \max_{i = 0, \ldots, k} & (c_i + c_{i + 1} + \ldots + c_k - b_i - b_{i + 1} - \ldots - b_{k - 1}) \\ & = \max_{i = 0, \ldots, k} (c'_i + c'_{i + 1} + \ldots + c'_k - b'_i - b'_{i + 1} - \ldots - b'_{k - 1} + n_i - m_k) \\ & = \max_{i = 0, \ldots, k} (c'_i + c'_{i + 1} + \ldots + c'_k - b'_i - b'_{i + 1} - \ldots - b'_{k - 1} + n_i) - m_k \\ & \leq \max_{i = 0, \ldots, k} (c'_i + c'_{i + 1} + \ldots + c'_k - b'_i - b'_{i + 1} - \ldots - b'_{k - 1}) + e - m_k \end{align*}\] Since \(m_k = \text{trdeg}_{\kappa(y)}(\kappa(y'))\) we conclude that \[\delta(V_0, W_0, \ldots, W_k) \leq \delta(V'_0, W'_0, \ldots, W'_k) + e - \text{trdeg}_{\kappa(y)}(\kappa(y'))\] as desired.

Remark 52.18.3 (0EJ0) official page ↗

Let \(Y\) be a catenary Noetherian scheme and let \(Z \subset Y\) be a closed subset. By Lemma 52.18.1 we have \[\delta_Z(y) \leq \min \left\{ k \middle| \begin{matrix} \text{ there exist specializations in }Y \\ y_0 \leftarrow y'_0 \rightarrow y_1 \leftarrow y'_1 \rightarrow \ldots \leftarrow y'_{k - 1} \rightarrow y_k = y \\ \text{ with }y_0 \in Z\text{ and }y_i' \leadsto y_i \text{ immediate} \end{matrix} \right\}\] We claim that if \(Y\) is of finite type over a field, then equality holds. If we ever need this result we will formulate a precise result and prove it here. However, in general if we define \(\delta_Z\) by the right hand side of this inequality, then we don’t know if Lemma 52.18.2 remains true.

Example 52.18.4 (0EJ1) official page ↗

Let \(k\) be a field and \(Y = \mathbf{A}^n_k\). Denote \(\delta : Y \to \mathbf{Z}_{\geq 0}\) the usual dimension function.

  1. If \(Z = \{z\}\) for some closed point \(z\), then

    1. \(\delta_Z(y) = \delta(y)\) if \(y \leadsto z\) and

    2. \(\delta_Z(y) = \delta(y) + 1\) if \(y \not \leadsto z\).

  2. If \(Z\) is a closed subvariety and \(W = \overline{\{y\}}\), then

    1. \(\delta_Z(y) = 0\) if \(W \subset Z\),

    2. \(\delta_Z(y) = \dim(W) - \dim(Z)\) if \(Z\) is contained in \(W\),

    3. \(\delta_Z(y) = 1\) if \(\dim(W) \leq \dim(Z)\) and \(W \not \subset Z\),

    4. \(\delta_Z(y) = \dim(W) - \dim(Z) + 1\) if \(\dim(W) > \dim(Z)\) and \(Z \not \subset W\).

A generalization of case (1) is if \(Y\) is of finite type over a field and \(Z = \{z\}\) is a closed point. Then \(\delta_Z(y) = \delta(y) + t\) where \(t\) is the minimum length of a chain of curves connecting \(z\) to a closed point of \(\overline{\{y\}}\).