Stacks Project 리더 · 제안(AI)

이 제안은 영어로 작성되었습니다.

태그 055R의 확장 제안

보조정리 37.29.6 (055R): 이 사이트의 태그 · 공식 페이지 ↗

AI 통합판의 본문

Lemma

Let \(f : X \to Y\), \(s : Y \to X\) be as in Situation 37.29.1. Assume

  1. \(f\) is of finite presentation and flat, and

  2. all fibres of \(f\) are geometrically reduced.

Then \(X^0\) is open in \(X\).

Proof. This is an immediate consequence of Lemma 37.29.5.

Stacks 본문(수정 적용 후)과의 차이

--- Stacks (corrected)
+++ AI-integrated edition
@@ -0,0 +1,607 @@
+\end{proof}
+
+\begin{lemma}
+\label{lemma-torsion-component-locus-open}
+Let $S$ be a locally Noetherian scheme. Let $f : G \to S$ be a commutative
+group scheme locally of finite type over $S$. For $s \in S$, denote $G_s^0$ the
+connected component of the identity of $G_s$. Then
+$$
+G^\tau = \{x \in G \mid [n](x) \in G_{f(x)}^0
+\text{ for some }n \geq 1\}
+$$
+is an open subgroup scheme of $G$. Formation of this open subscheme commutes
+with arbitrary base change between locally Noetherian schemes.
+\end{lemma}
+
+\begin{proof}
+The assertion about base change follows from
+Lemma \ref{lemma-base-change-connected-along-section}. We first show that
+for every section $a : S \to G$ the set
+$$
+T_a = \{s \in S \mid a(s) \in G_s^\tau\}
+$$
+is open. We may work over an affine open of $S$ and hence assume that $S$
+is Noetherian.
+
+\medskip\noindent
+We claim that $T_a$ is stable under generalization. Let $s'$ be a
+specialization of $s$ and suppose that $s' \in T_a$. The powers of $a(s')$
+lie in finitely many connected components of $G_{s'}$. Each of these
+components is a translate of $G_{s'}^0$ and is quasi-compact by Groupoids,
+Proposition \ref{groupoids-proposition-connected-component}. Hence there is
+a quasi-compact open $W \subset G$ which contains all the powers of $a(s')$.
+Since $a(s)$ is a generalization of $a(s')$, all the powers of $a(s)$ lie
+in $W_s$. Connected components of the locally Noetherian scheme $G_s$ are
+open, and the quasi-compact scheme $W_s$ meets only finitely many of them.
+Two powers of $a(s)$ therefore lie in the same connected component.
+Translation by the inverse of the smaller power shows that a positive power
+of $a(s)$ lies in $G_s^0$. Thus $s \in T_a$, proving the claim.
+
+\medskip\noindent
+Let $Z \subset S$ be an irreducible closed subset with generic point $\eta$.
+If $T_a \cap Z$ is nonempty, then $\eta \in T_a$ by the claim. Choose
+$n \geq 1$ such that $[n](a(\eta)) \in G_\eta^0$. The subset
+$G^0 = \bigcup G_s^0$ is locally constructible by
+Lemma \ref{lemma-connected-along-section-locally-constructible}. Hence
+$([n] \circ a)^{-1}(G^0) \cap Z$ is constructible and contains $\eta$.
+It contains a nonempty open of $Z$ by Topology, Lemma
+\ref{topology-lemma-generic-point-in-constructible}. It follows from
+Topology, Lemma
+\ref{topology-lemma-characterize-constructible-Noetherian}
+that $T_a$ is constructible. Since it is stable under generalization, it is
+open by Topology, Lemma
+\ref{topology-lemma-characterize-closed-Noetherian}.
+
+Apply this result after base change by $G \to S$ to the section of
+$G \times_S G \to G$ which maps $x$ to $(x, x)$. Its inverse image of the
+torsion-component locus is $G^\tau$. Thus $G^\tau$ is open. It is a subgroup
+fibrewise, and hence its open subscheme structure makes it an open subgroup
+scheme of $G$.
+\end{proof}
+
+\begin{lemma}
+\label{lemma-order-in-component-group-constructible}
+In the situation of Lemma \ref{lemma-torsion-component-locus-open}, define
+$$
+\nu : G^\tau \longrightarrow \{1, 2, 3, \ldots\}, \qquad
+\nu(x) = \min\{n \geq 1 \mid [n](x) \in G_{f(x)}^0\}.
+$$
+Every point of $G^\tau$ has a neighbourhood on which $\nu$ has finite image
+and all its level sets are constructible.
+
+For $s \in S$, let $p(s)$ be the characteristic exponent of $\kappa(s)$.
+With the convention that every positive integer is prime to $1$ and that
+the only power of $1$ is $1$, set
+$$
+G^\sigma = \{x \in G^\tau \mid (\nu(x),p(f(x)))=1\}.
+$$
+The residue-characteristic-primary locus is
+$$
+G^\rho = \{x \in G^\tau \mid
+\nu(x)\text{ is a power of }p(f(x))\}.
+$$
+Then $G^\sigma$ and $G^\rho$ are locally constructible. If
+$G^0 = \bigcup G_s^0$ is closed in $G$, then $G^\tau$ is open and closed and
+$G^\rho$ is closed. If, in addition, $p(s)$ is constant on $S$, then
+$G^\sigma$ is closed as well.
+\end{lemma}
+
+\begin{proof}
+Let $x \in G^\tau$. By Lemma
+\ref{lemma-torsion-component-locus-open}, we can choose a quasi-compact
+open neighbourhood $U \subset G^\tau$ of $x$. For $n \geq 1$, set
+$$
+E_n = U \cap [n]^{-1}(G^0).
+$$
+These are constructible subsets of the Noetherian scheme $U$ by
+Lemma \ref{lemma-connected-along-section-locally-constructible}. They cover
+$U$. Constructible subsets are open in the constructible topology, and this
+topology on $U$ is quasi-compact by Topology, Lemma
+\ref{topology-lemma-constructible-hausdorff-quasi-compact}. Thus finitely many
+$E_{n_1}, \ldots, E_{n_r}$ cover $U$. It follows that every value of $\nu$
+on $U$ divides one of the $n_i$. In particular $\nu$ has finite image on
+$U$. Moreover, for $n \geq 1$ we have
+$$
+\{u \in U \mid \nu(u)=n\} =
+E_n \setminus \bigcup_{\substack{d \mid n \\ d < n}} E_d,
+$$
+which is constructible. This proves the first assertion.
+
+There are only finitely many values of $\nu$ on $U$. On the level set where
+$\nu=n$, the condition defining $G^\sigma$ is the inverse image of
+$$
+S\setminus\bigcup_{q\mid n}V(q),
+$$
+where $q$ runs through the prime divisors of $n$. The condition defining
+$G^\rho$ is automatic if $n=1$, is the inverse image of $V(q)$ if
+$n=q^h$ is a power of a prime, and is empty otherwise. These descriptions
+prove the local constructibility of both loci without an
+equal-characteristic hypothesis.
+
+Suppose $G^0$ is closed. If $x \in G^\tau$ specializes to $x'$, then
+$[n](x) \in G^0$ for some $n$, and hence $[n](x') \in G^0$. Thus
+$G^\tau$ is stable under specialization. Since it is locally constructible,
+it is closed by Topology, Lemma
+\ref{topology-lemma-characterize-closed-Noetherian}.
+
+Suppose $p(s)$ is constant, say equal to $p$. If $\nu(x)$ is prime to $p$,
+the integer $n$ can be chosen prime to $p$. Hence $G^\sigma$ is stable under
+specialization and its local constructibility proves that it is closed.
+
+It remains to treat $G^\rho$ without a restriction on the residue
+characteristics. Suppose $x \leadsto x'$ is a specialization in $G$ with
+$x \in G^\rho$. If $p(f(x))=1$, then $\nu(x)=1$, so $x\in G^0$ and closedness
+of $G^0$ gives $x'\in G^0\subset G^\rho$. If $p(f(x))=p$ is prime, then the
+specialization $f(x')$ also has characteristic exponent $p$. For some
+$h\geq 0$ we have $[p^h](x)\in G^0$, and hence
+$[p^h](x')\in G^0$. Thus $x'\in G^\rho$. We conclude that $G^\rho$ is stable
+under specialization; its local constructibility proves that it is closed.
+\end{proof}
+
+\begin{lemma}
+\label{lemma-primary-component-locus-open}
+\begin{reference}
+\cite[Expos\'e 236, Theorem 1.1(iv), pp. 224 and 227]{FGA}.
+\end{reference}
+Let $S$ be a locally Noetherian scheme and let $G \to S$ be a commutative
+group scheme locally of finite type. Assume there is a $p$, equal to $1$ or
+to a prime number, which is the characteristic exponent of every residue
+field of $S$. If
+$$
+[n] : G \longrightarrow G
+$$
+is open for every $n \geq 1$ prime to $p$, then the $p$-primary
+component locus
+$$
+G^\rho = \{x \in G \mid [p^h](x) \in G_{f(x)}^0
+\text{ for some }h \geq 0\}
+$$
+is open in $G$.
+\end{lemma}
+
+\begin{proof}
+The subset $G^\rho$ is locally constructible by
+Lemma \ref{lemma-order-in-component-group-constructible}. It is therefore
+enough to prove that it is stable under generalization. Let $x' \leadsto x$
+be a generalization with $x \in G^\rho$, and write $y=f(x)$. Replacing
+$x$ and $x'$ by their images under a suitable $[p^h]$, it is enough to
+consider the case $x \in G_y^0$.
+
+Choose a quasi-compact open $U \subset G^\tau$ which contains $G_y^0$.
+This is possible because $G_y^0$ is quasi-compact. By
+Lemma \ref{lemma-order-in-component-group-constructible} the function
+$\nu$ has finite image on $U$. Let $m$ be a common multiple of the
+prime-to-$p$ parts of all the integers $\nu(z)$ for $z \in U$.
+
+Groupoids, Lemma
+\ref{groupoids-lemma-connected-group-power-surjective} gives
+$[m](G_y^0)=G_y^0$. As $G_y^0 \subset U$, it follows that
+$x \in [m](U)$. The subset $[m](U)$ is open, and hence it contains the
+generalization $x'$. Choose $z \in U$ with $[m](z)=x'$. Multiplication by
+$m$ kills the prime-to-$p$ part of the order of the image of $z$ in its
+fibrewise component group. Thus the image of $x'$ has $p$-power order, so
+$x' \in G^\rho$, as desired.
+\end{proof}
+
+\begin{example}[An open primary locus whose structure morphism is not open]
+\label{example-primary-component-open-not-universally-open}
+Let $k$ be a field of characteristic $p>0$, let $R=k[[t]]$, and put
+$S=\Spec(R)$. The ideal
+$$
+(tx,x^p-x)\subset R[x]
+$$
+is a Hopf ideal for the additive group law. Hence
+$$
+G=\Spec\bigl(R[x]/(tx,x^p-x)\bigr)
+$$
+is a commutative finite group scheme over $S$.
+
+The generic fibre of $G$ is the trivial group, while the special fibre is
+the constant group $\mathbf Z/p\mathbf Z$. Thus $G^0=e(S)$ and
+$G^\rho=G$. Every geometric identity component is trivial and in particular
+contains no subgroup isomorphic to $\mathbf G_a$. Moreover, for every $n$
+prime to $p$, multiplication by $n$ is an automorphism of $G$.
+
+Nevertheless, $G\to S$ is not open. Indeed, $D(x)\subset G$ is a nonempty
+open subset contained in the special fibre, and its image is the closed point
+of $S$. Thus openness of the primary component locus in $G$, even together
+with prime-to-characteristic power-map openness and the absence of additive
+identity components, does not imply that $G^\rho\to S$ is open.
+\end{example}
+
+\begin{lemma}
+\label{lemma-power-kernel-density-universally-open}
+\begin{reference}
+Corrected form of \cite[Expos\'e 236, Corollary 1.5, pp. 227--228]{FGA}.
+\end{reference}
+Let $S$ be a locally Noetherian scheme and let $G \to S$ be a commutative
+group scheme locally of finite type. Let $n > 1$ and assume that
+$$
+[n] : G \longrightarrow G
+$$
+is universally open. For $h \geq 0$, set
+$$
+G^{(n^h)} = [n^h]^{-1}(G^0)
+$$
+as a subset of $G$, where $G^0$ is the identity-component locus. Assume that,
+for every algebraically closed field $k$ and every morphism
+$\Spec(k) \to S$, the subset
+$$
+\bigcup_{h \geq 0} \left|\Ker([n^h] : G_k \to G_k)\right|
+$$
+is dense in $\bigcup_{h \geq 0}G^{(n^h)}_k$. Then $G \to S$ is universally
+open along $\bigcup_{h \geq 0}G^{(n^h)}$.
+\end{lemma}
+
+\begin{proof}
+The morphism $[n^h]$ is universally open because it is an iterate of $[n]$.
+Its kernel $K_h \to S$ is the base change of $[n^h]$ by the identity section
+$S \to G$, and hence is universally open. By
+Lemma \ref{lemma-universally-open-along}, the structure morphism $G \to S$
+is universally open along $|K_h|$, and therefore along
+$\bigcup_{h \geq 0}|K_h|$. The density hypothesis and
+Lemma \ref{lemma-universally-open-along-fibrewise-dense} give the result.
+\end{proof}
+
+\begin{remark}
+\label{remark-power-kernel-density-characteristic}
+The density hypothesis in
+Lemma \ref{lemma-power-kernel-density-universally-open} cannot be omitted.
+For example, if $k$ is algebraically closed of characteristic $p > 0$ and
+$G = \mathbf{G}_{m,k}$, then $[p]$ is finite locally free and hence
+universally open, and $G$ has no subgroup isomorphic to $\mathbf{G}_a$.
+Nevertheless, the underlying set of every $\Ker([p^h])$ is just
+the identity whereas $G^{(p^h)}=G$. Thus the unrestricted density assertion
+in the proof of the cited corollary is false when the residue characteristic
+divides $n$. When $n$ is invertible and the geometric identity components
+have no additive subgroup, the classical structure theorem for connected
+commutative algebraic groups supplies the required density of $n$-primary
+torsion. This prime-to-characteristic restriction is essential for that
+argument.
+\end{remark}
+
+\begin{example}
+\label{example-nonseparated-component-loci-not-closed}
+\begin{reference}
+\cite[Expos\'e 236, Remark 1.9, pp. 229--230]{FGA}.
+\end{reference}
+Let $k$ be a field, put $S=\Spec(k[t])$, and, for every $n\in\mathbf Z$,
+let $S_n$ be a copy of $S$. Glue all the $S_n$ by identifying their open
+subschemes $D(t)$ using the identity maps. Denote the resulting scheme by
+$G$. The maps
+$$
+S_m\times_S S_n\longrightarrow S_{m+n}
+$$
+which are the identity on $S$, together with the maps
+$S_n\to S_{-n}$, glue to multiplication and inversion on $G$. The copy
+$S_0$ gives the neutral section. Thus $G\to S$ is a group scheme locally
+isomorphic to $S\to S$.
+
+Every fibre away from the origin of $S$ is the trivial group. The fibre at
+the origin is the constant, infinite discrete group $\mathbf Z$. It follows
+that, as underlying subsets,
+$$
+G^0=G^\tau=S_0.
+$$
+This subset is open, but it is not closed. Indeed, the common open $D(t)$ is
+dense in every chart $S_n$, and hence $S_0$ is dense in $G$. In particular,
+without a separatedness hypothesis neither the identity-component locus nor
+the torsion-component locus has to be closed. This example does not decide
+whether either locus is always closed for separated group schemes. The cited
+source also realizes this group as the closure of the neutral section in an
+open subgroup of the Picard prescheme of a family of conics degenerating to
+two intersecting lines.
+\end{example}
+
+\begin{example}
+\label{example-additive-kernel-identity-component-not-open}
+\begin{reference}
+\cite[Expos\'e 236, Remark 1.9, pp. 229--230]{FGA}.
+\end{reference}
+Let $V$ be a discrete valuation ring of characteristic $p>0$, let $t$ be a
+uniformizer, and set $S=\Spec(V)$. The additive polynomial
+$$
+a\longmapsto a^p-ta
+$$
+defines an endomorphism of $\mathbf G_{a,S}$. Its kernel is the finite locally
+free group scheme
+$$
+G=\Spec\bigl(V[x]/(x^p-tx)\bigr).
+$$
+The generic fibre is finite \'etale of degree $p$ and becomes the constant
+group $\mathbf Z/p\mathbf Z$ after a field extension. The special fibre is
+$\Spec(\kappa[x]/(x^p))$ and is connected. Consequently the underlying
+identity-component and prime-to-$p$ component loci are
+$$
+G^0=G^\sigma=e(S),
+$$
+where $e$ is the neutral section. This closed subset is not open. For
+example, after adjoining an element $u$ with $u^{p-1}=t$, the equation
+factors as
+$$
+x^p-u^{p-1}x=\prod_{a\in\mathbf F_p}(x-au),
+$$
+and all $p$ sections meet in the closed fibre. Thus even for a finite locally
+free separated group scheme the identity-component locus need not be open.
+\end{example}
+
+\begin{example}
+\label{example-mixed-characteristic-component-loci}
+\begin{reference}
+\cite[Expos\'e 236, Remark 1.9, p. 230]{FGA}.
+\end{reference}
+Let $V$ be a discrete valuation ring of mixed characteristic $(0,p)$, let
+$S=\Spec(V)$, and consider
+$$
+H=\mu_{p,S}=\Spec\bigl(V[z]/(z^p-1)\bigr),\qquad
+C=(\mathbf Z/p\mathbf Z)_S,
+$$
+and $G=H\times_S C$. This is a finite locally free separated group scheme.
+Its geometric generic fibre is the constant group
+$(\mathbf Z/p\mathbf Z)^2$. In the special fibre, $H$ is infinitesimal and
+connected while $C$ remains constant.
+
+Define the component loci fibrewise, using the characteristic exponent of
+the residue field in each fibre. Thus $G^\sigma$ is the inverse image of the
+torsion whose order is prime to the residue characteristic, while $G^\rho$
+is the inverse image of the primary part belonging to that characteristic.
+In characteristic zero the latter is the identity component. If $\eta$ and
+$s$ are the generic and closed points of $S$, then, as underlying subsets,
+$$
+G^\rho=e(S)\cup G_s,
+\qquad
+G^\sigma=e(S)\cup G_\eta.
+$$
+The first subset is not open: a nonidentity component of the special fibre
+has generic generalizations which it does not contain. The second subset is
+not closed: the closure of the generic fibre contains every point of the
+special fibre, whereas $G^\sigma$ contains only its identity component there.
+This shows why a fixed residue characteristic is essential in closedness
+statements for the two primary component loci.
+\end{example}
+
+\begin{lemma}
+\label{lemma-prime-to-characteristic-locus-universally-open}
+\begin{reference}
+\cite[Expos\'e 236, Theorem 1.1(iii), pp. 224 and 226--227]{FGA}.
+\end{reference}
+Let $S$ be a locally Noetherian scheme and let $G \to S$ be a commutative
+group scheme locally of finite type. Assume there is a $p$, equal to $1$ or
+to a prime number, which is the characteristic exponent of every residue
+field of $S$. Assume
+\begin{enumerate}
+\item the identity-component locus $G^0$ is closed in $G$, and
+\item $G \to S$ is universally open along $G^\sigma$.
+\end{enumerate}
+Then $G^\sigma$, endowed with its reduced induced closed subscheme structure,
+is universally open over $S$.
+\end{lemma}
+
+\begin{proof}
+The formation of the underlying component loci commutes with locally
+Noetherian base change, and $G^\sigma$ is closed by
+Lemma \ref{lemma-order-in-component-group-constructible}. In view of
+Lemma \ref{lemma-test-universally-open}, it is enough to prove that
+$G^\sigma \to S$ is open after a base change locally of finite presentation.
+Thus we may prove openness over $S$ itself.
+
+Since $G^\sigma \to S$ is locally of finite presentation, it is enough to
+show that generalizations lift, see Morphisms, Lemma
+\ref{morphisms-lemma-locally-finite-presentation-universally-open}. The usual
+trait criterion and quasi-section construction for an open morphism
+(see \cite[IV, Proposition 14.3.7]{EGA}) reduce us, after a further extension
+of the trait, to the following situation. The scheme $S$ is the spectrum of a
+discrete valuation ring, with closed point $y$ and generic point $y'$, and
+there is a section $g : S \to G$ with
+$$
+g(y)=x \in G^\sigma_y.
+$$
+Because $G^\tau$ is open, $g(y')$ belongs to $G^\tau_{y'}$. If $p=1$, then
+$G^\sigma_{y'}=G^\tau_{y'}$ and the section $g$ gives the required lift.
+
+Suppose $p>1$. Write $\nu(g(y'))=p^h m$ with $(m,p)=1$, and choose integers
+$a,b$ such that $ap^h+bm=1$. Put
+$$
+g_1=[ap^h]\circ g, \qquad g_2=[bm]\circ g.
+$$
+Then $g=g_1g_2$, the point $g_1(y')$ belongs to $G^\sigma_{y'}$, and
+$g_2(y')$ belongs to $G^\rho_{y'}$. Closedness of $G^\sigma$ and $G^\rho$
+gives $g_1(y)\in G^\sigma_y$ and $g_2(y)\in G^\rho_y$. Since
+$g(y)\in G^\sigma_y$, we also have $g_2(y)\in G^\sigma_y$, and hence
+$$
+g_2(y)\in G^\sigma_y\cap G^\rho_y=G^0_y.
+$$
+
+The restriction of $G \to S$ to the open subscheme
+$$
+G\setminus(G_y\setminus G^0_y)
+$$
+is an open morphism: at its closed-fibre points this follows from universal
+openness along $G^\sigma$, and at its generic-fibre points it is automatic.
+The component quasi-section construction in the cited proof, followed by an
+extension of the trait, gives a section $g'_2$ of the identity-component locus
+with $g'_2(y)=g_2(y)$. Set $g'=g_1g'_2$. Then
+$$
+g'(y)=g(y)=x
+\quad\text{and}\quad
+g'(y')=g_1(y')g'_2(y')\in G^\sigma_{y'}.
+$$
+Thus $g'(y')$ is a generalization of $x$ in $G^\sigma$ above $y'$. This proves
+that generalizations lift and hence proves the lemma.
+\end{proof}
+
+\begin{lemma}
+\label{lemma-prime-to-characteristic-torsion-dense}
+\begin{reference}
+Corrected prime-to-characteristic form of
+\cite[Expos\'e 236, Corollary 1.5, pp. 227--228]{FGA}.
+\end{reference}
+Let $k$ be an algebraically closed field of characteristic exponent $p$.
+Let $G$ be a commutative group scheme locally of finite type over $k$, and
+let $n > 1$ be prime to $p$. Assume that the identity component $G^0$
+contains no subgroup scheme isomorphic to $\mathbf{G}_a$. For $h \geq 0$, set
+$$
+G^{(n^h)}=[n^h]^{-1}(G^0).
+$$
+Then
+$$
+\bigcup_{h \geq 0}|\Ker([n^h])|
+$$
+is dense in $\bigcup_{h \geq 0}G^{(n^h)}$.
+\end{lemma}
+
+\begin{proof}
+The reduction $H=(G^0)_{red}$ is a smooth connected subgroup scheme, see
+Groupoids, Lemmas \ref{groupoids-lemma-reduced-subgroup-scheme-perfect},
+\ref{groupoids-lemma-reduced-group-scheme-prefect-field-characteristic-p-smooth},
+and \ref{groupoids-lemma-group-scheme-characteristic-zero-smooth}. The
+classical structure theorem for connected commutative algebraic groups says
+that the absence of an additive subgroup makes $H$ an extension of an
+abelian variety by a torus. The $n$-primary torsion is dense in such a group.
+Indeed, this is clear for a torus, it is the standard degree argument for an
+abelian variety, and it passes to an extension because multiplication by
+$n^r$ is surjective on the torus. Thus
+$$
+\bigcup_{h \geq 0}|\Ker([n^h] : H \to H)|
+$$
+is dense in $H$, and hence in $G^0$.
+
+Let $C$ be a connected component occurring in
+$\bigcup_{h \geq 0}G^{(n^h)}$. Since $k$ is algebraically closed, choose
+$g \in C(k)$. For some $r$ we have $[n^r](g) \in G^0(k)$. Multiplication by
+$n^r$ on $G^0$ is surjective by Groupoids, Lemma
+\ref{groupoids-lemma-connected-group-power-surjective}. Hence, after
+multiplying $g$ by a point of $G^0(k)$, we may assume that
+$[n^r](g)=e$. Translation by $g$ now shows that the $n$-primary torsion is
+dense in $C$. This proves the density assertion component by component.
+\end{proof}
+
+\begin{lemma}
+\label{lemma-group-scheme-fibre-dimension-upper-semicontinuous}
+\begin{reference}
+\cite[Expos\'e 236, Corollary 2.7, p. 234]{FGA}.
+\end{reference}
+Let $S$ be a scheme and let $G \to S$ be a group scheme locally of finite
+type. Then the function
+$$
+S \longrightarrow \{0,1,2,\ldots\}, \qquad
+s \longmapsto \dim(G_s)
+$$
+is upper semicontinuous.
+\end{lemma}
+
+\begin{proof}
+Let $e:S\to G$ be the identity section. For every $n\geq 0$, Morphisms,
+Lemma \ref{morphisms-lemma-openness-bounded-dimension-fibres} shows that
+$$
+U_n=\{x\in G\mid \dim_x(G_{f(x)})\leq n\}
+$$
+is open in $G$. For every $s\in S$ we have
+$$
+\dim(G_s)=\dim_{e(s)}(G_s).
+$$
+Indeed, after extending the residue field to an algebraic closure, every
+irreducible component is a translate of a component which meets the identity
+component. Consequently
+$$
+\{s\in S\mid \dim(G_s)\leq n\}=e^{-1}(U_n)
+$$
+is open in $S$, which proves the assertion.
+\end{proof}
+
+\begin{lemma}
+\label{lemma-identity-component-open-fibre-dimension}
+Let $S$ be a locally Noetherian scheme and let $G \to S$ be a group scheme
+locally of finite type. If $G \to S$ is universally open along the
+identity-component locus $G^0$, then the function
+$$
+S \longrightarrow \{0,1,2,\ldots\}, \qquad
+s \longmapsto \dim(G_s)
+$$
+is locally constant.
+\end{lemma}
+
+\begin{proof}
+The assertion is local on $S$. After shrinking around a point of $S$, choose
+a quasi-compact open $U \subset G$ containing the identity section. The
+morphism $U \to S$ is of finite presentation, and
+$\dim(U_s)=\dim(G_s)$ for every $s$: an open neighbourhood of the identity in
+a group over a field has the dimension of the group. Thus the level sets of
+the displayed function are locally constructible by
+Lemma \ref{lemma-dimension-fibres-constructible}.
+
+It remains to show that the dimension is unchanged under specialization.
+By Properties, Lemma
+\ref{properties-lemma-locally-Noetherian-specialization-dvr}, invariance of
+fibre dimension under field extension, and the universal hypothesis, we may
+base change to the spectrum of a discrete valuation ring. Write $y$ and
+$\eta$ for its closed and generic points, and put $d=\dim(G_y)$. The open
+$$
+\{x \in G \mid \dim_x(G_{f(x)}) \leq d\}
+$$
+contains the identity of $G_y$, see Morphisms, Lemma
+\ref{morphisms-lemma-openness-bounded-dimension-fibres}. It therefore contains
+the identity of $G_\eta$, and hence $\dim(G_\eta) \leq d$.
+
+For the reverse inequality, choose an irreducible component $C$ of $G^0_y$
+of dimension $d$, with generic point $c$. Universal openness along $G^0$
+implies that $c$ lies in the closure of the generic fibre: otherwise the
+complement of that closure would be an open neighbourhood of $c$ whose image
+does not contain $\eta$. Hence $C$ is contained in an irreducible closed
+subscheme $Z \subset G$ which dominates the trait and whose generic fibre is
+an irreducible component of $G_\eta$. The scheme $Z$ is integral and flat
+over the discrete valuation ring. The dimension formula, Algebra, Lemma
+\ref{algebra-lemma-dimension-formula}, gives
+$$
+\dim(C)=\dim(Z_\eta) \leq \dim(G_\eta).
+$$
+Consequently $\dim(G_y)=\dim(G_\eta)$. The locally constructible level sets
+are therefore stable under specialization and generalization, so they are
+open and closed by Topology, Lemma
+\ref{topology-lemma-characterize-closed-Noetherian}. This proves local
+constancy.
+\end{proof}
+
+\begin{lemma}
+\label{corollary-prime-to-characteristic-component-openness}
+\begin{reference}
+Corrected form of \cite[Expos\'e 236, Corollary 1.5, pp. 227--228]{FGA}.
+\end{reference}
+Let $S$ be a locally Noetherian scheme and let $G \to S$ be a commutative
+group scheme locally of finite type. Assume there is a $p$, equal to $1$ or
+to a prime number, which is the characteristic exponent of every residue
+field of $S$. Let $n > 1$ be prime to $p$. Assume
+\begin{enumerate}
+\item $[n] : G \to G$ is universally open, and
+\item for every algebraically closed field $k$ over a point of $S$, the
+identity component of $G_k$ contains no subgroup isomorphic to
+$\mathbf{G}_{a,k}$.
+\end{enumerate}
+Then $G \to S$ is universally open along
+$$
+\bigcup_{h \geq 0}G^{(n^h)}, \qquad
+G^{(n^h)}=[n^h]^{-1}(G^0),
+$$
+and the function $s \mapsto \dim(G_s)$ is locally constant.
+
+If condition (1) holds for every $n > 1$ prime to $p$, then $G \to S$ is
+universally open along $G^\sigma$. If, in addition, $G^0$ is closed in $G$,
+then $G^\sigma$ with its reduced induced closed subscheme structure is
+universally open over $S$.
+\end{lemma}
+
+\begin{proof}
+Lemma \ref{lemma-prime-to-characteristic-torsion-dense} verifies the
+geometric fibrewise-density hypothesis of
+Lemma \ref{lemma-power-kernel-density-universally-open}. That lemma proves
+universal openness along the displayed union. Since $G^0$ is contained in
+the union, local constancy of the fibre dimension follows from
+Lemma \ref{lemma-identity-component-open-fibre-dimension}.
+
+If the hypothesis holds for every $n$ prime to $p$, then
+$$
+G^\sigma=
+\bigcup_{\substack{n>1 \\ (n,p)=1}}\ \bigcup_{h \geq 0}G^{(n^h)}.
+$$
+Thus $G \to S$ is universally open along $G^\sigma$. The final assertion is
+Lemma \ref{lemma-prime-to-characteristic-locus-universally-open}.

From the AI-integrated Stacks edition (KokunoYumeto/unofficial-stacks-project-ai-drafts, commit 80b6208b). Corrections found by OpenAI Codex, GPT-5.6 Sol at effort Ultra, while translating the Stacks project into Chinese, Japanese, Korean and French, and integrated by GPT-6 Astra at effort Ultra; additions written mostly by GPT-6 Astra at effort Ultra, some by GPT-5.6 Sol at effort Ultra and checked by GPT-6 Astra, as that repository states. Shown here by the Stacks project reader (AI-produced by Claude Opus 5.5, Anthropic, at effort max).