2 versions of the statement of Finite-place valuation families and integral submodules, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 2 , changes from version 1 are marked
1 unchanged paragraph
**Valuation families.** Let $K$ be a number field, let $R$$\mathcal F$ be a commutative $K$-algebra, and write $v_\lambda$ for the integer valuation at a finite prime $\lambda$ of $K$. A function $v:R\to\mathbb$v:\mathcal F\to\mathbb R\cup\{+\infty\}$ has the required valuation properties at $\lambda$ if, for every $f,g\in R$$f,g\in\mathcal F$ and $a\in K^\times$,
$$v(0)=+\infty,\qquad v(f+g)\ge\min(v(f),v(g)),\qquad v(fg)=v(f)+v(g),$$
$$v(af)=v_\lambda(a)+v(f).$$
The function constantly equal to $+\infty$ is allowed. A family $\mathcal V$ chooses, for each $\lambda$, a possibly empty set $\mathcal V_\lambda$ of such functions. For a $K$-vector subspace $W\subseteq R$,$W\subseteq\mathcal F$, its associated integral $\mathcal O_K$-submodule is
$$\Lambda(W;\mathcal V)=\{f\in W:v(f)\ge0\text{ for every }\lambda\text{ and every }v\in\mathcal V_\lambda\}.$$
**Ordinary integral evaluations.** Take a moduli scheme $X$ and coefficient number field $K\subset\mathbb C$ with the moduli and coefficient-field choices of “Polarized modules and unitary moduli” and “Coefficient fields and deeper moduli levels”. Use the integral-framed-point definition and fixed-presentation evaluation of “Integral evaluation of moduli sections”, with $(X,K)$ in place of the original $(X_j,K_0)$. Let $R$ beHere $\mathcal F$ is the $K$-algebra of scalar rules, with pointwise operations.
For each $\lambda$, range over all characteristic-zero complete DVRs $A$$R$ with finite residue field, fraction fields $L$, embeddings $\iota:K\hookrightarrow L$, positive integers $e$ such that
$$v_A(\iota(a))=e\,v_\lambda(a)\qquad(a\in$$v_R(\iota(a))=e\,v_\lambda(a)\qquad(a\in K^\times),$$
and integral framed points $y$ over $(A,L,\iota)$.$(R,L,\iota)$. The ordinary family $\mathcal R_\lambda$ consists of all functions
$$f\longmapsto v_{A,e}(f(y)),$$v_{R,e}(f(y)),$$
where $v_{A,e}$$v_{R,e}$ is the normalized extended evaluation valuation in “Integral evaluation of moduli sections”. In particular, a zero evaluation has value $+\infty$.
**Primewise selection.** Given two families $\mathcal A,\mathcal B$V',\mathcal V''$ and a set $S\subseteq\mathbb N$, define
$$\mathcal V^S_\lambda=\begin{cases}
\mathcal A_\lambda,&\text{someV'_\lambda,&\text{some }n\in S\text{ has image in }\lambda,\\
\mathcal B_\lambda,&\text{otherwise}.V''_\lambda,&\text{otherwise}.
\end{cases}$$
For a set of rational primes $S$, the first case means that the residue characteristic of $\lambda$ belongs to $S$.
1 unchanged paragraph
Version 1 , first version
These definitions turn families of finite-place evaluations into integral submodules.
**Valuation families.** Let $K$ be a number field, let $R$ be a commutative $K$-algebra, and write $v_\lambda$ for the integer valuation at a finite prime $\lambda$ of $K$. A function $v:R\to\mathbb R\cup\{+\infty\}$ has the required valuation properties at $\lambda$ if, for every $f,g\in R$ and $a\in K^\times$,
$$v(0)=+\infty,\qquad v(f+g)\ge\min(v(f),v(g)),\qquad v(fg)=v(f)+v(g),$$
$$v(af)=v_\lambda(a)+v(f).$$
The function constantly equal to $+\infty$ is allowed. A family $\mathcal V$ chooses, for each $\lambda$, a possibly empty set $\mathcal V_\lambda$ of such functions. For a $K$-vector subspace $W\subseteq R$, its associated integral $\mathcal O_K$-submodule is
$$\Lambda(W;\mathcal V)=\{f\in W:v(f)\ge0\text{ for every }\lambda\text{ and every }v\in\mathcal V_\lambda\}.$$
**Ordinary integral evaluations.** Take a moduli scheme $X$ and coefficient number field $K\subset\mathbb C$ with the moduli and coefficient-field choices of “Polarized modules and unitary moduli” and “Coefficient fields and deeper moduli levels”. Use the integral-framed-point definition and fixed-presentation evaluation of “Integral evaluation of moduli sections”, with $(X,K)$ in place of the original $(X_j,K_0)$. Let $R$ be the $K$-algebra of scalar rules, with pointwise operations.
For each $\lambda$, range over all characteristic-zero complete DVRs $A$ with finite residue field, fraction fields $L$, embeddings $\iota:K\hookrightarrow L$, positive integers $e$ such that
$$v_A(\iota(a))=e\,v_\lambda(a)\qquad(a\in K^\times),$$
and integral framed points $y$ over $(A,L,\iota)$. The ordinary family $\mathcal R_\lambda$ consists of all functions
$$f\longmapsto v_{A,e}(f(y)),$$
where $v_{A,e}$ is the normalized extended evaluation valuation in “Integral evaluation of moduli sections”. In particular, a zero evaluation has value $+\infty$.
**Primewise selection.** Given two families $\mathcal A,\mathcal B$ and a set $S\subseteq\mathbb N$, define
$$\mathcal V^S_\lambda=\begin{cases}
\mathcal A_\lambda,&\text{some }n\in S\text{ has image in }\lambda,\\
\mathcal B_\lambda,&\text{otherwise}.
\end{cases}$$
For a set of rational primes $S$, the first case means that the residue characteristic of $\lambda$ belongs to $S$.
For a number field $E$, a positive integer $M'$ and a real $B$, the selected-prime set is
$$S_B(E,M')=\{\ell:\ell\text{ is prime and }(\ell\le B\text{ or }\ell\mid2|\operatorname{disc}E|M')\}.$$
For a level $(M,\mathfrak b,A)$ of “Coefficient fields and deeper moduli levels”, use $M'=\operatorname{lcm}(M,A)$.