\section{Exact integer multiplication and its cost} \label{sec:assembly} We now use the preceding algorithms to multiply two $n$-bit integers. An equal-width address swap on logical bit volume $V$ costs $O(Vu^\tau)$ for width $u$. A completed parallel normalized butterfly layer costs $O(Vd^{\lambda'})$ and has coefficient error less than $\sqrt2\,2^{-p}$. The ordered Gaussian resampling maps are contractions; their disk-grid approximations have error less than $p^2 2^{-p}$ and cost $O(tp^{3/2+\delta}\alpha)$ on a line of length $t$. Address permutations and intermediate dyadic arithmetic are exact. We choose compatible parameters for these procedures, recover the integer coefficients from their approximations, and account for the remaining tape operations. \subsection{A fixed rational choice} The two motif exponents were fixed in \eqref{eq:explicit-motif-exponents}. Take the following fixed rational numbers: \begin{equation}\label{eq:fixed-parameters} \begin{gathered} \tau=\sigma=1-2^{-50},\qquad \beta=\frac12,\qquad \delta=\frac1{16},\\ \lambda=1-2^{-52},\qquad c=2^{-56},\qquad \lambda'=1-2^{-54},\\ C_1=20,\qquad \epsilon=2^{-75},\qquad \kappa=2^{-182}. \end{gathered} \end{equation} These constants are deliberately conservative; no optimization is claimed. The layer conditions hold with room to spare: \[ \max\{\tau,\sigma\}<\lambda<1,\qquad \tau(1+c/\beta)<1-31\cdot2^{-55}<\lambda, \] and \[ \sigma+\beta(1-\sigma)=1-2^{-51}<\lambda<\lambda'<1. \] The strict final inequality absorbs the logarithmic number of groups in a base-$m$ partition. The dimension exponent also satisfies \[ \begin{gathered} \epsilon<\frac1{12},\quad \epsilon C_1<1,\quad \epsilon(2-\tau)<1-\tau,\quad \frac34+\delta+\frac32\epsilon<1,\\ \epsilon(1+c)<1,\qquad \epsilon+\delta<1. \end{gathered} \] \subsection{Input and transform sizes} The input is the promised string $x\#y$, with both operands written most significant bit first. In one left-to-right pass, copy $x$ and $y$ to two fixed work tapes and count the bits of $x$ with a binary counter. The promise gives both operands this counted length $n$. The counter bound in Section~\ref{sec:streams} and the two sequential copies give cost $O(n)$, including all leading zeroes. The work-copy heads finish just after the least significant bits, ready to move leftward when the digits are formed. \subsubsection{The padded box and working precision} After obtaining $n$, compute the size parameters below with the separate setup costs stated in this subsection. For sufficiently large $n$, put \[ b=\lceil\log_2n\rceil,\quad p=6b,\quad d=\lfloor b^\epsilon\rfloor, \quad K=\lfloor d^c\rfloor. \] Take the power of two $T$ in $[4n/b,8n/b)$, and let $r=2^{\lceil(\log_2T)/d\rceil}$ and $\ell=\log_2r$. Choose $d\ell-\log_2T$ of the $d$ axis lengths to be $r/2$ and the others to be $r$. This gives \[ t_i\in\{r/2,r\},\qquad \prod_i t_i=T,\qquad t_d=r. \] Indeed $d\ell-\log_2T$ is an integer in $[0,d)$, so at least one axis has length $r$; choose it as the last axis. These definitions give \begin{equation}\label{eq:sizes} Tp=\Theta(n),\quad d=\Theta(p^\epsilon),\quad K=\Theta(p^{\epsilon c}),\quad \ell=\Theta(p^{1-\epsilon}),\quad r=2^{\Theta(p^{1-\epsilon})}. \end{equation} The comparison constants can be fixed for every input length at once. For sufficiently large $b$, the bounds on $n,T$ give $b/2\leq\log_2T\leq b$. Since $p=6b$, $d=\lfloor b^\epsilon\rfloor$ and $d\leq b$, they imply \[ \frac1{12}p^\epsilon\leq d\leq p^\epsilon, \qquad \frac{p}{12d}\leq\ell\leq\frac{p}{3d}. \] Thus we fix $a_d=a_r=1/12$, $b_d=1$, $b_r=1/3$, and $C_\ell=1$ in the layer and transform interfaces. Their pointwise bounds cover every computed pair $(d,r)$, including all choices arising at the same $p$. These bounds also give that $r$ exceeds every fixed power of $p$, $K/\log p\to\infty$, and $\ell/K\to\infty$. There are eventually enough axes for the $O(\log d)$ reserved row axes and enough bits for all work blocks. Set \[ \alpha=\left\lceil(12d^2b)^{1/4}\right\rceil, \qquad \gamma=2d\alpha^2,\qquad \eta=\frac1{4d}. \] The ceiling does not affect the needed bounds: for $A\ge1$, $\lceil A\rceil\le2A$, and hence \begin{equation}\label{eq:gamma} \alpha\le2(12d^2b)^{1/4},\qquad \gamma<28d^2\sqrt b\le28b^{1/2+2\epsilon}\le28b^{2/3}. \end{equation} It follows that $2\le\alpha<\sqrt p$ eventually and $\gamma=o(b)$. For example $b\ge2^{24}$ implies $\gamma\le b/4$. \subsubsection{Prime source lengths} The distinct prime lengths $s_i$ must be close to the powers of two $t_i$: their product must occupy a fixed fraction of the padded box, while each ratio $t_i/s_i$ must leave enough separation for resampling. We verify both requirements for the parameters just chosen. The prime-interval result \cite[Lemma~5.1]{HarveyHoeven2021}, based on explicit estimates of Rosser and Schoenfeld~\cite{RosserSchoenfeld1962}, gives the following bound: for $0<\eta<1/4$ and $x>e^{2/\eta}$, the interval \[ (1-2\eta)x8d=2/\eta$. For either choice, the stated lower bound for the number of primes is $x/(8d\log x)$ and exceeds $d$: indeed, $\log x=\Theta(p^{1-\epsilon})$, whereas $\log(8d^2\log x)=O(\log p)=o(\log x)$, so $x>8d^2\log x$ eventually. The two intervals are disjoint because $(1-\eta)r/2<(1-2\eta)r$ for $\eta<1/4$, and both intervals lie above $2$. We may therefore choose distinct odd primes satisfying \[ (1-2\eta)t_i \left(1-\frac1{2d}\right)^d>\frac12 \qquad(d\geq2). \] Together with $s_i\eta$. Therefore \[ \alpha^4\theta_i>\frac{12d^2b}{4d}=3db\geq6b=p. \] The choice of $\alpha$ gives $\alpha=\Theta(p^{1/4+\epsilon/2})$, and \eqref{eq:gamma} already ensures $2\leq\alpha<\sqrt p$ for large $n$. We also have $t_i\leq r\leq T<8n/b<2^{6b}=2^p$. Thus every hypothesis of Lemma~\ref{lem:no-sort-resampling} holds for all sufficiently large input lengths. The superpolynomial growth of $r$ established above also supplies the setup condition in Lemma~\ref{lem:tensor-resampling}. The machine finds these primes by scanning the two intervals deterministically and testing each candidate by trial division through its square root. Testing every candidate would visit $O(r)$ candidates and at most $O(\sqrt r)$ trial divisors per candidate. Elementary division on $O(\log r)$-bit integers and management of a list of at most $d$ selected primes give the conservative bound $O(dr^{3/2}\operatorname{poly}(p))$. Its logarithm is \[ O(\log p+\log r)=O(\log p+p/d)=o(p). \] Since $p=6\lceil\log_2 n\rceil=\Theta(\log n)$, the search takes $n^{o(1)}=o(n)$ time. All remaining scalar setup, including comparisons for fixed rational powers, modular inverses, prime products and shape descriptors, has cost polynomial in $p$. For example, $d=\lfloor b^{2^{-75}}\rfloor$ is found by binary search using exact comparisons $d^{2^{75}}\le b$; the exponent is fixed. The same procedure computes $K$ and all other fixed rational powers. All primes and length parameters are therefore generated by the machine; they are not advice. \subsubsection{The radix-digit polynomials} Write the two inputs as polynomials in $2^b$, each with $q=\lceil n/b\rceil$ nonnegative digits. Their product has degree at most \[ 2q-2<2n/b\le T/2i$ are divisible by $s_i$, and $\mu_iP_i=1$ modulo $s_i$. Numerical order of $k$ is lexicographic order of $(a_d,\ldots,a_1)$. Insert the padding in one nested scan of the full box $\prod_i[0,t_i)$ in this lexicographic order, with $a_d$ the outermost counter and $a_1$ the innermost. At an address satisfying $a_i{\raggedright\arraybackslash}p{.40\linewidth}ll@{}} \toprule Operation & Normalized cost & Power of $p$\\ \midrule Prefix-slot moves and individual butterfly rounds & $dK$ & $\epsilon(1+c)$\\ Chunk exchanges for transform layout & $pK^{\tau-1}$ & $1-\epsilon c(1-\tau)$\\ Simultaneous butterfly rounds & $\ell d^{\lambda'}$ & $1-\epsilon(1-\lambda')$\\ CRT and axis layouts & $d^2(1+\ell^\tau)$ & $\tau+\epsilon(2-\tau)$\\ Gaussian line maps & $dp^{1/2+\delta}\alpha$ & $3/4+\delta+3\epsilon/2$\\ Chirps, twists and scalar products & $dp^\delta$ & $\epsilon+\delta$\\ Packed polynomial products & $\log(rp)$ & $1-\epsilon$\\ Final scaling and rounding & $p^\delta$ & absorbed above\\ Input, padding, carries and output & $1$ & absorbed above\\ \bottomrule \end{tabular} \caption{Costs divided by $Tp$; each coefficient representation has $O(p)$ bits.}\label{tab:costs} \end{table} The seven dominant powers in Table~\ref{tab:costs} have the following margins below one: \begin{equation}\label{eq:margin-list} \begin{split} g_1&=1-\epsilon(1+c),\qquad g_2=\epsilon c(1-\tau),\qquad g_3=\epsilon(1-\lambda'),\\ g_4&=1-\tau-\epsilon(2-\tau),\qquad g_5=1/4-\delta-3\epsilon/2,\\ g_6&=1-\delta-\epsilon,\qquad g_7=\epsilon. \end{split} \end{equation} Direct substitution gives \[ g_1>\frac12,\quad g_2=2^{-181},\quad g_3=2^{-129},\quad g_4>2^{-51},\quad g_5>\frac18,\quad g_6>\frac12,\quad g_7=2^{-75}. \] Thus $\min_i g_i=2^{-181}=2\kappa$. This explicit slack will cover any remaining fixed power of $\log p$. Here $d^2$ is absorbed by $d^2\ell^\tau$, and $\log(rp)=O(p^{1-\epsilon}+\log p)=O(p^{1-\epsilon})$. The first three rows are the terms in \eqref{eq:synthetic-transform-cost}. The prefix-slot moves and individual butterfly rounds in Lemma~\ref{lem:synthetic-transform-cost} use $O(dK)$ linear scans. Its positional layout uses $O(p/K)$ exchanges of width-$K$ chunks, because $d\ell=O(p)$. Each exchange costs $O(VK^\tau)$ by Lemma~\ref{lem:chunk-swap}, so the normalized total is \[ O(p/K)\,K^\tau=O(pK^{\tau-1}). \] For the at most $\ell$ simultaneous rounds, Proposition~\ref{prop:simultaneous-layer} supplies $O(Vd^{\lambda'})$ per round. Its bound already includes the binary basis changes, deterministic repair, row padding and removal, all base-$m$ groups, and fixed-tape cleanup. Axis exposure and restoration require $O(d^2)$ adjacent axis moves. Each costs $O(V(1+\ell^\tau))$: peel a single excess bit when widths differ by one, exchange their equal-width parts, and restore the bit. The $d$ CRT rotations copy valid and invalid intervals in $O(dV)$ time. Their offset setup was bounded above by $O(dTp^C/r)=o(Tp)$, using at most $T/t_i$ control prefixes for target $i$. For Gaussian resampling, axis $i$ has at most $T/t_i$ processed lines. The line-machine costs therefore sum to \[ \sum_{i=1}^d\frac{T}{t_i} O(t_i p^{3/2+\delta}\alpha) =O(dTp^{3/2+\delta}\alpha). \] Dividing by $V=Tp$ gives the fifth row. The factor $\alpha=\Theta(p^{1/4+\epsilon/2})$ explains its displayed power of $p$. Chirp numerators have $O(p)$ bits and can be computed modulo $2r$ as sums of $d$ terms $s_i j_i^2(r/t_i)$. Computing their squares and products with the previously established $O(N\log(2N))$ multiplier on $N$-bit inputs, then generating the exponentials, costs $O(dp^{1+\delta})$ per entry. The smaller twist and scalar pointwise-product costs fit the same row: they use a fixed number of exact products on $O(p)$-bit component numerators, followed by linear truncation scans. The two final products by $S$ also cost $O(p\log p)$ per entry, so their normalized cost is $O(\log p)=O(p^\delta)$ as listed separately. There are $T/r$ polynomial records in each pointwise ring product. Four integer products on $O(rp)$ bits per record therefore cost $O(Tp\log(rp))$ in total. Signed packing, centered extraction, negacyclic wrapping, and copying are linear stream passes. These calls use the previously established multiplier on records of length $O(rp)=o(n)$; they do not call the improved algorithm being constructed. The exact source scaling by $2^\gamma$ is a shift of $O(p)$-bit numerators by $\gamma=O(p)$ places, so it is a linear scan per entry and fits the final-scaling row. The scalar-format adapters and the exact removal of sign-extension bits after the ring and source scales also use linear scans of their $O(p)$-bit components, within the listed scan costs. \paragraph{Setup and exceptional streams across all calls.} We next separate setup at recursion nodes from work repeated for every polynomial record or every Gaussian line. Here a visit means a node of the layer or address-layout recursions, or one of their round and group invocations. The internal recursion of the established integer multiplier and the iterations of the quoted Gaussian algorithms are already included in their separately charged running times. The layer and address-layout recursions have constant branching and depth $O(\log p)$, and the number of their rounds and base-$m$ groups is polynomial in $p$. Choose a fixed exponent $A$ so that their total number of visits is at most $p^A$, and a fixed $C$ bounding descriptor setup performed once per visit by $p^C$ steps. This setup then costs at most $p^{A+C}=o(Tp)$. At a layer or synthetic-transform visit that processes polynomial records, there are at most $O(T/r)$ such records, including the bounded row padding. Every relevant child keeps the whole length-$r$ polynomial suffix. Consequently $O(p^C)$ descriptor or address work per record, over these visits, costs at most $O(Tp^{A+C}/r)=o(Tp)$. Setup before each Gaussian line call has a different count: there are at most $2dT/r$ lines per tensor map and only a fixed number of such maps, so $O(p^C)$ setup per line costs $O(dTp^C/r)=o(Tp)$. These estimates all use that $r$ exceeds every fixed power of $p$. The general address-swap subroutine also covers one-bit payloads, where no polynomial suffix is available. For root volume $V_0$ and current child volume $V_j$, the descriptor estimate in the proof of Proposition~\ref{prop:power-interchange} gives $(\log(2V_0))^{O(1)}=O(V_j)$. It uses the invariant that both original chunk ranges remain present in every child, and therefore includes polynomial descriptor work even for a one-bit payload. Elementary counter updates use local length copies, so they do not rescan a growing descriptor for each data bit. The chirp computation does scan the axis descriptors at every coefficient; its $O(Tdp^{1+\delta})$ cost was included in the chirp row. For one packed change of basis, let $V_{\rm call}$ be its current logical volume. The bad-address fraction is $O(d2^{-K})$, independently of the payload. Each polynomial record has $\Theta(rp)$ payload bits, and an exceptional record adds an $O(p)$-bit destination key. Thus the compact exceptional stream has length \[ O\!\left(\frac{V_{\rm call}}{rp}\,d2^{-K}(rp+p)\right) =O(V_{\rm call}d2^{-K}). \] Stable bit sorting makes $O(p)$ scans of this stream, for one-call cost $O(V_{\rm call}dp2^{-K})$. Extraction and reinsertion use a constant number of scans of the full current volume; those scans are already in the node overhead. Since there are at most $p^A$ visits, each of volume $O(V)$, the compact sorting costs sum to at most \[ O\!\left(dp2^{-K}\sum_{\rm calls}V_{\rm call}\right) =O(Vp^{A'}2^{-K})=o(V) \] for another fixed exponent $A'$. Here $d=O(p^\epsilon)$ and $K=\Theta(p^{\epsilon c})$ with $\epsilon c>0$. Predicate and key arithmetic is the polynomial work per record counted above. This is a deterministic worst-case bound. Finally, all role, arithmetic, and stack tapes form fixed finite families. A child parks and restores only its parent's streams, with the stack head at the active top; copying and cleanup are charged to that logical volume. No operation repeatedly scans parked ancestors. Growing axis lists and call states are stored data, not extra tapes or alphabet symbols. Global setup and prime search cost $o(V)$, as proved earlier. Each of the seven displayed powers is at most $1-2\kappa$ by \eqref{eq:margin-list}. Any fixed power of $\log p$ is at most $p^\kappa$ eventually. The complete large-input bound is consequently \[ O(Tp\,p^{1-\kappa})=O(n(\log n)^{1-\kappa}). \] Fix one cutoff beyond all the size, precision, margin and layout conditions, and use schoolbook multiplication below it. The finitely many smaller lengths are included by enlarging the implicit constant. With $\lg n=\max\{\lceil\log_2n\rceil,1\}$, the resulting single fixed-alphabet, fixed-tape deterministic machine has worst-case time $O(n(\lg n)^{1-\kappa})$ for every input length and produces precisely the required $2n$-bit product.