\section{Fixed-point evaluation and exact rounding}\label{sec:rounding} This section turns the quadrature of Section~\ref{sec:quadrature} into an expression built from integers and proves that rounding it gives $S(N)$ exactly, for every $N$. The coefficients enter only through a tolerance: any table of Gaussian integers within the tolerance works. This is what allows the coefficients to be produced by an exact rational algorithm in Section~\ref{sec:coefficients}, without computing transcendental roundings. \subsection{Parameters and tables} For $\beta\in\N$ put \[ \delta_\beta=2^{-(6\beta+6)},\qquad M_\beta=35\beta+185,\qquad p_\beta=7\beta+32,\qquad t_\beta=7\beta+25 . \] The results below hold for every precision $\beta$ with $N\le2^\beta$. The smallest natural choice is $\beta(N)=\floor{\log_2N}+1$ (with $\beta(0)=1$), so that $N<2^\beta$ and $\beta(N)=b(N)$ for $N\ge1$; the machines of Section~\ref{sec:machines} use $b(N)+1$ instead. We write $M,p,t$ for $M_\beta,p_\beta,t_\beta$ when $\beta$ is fixed, and $z_\ell=c+r\,\e(\ell/M)$ as in Section~\ref{sec:quadrature}. For a real number $x$ and $t\in\N$ let $\operatorname{tr}_t(x)=\sgn(x)\floor{2^t\abs x}/2^t$ be truncation towards zero, and for $w\in\C$ let $\operatorname{tr}_t(w)$ act on real and imaginary parts. Then $\abs{\operatorname{tr}_t(w)-w}\le 2\cdot2^{-t}$. Truncation towards zero, rather than rounding down, is what the network computes: it evaluates $\floor{A/D}$ for non-negative $A$ and records the sign separately (Lemma~\ref{lem:kernel} below). The two rules differ by one unit for negative arguments, and they are not mixed. \begin{definition}\label{def:table} Let $h$ be analytic on a neighbourhood of $D_R$ and $\beta\in\N$, and put $\rho_\ell=h(z_\ell)(z_\ell-c)$. A \emph{certified table} for $h$ at precision $\beta$ is a family of Gaussian integers $P_\ell,R_\ell\in\Z[i]$, $0\le\ell0$ then \[ \frac1{P/2^p-a/q}=\frac{2^pq\,X}{D}-i\,\frac{2^pq\,Y}{D}, \] and the real and imaginary parts of $2^t\operatorname{tr}_t\bigl(1/(P/2^p-a/q)\bigr)$ are \[ \sgn(X)\Bigl\lfloor\frac{2^{t+p}q\abs X}{D}\Bigr\rfloor \qquad\text{and}\qquad -\sgn(Y)\Bigl\lfloor\frac{2^{t+p}q\abs Y}{D}\Bigr\rfloor . \] \end{lemma} \begin{proof} $P/2^p-a/q=(X+iY)/(2^pq)$, and $\operatorname{tr}_t(\pm A/D)=\pm\floor{2^tA/D}/2^t$ for natural numbers $A$ and $D\ge1$. \end{proof} The evaluation points of Theorem~\ref{thm:rounding} are $m/2^j$, $n/2^k$ and $(d+x)/d$, so Lemma~\ref{lem:kernel} applies with $q=2^j$, $2^k$ or $d$. Hence each of $\widetilde L$, $\widetilde I$, $\widetilde E$ lies in $s^{-1}\Z[i]$ with $s=s_\beta=M2^{p+t}$, each numerator being $\sum_\ell R_\ell\kappa_\ell$ where $\kappa_\ell\in\Z[i]$ is the pair of signed integer quotients of Lemma~\ref{lem:kernel}. Consequently \[ \Sigma_N(B)=\frac{Z_N}{s^4}\qquad\text{with }Z_N\in\Z[i], \] and Theorem~\ref{thm:rounding} becomes the integer statement \begin{equation}\label{eq:integerround} S(N)=\Bigl\lfloor\frac{2\re Z_N+s^4}{2s^4}\Bigr\rfloor, \end{equation} since $\floor{A/D+\frac12}=\floor{(2A+D)/(2D)}$ for $A\in\Z$ and $D\ge1$. All integers $U,V,X,Y,D$ and all quotients have $O(\beta)$ bits: the kernels have absolute value at most $8$, so each quotient is at most $2^{t+3}$. Lean: \lean{IntegerPrimeSum.integerResult\_eq\_primeSum}. The explicit bit bounds that the network needs are given in Section~\ref{sec:bitbounds}.