Lemma 37.72.1. Given a cartesian square

with $\pi $ locally quasi-finite with finite fibres and a function $w : U \to \mathbf{Z}$ we have $(\int _\pi w) \circ g = \int _{\pi '} (w \circ h)$.

The material in this section is taken from [Exposee XVII, 6.2.4, SGA4].

Let $\pi : U \to V$ be a locally quasi-finite morphism of schemes with finite fibres. Given a function $w : U \to \mathbf{Z}$ we define a function

\[ \textstyle {\int }_\pi w : V \longrightarrow \mathbf{Z},\quad v \longmapsto \sum \nolimits _{u \in U,\ \pi (u) = v} w(u) [\kappa (u) : \kappa (v)]_ s \]

Note that the field extensions are finite (Morphisms, Lemma 29.20.5), $[\kappa ' : \kappa ]_ s$ is the separable degree (Fields, Definition 9.14.7), and the sum is finite as the fibres of $\pi $ are assumed finite. Another way to compute the value of $\int _\pi w$ at a point $v \in V$ is as follows. Choose an algebraically closed field $k$ and a morphism $\overline{v} : \mathop{\mathrm{Spec}}(k) \to V$ whose image is $v$. Then we have

\[ (\textstyle {\int }_\pi w)(v) = \sum \nolimits _{\overline{u} \in U_{\overline{v}}} w(\overline{u}) \]

where of course $w(\overline{u})$ denotes the value of $w$ at the image $u$ of the point $\overline{u}$ under the morphism $U_{\overline{v}} \to U$. Note that we may view $\overline{u} \in U_{\overline{v}}$ as morphisms $\overline{u} : \mathop{\mathrm{Spec}}(k) \to U$ such that $\pi \circ \overline{u} = \overline{v}$. Namely, since $U \to V$ is locally quasi-finite with finite fibres, the scheme $U_{\overline{v}}$ is the spectrum of a finite dimension algebra over $k$ and all of whose prime ideals are maximal ideals with residue field $k$. To see that the equality holds, note that the number of morphisms $\overline{u}$ lying over a given $u$ is equal to $[\kappa (u) : \kappa (v)]_ s$ by Fields, Lemma 9.14.8.

Lemma 37.72.1. Given a cartesian square

\[ \xymatrix{ U \ar[d]_\pi & U' \ar[l]^ h \ar[d]^{\pi '} \\ V & V' \ar[l]_ g } \]

with $\pi $ locally quasi-finite with finite fibres and a function $w : U \to \mathbf{Z}$ we have $(\int _\pi w) \circ g = \int _{\pi '} (w \circ h)$.

**Proof.**
This follows immediately from the second description of $\int _\pi w$ given above. To prove it from the definition, you use that if $E/F$ is a finite extension of fields and $F'/F$ is another field extension, then writing $(E \otimes _ F F')_{red} = \prod E'_ i$ as a product of fields finite over $F'$, we have

\[ [E : F]_ s = \sum [E'_ i : F']_ s \]

To prove this equality pick an algebraically closed field extension $\Omega /F'$ and observe that

\begin{align*} [E : F]_ s & = |\mathop{\mathrm{Mor}}\nolimits _ F(E, \Omega )| \\ & = |\mathop{\mathrm{Mor}}\nolimits _{F'}(E \otimes _ F F', \Omega )| \\ & = |\mathop{\mathrm{Mor}}\nolimits _{F'}((E \otimes _ F F')_{red}, \Omega )| \\ & = \sum |\mathop{\mathrm{Mor}}\nolimits _{F'}(E'_ i, \Omega )| \\ & = \sum [E'_ i : F']_ s \end{align*}

where we have used Fields, Lemma 9.14.8. $\square$

Definition 37.72.2. Let $f : X \to Y$ be a locally quasi-finite morphism. A *weighting* or a *pondération* of $f$ is a map $w : X \to \mathbf{Z}$ such that for any diagram

\[ \xymatrix{ X \ar[d]_ f & U \ar[l]^ h \ar[d]^\pi \\ Y & V \ar[l]_ g } \]

where $V \to Y$ is étale, $U \subset X_ V$ is open, and $U \to V$ finite, the function $\int _\pi (w \circ h)$ is locally constant.

Of course taking $w = 0$ we obtain a weighting of any locally quasi-finite morphism $f$, albeit not a very interesting one. It will turn out that *positive* weigthings, i.e., $w : X \to \mathbf{Z}_{> 0}$ are the most interesting ones for various purposes.

Lemma 37.72.3. Let $f : X \to Y$ be a locally quasi-finite morphism. Let $w : X \to \mathbf{Z}$ be a weighting. Let $f' : X' \to Y'$ be the base change of $f$ by a morphism $Y' \to Y$. Then the composition $w' : X' \to \mathbf{Z}$ of $w$ and the projection $X' \to X$ is a weighting of $f'$.

**Proof.**
Consider a diagram

\[ \xymatrix{ X' \ar[d]_{f'} & U' \ar[l]^{h'} \ar[d]^{\pi '} \\ Y' & V' \ar[l]_{g'} } \]

as in Definition 37.72.2 for the morphism $f'$. For any $v' \in V'$ we have to show that $\int _{\pi '} (w' \circ h')$ is constant in an open neighbourhood of $v'$. By Lemma 37.72.1 (and the fact that étale morphisms are open) we may replace $V'$ by any étale neighbourhood of $v'$. After replacing $V'$ by an étale neighbourhood of $v'$ we may assume that $U' = U'_1 \amalg \ldots \amalg U'_ n$ where each $U'_ i$ has a unique point $u'_ i$ lying over $v'$ such that $\kappa (u'_ i)/\kappa (v')$ is purely inseparable, see Lemma 37.40.5. Clearly, it suffices to prove that $\int _{U'_ i \to V'} w'|_{U'_ i}$ is constant in a neighbourhood of $v'$. This reduces us to the case discussed in the next paragraph.

We have $v' \in V'$ and there is a unique point $u'$ of $U'$ lying over $v'$ with $\kappa (u')/\kappa (v')$ purely inseparable. Denote $x \in X$ and $y \in Y$ the image of $u'$ and $v'$. We can find an étale neighbourhood $(V, v) \to (Y, y)$ and an open $U \subset X_ V$ such that $\pi : U \to V$ is finite and such that there is a unique point $u \in U$ lying over $v$ which maps to $x \in X$ via the projection $h : U \to X$ such that moreover $\kappa (u)/\kappa (v)$ is purely inseparable. This is possible by the lemma used above. Consider the morphism

\[ U'' = U \times _ X U' \longrightarrow V \times _ Y V' = V'' \]

Since $u$ and $u'$ both map to $x \in X$ there is a point $u'' \in U''$ mapping to $(u, u')$. Denote $v'' \in V''$ the image of $u''$. After replacing $V', v'$ by $V'', v''$ we may assume that the composition $V' \to Y' \to Y$ factors through a map of étale neighbourhoods $(V', v') \to (V, v)$ such that the induced morphism $X'_{V'} = X_{V'} \to X_ V$ sends $u'$ to $u$. Inside the base change $X'_{V'} = X_{V'}$ we have two open subschemes, namely $U'$ and the inverse image $U_{V'}$ of $U \subset X_ V$. By construction both contain a unique point lying over $v'$, namely $u'$ for both of them. Thus after shrinking $V'$ we may assume these open subsets are the same; namely, $U' \setminus (U' \cap U_{V'})$ and $U_{V'} \setminus (U' \cap U_{V'})$ have a closed image in $V'$ and these images do not contain $v'$. Thus $U' = U_{V'}$ and we find a cartesian diagram as in Lemma 37.72.1. Since $\int _\pi (w \circ h)$ is locally constant by assumption we conclude. $\square$

Lemma 37.72.4. Let $f : X \to Y$ be a locally quasi-finite morphism. Let $w : X \to \mathbf{Z}$ be a weighting of $f$. If $X' \subset X$ is open, then $w|_{X'}$ is a weighting of $f|_{X'} : X' \to Y$.

**Proof.**
Immediate from the definition.
$\square$

Lemma 37.72.5. Let $f : X \to Y$ and $g : Y \to Z$ be locally quasi-finite morphisms. Let $w_ f : X \to \mathbf{Z}$ be a weighting of $f$ and let $w_ g : Y \to \mathbf{Z}$ be a weighting of $g$. Then the function

\[ X \longrightarrow \mathbf{Z},\quad x \longmapsto w_ f(x) w_ g(f(x)) \]

is a weighting of $g \circ f$.

**Proof.**
Let us set $w_{g \circ f}(x) = w_ f(x) w_ g(f(x))$ for $x \in X$. Consider a diagram

\[ \xymatrix{ X \ar[d]_{g \circ f} & U \ar[l] \ar[d]^\pi \\ Z & W \ar[l] } \]

where $W \to Z$ is étale, $U \subset X_ W$ is open, and $U \to W$ finite. We have to show that $\int _\pi w_{g \circ f}|_ U$ is locally constant. Choose a point $w \in W$. By Lemma 37.72.1 (and the fact that étale morphisms are open) it suffices to show that $\int _\pi w_{g \circ f}|_ U$ is constant after replacing $(W, w)$ by an étale neighbourhood. After replacing $(W, w)$ by an étale neighbourhood we may assume $U = U_1 \amalg \ldots \amalg U_ n$ where each $U_ i$ has a unique point $u_ i$ lying over $w$ such that $\kappa (u_ i)/\kappa (w)$ is purely inseparable, see Lemma 37.40.5. Clearly, it suffices to show that $\int _{U_ i \to W} w_{g \circ f}|_{U_ i}$ is constant in an étale neighbourhood of $w$. This reduces us to the case discussed in the next paragraph.

We have $w \in W$ and there is a unique point $u \in U$ lying over $w$ with $\kappa (u)/\kappa (w)$ purely inseparable. Consider the point $v = f(u) \in Y$. After replacing $(W, w)$ by an elementary étale neighbourhood we may assume there is an open neighbourhood $V \subset Y_ W$ of $v$ such that $V \to W$ is finite, see Lemma 37.40.1. Then $f_ W^{-1}(V) \cap U$ is an open neighbourhood of $u$ where $f_ W : X_ W \to Y_ W$ is the base change of $f$ to $W$. Hence after Zariski shrinking $W$, we may assume $f_ W(U) \subset V$. Thus we obtain morphisms

\[ U \xrightarrow {a} V \xrightarrow {b} W \]

and $U \to V$ is finite as $V \to W$ is separated (because finite). Since $w_ f$ and $w_ g$ are weightings of $f$ and $g$ we see that $\int _ a w_ f|_ U$ is locally constant on $V$ and $\int _ b w_ g|_ V$ is locally constant on $W$. Thus after shrinking $W$ one more time we may assume these functions are constant say with values $n$ and $m$. It follows immediately that $\int _\pi w_{g \circ f}|_ U = \int _{b \circ a} w_{g \circ f}|_ U$ is constant with value $nm$ as desired. $\square$

Lemma 37.72.6. Let $f : X \to Y$ be a locally quasi-finite morphism. Let $w : X \to \mathbf{Z}$ be a weighting. If $w(x) > 0$ for all $x \in X$, then $f$ is universally open.

**Proof.**
Since the property is preserved by base change, see Lemma 37.72.3, it suffices to prove that $f$ is open. Since we may also replace $X$ by any open of $X$, it suffices to prove that $f(X)$ is open. Let $y \in f(X)$. Choose $x \in X$ with $f(x) = y$. It suffices to prove that $f(X)$ contains an open neighbourhood of $y$ and it suffices to do so after replacing $Y$ by an étale neighbourhood of $y$. By étale localization of quasi-finite morphisms, see Section 37.40, we may assume there is an open neighbourhood $U \subset X$ of $x$ such that $\pi = f|_ U : U \to Y$ is finite. Then $\int _\pi w|_ U$ is locally constant and has positive value at $y$. Hence $\pi (U)$ contains an open neighbourhood of $y$ and the proof is complete.
$\square$

Lemma 37.72.7. Let $f : X \to Y$ be a morphism of schemes. Assume $f$ is locally quasi-finite, locally of finite presentation, and flat. Then there is a positive weighting $w : X \to \mathbf{Z}_{> 0}$ of $f$ given by the rule that sends $x \in X$ lying over $y \in Y$ to

\[ w(x) = \text{length}_{\mathcal{O}_{X, x}} (\mathcal{O}_{X, x}/\mathfrak m_ y \mathcal{O}_{X, x}) [\kappa (x) : \kappa (y)]_ i \]

where $[\kappa ' : \kappa ]_ i$ is the inseparable degree (Fields, Definition 9.14.7).

**Proof.**
Consider a diagram as in Definition 37.72.2. Let $u \in U$ with images $x, y, v$ in $X, Y, V$. Then we claim that

\[ \text{length}_{\mathcal{O}_{X, x}} (\mathcal{O}_{X, x}/\mathfrak m_ y \mathcal{O}_{X, x}) = \text{length}_{\mathcal{O}_{U, u}} (\mathcal{O}_{U, u}/\mathfrak m_ v \mathcal{O}_{U, u}) \]

and

\[ [\kappa (x) : \kappa (y)]_ i = [\kappa (u) : \kappa (v)]_ i \]

The first equality follows as $\mathcal{O}_{X, x} \to \mathcal{O}_{U, u}$ is a flat local homomorphism such that $\mathfrak m_ y \mathcal{O}_{U, u} = \mathfrak m_ v \mathcal{O}_{U, u}$ and $\mathfrak m_ x \mathcal{O}_{U, u} = \mathfrak m_ u$ (because $\mathcal{O}_{Y, y} \to \mathcal{O}_{V, v}$ and $\mathcal{O}_{X, x} \to \mathcal{O}_{U, u}$ are unramified) and hence the equality by Algebra, Lemma 10.52.13. The second equality follows because $\kappa (v)/\kappa (y)$ is a finite separable extension and $\kappa (u)$ is a factor of $\kappa (x) \otimes _{\kappa (y)} \kappa (v)$ and hence the inseparable degree is unchanged. Having said this, we see that formation of the function in the lemma commutes with étale base change. This reduces the problem to the discussion of the next paragraph.

Assume that $f$ is a finite, flat morphism of finite presentation. We have to show that $\int _ f w$ is locally constant on $Y$. In fact, $f$ is finite locally free (Morphisms, Lemma 29.48.2) and we will show that $\int _ f w$ is equal to the degree of $f$ (which is a locally constant function on $Y$). Namely, for $y \in Y$ we see that

\begin{align*} (\textstyle {\int }_ f w)(y) & = \sum \nolimits _{f(x) = y} \text{length}_{\mathcal{O}_{X, x}} (\mathcal{O}_{X, x}/\mathfrak m_ y \mathcal{O}_{X, x}) [\kappa (x) : \kappa (y)]_ i [\kappa (x) : \kappa (y)]_ s \\ & = \sum \nolimits _{f(x) = y} \text{length}_{\mathcal{O}_{X, x}} (\mathcal{O}_{X, x}/\mathfrak m_ y \mathcal{O}_{X, x}) [\kappa (x) : \kappa (y)] \\ & = \text{length}_{\mathcal{O}_{Y, y}}((f_*\mathcal{O}_ X)_ y/ \mathfrak m_ y (f_*\mathcal{O}_ X)_ y) \end{align*}

Last equality by Algebra, Lemma 10.52.12. The final number is the rank of $f_*\mathcal{O}_ X$ at $y$ as desired. $\square$

Lemma 37.72.8. Let $f : X \to Y$ be a morphism of schemes. Assume

$f$ is locally quasi-finite, and

$Y$ is geometrically unibranch and locally Noetherian.

Then there is a weighting $w : X \to \mathbf{Z}_{\geq 0}$ given by the rule that sends $x \in X$ lying over $y \in Y$ to the “generic separable degree” of $\mathcal{O}_{X, x}^{sh}$ over $\mathcal{O}_{Y, y}^{sh}$.

**Proof.**
It follows from Algebra, Lemma 10.156.3 that $\mathcal{O}_{Y, y}^{sh} \to \mathcal{O}_{X, x}^{sh}$ is finite. Since $Y$ is geometrically unibranch there is a unique minimal prime $\mathfrak p$ in $\mathcal{O}_{Y, y}^{sh}$, see More on Algebra, Lemma 15.106.5. Write

\[ (\kappa (\mathfrak p) \otimes _{\mathcal{O}_{Y, y}^{sh}} \mathcal{O}_{X, x}^{sh})_{red} = \prod K_ i \]

as a finite product of fields. We set $w(x) = \sum [K_ i : \kappa (\mathfrak p)]_ s$.

Since this definition is clearly insensitive to étale localization, in order to show that $w$ is a weighting we reduce to showing that if $f$ is a finite morphism, then $\int _ f w$ is locally constant. Observe that the value of $\int _ f w$ in a generic point $\eta $ of $Y$ is just the number of points of the geometric fibre $X_{\overline{\eta }}$ of $X \to Y$ over $\eta $. Moreover, since $Y$ is unibranch a point $y$ of $Y$ is the specialization of a unique generic point $\eta $. Hence it suffices to show that $(\int _ f w)(y)$ is equal to the number of points of $X_{\overline{\eta }}$. After passing to an affine neighbourhood of $y$ we may assume $X \to Y$ is given by a finite ring map $A \to B$. Suppose $\mathcal{O}_{Y, y}^{sh}$ is constructed using a map $\kappa (y) \to k$ into an algebraically closed field $k$. Then

\[ \mathcal{O}_{Y, y}^{sh} \otimes _ A B = \prod \nolimits _{f(x) = y} \prod \nolimits _{\varphi \in \mathop{\mathrm{Mor}}\nolimits _{\kappa (y)}(\kappa (x), k)} \mathcal{O}_{X, x}^{sh} \]

by Algebra, Lemma 10.153.4 and the lemma used above. Observe that the minimal prime $\mathfrak p$ of $\mathcal{O}_{Y, y}^{sh}$ maps to the prime of $A$ corresponding to $\eta $. Hence we see that the desired equality holds because the number of points of a geometric fibre is unchanged by a field extension. $\square$

Your email address will not be published. Required fields are marked.

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).

Unfortunately JavaScript is disabled in your browser, so the comment preview function will not work.

All contributions are licensed under the GNU Free Documentation License.

## Comments (0)