For a scheme or formal scheme $X$, let $\mathrm{Pic} X$ be its Picard group. If $X$ is a smooth proper variety over an algebraically closed field, let $\mathrm{Pic}^{0}(X)$ be the subgroup consisting of isomorphism classes of line bundles algebraically equivalent to $\mathscr{O}_{X}$, and define the Neron-Severi group $\mathrm{NS}X :=\mathrm{Pic} X/\mathrm{Pic}^{0}(X) $. By Neron-Severi theorem, $\mathrm{NS}X$ is finitely generated and its rank call the Picard number of X, denote as $\rho(X)$
Now suppose $X$ and $S$ are two varieties, $f: X\to S$ is a smooth proper morphism, let $X_{b}$ be the fiber of $X$ over $b$. My question is following:
Could you show me one example that the function $h: S\to \mathbb{Z}: h(b)=\rho({X_{b}})$ is not locally constant?
I use google to search this question. But I can only find that this conclusion is true and can not find a specific example. So could you give me one specific example? Thank you very much!
To give such an example, we need to use two facts.
Hence we could choose a quartic surface $S_{0}$ in $\mathbb{P}^{3}$, such that $\rho(S_{0})\leq 1$.
Construction: Let $Y$ be the open set of a projective space parametrizing degree $d = 4$ smooth hypersurfaces in $\mathbb{P}^{3}$ , $X$ be the universal hypersurface over $Y$. Then $\rho$ is not locally constant, since $\rho(S_{0})\leq 1, \rho(S_{F})=20$.