\section{Proof of the distribution and moment estimates}\label{sec:law} We prove Theorem~\ref{thm:law} by combining Lemmas~\ref{lem:levels}--\ref{lem:tail} with the degree bound for the algebraic coefficients. Balancing the three errors in truncated Möbius inversion determines the cutoff and the power saving. We then deduce Corollary~\ref{cor:mom} and give an example over \(\Q\). \subsection{Möbius inversion and the three errors} We truncate Möbius inversion \cite[Ch.~2]{Apostol1976} at the full level \(n=tv\), then sum over the exact indices \(t\). The cutoff is chosen before normalization by \(\pi_K(X)\). \begin{proof}[Proof of Theorem~\ref{thm:law}] Fix \(X\) with \(\pi_K(X)>0\). If \(I,t\) are positive integers, then \begin{equation} \mathbf1_{\{I=t\}}=\sum_{tv\mid I}\mu(v),\qquad \pi_K(X) P_{X,C}(t)=\sum_{v\ge1}\mu(v)A_{tv}(X). \label{eq:law-invert} \end{equation} The second identity sums the first over \(\mathcal P_C(X)\), and its sum is finite since \(tv\mid I_\p\) implies \(tv\le I_\pY}\mu(v)A_{tv}(X) -\pi_K(X)\sum_{tv>Y}\mu(v)b_C(tv). \end{align*} Take absolute values, multiply by \(t^\sigma\), and sum over \(t\). Regrouping the nonnegative terms by \(n=tv\) gives the inner sum \(w_\sigma(n)\) over \(t\mid n\), hence \begin{align} \pi_K(X)\sum_{t\ge1}t^\sigma|P_{X,C}(t)-D_C(t)| &\le \underbrace{\sum_{n\le Y}w_\sigma(n)|A_n(X)-\pi_K(X) b_C(n)|}_{\mathcal E_1} +\underbrace{\sum_{n>Y}w_\sigma(n)A_n(X)}_{\mathcal E_2}\notag\\[-1pt] &\hspace{1.5em}+\underbrace{\pi_K(X)\sum_{n>Y}w_\sigma(n)b_C(n)}_{\mathcal E_3}. \label{eq:three} \end{align} For \(\mathcal E_1\), fix \(\lambda>0\) and \(C_\lambda\) such that \(\tau(n)\le C_\lambda n^\lambda\), as in \eqref{eq:model-divisors}. Lemma~\ref{lem:levels} applies uniformly for \(n\le Y\le X\), so \eqref{eq:law-divisor-weight} gives \begin{equation} \mathcal E_1\ll_{K,F,\Gamma,\theta,\lambda} X^{\theta+\lambda}\sum_{n\le Y}n^{\sigma+\lambda} \le X^{\theta+\lambda}Y^{1+\sigma+\lambda} \le X^{\theta+2\lambda}Y^{1+\sigma}. \label{eq:law-small} \end{equation} To estimate \(\mathcal E_2\), we group all omitted divisors by the prime at which they occur. Insert \(A_n(X)=\sum_{\p\in\mathcal P_C(X)}\ind_{n\mid I_\p}\). The sums are finite because \(I_\pY}} w_\sigma(n). \label{eq:law-reorder} \end{equation} For a fixed prime write \(I=I_\p\). For \(I\le Y\) the inner sum is empty. For \(I>Y\), use the multiplicative inequality \(\sum_{n\mid I}\tau(n)\le\tau(I)^2\). Since \(n^\sigma\le I^\sigma\) for \(n\mid I\) and \(IY}} w_\sigma(n) \le I^\sigma\sum_{n\mid I}\tau(n) \le I^\sigma\tau(I)^2 \le C_\lambda^2X^{2\lambda}I^\sigma . \label{eq:law-divisor-tail} \end{equation} Partition the primes with \(I_\p>Y\) into dyadic bands \(Y_jY}} I_\p^\sigma\notag\\ &\le c_{K,\Gamma} C_\lambda^2 2^\sigma X^{\kappa_r+2\lambda} Y^{\sigma-\kappa_r}\sum_{j\ge0}2^{j(\sigma-\kappa_r)} =\frac{c_{K,\Gamma} C_\lambda^2 2^\sigma}{1-2^{\sigma-\kappa_r}} X^{\kappa_r+2\lambda}Y^{\sigma-\kappa_r}. \label{eq:law-large} \end{align} Here \(2^{\sigma-\kappa_r}<1\). Taking bands of the full index bounds the combined contribution of every omitted divisor of each prime, whatever the absolute residue degree of the prime. For \(\mathcal E_3\), we sum the bound on the algebraic coefficients beyond the cutoff. Equation~\eqref{eq:degree} gives \(b_C(n)\le c_1/(\varphi(n)n^r)\). By Section~\ref{sec:model}, \(n/\varphi(n)\le\tau(n)\). Applying these inequalities and \eqref{eq:law-divisor-weight} gives \[ w_\sigma(n)b_C(n) \le c_1 n^{-1-r+\sigma}\tau(n)^2 \le c_1 C_\lambda^2 n^{-1-r+\sigma+2\lambda}. \] Take \(2\lambdaY\) gives \(O_{K,\Gamma,\sigma,\lambda}(Y^{\sigma-r+2\lambda})\). Using \(\pi_K(X)\le[K:\Q]X\) and \(Y^{2\lambda}\le X^{2\lambda}\), we obtain \begin{equation} \mathcal E_3\ll_{K,\Gamma,\sigma,\lambda} X Y^{\sigma-r+2\lambda}\le X^{1+2\lambda}Y^{\sigma-r}. \label{eq:law-model-tail} \end{equation} We now choose the cutoff by balancing the three errors. Given \(\eta>0\), take \(\lambda=\min\{\eta/4,(r-\sigma)/4\}\). Then \(2\lambda\le\eta\) and \(2\lambda0, \label{eq:law-third-gap} \end{equation} since \(r-\kappa_r=r-1-1/r\ge1/2\) for \(r\ge2\). Thus \(e_3\) is strictly smaller at the crossing. The monotonicity of \(e_1,e_2\) then shows that this crossing minimizes the maximum of all three exponents. The right side of \eqref{eq:balance} is therefore \(O_{K,F,\Gamma,\theta,\sigma,\eta}(X^{1-\dd+u\sigma+\eta})\). Since \(\theta<1\), \eqref{eq:level-log} at \(n=1\) with the full filter gives \(\pi_K(X)\sim\Li(X)\sim X/\log X\). Divide the preceding bound by \(\pi_K(X)\) and take \(\eta=\eps/2\). The remaining factor \(\log X\ll_\eps X^{\eps/2}\) proves \eqref{eq:law}, uniformly in \(C\). Taking \(\eps=(\dd-u\sigma)/2>0\), for example, gives the saving \[ c=\frac{\dd-u\sigma}{2} =\frac{r-(r+1)\theta-(r+1-r\theta)\sigma}{2(2r+1)}. \qedhere \] \end{proof} For the test-function interpretation, put \(a_t=P_{X,C}(t)-D_C(t)\). The finite empirical support and \eqref{eq:abs} ensure that \(\sum_t t^\sigma|a_t|<\infty\). For test functions \(\Phi:\N\to\C\), the triangle inequality gives the upper bound in \begin{equation} \sup_{\Phi:\,|\Phi(t)|\le t^\sigma\ \forall t} \left|\sum_{t\ge1} \Phi(t)a_t\right| =\sum_{t\ge1}t^\sigma|a_t|. \label{eq:law-dual} \end{equation} Since \(a_t\) is real, \(\Phi(t)=t^\sigma\operatorname{sgn}(a_t)\) attains the supremum even among complex-valued functions. It may depend on \(X,C\). Thus \(\sigma=0\) controls the discrepancy on every set \(S_X\subseteq\N\), uniformly over such choices. For \(00\), expanding the Euler factors and writing \(k=d/e\) in the divisor sum gives \begin{align} J_s(n) &=n^s\prod_{\ell\mid n}(1-\ell^{-s}) =\sum_{e\mid n}\mu(e)(n/e)^s,\notag\\ \sum_{d\mid n}J_s(d) &=\sum_{d\mid n}\sum_{e\mid d}\mu(e)(d/e)^s =\sum_{k\mid n}k^s\sum_{e\mid n/k}\mu(e)=n^s. \label{eq:law-jordan} \end{align} For \(00\) for nonempty \(C\), while the empty filter gives \(M_{s,C}=S_{s,C}(X)=0\). Now assume the hypotheses of Theorem~\ref{thm:law} and take \(0\theta\), this error is absorbed in \eqref{eq:mom}. For nonempty \(C\), the lower bound \(M_{s,C}\ge1/|G_F|\) and \(\Li(X)\asymp X/\log X\) give the relative error \(O_{K,F,\Gamma,\theta,s,\eps}(X^{-\dd+us+\eps}\log X)\). Choosing \(0<\eps<\dd-us\), possible precisely for \(s<\sigma_*\), proves the relative asymptotic. Under GRH, substituting \(\theta=1/2\) gives \(u=(r+2)/(2(2r+1))\), \(\dd=(r-1)/(2(2r+1))\), and hence \(\sigma_*=(r-1)/(r+2)\). \end{proof} Take \(K=F=\Q\), \(C=\{1\}\), and \(\Gamma=\langle2,3\rangle\). The valuations at \(2\) and \(3\) give rank two and independent square classes, so \(K_2=\Q(\sqrt2,\sqrt3)\) has degree four. Since \(F=K\), all the level coefficients are \(b_C(n)=1/k_n\), in particular \(b_C(2)=1/4\). The \(n=1,2\) terms give \[ M_{s,C}\ge1+\frac{2^s-1}{4}>1\qquad(0