\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm} \usepackage[a4paper,margin=28mm]{geometry} \usepackage{microtype,xcolor,booktabs,array,calc,needspace} \usepackage[unicode,colorlinks=true,linkcolor=blue!55!black, citecolor=blue!55!black,urlcolor=blue!55!black]{hyperref} \hypersetup{pdftitle={Deterministic low-space Subset Sum},pdfauthor={Yilin Liu}, pdfkeywords={Subset Sum, exact algorithms, space complexity, meet in the middle}} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newcommand{\Ostar}{O^*} \newcommand{\poly}{\operatorname{poly}} \newcommand{\supp}{\operatorname{supp}} \newcommand{\PrimeDivisor}{2^{20}} \providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \numberwithin{equation}{section} \setlength{\emergencystretch}{1em} \clubpenalty=10000 \widowpenalty=10000 \displaywidowpenalty=10000 \allowdisplaybreaks[1] \AddToHook{cmd/section/before}{\Needspace{7\baselineskip}} \AddToHook{cmd/subsection/before}{\Needspace{4\baselineskip}} \title{Deterministic low-space Subset Sum} \author{Yilin Liu} \date{4 December 2026} \begin{document} \makeatletter \begin{center} {\LARGE\bfseries\parbox{.99\linewidth}{\centering\@title}\par} \vspace{.8em} {\large\@author\par} \vspace{.4em} {\small\@date\par} \end{center} \makeatother \begin{abstract} We give a deterministic algorithm for Subset Sum in \(O^*(2^{n/2})\) time and \(O^*(2^{0.18103n})\) writable bits. A middle-layer cover supplies the partition's support bounds. One ordered join handles paged and residue-filtered streams and returns a witness. \end{abstract} \section{Introduction}\label{sec:intro} Given signed binary integers \(w_1,\ldots,w_n,t\), Subset Sum asks for \(I\subseteq[n]\) with \(w(I)=t\), where \(w(I)=\sum_{i\in I}w_i\). Here \(\Ostar\) suppresses factors polynomial in the binary input length \(L\). \begin{theorem}[Deterministic time and space]\label{thm:main} Subset Sum has a deterministic algorithm using \(\Ostar(2^{n/2})\) bit operations and \(\Ostar(2^{0.18103n})\) writable bits. It returns a witness on the original indices or reports infeasibility. \end{theorem} We use a uniform random-access bit model with read-only input. Logarithms are base two unless written \(\ln\), and \(h\) is binary entropy. Appendix~\ref{sec:certificate} specifies the exact numerical policy. \paragraph{Prior work.} Schroeppel and Shamir~\cite{SS} attained the same time exponent with space exponent \(1/4\). For polynomial-bit inputs OpenAI~\cite{OAILow} attained \(\Ostar(2^{0.199n})\) writable words at that time exponent with one-sided error. We use its three-block modular layout. \section{Partition and matching}\label{sec:algorithm} Pad with zeros to \(3m=n+O(1)\) slots with \(8\mid m\). Fix \(q=54309/100000\) and capacity \(C=2^{\lceil qm\rceil}\). For \(L>2^{\xi m}\), direct enumeration costs polynomial time and space in \(L\). Choose rational \(\xi>0\) so that \(O(\log(n+L))/m\) errors in strict guards fit their finitely many positive margins, including the band gap of Section~\ref{a-shared-cover-for-cardinality-bands}. Indeed \(\log(n+L)\le \xi m+O(\log m)\) on the remaining inputs. For a coordinate set \(U\) put \(\Sigma(U)=\{w(I):I\subseteq U\}\), \(N(U)=|\Sigma(U)|\), \(d(U)=|U|-\log N(U)\), and \(b(U)=\lceil d(U)\rceil\). Use fixed orders for ties. \begin{enumerate} \item Partition into three \(m\)-blocks. If a block has \(b(U)/m\ge3/4-q\), use the two-half search. Otherwise extract a base \(V\) from a least-proxy block \(A\) (Section~\ref{sec:support-choice}) and put \(x=b(A)/m\). The reserves are disjoint prefixes and suffixes of a fixed order on \(A\setminus V\), with certified total length at most \(m-|V|\). \item Tabulate enlarged-block proxies for all reserve lengths. In each proxy bin of width \(h_\Delta=\max(1,\lfloor\Delta m/16\rfloor)\), test the longest reserve, where \(\Delta\) is the appendix's terminal-domain allowance. In \(B\cup E\), test the two \(m\)-sets from deletion and the middle-layer cover. If a tested \(U\) has \(b(U)\le b(A)-h_\Delta\), replace \(A,B\) by \(U,(A\setminus E)\cup((B\cup E)\setminus U)\) and restart. The minimum proxy falls by \(h_\Delta\), so the rounds and bins per side each number \(O(1/\Delta)\). A tested reserve contains all reserves in its bin and their proxies differ by less than \(h_\Delta\). \item On the terminal partition enumerate certified top layers, layouts and local representations. Fix tertiary coordinates and quotas before primes and shifts. The prime chain and weighted covers stream the two sides in complementary weight order, keeping one indexed witness per restored weight and shared label (Sections~\ref{sec:modular} and~\ref{sec:generation}). At a compatible equal-weight match combine the exclusive masks and reconstruct the shared mask, discarding padding. Exhaustion reports infeasibility. \end{enumerate} \paragraph{Two-half search.} Place the high-deficiency block \(B\) in one half, whose support is at most \(U=2^{3m/2-d(B)}\). Apply Lemma~\ref{lem:cap} to its weights, testing complementary right sums against each completed dictionary by the band join on quarter streams from eighth lists. The \(\Ostar(1+U/C)\) cells each cost \(\Ostar(2^{3m/4}+C)\) startup and \(\Ostar(2^{3m/2})\) total raw reports per depth. Since \(d(B)>m(3/4-q)-1\), time is \(\Ostar(2^{3m/2})\) and space is \(\Ostar(C+2^{3m/8})\) bits. \section{Ordered generation}\label{sec:join} A key is a weight and fixed-length binary label. Query a weight interval, or a label prefix at a singleton weight, keeping one witness per key until completion or overflow at \(C+1\). Let \(J_A\) count raw occurrences in cell \(A\), including rejected occurrences under their reported keys. \begin{lemma}[Bounded dictionaries]\label{lem:cap} With \(U\) distinct keys, \(J\) raw occurrences and query cost \(\Ostar(K+J_A)\) time and \(S\) space, stream all keys in either weight order in \(\Ostar(K(1+U/C)+J)\) time and \(\Ostar(C+S)\) space. Suspension retains one completed dictionary and polynomial traversal state. \end{lemma} \begin{proof} Start with the full weight interval. On overflow discard the query and dictionary, bisect the interval and recurse in the required order. Split by label bits at a singleton weight. Polynomial bit length bounds the depth. At each depth there are at most \(U/(C+1)\) overflowing cells and each raw occurrence lies in one cell. Thus there are \(\Ostar(1+U/C)\) queries. Close each finished generator before sorting and emitting its dictionary, for \(\Ostar(U)\) total sorting time, absorbed by \(\Ostar(J)\). \end{proof} \subsection{Band queries}\label{sec:band-join} Sort by modular key when present, then by weight and tag. For a left occurrence \(x\) let \([a(x),b(x)]\) be its allowed right range, including every tag at the endpoints. Complementary order makes both endpoints nondecreasing for sum intervals. \begin{lemma}[Band join]\label{lem:band} For a consecutive left page of capacity \(C\) with endpoints \(u,v\), query \([a(u),b(v)]\). For each returned right occurrence, binary search the page for the matching range and emit its pairs. If a right span costs \(\Ostar(K+\sum_z e_z)\) over its returned occurrences, where \(e_z\le C\) and \(\sum_z e_z\le H_R\) over the right stream, then \(L_0\) left occurrences and \(J\) pairs cost \(\Ostar(K(1+L_0/C)+H_R+J)\) beyond setup and left generation. The join keeps one left page and a right iterator besides the left generator and persistent right index. \end{lemma} \begin{proof} The pages whose spans contain \(z\) are consecutive. Their first and last appearances cost at most \(2e_z\). On every interior page, the previous upper and next lower endpoints imply that \(z\) matches all \(C\) left occurrences. Their reports pay \(e_z\). There is one startup per page, including the short last page. \end{proof} \paragraph{Stored rows and paging.} In a heap merge of stored rows, advance one forward iterator to each lower endpoint and make a copy for the span. A paged row regenerates its subleaves with this join. A modular interval splits into at most two additive bands at the wrap point. For leaf startup \(F_0\) and filtered counts \(G_1,G_2\), the cost is \(\Ostar(F_0+C+G_1+G_2+F_0G_1/C+J)\). The capped left generator concatenates completed cells into pages. \paragraph{Filtered rows.} Let \(H\) raw occurrences be sorted by output key and raw tie-breaker, with \(\Ostar(C)\) seek time and space. Retain the first compatible occurrence per output key. In one pass index each gap of more than \(C\) raw positions, strictly after a retained position through the next retained position inclusive. Include initial and terminal gaps. Store the boundaries and the right retained record, if present, in \(\Ostar(1+H/C)\) entries. Seek to a span's lower bound including all ties. Scan short gaps and suppress duplicate keys. From anywhere inside an indexed gap jump to its stored record and resume strictly after it, or stop if there is no such record in range. This reaches the first compatible occurrence of each requested key. Charge that emission the minimum of \(C\) and its preceding gap length. The unfinished gap costs \(\Ostar(C)\), so Lemma~\ref{lem:band} applies with \(H_R=H\). For \(H=\Ostar(C^2)\) the index fits the array space and joining two such streams costs \(\Ostar(C+H_L+H_R+J)\). A restored parent key is its weight and top label. Its witnesses vary only on exclusive coordinates and have identical matches. \section{Support counts and coordinate selection}\label{sec:support-choice} Stream indexed sums using sorted half lists and a heap of pair rows. If the half lists exceed capacity for width \(wm\), use quarter streams and the capped dictionary on weight cells. This costs \(\Ostar(2^{wm}+2^{(3w/2-q)m})\) time and \(\Ostar(C+2^{wm/4})\) space by Lemma~\ref{lem:cap}. \begin{lemma}[Simultaneous support counts]\label{lem:counts} One support pass gives the support sizes of all single deletions, or of all prefixes of an ordered reserve attached to a block. \end{lemma} \begin{proof} For each sum, intersect the masks realizing it. A deletion preserves the sum exactly when its coordinate is outside the intersection. For a reserve, each mask first appears at the largest reserve position it uses, or zero if it uses none. Take the minimum such position at each sum and cumulate its counts over prefixes. Each summary per sum is one bit set or integer. A completed dictionary cell collects all occurrences of its weights. \end{proof} \begin{lemma}[One cover for all lower ranks]\label{lem:cover} For retained width \(u>k/2\), put \(j_*=\lfloor k/2\rfloor\) and \(p_j=\binom uj/\binom kj\). A streamed family of \(\poly(k)/p_{j_*}\) many \(u\)-sets covers the \(j_*\)-layer and contains each \(j\)-set, \(j\le j_*\), in a \(p_j/\poly(k)\) fraction. \end{lemma} \begin{proof} Split into four nearly equal cells of sizes \(k_i\). For each rank profile \((j_i)\), choose widths \(u_i\) summing to \(u\) that maximize \(\prod_i\binom{u_i}{j_i}/\binom{k_i}{j_i}\). Averaging over the widths of a uniform \(u\)-set gives \(p_{j_*}\). In each cell repeatedly cover at least the mean remaining fraction. Fix the next set bit by conditional binomial counts of completions containing each uncovered face. Each round scans the faces, and the number of rounds is at most their count. Take the product of cell covers, then union over profiles. Setup has time \(\Ostar(2^{2\lceil k/4\rceil})\) and space \(\Ostar(2^{\lceil k/4\rceil})\). The \(\binom{k-j}{j_*-j}\) extensions of each \(j\)-set require at least \(p_j/p_{j_*}\) members containing it, since a member contains at most \(\binom{u-j}{j_*-j}\) extensions. \end{proof} \begin{lemma}[Weighted projection]\label{lem:rank} Let \(M\) be the largest support over the cover for a \(k\)-block \(V\). Put \(\rho=u/k\) and \(x=d(V)/k\). For \(0\le Y\le (u-\log M)/k\) and \(b=\rho-Y\), there is \(0\le z\le\min(b,1/2)\) with \begin{equation}\label{eq:rank} 1-x\le h(z)+bh(z/b)-\rho h(z/\rho)+O(\log(k+1)/k). \end{equation} For \(x\le .022\) and sufficiently large \(k\), one can take \(z\ge2/5\). \end{lemma} \begin{proof} Choose the lexicographically least mask for each sum. Replacing a projection by a smaller equal-weight mask would decrease the representative, so projections are sum-injective. In each coordinate replace the slices by union and intersection. This preserves size and earlier downward closures, and cannot increase any projection. The resulting downset \(\mathcal D\) has size \(N(V)\) and \(|\mathcal D\cap2^U|\le N(U)\) for all \(U\). For a downset \(D\) and \(s\ge1\), nested slices of sizes \(a\ge c\) give by induction \begin{equation}\label{eq:moment} \sum_{I\in D}(2^s-1)^{|I|}\le |D|^s,\qquad a^s+(2^s-1)c^s\le(a+c)^s. \end{equation} The second inequality uses the decrease of \(((1+t)^s-1)/t^s\) between \(t=c/a\) and \(1\), with the zero cases by continuity. Downset rank densities decrease by double counting adjacent ranks. Pair complementary ranks to obtain \(j\le j_*\) with at least \(N(V)/(2(k+1))\) faces. A cover member contains a \(p_j/\poly(k)\) fraction of them. For \(z=j/k\), the presence of one face gives \(z\le b\). The moment bound inside that member and binomial entropy bounds give \eqref{eq:rank} with \(bh(z/b)\) replaced by \(sb-z\log(2^s-1)\). For \(z\ge b/2>0\) minimize at \(s=-\log(1-z/b)\), with the limit at \(z=b\). For \(z.022\) gives the final claim. \end{proof} Testing the cover costs \(\Ostar(2^u/p_{j_*})\) time and \(\Ostar(2^{u/2})\) space, including setup. At \(k=m\), \(.64\le\rho\le.96\), the time rate \(1+\rho-\rho h(1/(2\rho))\) decreases and is at most \(1.36\) by \(h(p)\ge2(1-p)\). Space has rate at most \(.48\). For \(k=wm\), \(1\le w\le1.18\), \(u=m\), the rates are \(w+1-h(w/2)\le1.36\) and \(1/2\). At \(w=1\) test the block itself. \subsection{Greedy deletion}\label{sec:core} Let \(X\) be uniform on the canonical \(N\) masks of an \(a\)-block. If \(E_i\) is the internal edge count in direction \(i\), then \(H(X_i\mid X_{-i})=2E_i/N\). Conditioning and the chain rule give \(2\sum_i E_i/N\le\log N\). Deleting a least-edge direction leaves \(N-E_i\) projected masks with distinct sums. Thus the maximum-support deletion computed by Lemma~\ref{lem:counts} obeys \begin{equation} d_{a-1}\le d_a-\log(1+d_a/a). \label{eq:134} \end{equation} Deficiency density decreases since \(\log(1+x)\ge x\) on \([0,1]\). At initial density at most \(\kappa>0\), concavity gives \(\log(1+x)\ge\lambda x\) for \(x\le\kappa\), where \(\lambda=\log(1+\kappa)/\kappa\). Iterate \(1-\lambda/a\le(1-1/a)^\lambda\) to obtain \begin{equation} d(U)\le (u/k)^\lambda d(V),\qquad |U|=u,\quad |V|=k. \label{eq:135} \end{equation} Zero deficiency and the empty core hold directly. \subsection{Extraction and the terminal bound}\label{sec:terminal} For \(H(c)=ch(z/c)\) we have \(H'(c)=-\log(1-z/c)\) and \(-H''(c)=z/[c(c-z)\ln2]\). In \eqref{eq:rank}, bound \(H(\rho)-H(\rho-Y)\) below by \(Y H'(\rho)\), then use the tangent in \(z\) at \(1/2\) and \(1-h(z)\ge2(1/2-z)^2/\ln2\). Completing the square yields \begin{equation}\label{eq:projection} x\ge r_0Y-v_0Y^2-O(\log(k+1)/k),\qquad r_0=\log\frac{\rho}{\rho-1/2},\qquad v_0=\frac{1}{8\ln2\,(\rho-1/2)^2}. \end{equation} For \(x\le .022\), \(z\ge2/5\) gives the lower bound \((2/5)/[\ln2\,\rho(\rho-2/5)]\) on \(-H''\) over the integration interval, so subtract half this value from \(v_0\). On the certified widths the quadratic increases over \(0\le Y\le.0221\), which contains the deletion bound for \(x\le.022\). It decreases with \(\rho\) when \(Y\le2(\rho-1/2)^2/\rho\), as holds for \(\rho\ge.64\). The refinement also decreases. Let \(\beta(x,\rho)\) take the better upper bound from projection and deletion, with \(\beta(0,\rho)=0\). Appendix~\ref{sec:certificate} gives its rational evaluation. At a terminal partition, tested \(m\)-sets have deficiency greater than \(mx-h_\Delta\). With \(x'=(x-h_\Delta/m)_+\) and tested width \(w'm\), use \(\rho=1/w'\), \(Y=x'/w'\) in \eqref{eq:projection} to obtain a floor \(G(x',w')-O(\log(m+1)/m)\), where \begin{equation}\label{eq:terminal} G(x,w)=-x\log(1-w/2)-\frac{w x^2}{2\ln2\,(2-w)^2}. \end{equation} For \(x\le.012\) add \((2/5)wx^2/[2\ln2(1-(2/5)w)]\). The refined floor is automatic if the tested density exceeds \(.022\). On \(x\in[0,.207]\), \(w\in[1,1.18]\), the derivative of \(G\) in \(w\) is nonnegative since \(x(w+2)\le2(2-w)^2\). The added term increases in \(w\), and both floor functions have \(x\)-derivative of absolute value below \(3\), using \(\ln2>2/3\). The actual reserve is contained in the tested one and loses less than \(h_\Delta\) in proxy. Hence its floor is \(G(x,w)\), or the refined floor, minus \(4h_\Delta/m+O(\log(m+1)/m)\). For the deletion floor put \(\ell=(75/52)(1-xw/2)\) and \(w_*=\max(1,w-1/m)\le w'\). A tested deficiency rate above \(xw_*^2\) exceeds \(xw_*^\ell\). Otherwise its density is at most \(xw_*\le xw\), so \(\ln(1+t)\ge t-t^2/2\) gives deletion power at least \(\ell\) and rate at least \(x'w_*^\ell\). The actual reserve loses at most \(3h_\Delta/m+O(1/m)\) relative to \(xw^\ell\). Integrating the second derivative gives \(w^\ell\ge1+\ell(w-1)+\ell(\ell-1)(w-1)^2/(2w)\). Both losses fit \(\Delta\) beyond a fixed cutoff, since \(h_\Delta/m\le\Delta/16+O(1/m)\). Exhaust smaller instances. \section{Support-dependent signings}\label{sec:signing} \subsection{A fixed-layer trace inequality}\label{sec:trace} For integers \(0\le k,r\le c\) and \(|\mathcal F|\ge2^k\) on the \(c\)-cube, \begin{equation} \sum_{|T|=r}|\pi_T\mathcal F| \ge [z^r](1+2z)^k(1+z)^{c-k}. \label{eq:139} \end{equation} To prove this, write \(W(I)\) for the multiset of binary Hamming weights on an integer interval. Compare multisets by all upper-threshold counts. For \(a\ge b\ge0\) we claim \begin{equation} W([a,a+b))\ \text{dominates}\ 1+W([0,b)). \label{eq:140} \end{equation} Induct on \(a+b\), with \(b=0\) immediate. Smaller instances imply \(W([u,u+v))\) dominates \(W([0,v))\). Apply \eqref{eq:140} to \((\max(u,v),\min(u,v))\) and cancel the common prefix counts if \(u17/20\) on a good shell. Pigeonhole its canonical weights by mask cardinality, complement if needed, and trim fewer than \(Q_{\rm grid}\) positions. The smaller layer \(k\le r/2\) retains \(2^\ell/\poly(m)\) weights, so \begin{equation} h(k/r)\ge\ell/r-o(1)>17/20>h(1/4). \label{eq:157} \end{equation} Indeed \(3^9>2^{14}\) gives \(h(1/4)<5/6\). Retain quarter layers \(r/4\le k\le r/2\). For biased top fractions \(k/c>.1\) and \((r-k)/c>.2\). Thus \(h(.1)>9/20\) and \(h(.2)>7/10\) give mean entropy above \(23/40\). For strict local cores the policy gives \(k/c>.11\), \((r-k)/c<.34\), hence \begin{equation} h((r-k)/c)-h(k/c)<7/16. \label{eq:159} \end{equation} Concavity also gives \(h(k/c)+h((r-k)/c)\ge h(\theta)-o(1)\). At fixed local layer, layout and child roles, test supports of the candidate shells before enumerating centers \(D\) for good shells. One prime-trial scan costs \begin{equation} \Ostar\!\left(\tbinom cr2^r+K|G|2^r\right)=\Ostar(2^{c+r}). \label{eq:160} \end{equation} Unsigned shell tests are independent of the center and outer top label. \section{Weighted ownership representations}\label{sec:ownership} For a top core of width \(a=\rho m+O(1)\), support \(N\) and deficiency \(d=a-\log N\), fix the certified quota \(p\) and angle bound \(t_*\). With largest owner region \(k_{\max}\) and container enlargement \(E\) from Section~\ref{sec:containers}, the bounds are \begin{equation} \begin{aligned} T_{\rm owner}&=\Ostar(2^{3a/2+2d}),& S_{\rm owner}&=\Ostar(2^{a/2}+2^d),\\ T_{\rm container}&=\Ostar(2^{3k_{\max}/4}),& S_{\rm construction}&=\Ostar(2^{k_{\max}/4}),& S_{\rm assignment/index}&=\Ostar(2^{a h(p)+E}). \end{aligned} \label{eq:162} \end{equation} \subsection{Coefficients and distances}\label{sec:distance} Let \(H\) be the owner-right region of size \(b\). For a true top mask \(S\) and variation \(R\) set \begin{equation} (\alpha_i,\beta_i)= \begin{cases} (S_i\oplus R_i,\ R_i(2S_i-1)),&i\notin H,\\ (R_i(2S_i-1),\ S_i\oplus R_i),&i\in H. \end{cases} \label{eq:163} \end{equation} The coefficients sum to \(S_i\). A pair is compatible exactly when its sums are binary. The left weight is \(w(S\setminus H)+ w^{S\oplus H}(R)\), with \(w_i^G=(-1)^{G_i}w_i\). For the canonical family \(\mathcal F\), let \(N_j(S)\) count witnesses at distance \(j\). Fix \(0\le u\le a-b\), \(0\le v\le b\), and \(j=b+u-v\). Write \begin{equation} Q=\tbinom{a-b}u\tbinom bv,\qquad c(S,H)=\#\{X\in\mathcal F: |(X\oplus S)\setminus H|=u,\ |(X\oplus S)\cap H|=b-v\}. \label{eq:164} \end{equation} Then \(R=X\oplus S\oplus H\) has quotas \(u,v\) and signed weight \(w(X)-w(S\oplus H)\), so \(c(S,H)\le Q\) counts distinct quota weights. Double count the distance masks and owners to get \begin{equation} \tbinom aj\tbinom ju\tbinom{a-j}v=\tbinom ab Q,\qquad \mathbb E_H c(S,H)=N_j(S)Q/\tbinom aj . \label{eq:165} \end{equation} For any band \(I\) with \(\sum_{j\notin I}\binom aj\le N/2\), some \(j\in I\) has \(N_j(S)\ge N/[2(a+1)]\), for each \(S\). \subsection{Weighted owner covers}\label{sec:owner-cover} \begin{lemma}[Threshold cover]\label{lem:owner-threshold} For a nonempty finite pattern set \(\mathcal E\), suppose integer scores \(0\le c(S,H)\le Q\) have mean at least \(M>0\) over owners for every \(S\in\mathcal E\). Pairs \((H,\ell)\), qualifying a pattern when \(c(S,H)\ge2^\ell\), cover \(\mathcal E\) with counts \begin{equation} \sum_\ell K_\ell2^{-\ell} \le\frac{(1+\lfloor\log Q\rfloor)(1+\ln|\mathcal E|)}{M}, \qquad K:=\sum_\ell K_\ell\le Q\sum_\ell K_\ell2^{-\ell}. \label{eq:168} \end{equation} \end{lemma} \begin{proof} For \(U\) uncovered patterns take an owner with total score at least \(MU\). If \(r_\ell\) qualify at level \(\ell\), then \(\sum_\ell2^\ell r_\ell\ge MU\). Remove those at the maximizing level, charging \(2^{-\ell}\le(1+\lfloor\log Q\rfloor)r_\ell/(MU)\). Sum the harmonic charges. The second inequality uses \(2^\ell\le Q\). \end{proof} In pure ownership use the eligible patterns \(N_j(S)\ge N/[2(a+1)]\), so \(M=NQ/[2(a+1)\binom aj]\) by \eqref{eq:165}. Assign a pattern to its first qualifying pair. Then \(K\le\poly(a)2^d\), and \(t=j/a-1/2\) gives \begin{equation} \log Q-\ell+\log K_\ell\le d-aD(t)+O(\log a), \qquad D(t)=1-h(1/2+t). \label{eq:171} \end{equation} \paragraph{Implementation.} A prefix fixes owner-one set \(F_1\), owner-zero set \(F_0\), and leaves \(W\) free, with \(B_P=\binom{|W|}{b-|F_1|}\) completions. For \(|Y|=j\), put \(z_1=|Y\cap F_1|\), \(z_w=|Y\cap W|\). The number of quota completions is \begin{equation} k_P(Y)=\binom{z_w}{b-v-z_1}\binom{|W|-z_w}{v+z_1-|F_1|}. \label{eq:169} \end{equation} It is zero for other distances or infeasible arguments. For the uncovered set \(\mathcal U\) the conditional score is \begin{equation} B_P^{-1}\sum_{S\in\mathcal U}\sum_{X\in\mathcal F}k_P(S\oplus X). \label{eq:170} \end{equation} Choose each prefix bit by exact comparison to keep at least the current conditional mean. Distance, quota and prefix kernels depend on mismatch counts in a fixed number of regions. For \(b'\) owner coordinates with \(v'\) low bits, fix the high pattern bits. Replay the canonical stream, group its low projections by high mismatch counts, and XOR-convolve each group with the low kernel. Walsh transforms use polynomial-bit integers and character orthogonality. The resulting scores mark eligibility, prior qualifications and current threshold counts. For canonical replay cost \(T_{\rm can},S_{\rm can}\), the bounds are \(\Ostar(2^{b'-v'}(1+K)^2(T_{\rm can}+2^{v'}))\) time and \(\Ostar(S_{\rm can}+2^{v'}+K)\) bits. The square sums the earlier owner tests across choices. Stream each family in turn for shared lists. Half lists heap-merge \(u'\) coordinates in \(\Ostar(2^{u'})\) time and \(\Ostar(2^{u'/2})\) space, keeping the least equal-sum mask. Use \(b'=u'=a\), \(v'=\lceil a/2\rceil\) in \eqref{eq:162}. Construct the lists before common primes. \subsection{Equal rates on unequal regions}\label{sec:equal-rates} For distance \(j\) take \begin{equation} t=j/a-1/2,\quad z=t/(1-2p),\quad b=a(1/2+z), \quad u=p(a-b),\quad v=pb. \label{eq:172} \end{equation} Round \(b,u\) and set \(v=b+u-j\) to preserve the distance. The retained angle band keeps widths and quota fractions away from endpoints. Thus, for owner widths \(n_-=a-b,n_+=b\), \begin{equation} \log Q=a h(p)+O(\log a),\qquad u+v=pa+O(1). \label{eq:173} \end{equation} The pure-mode certificate checks \begin{equation} \beta(X_0,\rho)/\rho<2t_*^2/(52/75)\le D(t_*), \label{eq:174} \end{equation} where \(X_0\) ends that mode. Since the retained density is at most \(\beta(X_0,\rho)/\rho+o(1)\), the binomial tail \(2(a+1)2^{a(1-D(t_*))+O(1)}\) is below \(N/2\). \subsection{Fine profiles and background}\label{sec:profiles} Fix the physical images before prime selection. Fixed-layer branches specify the exact local layer, layout and roles. Band branches fix the unsigned capped family and enumerate bands, allocation recipes and exact alternatives (Section~\ref{allocation-within-a-cardinality-band}). Test these images with the global exact-quota top images. On a good path keep one top witness per occupied residue. Pigeonhole the balanced top layout and fine-chunk counts among these witnesses. Some refinement preserves a polynomial fraction of the residues. Its allocation costs and ancestor offsets can change, while the physical images stay fixed. A band seed determines the exact local layer and layout. For each profile let \(P_-,P_+\) be the products of binomial quota counts in the fine chunks of \(H^c,H\). Put \(h_\pm=\log P_\pm\) and \(r=u+v\). The raw masses and total with background are \begin{equation} L_L=n_-+h_++v,\quad L_R=n_++h_-+u,\quad M_{\rm total}=m+h_-+h_++r . \label{eq:175} \end{equation} With \(g=\lfloor\gamma m\rfloor\) reserved on each side, fit the total into two intervals \([\max(m/2,L_j+g),M_{\rm cap}]\), where \begin{equation} M_{\rm cap}=(m+\log Q+r)/2 . \label{eq:176} \end{equation} The upper endpoints suffice because \(P_-P_+\le Q\). Using \(h_\pm\le n_\pm h(p)+O(\log a)\), each lower endpoint fits because the certificate checks \begin{equation} 1-\rho-2\gamma>2|z|\rho[1-h(p)-p],\qquad 1/2-\gamma>(1-p)\rho(1/2+|z|). \label{eq:177} \end{equation} The lower endpoints also sum to at most the total up to rounding. Two \(m/2\) endpoints use \(M_{\rm total}\ge m\), two raw endpoints use \(m-a\ge2g\), and a mixed pair uses the second guard and \(L_R+m-a\ge m-(1-p)n_-+O(1)\) or its symmetric bound. Intersect the left interval with \(M_{\rm total}\) minus the right interval, reversing its endpoints. Choose an integer background split from \([g,m-a-g]\) reaching that intersection within one unit, by monotone product comparisons. Squaring products compares with \(2^m\) and \(2^{m+r}Q\). Thus \begin{equation} m/2-O(1)\le M_j\le(m+a[h(p)+p])/2+O(\log a). \label{eq:178} \end{equation} Fix the reserves first. Raw, restart and leaf substitution gives \begin{equation} D_p=(h(p)-p)/2,\qquad A_p=(h(p)-3p)/4,\qquad f_p=(h(p)+p)/8 . \label{eq:179} \end{equation} Equation~\eqref{eq:171} saves \(aD(t)\) in raw and restart rates. Container enlargement affects incidence and tuple state. A fine factor has logarithmic size at most twice its width. Packing errors total \(O(m/Q_{\rm grid}+Q_{\rm grid}\log(m+1))\). \subsection{Mixed top representations}\label{sec:mixed-top} \subsubsection{Shared owner region}\label{sec:shared-owner-region} On \(c\) coordinates choose an owner region \(W\) of size \(b\), with shells \(T\) of size \(r\) in its \(a=c-b\) complement. Uniform \(W,T\) give a uniform union of width \(\alpha c=b+r\). By \eqref{eq:145} its mean support is at least \(2^{b+r-cP_\alpha(d/c)}/\poly(n,L)\). Choose \(W\) by conditional expectation of \(\sum_T N(W\cup T)\). With forced-in \(I\) and forced-out \(O\), a candidate union \(U\) contributes \(N(U)\mathbf1_{\{I\subseteq U\}}\binom{|U\setminus(I\cup O)|}{b-|I|}\) to the numerator. Divide by the number of completions of \(W\). One support pass per union gives time \(\Ostar(2^{[h(\alpha)+\alpha]c})\) and space \(\Ostar(2^{\alpha c/2})\). Choose the largest dyadic shell-class mass \(2^{\ell_U}|G|\). With \(d_U=b+r-\ell_U\) and signing count \(K_A\), that mass, \(|G|\le\binom ar\) and \(K_A|G|\le\poly(n,L)2^a\) give \begin{equation} d_U\le cP_\alpha(d/c)+O(\log(n+L)),\qquad d_U+\log K_A\le a[1-h(r/a)]+cP_\alpha(d/c)+O(\log(n+L)). \label{eq:mixed-trace} \end{equation} \subsubsection{Physical branches and resources}\label{sec:mixed-top-application} Set \(c=\rho m+O(1)\), \(b=\lambda c+O(1)\), \(r=sa+O(1)\) with density at most \(.020\) and \(cP_\alpha(d/c)\le\mathcal Bm\). For each signing \(D_A\) and good shell \(T\), take the first \(2^{\ell_U}\) canonical masks of \(T\cup W\). Some signed ordinary layer \(k\) has at least \(N_*=\lfloor2^{\ell_U}/(r+1)\rfloor\) masks. Keep \(N_*\) in each eligible layer, of which at least \(N_* /(b+1)\) have a common owner distance \(j\) for every true owner mask \(S_W\). For fixed \(D_A,k,j\), construct one threshold owner list for qualifying \((T,S_W)\) across the shell class. Use each pair's first qualifying owner. With \(B_k=\binom rk\) and owner quota product \(Q_W\), the ordinary and owner variations \(X_T\triangle(D_A\cap T)\) and \(X_W\triangle S_W\triangle H\) have joint weight \(w(X)-w(D_A\cap T)-w(S_W\triangle H)\). Thus the scores count distinct weights, bounded by \(B_kQ_W\), with mean at least \(N_*Q_W/[(b+1)\binom bj]\). Hence \[ r+\log Q_W-\ell+\log K_W\le d_U-b[1-h(j/b)]+O(\log(n+L)), \qquad \log K_W\le d_U+O(\log(n+L)). \] The eligibility count \(B_k\binom bj\ge N_* /(b+1)\) also gives \[ r[1-h(k/r)]+b[1-h(j/b)]\le d_U+O(\log(n+L)). \] The strict guards give \(|j/b-1/2|\le.100\) and \(1/4\le k/r\le3/4\). Balance the ordinary layer and each owner region with the grids. Some layout keeps a polynomial fraction of the threshold weights, and none exceeds \(B_kQ_W\) occurrences. Keep the signed ordinary side and fix reserves and local modes before primes. Let \(\bar H=[h(k/a)+h(s-k/a)]/2\), \(L_0=h(s/2)-\bar H\), \(\Delta_0=|h(k/a)-h(s-k/a)|\), and \(z=(j/b-1/2)/(1-2p_{\rm o})\). The log-size contrast is at most \(a\Delta_0+2b|z|[1-h(p_{\rm o})-p_{\rm o}]+O(Q_{\rm grid}\log n)\). The certified reserves fit outside the top base. Balance the parents by allocating the rest of the background. Since \(\bar H\ge1/2\), each retains movable mass at least \(m/2-O(Q_{\rm grid}\log n)\) before reserve transfer. A half side can keep its reserve in ancestor factors, with ambient support from the exclusive block and reserve together. The central coefficients are \(D=E_0-U-T_0\), \(A=D-U/2\), \(f=U/4\), with \[ \begin{aligned} U&=(1-\lambda)[h(s/2)-1/2]+\lambda[h(p_{\rm o})+p_{\rm o}]/2,\\ E_0&=(1-\lambda)s+\lambda h(p_{\rm o}),\qquad T_0=(1-\lambda)[1-h(s)]. \end{aligned} \] The layer credit \(aL_0\) reduces raw, restart and leaf exponents by \(aL_0,3aL_0/2,aL_0/4\). The owner-distance credit \(b[1-h(j/b)]\) reduces raw and restart. Tensor the ordinary separators and owner rectangles to enforce disjointness and binary sums. The incidence excess is bounded by \[ T_0\rho/2+\mathcal B-y-aL_0/m+ \bigl(E_{\rm own}/2-b[1-h(j/b)]\bigr)/m, \] using \(E_{\rm own}/2\le(3/8)b[1-h(j/b)]\). The two label loops cost \(\Ostar(2^{(T_0\rho+\mathcal B)m})\) by the threshold and trace bounds. The owner-score replay count over signings and shells is at most \(K_A\binom ar\le\poly(n,L)2^{a+\mathcal Bm}\). A canonical replay costs \(\Ostar(2^{r+b})\). The square of the owner count contributes at most \(2^{2d_U}\) times a polynomial. Cap the low part at \(qm+O(1)\) coordinates. Thus the time rate is \(\rho[1+(1-\lambda)s]+3\mathcal B+(\lambda\rho-q)_+\). The image scan visits each eligible pair once, at its assigned owner, for cost \(\Ostar(K_A|G|2^bB_kQ_W)\le\Ostar(2^{(1+E_0)c})\). Test shell membership before visiting owners. Within each fixed local profile share local scans across top labels and charge histograms and shifts per label. The certificate bounds the stream, XOR and residue arrays, and tuple index. \section{Common primes and modular covers}\label{sec:modular} Set \(u=n+L+2\). For an image \(X\) of distinct integer sums, write \(C_q(X)=\sum_{z\bmod q}f_z(f_z-1)\) for its ordered collision count, with frequencies \(f_z\). Differences have fewer than \(2u\) bits. \paragraph{Prime selection.} For an increment \(h\ge4\), sieve primes in \([2^h/(4h),2^h)\). At \(x=2^h\), the central binomial coefficient is at least \(2^x/(x+1)\) and has prime valuations at most \(\lfloor\log_p x\rfloor\), by the factorial formula. Hence \(\pi(x)\ge (x-\log(x+1))/h\). Since \(x\) is composite, removing primes below \(x/(4h)\) leaves at least \(x/(4h)\). For each pair colliding modulo \(q\), the quotient \((x'-y')/q\) has at most \(2u\) distinct prime divisors. A uniform pool prime therefore gives \(\mathbb E C_{qp}(X)\le 8u^22^{-h}C_q(X)\). Reject if \(2^h C_{qp}(X)>4096u^2 C_q(X)\), an event of probability at most \(1/512\), including the zero-collision case. At a fixed prefix, every surviving witness has at most two assigned subsidiary images with active tests up to their respective scales. Their expected loss fraction is at most \(2/512\). A primary pattern rejects the extension if its own test fails or more than a quarter of survivors fail a subsidiary test. Markov bounds the total rejection probability by \(9/512<1/10\); an empty survivor set contributes zero. Pattern names have polynomial length, so \(2^B\) bounds their number for some polynomial \(B\). Choose \(k=32(B+1)\) prime positions with repetition by successively minimizing \(\sum_A2^{b_A+\mathbf 1_{\{A\text{ rejects }p\}}}\), with \(b_A\) the previous rejection count. Each step grows the potential by at most its mean factor \(11/10\), so the final value is less than \(2^{k/4}\). A top pattern and two local patterns thus share an acceptable position. \paragraph{Scale and density.} At integer stride \(g=\max\{1,\lfloor .53m/\PrimeDivisor\rfloor\}\), insert exact top and local endpoints and round tertiary endpoints down. There are \(D=O(\PrimeDivisor)\) increments, each at most \(g\). Use factor one for increments below four and the prime selection above otherwise. The constant-depth tree has polynomial size. On an acceptable path, multiplying the intervals and tests gives \[ \begin{aligned} 2^{\ell_i}/\poly(u)&\le p_i\le2^{\ell_i}, &C_{p_i}(X_i)&\le(4096u^2)^D|X_i|^2/p_i,\\ p_i&\mid p_j, &p_j/p_i&\le2^{\ell_j-\ell_i}\quad(\ell_i\le\ell_j). \end{aligned} \] By Cauchy--Schwarz and \(\sum_z f_z^2=|X_i|+C_{p_i}(X_i)\), the residue count is at least \(p_i/(p_i/|X_i|+(4096u^2)^D)\). Retaining a fraction \(a\) reduces this guarantee by at most the factor \(a^2\), since the second moment only decreases. Here \(a\ge(3/4)^D\) and eligibility gives \(p_i/|X_i|\le u^e\), so density is at least \(\delta=u^{-b_0}\) for fixed \(b_0>\max(e,2D)+1\) above the cutoff. Evaluate potentials by streaming one image and replaying the prime positions. The ordinary pass costs \(\Ostar(2^{c+r})\) by Section~\ref{sec:image-scans}, with Good membership outside the signing loop. Pure ownership scans \(2^a\) patterns and \(Q\) variations per owner, giving \(\Ostar(2^{a+a h(p)+d})\) time and \(\Ostar(2^{a h(p)})\) space by \eqref{eq:168}. The sieve adds \(2^{.53m/\PrimeDivisor+O(1)}\) trials and \(\Ostar(2^g)\) bits, within capacity. Retain one image, its frequencies and polynomial prime and potential state. Appendix~\ref{sec:certificate} checks the charges. \subsection{Translate covers and cost balancing}\label{sec:weighted-cover} \begin{lemma}[Common residues with bounded costs]\label{lem:weighted} For images in \(\mathbb Z/p\mathbb Z\) of density at least \(\delta\), a list \(U\) of size \(O(\delta^{-1}\log(M+1))\) meets all \(M\) image translates. For \(s\) nonnegative arrays \(c_i\) of means \(\mu_i\), a common shift \(a\) gives \(\sum_{\rho\in U+a}c_i(\rho)\le s|U|\mu_i\). \end{lemma} \begin{proof} With \(Q\) translates uncovered, some residue hits at least \(\delta Q\) by averaging. Find it by bisecting the residue interval. For each image, replay previous choices to find uncovered translates and use a cyclic prefix count for their hits in the interval, costing \(\Ostar(p)\) per image. The uncovered count shrinks by a factor at most \(1-\delta\). Shifting \(U\) preserves translated coverage. Minimize the sum of costs normalized by their positive means, summed over \(U+a\), in \(O(sp|U|)\) arithmetic operations. Its mean over shifts is at most \(s|U|\), and zero-mean arrays vanish. \end{proof} Build \(U\) once per unsigned local profile, and shift it per top seed and signing or band using Section~\ref{sec:exact-means}. For \(K\) signings, histograms and the complement cost \(\Ostar(K(P_{\max}+2^{m+g_j-c}))\) time and \(\Ostar(P_{\max}+K+2^{m+g_j-c})\) space. Reuse the saved seeds for all lifts. \section{Top projection and child allocation}\label{sec:allocation} \subsection{Allocating a common product}\label{sec:product-allocation} \begin{lemma}[Prescribing the child difference]\label{lem:allocate} With fixed products \(N_1,N_2\) and movable product \(P\), the ideal difference \(d\) is feasible iff \(|d-\log(N_1/N_2)|\le\log P\). A prefix split realizes a feasible target within twice the largest factor logarithm plus one bit. For infeasible targets use the nearest endpoint. \end{lemma} \begin{proof} For prefix product \(X\), the difference is \(\log(X^2N_1/(PN_2))\), increasing across the claimed interval with increments twice the factor logarithms. Round \(d\) to an integer and compare \(X^2N_1\) with \(2^dPN_2\), clearing denominators. \end{proof} The maximum of \(a+s,b-\lambda s\), \(\lambda>0\), is minimized at the crossing \((b-a)/(1+\lambda)\) clipped to the feasible interval. \subsection{Projection of a useful layer}\label{sec:projection} On a signed base of size \(b\) orient a useful layer of the selected set \(T\) by complementation if needed. A residual prescription and balanced layout (Section~\ref{sec:partitions}) preserve \(M/\poly(b)\) of its \(M\) distinct weights. Keep each lexicographically least mask in this exact cell-count branch, forming \(\mathcal F\). Distinct projections on a union of regular cells have distinct weights: replacing the larger equal-weight projection preserves every quota and contradicts minimality. For uniform \(D\in\mathcal F\) and a uniform \(p\)-cell union \(U\), the entropy chain rule gives \(\mathbb E_U H(D\cap U)\ge(p/Q_{\rm grid})\log|\mathcal F|\). Indeed, condition each regular coordinate on all its predecessors, which can only decrease entropy. Its inclusion probability is \(p/Q_{\rm grid}\), and residual bits are fixed. Some union therefore has image size \begin{equation} 2^{(a/b)\ell}/\poly(b),\qquad a=pb/Q_{\rm grid}+O(Q_{\rm grid}), \label{eq:189} \end{equation} for starting scale \(\ell\), with cell fractions preserved up to residual rounding. Enumerate layouts and unions before primes. Round \(p\) down to a multiple of four, losing at most \(4m/Q_{\rm grid}+O(Q_{\rm grid})\) coordinates. Signed coordinates outside the projection remain background and the full signing offset is restored once. For mask products \(Q_L,Q_R\) and \(F=m-a\) free bits, balance the two ancestor products by rounding \(z_L=(F+\log Q_R-\log Q_L)/2\) with \(z_R=F-z_L\), comparing powers of two times \(Q_L,Q_R\). The log-contrast is \(a\Delta+O(Q_{\rm grid}\log(m+1))\), with \(\Delta\) the entropy-rate contrast by binomial bounds. Hence \(a(1+\Delta)0\), and choose \(a=pb/(p+L_0)\). The raw contribution \(-(\tfrac12+s-\overline H)a+(a/b)\delta+\kappa\) equals \(-D_0'b+\delta+\kappa\), hence is at most \(-(D_0'-\tau_0)b+\phi_0d+O(\log m)\). The restart adds \((\overline H-1/2)a/2\) to the raw term. Its change from the center is \(L_0a(\delta/b-s)/(2p)\le0\), using \(b-a=L_0a/p\). The leaf contribution \((\overline H/4-1/8)a\) is at most the central value since \(\overline H\ge1/2\) and \(a\le b\). For the reserve use Lemma~\ref{lem:background} with \(c=s/2,t=s/2-k\), and \(g=\lfloor\gamma m\rfloor\). The certificate checks \(pB<1/5\) and \(1-B>(5/4)pB^2\). The retained quarter layers have \(\overline H>23/40\) by Section~\ref{sec:layers}. The ambient exponent with outer code is \(3m/2-d_j-(1/2+s-\overline H)a+(a/b)\delta+\kappa\). Adding separator degree \(d_sa\) and using \(D_0'-d_s=\tau_0/2\), its excess over \(3m/2-d_j+\delta+\kappa-\tau_0b/2\) is \(-L_0ad_s/p\le0\). At top proxy \(x_0\), use \(d_j\ge x_0 m-1\) and \(d\le m\beta(x_0,\rho)\). The central incidence excess divided by \(m\) is bounded by \(\tau_0\rho/2+\phi_0\beta(x_0,\rho)-x_0+1/m\). The certificate uses the terminal floor for \(d_j/m\) and a rounding allowance. \subsection{Half-selected top layers}\label{sec:half-top} For the high tail use \(b=(18/25)m+O(1)\). Prefix flips move the selected cardinality in unit steps between its original and complementary values, attaining half. Include the complement of every prefix signing. The two selected complementary halves satisfy \(N(T)N(V\setminus T)\ge N(V)\) for base \(V\), so one has at least \(\sqrt{N(V)}\) sums. Signing translates the support. Cardinality pigeonholing and \eqref{eq:189} give scale \(\ell_0=\lfloor(a/(2b))\log N(V)\rfloor\) with polynomial loss. If the original top block has deficiency \(d_0\), its density is at least that of \(V\), yielding \(f_0=a/2-\ell_0\le ad_0/(2m)+1\). Put \(h_0=h(1/4)\) and \(p_0=1-h_0-\xi_{\rm dens}/2>0\), where the base-density bound is \(\xi_{\rm dens}\le3/4-q\). Use \(a_*=p_0b/(p_0+h_0-\overline H)\) at \(s=1/2\). Lemma~\ref{lem:background} applies with \(g=0\), \(B=18/25\), \(p=p_0\), as \(p_0B<1/5\) and \(1-B>(5/4)(1-h_0)B^2\). In particular \[ (1-\overline H-\xi_{\rm dens}/2)a_*=(1-h_0-\xi_{\rm dens}/2)b,\qquad (\overline H/2-1/4)a_*\le(h_0/2-1/4)b \] because \(1/2\le\overline H\le h_0\). Round down to a four-cell multiple and use exact integer balance. The separator degree at \(s=1/2\) adds \((1-h_0)a\). With the true image scale the incidence exponent is at most \(3m/2-d_j+f_0-(h_0-\overline H)a+O(\log(n+L))\le3m/2+O(\log(n+L))\), since \(d_0\le d_j+1\). \subsection{The complementary support array}\label{sec:complement} For each reserve length \(g=\lfloor\gamma m\rfloor\) the prefix/suffix sets of Section~\ref{sec:algorithm} are fixed before local choices. A strict side transfers \(E_j\) from background to \(B'_j=B_j\cup E_j\) and sets \(g_j=g\). A half side leaves it in background, with \(B'_j=B_j\), \(g_j=0\). Under strict width \(w=1+\gamma\), \(x\le x_j=b(B_j)/m\le y=b(B'_j)/m\le x_j+\gamma\), since the support grows by at most \(2^g\). Proportional extraction gives \(c=\sigma m+O(1)\) core coordinates of deficiency at most \(yc/w+O(1)\). Store the complement \(T\)'s distinct sums and witnesses in \(\Ostar(2^{m+g_j-c})\) time and space across signings, with \(R_T=\log N(T)=m+g_j-c-d(T)\). Pre-transfer movable logarithm \(M_j\) falls to \(M_j-g_j\), of normalized lower bound \(1/2+\eta_M-\gamma\) on strict sides. The transfer cancels in the bound \(M_j+m+(2h(\theta/2)-1)c\) on the ordinary raw parent logarithm. The ambient count uses joint exclusive support \eqref{eq:251}. Fix allowed layers and layouts before primes, with one ancestor allocation within each band. Write \(B_1\le B_2\) for local mask log-products. For ordinary regular cells they are \(Q_{\rm grid}\log\binom{c/Q_{\rm grid}}{k/Q_{\rm grid}}\) and its \(r-k\) counterpart. In a strict layer \(k/c\in[\kappa\theta,\theta/2]\) the contrast is at most \(c[h((1-\kappa)\theta)-h(\kappa\theta)]\) up to grid error. Place the atom with \(B_1\). For target \(-2\Delta m\), Lemma~\ref{lem:allocate} needs movable mass \(|R_T+2\Delta m-(B_2-B_1)|\), bounded by the larger term. The guards check both terms, using \(\Delta=0\) if unpaged. For paging, \(\sigma-2\Delta\) increases when \(\Delta=\tfrac23(F_{\rm base}+v\sigma/2-q)_+\), because \(v<1/2\). Thus the smallest width suffices in the atom guard. On half sides clamp excess of size \(O(Q_{\rm grid}\log(m+1))\). The midpoint is \(\beta_j=(M_j-g_j+R_T+B_1+B_2)/2\). In each child, allocate its atom alone if it exceeds half the log-size, and otherwise add small factors to it up to half. The leaf logarithms are at most \(\max(R_T,\beta_j/2)+O(m/Q_{\rm grid}+Q_{\rm grid}\log(m+1))\), using the skewed midpoint for paging. Enumerate exact quota cells or permitted coefficients and restrict label prefixes within factors. Sort signed weights, retaining indexed occurrences except for atom deduplication. The uncompressed scan budget \(\bar b-\ell+\log K\) for \(K\) signings at scale \(\ell\) pays the leaf starts \(\max\{R_T,\bar b/2\}+\log K\) and dictionary initialization in the restart bound (Section~\ref{sec:construction}). For lifts, concavity gives \(B_1+B_2\ge h(\theta)c\) up to grid error, and \(d(T)\le d(B'_j)\) since \(N(B'_j)\le2^c N(T)\). Thus \begin{equation} 2\beta_j\ge 3m/2-[1-h(\theta)]c-d(T)-O(Q_{\rm grid}\log(m+1)). \label{eq:219} \end{equation} Subtract the skew to test actual child lengths, using the separate tertiary test where applicable. \subsection{Oriented local halves}\label{sec:half-local} Split \(B_j\) into equal halves \(A,T\) with \(N(A)\ge N(T)\), then move fewer than \(2Q_{\rm grid}\) coordinates from \(A\) to \(T\) to align the width. Inclusion monotonicity of deficiency and \(N(B_j)\le N(A)N(T)\) give \(d_A\le d_T\) and \(d_A+d_T\le d_j\). Use \(T\) as the atom and the prefix-and-complement signings of the half-selected top argument on \(A\), at scale \(\ell_A=\lfloor\log N(A)/2\rfloor\). Choose a cardinality layer and balanced layout with polynomial loss. Mean mask entropy lies in \([1/2,h(1/4)]\), mask contrast is at most \(c=|A|\le m/2\) up to rounding, and \(R_T\le m/2+O(Q_{\rm grid})\), so the allocation applies. Relative to an uncompressed half core the filtered child correction is \((d_A-d_T)/2\) and the raw parent correction is \(d_A/2-d_T\), both nonpositive. For a half-selected ordinary top of width \(a\), mean \(\overline H_0\) and deficit \(f_0\), put \(h=h(1/4)\), \(X=3m/2-(1-\overline H_0)a+f_0\). Replacing \(c\) by \(m/2\) costs \(O(Q_{\rm grid})\). Before central projection, the filtered child bound is \(3m/4+(\overline H_0/2-1/4)a-(1-h)m/2\), the raw parent bound is \(X+(2h-3/2)m/2\), and the ambient bound is \(X-d_j\). For biased top rate \(s\) replace \(1-\overline H_0\) by \(1/2+s-\overline H_0\) in the latter two bounds, and add the top-code logarithm once per summed solve budget. Use joint reserve support for the ambient histogram. The leaf bound is \(\max\{m/2,(1/4+h/4)m+(h/4-1/8)a\}+O(Q_{\rm grid}\log(m+1)+m/Q_{\rm grid})\), with principal term below \(.523m\) for \(a\le.9m\). \paragraph{Granularity.}\label{sec:granularity} The fixed grid \(Q_{\rm grid}=10^{12}\) is divisible by four. Divisibility and quota changes cost \(O(Q_{\rm grid}\log(m+1))\) in logarithms. Projection errs by at most \(4m/Q_{\rm grid}\) plus integer alignment, and each small-factor packing by at most \(2m/Q_{\rm grid}+O(\log m)\) in its split product logarithm. The absolute resource coefficients are at most one, and the total allowance is \(100m/Q_{\rm grid}+O(Q_{\rm grid}\log(m+1))\). Use the fixed cutoff of the certificate, solving smaller instances directly. Counts, sums, factorials and exact comparisons have polynomial bit length, and incidence uses the actual integer products. \section{Compatibility and ordered generation}\label{sec:generation} \subsection{Assignment containers}\label{sec:containers} \paragraph{Covers with load bounds.} For a uniform object, let \(p_x\) be its probability of covering requirement \(x\), and \(q_y\) its probability of increasing load \(y\) by one. Given current loads \(d_y\), caps \(K_y\) and \(r\) draws left, the conditional expectation of the uncovered count plus \(\sum_y2^{d_y-K_y}\) is \[ \sum_{x\text{ uncovered}}(1-p_x)^r+\sum_y2^{d_y-K_y}(1+q_y)^r . \] Each load multiplier has mean \(1+q_y\). If the initial expectation is below one, successively take a candidate minimizing this expression. The average over candidates is the current expectation, and a final penalty below one implies full coverage and strict caps. On \(n\) coordinates take support size \(k\), container size \(2k\le l\le n\), \(N_k=\binom nk,\ A_k=\binom lk,\ p_k=A_k/N_k\). A zero support uses one empty container. Otherwise take \(\nu=\lceil16(n+1)/p_k\rceil\) containers and cap \(L_k=\lceil4\nu p_k+8(n+1)\rceil\). The initial expectation \(N_k(1-p_k)^\nu+N_k2^{-L_k}(1+p_k)^\nu<1\) follows from \(N_k\le2^n\), \(1-p_k\le e^{-p_k}\) and \(\log(1+p_k)\le2p_k\). For a candidate \(Y\) and \(r\) subsequent draws, compare integers \(2^{L_k}(N_k-A_k)^rU_Y+(N_k+A_k)^r\sum_B2^{d_Y(B)}\), with \(U_Y,d_Y\) the uncovered count and loads after adding \(Y\). They have \(O(n\nu)\) bits. Since \(N_k/A_k\le(2k+1)\binom nk4^{-k}\le(n+1)(5/4)^n\), schoolbook arithmetic and scanning all supports per candidate and round take \(\Ostar(2^{2n}\nu^3)\subseteq\Ostar(2^{3n})\) time. Flags, loads, containers and operands take \(\Ostar(2^n)\) space. For each chosen \(Y\) and assignment \(s\) on \(Y\), take binary vectors extending \(s\) and ternary vectors supported on \(k\)-subsets of \(Y\) with signs \((-1)^{s_i}\) on their support. Every pair in the rectangle has binary sum and all compatible pairs are covered. The binary degree, ternary degree and tuple count are respectively \begin{equation} \Ostar(N_k/A_k),\qquad \Ostar(2^{l-k}),\qquad\Ostar(N_k2^l/A_k). \label{eq:226} \end{equation} An index enumerating the \(k\)-subsets of each container has length \(\nu A_k=\Ostar(N_k)\) and polynomial multiplicity per support, realizing the ternary query bound. \paragraph{Balancing the sided degrees.} By symmetry take \(t\ge0\), \(z=t/(1-2p)\), \(n_\pm=a(1/2\pm z)\) and \(k_\pm=pn_\pm\). For base lengths \(2k_\pm\), \eqref{eq:226} gives right and left log-degrees \(M\pm C/2+O(\log a)\), where \(M=a(h(p)-p)/2\), \(C=2za g\) and \(g=h(p)-3p>0\). Increase the plus length by \(w=C/2\) up to integer rounding. For certified checker quotas \(1/20\le p\le3/40\), \(00\). The derivative at \(k=s/2\) vanishes by the choice of \(\alpha\) (it is \(-\ln(2-s)-b\ln(1-s)\) after multiplication by \(\ln2\)). The common degree is \(\Ostar(2^{d_sa})\), \(d_s=s-h(s/2)+h(s)/2\), from evaluation at the center. In particular \(d_{1/2}=1-h(1/4)\). The family-size exponent is \(T_s(k)=h(e)-(1-s)h((e-k)/(1-s))\). With \(x=k-s/2\) and \(v=b/(1-s)<\alpha\), its second derivative times \(\ln2\) is \(-\alpha^2/(1/4-\alpha^2x^2)+(1-s)v^2/(1/4-v^2x^2)<0\). Symmetry then gives \(T_s(k)\le T_s(s/2)=s\), so the tuple table has \(\Ostar(2^{sa})\) entries. \subsection{Ordered child streams}\label{sec:children} Use weight and additive tag key \begin{equation} ((\chi w+\omega)\bmod P,\ \chi w,\ \psi e), \qquad\chi,\psi\in\{1,-1\}, \label{eq:244} \end{equation} breaking raw ties by row and position. Assign constant restoration offsets once. For residue \(r\bmod p\), \(p\mid P\), a first-factor record of weight \(x\) selects the second slice \(r-x\bmod p\). Sort slices by \((\chi w\bmod P,\chi w,\psi e)\). Adding the first record rotates the residue groups and translates the within-group order. Merge rows by heap, starting at rotated boundaries found by binary search. Seeking costs the total stored-factor size up to polynomial factors. Subleaves use the same rule, and label prefixes are restricted in the factors. Direct and complementary order use \((\chi,\omega)=(1,0),(-1,v)\). Lemma~\ref{lem:band} gives a stored-row interval query in \(\Ostar(F+G+C+J_I)\) for initialization \(F\), scans \(G\) and raw reports \(J_I\) including overlaps, with one page and a constant number of cursors. \paragraph{Restoration and parent merge.}\label{sec:restoration} For signing \(D\), put \(\delta_D=w(D)\), \(w_i^D=(-1)^{D_i}w_i\). Disjoint local masks \(A,B\) restore to \((A\cup B)\oplus D\) of weight \(\delta_D+w^D(A)+w^D(B)\). Query at interval and residue translated by \(-\delta_D\), then restore on insertion. Keep the top mask or full coefficient label. The target \(t'\) includes the outer offset. A capped query uses one dictionary across signings and their cached seeds. Reject incompatible choices, keep one indexed witness per restored key, and stop at \(C+1\) distinct keys. Different witnesses at a key differ only on exclusive coordinates and preserve all top matches. The time is \(\Ostar(K_j+J_j(I,\pi,v))\), where \(K_j=C+\sum_D(F_D+G_D(v))\) and \(J_j=\sum_DJ_D(I,\pi,v)\) counts raw signing, seed and occurrence labels. Process one signing at a time in \(\Ostar(C+\max_D S_D)\) bits, with \(S_D\) its child state. Stream each side by Lemma~\ref{lem:cap}. Merge increasing \(w_L\) against increasing \(t'-w_R\). At a matching weight insert one left witness per compatible tuple, and query the right tuples by Cartesian products of their indices. Each tuple enforces compatibility. Charge each output key once for its degree and clear only touched entries. The two streams suspend with a constant number of dictionaries and one active generator. With side counts \(U_j\), degrees \(D_j\), and \(S_j=\max_D S_D\), the solve cost is \begin{equation} T=\Ostar\left(\sum_{j=L,R}[K_j(1+U_j/C)+J_j+U_jD_j]\right),\qquad S=\Ostar(C+S_L+S_R+N_{\rm tup}), \label{eq:250} \end{equation} plus one-time tuple initialization and immutable index construction. Combine indexed witnesses at a match and verify them on the input. \subsection{Residue averaging}\label{sec:means} At fixed layout and prime path take top modulus \(q_0\), side moduli \(p_j\) and largest modulus \(P_{\max}\). A top seed \(\eta\) sets \(\eta_L=\eta,\eta_R=t'-\eta\bmod q_0\). Each side has \(H=P_{\max}/q_0\) lifts \(\Omega_j\). \paragraph{Histograms.}\label{sec:ambient} The ambient histogram \(V_j\) of lifted keys uses distinct sums of \(B\cup E\) and the remaining assigned top-label and background factors, where \(B\) is the exclusive block and \(E\) its reserve. Even if \(E\) remains in the ancestors, its coordinates are exclusive so \(U_j(v)\le V_j(v)\) across all local signings. With pre-transfer movable mass \(M_j\), \(g=|E|\) and \(y=b(B\cup E)/m\), \begin{equation} Z_j:=\sum_v V_j(v)=2^{M_j-g}N(B\cup E)\le 2^{M_j+m-my+1}. \label{eq:251} \end{equation} Stream the distinct support to form its histogram. For other factors select the quota coefficient in a product of \(1+zu^w\) (binary) or \(1+z(u^w+u^{-w})\) (ternary), retaining the allowed terms and reducing powers of \(u\) modulo \(u^P-1\) for modulus \(P\). Convolve independent factors by packing coefficients in base \(2^b\), with each linear convolution coefficient below \(2^b\), then multiply, unpack and fold. Coefficients have polynomial bit length, so this costs \(\Ostar(P)\) time and writable bits by integer multiplication~\cite{HVH}. The same construction serves raw factors and chart histograms. \paragraph{Two shift choices.}\label{sec:exact-means} For signing \(D\) write \(C_i\) for raw child histograms of lengths \(L_{iD}\) modulo \(P_{\max}\), and \(A_i\) for scan arrays modulo \(p=p_j\). The latter are folds of \(C_i\) for stored rows, with a replay multiplier for paging and Section~\ref{sec:tertiary}'s replacement for tertiary rows. For local seed \(r\), \begin{equation} G_D(v,r)=A_1[r]+A_2[v-\delta_D-r],\qquad J_D(v,r)=\sum_{x\equiv r\bmod p}C_1[x]C_2[v-\delta_D-x] \label{eq:252} \end{equation} with the sum modulo \(P_{\max}\). The seed mean \(\mu_D=(\sum A_1+\sum A_2)/p\) is independent of \(v\). Apply Lemma~\ref{lem:weighted} to the sums over \(\Omega_j\) of \(G_D,V_jG_D,J_D\). Their means are respectively \(H\mu_D,\mu_D Z_j(\eta),A_D^{(0)}(\eta_j-\delta_D)/p\), where \(Z_j(\eta)=\sum_{\Omega_j}V_j\) and \(A_D^{(0)}\) is the raw pair histogram modulo \(q_0\). For \(W=1,V_j\) on \(\Omega_j\), fold \(W\) modulo \(p\) and convolve to compute the first two sums \(A_1[r]\sum_sW_s+\sum_sW_sA_2[s-\delta_D-r]\). For the last sum fold \(C_2\) modulo \(q_0\) and add \(C_1[x]C_2^{(q_0)}[\eta_j-\delta_D-x]\) to column \(x\bmod p\). Use \(\Ostar(P_{\max})\) plus the complement scan, one signing workspace and one shift for polynomially many layouts in a band. For the top shift, apply Lemma~\ref{lem:weighted} to \(Z_j(\eta)\) and \(\sum_D A_D^{(0)}(\eta_j-\delta_D)/p_j\) on both sides. For a band give each exact alternative its own fixed cost columns. Sum integer pair counts before division. The means are \(\overline Z_j=Z_j/q_0\) and \(\overline J_j=\sum_D L_{1D}L_{2D}/(q_0p_j)\). Both shifts preserve coverage. \paragraph{Charging each side.}\label{sec:total-cost} With initialization \(F_{jD}\) per signing and seed list, use \(V_j\) in the restart bound \(1+U_j(v)/C\), then apply the local and top mean bounds to \eqref{eq:250}. The result is \begin{equation} \begin{aligned} K_j^*&=C+\sum_D(F_{jD}+\mu_D),\\ T&=\Ostar\left(N_{\rm tup}+\sum_j [HK_j^*+K_j^*\overline Z_j/C+\overline J_j+\overline Z_jD_j]\right). \end{aligned} \label{eq:258} \end{equation} Every lift, including empty ones, pays initialization. Live space additionally includes \(\Ostar(P_{\max})\) histogram entries and the saved seed lists. Unpaged scan-only starts satisfy \(H\mu_D=P_{\max}(L_{1D}^{-1}+L_{2D}^{-1})L_{1D}L_{2D}/(q_0p_j)\), controlled by the actual lower raw lengths from \eqref{eq:219}. Ordinary and paged baseline starts have exponent at most \(.53+.605+.085+.06<3/2\) from modulus, initialization, local-signing and top-label bounds. Tertiary starts and scans are checked separately. \subsection{Terminal incidence bound}\label{sec:stable-partition} Use the terminal estimate of Section~\ref{sec:terminal} at lower proxy endpoint \(x\): \[ y\ge x[1+\ell\gamma+\ell(\ell-1)\gamma^2/(2w)]-\Delta,\qquad w=1+\gamma,\quad\ell=(75/52)(1-xw_{\max}/2). \] Here \(\Delta\) includes bin and proxy errors and \(w_{\max}\) bounds the width. For a mixed top use \(c_o-E_{\rm own}/(2m)\ge a_o t^2\) by the owner enlargement bound and \(1-h(1/2+t)\ge2t^2/\ln2\). The ordinary credit \(c_s\ge a_s z^2\) follows from entropy curvature at \(s/2\). With \(\gamma\ge\gamma_0-ut-vz\) and \(\gamma\ge\gamma_{\min}\), complete both squares in the incidence bound of Section~\ref{sec:mixed-top-application}. Its excess above \(3/2\) is bounded by \[ T_0\rho/2+\mathcal B-x(1+\ell\gamma_0) -\frac{x\ell(\ell-1)\gamma_{\min}^2}{2w_{\max}} +\Delta+\frac{(\ell xu)^2}{4a_o}+\frac{(\ell xv)^2}{4a_s}. \] For ordinary profiles use just the ordinary square and get \(\gamma_{\min}\) directly from the angle box. For mixed tops the joint-image ellipse is \(2\rho[\lambda_o t^2+(1-\lambda_o)z^2/s]/\ln2\le\mathcal B+\Delta_{\rm joint}\). The reserve slopes are at most \(\rho\lambda_o\) and \(\rho(1-\lambda_o)G_M\), the former since \(h(p)\ge2p\). Cauchy--Schwarz bounds the squared reserve deduction by \((\mathcal B+\Delta_{\rm joint})\rho(\ln2)[\lambda_o+(1-\lambda_o)sG_M^2]/2\). Enclose using the row's upper loss, \(\ln2\le52/75\) and an upward square root to obtain \(\gamma_{\min}\). Both child representations use the joint support in \eqref{eq:251}. \section{Local image preparation}\label{sec:local-prep} \begin{lemma}[Exact capped support]\label{lem:capped-support} For quota cells on disjoint coordinates, the first \(\min(M,N)\) distinct sums and indexed witnesses cost \(\Ostar(\min(M,N))\) time and space, where \(N\) is the full support size. A cell may also be unrestricted. \end{lemma} \begin{proof} Run include/exclude DP by prefix and cardinality, using the final list of one cell to initialize the next. Keep only states extendible to the final quotas and at most the first \(M\) distinct values per state. A fixed feasible suffix injects each state's full support into the final support. The first \(M\) values of a union are determined by the two first-\(M\) lists, and translating a list preserves its order. Thus each merge is exact up to the cap. Equal values in a state have the same suffix choices, so keep one indexed representative. There are polynomially many states. \end{proof} For an ordinary core of \(c=\sigma m+O(1)\) coordinates and shell size \(r=\theta c+O(1)\), the support trace is at least \(2^{[h(\theta)+\theta-P(y)]c}/\poly(n,L)\), with enclosed loss \(P(y)\) at the enlarged deficiency proxy \(y\). Scan uncapped supports in shell order until their total reaches \(2^{Bm}\) or the layer ends, overshooting by at most \(2^r\). Keep the stopping position and the class \(G\) maximizing \(2^\ell|G|\). Its mass is at least a reciprocal polynomial of the smaller of the trace and the budget. The width cap in Section~\ref{sec:strict-rates} makes the trace envelope the smaller bound, up to rounding. With \(K|G|\le\poly(n,L)2^c\) for the signing cover, \(|G|\le\binom cr\), and \(\ell\le r\), this gives \[ \ell-\log K\ge [h(\theta)+\theta-P(y)-1]c, \quad \ell\ge(\theta-P(y))c, \quad \log K\le[1-h(\theta)+P(y)]c \] up to additive \(O(\log(n+L))\). Test shell size and stopping position before support. Replaying the supports for prime tests and residue counts costs \(\Ostar(2^{Bm})\) per pass. \subsection{One sample for all bands}\label{a-shared-cover-for-cardinality-bands} At modulus \(p\), choose one witness per occupied residue, with fraction \(\mu\ge\delta=(n+L+2)^{-b_0}\). Write \(X_z\) for its ordinary mask in shell \(T\). For an ordinary image also allow \(z\mapsto T\setminus X_{w(T)-z}\), to orient toward the smaller half. Keep owner factors and allow both child roles for mixed images. After any signing, masks outside \([\kappa+\eta,1-\kappa-\eta]\) number at most \(\poly(n)2^{rh(\kappa+\eta)}Q_W\), with owner quota product \(Q_W=1\) in the ordinary case. Since \(p\ge 2^rQ_W2^{-Pc}/\poly(n,L)\) and the certified gap is \(P<(r/c)[1-h(\kappa)]\), fixed \(\eta>0\) and the cutoff \(\xi>0\) absorb the polynomial losses and \(1/\delta\). At least \(3\mu p/4\) occupied residues thus give central masks. Cover the central interval, or its lower half for ordinary images, with \(b=O_\eta(1)\) inner bands of radius \(\eta/4\) and outer bands of radius \(3\eta/4\). Test whether the mismatch fraction of \(k\) independent uniform shell coordinates lies within \(\eta/2\) of the center. With \(\varepsilon=1/(32b)\), constant \(k\) makes the acceptance probability at least \(1-\varepsilon\) inside the inner band and at most \(\varepsilon\) outside the outer one, by a binomial tail. Use one polynomial-size residue sample to estimate the occupied mass of every image, offset, coordinate tuple and bit pattern within \(\varepsilon\delta/2^k\). Binomial tails and a union bound over at most exponentially many tests in a polynomial of \(n+L\) give expected failure count below one. Derandomize by conditional expectation. Cyclic prefix counts give the hit probability at every offset when the next residue is uniform on a proposed interval. Combine the fixed hit count with this Bernoulli trial and the binomial tail for the remaining samples. The interval length and powers of \(p\) give common denominators, so bisection uses integer comparisons. Each pass costs \(\Ostar(p)\) time and space per witness table, since \(k\) is fixed. Fix a signing and an inner band of mass at least \(\mu/(4b)\), using reflection when needed. On every translate the sample estimates the occupied fraction within \(\varepsilon\mu\), and estimates the test acceptance within the same error by summing at most \(2^k\) patterns and averaging over tuples. The sample's acceptance mass is at least \((1-\varepsilon)\mu/(4b)-\varepsilon\mu\). Missing the outer band gives at most \(\varepsilon(1+\varepsilon)\mu\). Thus the sample meets every translate of the outer band, and checking offsets finds a hit. Affine signing offsets merely translate the image. The ordinary budget above and the mixed budget in Section~\ref{sec:physical-images} pay the polynomially many passes. \subsection{Allocation by bands}\label{allocation-within-a-cardinality-band} Enumerate band pairs before top seeds. Fix atom, ancestor and child assignments at the midpoint, paging the smaller-mask child with the skew of Section~\ref{sec:paging}. Interior entropy arguments make all layer logarithms differ by \(O(\eta m)\), absorbed by margins, even if the band straddles the half layer. Use the balanced layouts of Section~\ref{sec:partitions}, including residuals. Lemma~\ref{lem:weighted} scores all polynomially many exact choices by one top shift per band pair and one local shift per signing, band and top seed. For a true witness the ancestor weight is independent of the exact layer and layout, so a translate hit supplies one of these choices before checking compatibility. \subsection{Mixed local cores}\label{sec:mixed-local}\label{sec:physical-images} Use Section~\ref{sec:shared-owner-region} with \(b=\lambda c+O(1)\) owner coordinates \(W\), \(a=c-b\), \(r=\theta a+O(1)\) and \(\alpha=(b+r)/c\). The density ceiling is \(.025\) and the loss is \(P=P_\alpha(d/c)\). The static cap pays the conditional-mean passes. For the class in \eqref{eq:mixed-trace} put \(u_*=r+b\), \(g=\log\binom ar-\log |G|\), and retain the first \[ N_0=\min\left\{2^{\ell_U}, \left\lfloor\frac{2^{u_*-\lceil Pc\rceil}\binom ar}{|G|} \right\rfloor\right\} \] distinct canonical masks per shell union in weight order. With \(d_*=u_*-\log N_0\), the trace lower bound gives \(g+d_*=Pc+O(\log(n+1))\). This loss comes from binomial counts and dyadic grouping, before any modular tests. Use the shared weighted owner cover on shell--pattern pairs and assign each pair to its first qualifying owner. The distance tail applies because at most \(2^r\) masks have any given owner component and \(d_*\le Pc+O(\log(n+L))\). At least half the witnesses survive the tail for each pattern, so some retained distance has at least \(N_0/[2(b+1)]\) witnesses. At that distance \(j\), a uniform owner qualifies for a witness with probability \(Q_W/\binom bj\), where \(Q_W\) is its quota product. Thus Lemma~\ref{lem:owner-threshold} gives \[ r+\log Q_W-\ell+\log K_W \le d_*-b[1-h(j/b)]+O(\log(n+L)). \] With \(\log K_W\le Pc+O(\log(n+L))\), the canonical half-sum heap and Walsh replay with at most \(\lceil qm\rceil\) low coordinates give score exponent \(a h(\theta)+r+b+2Pc+(b-qm)_++O(\log(n+L))\). \paragraph{Counting and capping images.} For one shell, let \(f(x)\in[0,1]\) be the fraction of retained ordinary masks over owner component \(x\), with mean \(2^{-d_*}\). Set \(\eta_0=1-2p\), \(\kappa_0=(1-\eta_0^2)/(1+\eta_0^2)\) and \(B_0=2^rQ_W\). The qualifying count for \(S,H\), divided by \(B_0\), is \(g_H(S)=\mathbb E_R f(S\triangle H\triangle R)\) for a uniform quota mask \(R\). Independent Bernoulli-\(p\) flips conditioned on both quotas give this law. Both quota counts are within bounded distance of their binomial modes, of mass at least \(1/(b_i+1)\) on regions of width \(b_i\), with bounded neighboring ratios. Thus \(g_H(S)\le\poly(n,L)(T_{\eta_0}f)(S\triangle H)\), where \(T_{\eta_0}\) applies the independent flips. For \(s=1+\eta_0^2\), normalize two nonnegative inputs by their mean to \(1\pm t\) when nonzero. Their squared output \(L_2\) norm is \(1+(s-1)t^2\). The mean of \((1\pm t)^s\) has second derivative at least \(s(s-1)\) by convexity of \(x^{s-2}\), so it is at least \(1+s(s-1)t^2/2\ge[1+(s-1)t^2]^{s/2}\) by concavity. Continuity handles endpoints. Tensorize the one-coordinate inequality using Minkowski's exchange \(\|\|g\|_{L_s(x)}\|_{L_2(y)}\le \|\|g\|_{L_2(y)}\|_{L_s(x)}\). This gives \(\|T_{\eta_0}f\|_2\le\|f\|_s\), and \(f^s\le f\) gives \begin{equation} \|T_{\eta_0}f\|_2^2\le 2^{-(1+\kappa_0)d_*}. \label{eq:noise} \end{equation} For threshold \(2^\ell\), put \(d_1=\log B_0-\ell\). The second moment bounds qualifying patterns per owner by \(\poly(n,L)2^{b+2d_1-(1+\kappa_0)d_*}\). Signing preserves distinct weights, with at least \(2^\ell/\poly(n,L)\) retained on one balanced layout. Use Lemma~\ref{lem:capped-support} on each layout to obtain its image capped at \(2^\ell\), with fixed indexed witnesses. Multiply the per-owner count by the cap and by \(K_W\), using \(\log K_W+d_1\le d_*+O(\log(n+L))\). This costs \(\Ostar(2^{b+\log B_0-\kappa_0d_*})\) per shell. Summing the \(|G|\) shells and polynomially many distances, thresholds and layouts saves \(g+\kappa_0d_*\ge\kappa_0 Pc-O(\log(n+L))\) from \(S_0c\), for \(S_0=(1-\lambda)[h(\theta)+\theta] +\lambda[1+h(p)]\). The unsigned scan rate is \begin{equation} S_0-\kappa_0P . \label{eq:discount} \end{equation} The cap \(B/(S_0-\kappa_0P)\) reserves prime trials. Owner scores and signature-dependent histograms are charged separately. \paragraph{Signed layers.}\label{one-residue-cover-for-all-cardinality-bands} Use the shared sample on the capped images. Its ordinary tail counts all mask witnesses, using the quota product and the gap \(P<(1-\lambda)\theta[1-h(\kappa)]\). Swapping child roles complements the seed and preserves its uniform means. Accept local disjointness and binary coefficient sums on \(W\) before restoring the key. \paragraph{Top charges.}\label{packing-and-resource-bounds} The ordinary top part of width \(a_0\) gives index and tuple exponents \(a_0/2\) and \(sa_0\). Tensor with the owner degrees, multiplying the table sizes only for tuples. The ambient count is \eqref{eq:251}. In the unprojected ordinary top the reserve \((1-\rho)/2-(9/4)\rho t_s-.00012\) pays the mask contrast by the bound on \(h'\), where \(t_s\) is the shell angle. The mean entropy \(\bar H\) gives movable mass at least \([1/2+\rho(\bar H-1/2)]m\) and credit \(\rho[h(s/2)-\bar H]\). The shell mean and owner rate also give the leaf lower bound for lift starts. \section{Paged and tertiary joins}\label{sec:paging} \paragraph{Child intervals.}\label{child-interval-queries} Split each length-\(F_i\) leaf into stored subleaves of size at most \(\max(\sqrt{F_i},N_T)\) up to packing, with the atom intact. Encode \eqref{eq:244} by \(K\) and write \(\omega=\omega_1+\omega_2\). \[ \begin{aligned} K(w,e)&=((\chi w+\omega)\bmod P)M_{\rm rad} +B_{\rm rad}(\chi w+W)+\psi e+E,\\ s_i&=((\chi w_i+\omega_i)\bmod P)M_{\rm rad} +B_{\rm rad}\chi w_i+\psi e_i. \end{aligned} \] Choose offsets and radices so the low part and tag lie in \([0,M_{\rm rad})\), \([0,B_{\rm rad})\), including signed tags. Then \(s_1+s_2+B_{\rm rad}W+E\) is \(K\) or \(K+PM_{\rm rad}\), giving two additive bands. Order leaves by \((w_1\bmod p,s_1)\) and \(((r-w_2)\bmod p,-s_2)\). Sort subleaves by outer residue modulo \(p\), nested residue modulo \(P\), then weight and tag, with the specified orientations. Since \(p\mid P\), addition rotates the outer groups and the inner groups within each, and translates the remaining keys. Seek the rotated rows by binary search. One heap scans at most the total \(F_0\) unfiltered leaf occurrences and seeks in \(\Ostar(C)\). Lemma~\ref{lem:band} with unit charges gives \(\Ostar(F_0+C+G_I)\) time for \(G_I\) reports and \(\Ostar(C)\) space. \paragraph{Parent intervals.}\label{parent-interval-queries} Use Lemma~\ref{lem:cap} on the first child's injective key and repage its sorted cells into full pages of \(C\) occurrences except possibly the last. With \(G_1\) filtered occurrences the work is \(\Ostar((F_0+C)(1+G_1/C)+G_1)\). For target residue \(v\) and interval \([u_-,u_+]\), a first weight \(x\) requests complementary right keys of primary key \(x\bmod P\) and secondary weight in \([x-u_+,x-u_-]\), with all tags. These endpoints are monotone in the first stream. The right order has \((\chi,\omega,\psi)=(-1,v,-1)\). Use the child interval bound in Lemma~\ref{lem:band} with \(e_z=1\). For \(G_2\) filtered right occurrences and \(J\) matches this gives \(\Ostar(F_0+C+G_1+G_2+F_0G_1/C+J)\) time in \(\Ostar(C)\) space. Parent capacity counts distinct restored keys. \paragraph{Skew.}\label{allocation-and-resource-bounds} Normalize logarithms by \(m\). For balanced child exponent \(b\), leaf exponent \(F=b/2\) and filter exponent \(\ell\), use child sizes \(b-s,b+s\). The larger scan and the first child's page replays contribute respectively \(b-\ell+s\) and at most \(b-\ell+F-q-s/2\), except when the atom dominates startup. In that case its logarithm at most \(q\) makes replay cost at most \(b-s-\ell\), dominated by the larger scan. Balance at \(s=\tfrac23(F-q)_+\) by Section~\ref{sec:product-allocation}. The raw product and ambient count are unchanged. Put the atom with the smaller fixed mask product and use Lemma~\ref{lem:allocate} with difference \(-2s\). The guards \(B_2-B_1\le M_0\) and \(R_T+2s\le M_0\), plus the packing margin, suffice. In \eqref{eq:252} weight the first scan by \(1+F_0/C\). Thus the scan mean becomes \(((1+F_0/C)L_1+L_2)/p\) and the raw-pair and ambient means stay unchanged. \subsection{Tertiary filtering}\label{sec:tertiary} \paragraph{Charts and survival.}\label{raw-child-layout} Fix the secondary owner before signings, primes and shifts. For each child, use the pure owner cover on its unrestricted binary region \(W_3\), with singleton residual indices. Appendix~\ref{sec:certificate} checks the tertiary quotas and angle cap \(.13\). Write \(s_3=|W_3|\), \(d_3=s_3-\log N(W_3)\), \(v_3=(h(a_3)+a_3)/2\), and \(R_3=(h(a_3)-a_3)/2\) for quota \(a_3\). Equation~\eqref{eq:171} gives \(\ell_3-\log K_3\ge h(a_3)s_3-d_3-O(\log(n+L))\) at each distance and threshold. Place the atom with the smaller owner factor so the resulting contrast is at most the larger of the owner contrast and the atom logarithm. Lemma~\ref{lem:allocate} and the packing guard give grandchild log-sizes at most \(b_2/2+v_3s_3\) up to rounding, for raw child log-size \(b_2\). Assign each \(W_3\) mask its first eligible chart by a capped support test at \(2^{\ell_3}/\poly(n,L)\). The \(2^{s_3}\) masks, at most \(\poly(n,L)2^{d_3}\) charts and \(\poly(n,L)2^{h(a_3)s_3}\) variations give scan time \(\Ostar(2^{(1+h(a_3))s_3+d_3})\). Owner-list construction uses \eqref{eq:162}, and the assignment map uses \(\Ostar(2^{s_3})\) bits. \label{prime-paths-that-preserve-enough-upper-level-witnesses} Each fixed secondary witness specifies both binary patterns, with bits \((S_2)_i\oplus R_i\), unaffected by ordinary layers and layouts. Their assigned charts are the subsidiary obligations of Section~\ref{sec:modular}. On an accepted path, replay the capped image and keep surviving witnesses when constructing bands and translate covers. Cardinality tails still count all possible masks. Omit masks with failed assigned charts in joins. Ancestor weights only translate each image, so every chosen secondary witness has both tertiary charts available. The strict guard \(s_{\max}h_3<\sigma(\nu-P)\) puts the tertiary scales below the secondary scale. The verifier tests this with \(\nu\)'s upper enclosure and an extra \(10^{-6}\) margin, which dominates the entropy rounding. Thus \(p_3\mid p_2\), with mesh loss at most \(Mm/\PrimeDivisor+O(1)\) in log modulus beyond the polynomial factor from prime intervals. For a prime extension, process each secondary owner separately, replaying its assignments within the score bound. Scan its assigned images to tabulate prefix survival and extension acceptance for each binary mask. Each secondary witness then uses two lookups. The number of replayed selected positions is polynomial, and the chart-preparation and width guards pay the scans and tables. \paragraph{Filtered joins and means.}\label{filtered-arrays-exact-seeds-and-sorted-merge} In a chart with child residue \(r_2\bmod p_2\) and offset \(\delta\), write \(C_{31},C_{32}\) for raw grandchild histograms modulo \(p_2\), of totals \(L_{31},L_{32}\), and \(A,B\) for their folds modulo \(p_3\). For seed \(s\), storage and raw work are \[ A[s]+B[r_2-\delta-s],\qquad j(s)=\sum_{x\equiv s\bmod p_3} C_{31}[x]C_{32}[r_2-\delta-x], \] where \(x\) ranges modulo \(p_2\). Their means are \((L_{31}+L_{32})/p_3\) and \((C_{31}*C_{32})[r_2-\delta]/p_3\). Compute in a \(p_2\)-entry pass by Section~\ref{sec:ambient} and use one shift across the polynomially many layer and layout choices. Split grandchildren as above. Enumerate only complementary \(p_3\)-groups of each pair of subleaves, paying the subleaf sizes and filtered lengths. Keep the filtered arrays but only one chart's temporary lists. Heap-merge pair rows at residue \(r_2\) by the restored order, or its complementary order. The \(W_3\) tag is \(\sum_i2^i(a_i+b_i)\) with the offset assigned once. Other factors use positional tags, including base three for ternary choices. Use the full signed tag range until testing compatibility. Suppress equal accepted full keys, preserving a subset of original indexed occurrences. A raw seek binary-searches the cyclic \(p_2\)-slices and rebuilds the heap in \(\Ostar(C)\). The filtered arrays total \(\Ostar(C)\), giving at most \(\Ostar(C^2)\) raw pairs and a sparse gap index within space, as in Section~\ref{sec:join}. The parent query costs \(\Ostar(C+H_L+H_R+J_I)\) after setup, where the \(H\)'s count tertiary raw advances and \(J_I\) raw parent matches. \label{full-scan-and-seed-cost-envelopes} Accumulate the contributions \((C_{31}*C_{32})[r_2-\delta]/p_3\) over the charts as the child scan envelope \(H[r_2]\). Its mean is \(\sum L_{31}L_{32}/(p_2p_3)\). Store \(p_2H\) as integers, using one exact convolution and one chart workspace at a time. Its two side arrays replace \(A_1,A_2\) in \eqref{eq:252} and their means enter \eqref{eq:258}. Keep the original parent reports and ambient histograms for \(\overline J_j,\overline Z_j\). At ideal secondary scale \(\ell_2\), \(1/p_2\) contributes \(2^{-\ell_2}\) up to polynomial factors. Summing the chart costs gives the log bounds \[ \begin{aligned} b_2/2+v_3s_3-\ell_3+\log K_3&\le b_2/2-R_3s_3+d_3,\\ b_2+2v_3s_3-\ell_3-\ell_2+\log K_3&\le b_2-\ell_2+a_3s_3+d_3 \end{aligned} \] up to packing and mesh losses. Per chart the histogram, shift and atom startup takes \(\Ostar(p_2+N_T)\) time. Charge this and the subleaf startup to the nominal scan budget, and gap construction to raw advances. For pure lifts multiply \(\sum_i L_i2^{c_im}/p_2\) by \(P_{\max}/q_0\), where \(L_i\) are the actual raw child lengths and \(c_i\) the surcharges below. Dividing by the old raw mean \(L_1L_2/(q_0p_2)\) gives \(P_{\max}(2^{c_1m}/L_2+2^{c_2m}/L_1)\), up to polynomial factors. The certificate pays this by the lower raw domain bound and separately pays pure-lift initialization under its signing and top scopes. \paragraph{Skew and certified profiles.}\label{certificate-selection-order-and-sharing-checks} Now normalize by \(m\). The two binary regions have widths \(s_i\) and deficiencies \(D_i\). Since \(N(U)\le N(S_1)N(S_2)2^{|U\setminus(S_1\cup S_2)|}\) for their shell union \(U\), \begin{equation} D_1+D_2\le d(U)/m\le P\sigma+O(\log(n+1)/m). \label{eq:jointdef} \end{equation} For quota rates \(p_i\), write \(c_i=p_i s_i+D_i\) and \(\bar c=(c_1+c_2)/2\). Skew the children by \(\delta_i=\bar c-c_i\) using Lemma~\ref{lem:allocate} with target difference \(\delta_1-\delta_2\). The packing guards use \(|\delta_i|\le\bar c\). Their scan surcharges equal \(\bar c\), and the filtered-state bound after skew becomes \begin{equation} F-\frac{s_i h(p_i)}2+\frac{D_i+\bar c}2\le q. \label{eq:thirdleaf} \end{equation} Let \(\bar V\) bound the restart rate before the local angular credit and \(c_{\rm ang}\) lower-bound that credit. For \(B_3=q-\epsilon/2-\bar V+c_{\rm ang}>0\), choose the least quota satisfying \begin{equation} s_i h(p_i)\ge 2(F-q)+D_i+B_3. \label{eq:thirdquota} \end{equation} Then \(\bar c\le B_3\) pays both the leaf and restart. For extraction power \(0P\), giving a constant retained fraction by the owner tail. On \([t_0,t_1]\) use restart credit \(2\lambda\sigma t_0^2/\ln2\) and widths summing to \(S=\lambda\sigma\), each at least \(s_{\min}=S[1/2-t_1/(1-2p_0)]\) for secondary quota \(p_0\). Test paging first. When it fails, for the upper leaf bound \(F\) and allowance \(B_3\), set \(A=2(F-q)+B_3+.000002>0\). The continuous quota is \(g((A+D_i)/s_i)\), with \(g=\max\{.005,h^{-1}\}\) on the increasing branch. The perspective \(s g((A+d)/s)\) is jointly convex and nondecreasing in \(d\). Saturate the budget \(D=P\sigma\) of \eqref{eq:jointdef} and maximize on \([s_{\min},S-s_{\min}]\times[0,D]\) in \((s_1,D_1)\). The maximum occurs at a corner, and putting all \(D\) on the smaller width is worst because the marginal in \(d\) is \(g'((A+d)/s)\) wherever differentiable. Indeed every inverse argument is at most \((A+D)/s_{\min}\), which the upper-quota test checks. Chord inversion bounds each continuous quota and rounding to the first \(10^{-5}\) grid point whose lower entropy bound reaches the target minus \(10^{-10}\) costs at most one grid step. The guards charge \(S/(2\cdot10^5)\) to \(\bar c\) and cover support-proxy and grid errors. Replay the first accepting box for the actual stabilized top layers and resulting reserves and \(y\). Fix the local core before its shells and secondary owners. Fix the two tertiary quotas and chart assignments from the binary regions and exact support proxies of each secondary owner before primes. Ordinary layers and roles only permute those regions and assign other factors. Top angles, cardinalities and reserve lengths give polynomially many profiles. Share tertiary chart geometry across ancestor labels and signings with the same profile, and charge the raw histograms and shifts per signature. \section{Resource bounds for strict sides}\label{sec:strict-rates} All rates are normalized by \(m\). For local width \(\sigma\), owner fraction \(\lambda\), ordinary shell rate \(\theta\) and owner quota \(p\), set \[ \begin{aligned} \alpha&=\lambda+(1-\lambda)\theta,& \nu&=(1-\lambda)\theta+\lambda h(p),\\ v&=(1-\lambda)[h(\theta/2)-1/2]+\lambda[h(p)+p]/2,& \tau&=(1-\lambda)[1-h(\theta)],\\ e&=2v-\nu+\tau,&R&=v-e. \end{aligned} \] The ordinary case has \(\lambda=0\) and \(S_0=h(\theta)+\theta\). For the top use the corresponding rates \(U,E_0,T_0\) from the mixed construction. Pure ownership uses \(U=(h(p_{\rm o})+p_{\rm o})/2,E_0=h(p_{\rm o}),T_0=0\). Ordinary uses \(U=h(s/2)-1/2,E_0=s,T_0=1-h(s)\). Put \(D=E_0-U-T_0\), \(A=D-U/2\), \(f=U/4\). Here \(\rho\) is the top-base width and \(\mathcal B\) its trace loss. Write \(c_o,c_s\) for the owner and shell credits, zero for absent parts. For an unprojected profile the top ancestor rate is at most \(1/2+U\rho-c_s\), and local raw rate at most \(1+2v\sigma\) by reserve cancellation. Thus the balanced child and leaf exponents are bounded by \(b=3/4+U\rho/2-c_s/2+v\sigma\) and \(F=b/2\). The ambient rate before the top filter is \(3/2+U\rho-c_s-y\). The effective top and local filter scales net of label overhead are at least \((E_0-T_0)\rho-\mathcal B+c_o\) and \((\nu-\tau-P)\sigma\), by the threshold and shell bounds. In \eqref{eq:258}, subtract both scales from \(2b\) for the raw mean and from \(b+3/2+U\rho-c_s-y-q\) for the restart. The raw constraint and the restart exponent \(3/2+V-q\) use \[ \mathcal A=D\rho-\mathcal B+c_o+c_s-\epsilon,\qquad (e+P)\sigma\le\mathcal A,\qquad V=\tfrac34-A\rho+\mathcal B-y-c_o-\tfrac32c_s-(R-P)\sigma . \] Section~\ref{sec:biased-top} gives the same combined bounds for a projected top. Paging checks \(\max\{V,(3V+2F)/5\}\le q\). The static core cap \[ K_{\max}=\min\{(M-\epsilon)/\nu,\,2(q-\epsilon)/\alpha, \,B/[h(\alpha)+\alpha]\} \] pays the modulus, canonical heap and conditional-mean passes. For ordinary cores use \(K_{\max}=(M_{\rm ord}-\epsilon)/\theta\) and \(\kappa_0=1\). Write \(\widehat P\) for the outward trace-loss function. At box extrema \(w_-,y_+\) set \[ P_0=\widehat P\bigl(y_+/\lfloor E(w_-,K_{\max})\rfloor_{12}\bigr), \qquad k_0=\min\{K_{\max},\lceil B/(S_0-\kappa_0P_0)\rceil_{12}\}. \] Smaller caps increase \(E\), so the box bound \(P_{\max}=\widehat P(y_+/\lfloor E(w_-,k_0)\rfloor_{12})\) is at most \(P_0\). At the actual nontertiary point \((w,y)\), where \(w=1+\gamma\), use the pointwise loss \(P=\widehat P(y/E(w,k_0))\le P_{\max}\) and \[ \sigma=\min\{w,K_{\max},B/(S_0-\kappa_0P),\mathcal A/(e+P)\} . \] The preparation width increases with loss, hence \(\sigma\le k_0\). On the width-active branch this gives \(E(w,k_0)=w\), as used in the interval test. Tertiary uses \(P_{\max}\) in its fixed width. The verifier checks packing, startup, incidence and rounding margins. \section{Correctness and complexity}\label{sec:correctness} \begin{proof}[Proof of Theorem~\ref{thm:main}] Enumeration and the two-half search exhaust their instances. Otherwise the descending integer proxy terminates, giving both terminal floors. Fix a solution and its covered top and local physical images. The three primary patterns share a good prime path. Its guarded tests retain the required local image witnesses together with their tertiary obligations. At each split, the first output weight is a fixed offset plus an image value. Its mate is determined by the fixed total weight of the underlying mask. A translate hit therefore realizes a seed in the selected cover even after adding ancestor weights. At the top this fixes the two parent residues modulo the top modulus; the enumeration includes the lift of their exact weights. Apply the same argument within each side, using its surviving local image, then within the tertiary charts that certified survival. At each step the two masks reassemble by disjoint union or by the binary coefficient identity. The restored parent keys occur in the ordered streams, since overflow only subdivides their cells. Equal keys agree on the shared label and vary only on exclusive coordinates. The compatibility query thus finds a match, and every reported match reconstructs a solution on the original indices after the signing offsets and padding are accounted for. The bounds \eqref{eq:250} and \eqref{eq:258}, with the paged and tertiary scan bounds, charge startup, restarts, raw pairs and incidences. Appendix~\ref{sec:certificate} verifies their rates and all preparation and space bounds with rounding margins. The policy has finitely many boxes and the enumerated branches have at most polynomial overhead beyond the charged factors. With \(3m=n+O(1)\) and \(q=.54309\), the bounds \(\Ostar(2^{3m/2})\) and \(\Ostar(2^{qm})\) give the claim. \end{proof} \paragraph{Acknowledgment.} The author used OpenAI models to develop and review the constructions, draft the manuscript, and implement the finite checks. \appendix \section{Exact policy and verification}\label{sec:certificate} \subsection{Policy}\label{sec:scalar} Rates are per \(m\), with \(q=.54309\), \(\epsilon=.00000015\), \(M=.53\), \(M_{\rm ord}=.47\), and \(B=3/2-\epsilon-M/2^{20}\). Both the terminal-deficiency and mixed eligibility allowances are \(2\cdot10^{-8}\). The restart margin is \(\epsilon/2\). All terminating decimals are exact. Use the first applicable profile at ties. \begin{center} \small \begin{tabular}{@{}lllll@{}} \toprule Profile & Upper \(x\) & \(\rho\) & Top shell \(s\) & Local shell \(\theta\)\\ \midrule Pure ownership & .00512 & \(29/32\) & -- & \(9/20\)\\ Mixed & \(529312/47600000\) & Table~\ref{tab:mixed} & Table~\ref{tab:mixed} & .4483\\ High reserve & .0195 & .705 & .405 & \(9/20\)\\ Augmented & .037 & \(.626355+2.75x\) & .415 & \(11/25\)\\ Plain & .13872 & .81 & .415 & \(11/25\)\\ Half-selected & \(3/4-q\) & \(18/25\) & \(1/2\) & \(1/2\)\\ \bottomrule \end{tabular} \end{center} The pure quota is \(.05936\) and its angle cap is \(.055\). Mixed profiles use owner angle cap \(.100\) and top ordinary layer floor \(1/4\). The high-reserve top floor is \(.430\). The augmented and plain reserves are \(.06\) and \(0\). Switch a side to oriented halves at enlarged proxy \(.09\) under mixed and high-reserve geometry, and at original proxy \(.11\) on the other strict profiles. The half-selected tail uses two oriented halves. At or above \(3/4-q\), use the two-half search. \paragraph{Reserves and angular credits.} For pure ownership and the mixed profiles let \(t,z\) denote the absolute owner and ordinary deviations and \(\lambda\) the owner fraction. Set \(\gamma_0=(1-\rho)/2-.00012\) and \[ \gamma=\gamma_0-\rho\lambda \frac{1-h_-(p_{\rm o})-p_{\rm o}}{1-2p_{\rm o}}\,t -\rho(1-\lambda)G_M z . \] For pure ownership \(\lambda=1\) and use \eqref{eq:179}. For mixed profiles \(G_M\) upper-encloses the secant \([h(s(1-\kappa))-h(s\kappa)]/[2s(1/2-\kappa)]\) at the retained fraction \(\kappa\). Since \(h''\) increases up to \(1/2\), the mask contrast is convex in \(z\) and at most \(2G_Mz\). For high reserve use \(\lambda=0\), \(G_M=9/4\). The movable-mass guard uses the minimum mean entropy of the retained splits. With \(c=s/2\) the mixed credits are \[ c_o=\frac{2\rho\lambda t^2}{52/75},\qquad c_s=\frac{\rho(1-\lambda)z^2}{2(52/75)c(1-c)} . \] Jensen's inequality for \(1/[x(1-x)]\) proves the shell credit. The credits in the raw, restart and leaf rates follow Section~\ref{sec:strict-rates}. The reserve lower bound uses the joint ellipse in Section~\ref{sec:stable-partition}. Each mixed extraction power is the larger of its band value and \((75/52)(1-y_+/(2(1+\gamma_-)))-1\), using the enclosing deficiency and reserve endpoints. \begin{table}[!ht] \centering\footnotesize\setlength{\tabcolsep}{2pt}\renewcommand{\arraystretch}{1.06} \begin{tabular}{@{}rrrrr@{\hspace{10pt}}rrrrr@{}} \toprule \(X\) & \(10^9\lambda\) & \(10^9\rho\) & \(10^9s\) & \(10^9p_{\rm o}\) & \(X\) & \(10^9\lambda\) & \(10^9\rho\) & \(10^9s\) & \(10^9p_{\rm o}\)\\ \midrule 249594 & 924523654 & 940932500 & 404699016 & 62262481 & 425376 & 156430741 & 843250930 & 418361742 & 60462533\\ 255476 & 907244882 & 939894500 & 409561504 & 62098314 & 431872 & 162153701 & 844254649 & 417690032 & 62372090\\ 261358 & 889691251 & 938856500 & 413015635 & 61920258 & 435120 & 167876661 & 845258369 & 417022397 & 64166761\\ 267240 & 871862763 & 937818500 & 415567160 & 61728487 & 451360 & 170738141 & 845760228 & 416690074 & 65023780\\ 270181 & 853759416 & 936780500 & 417504146 & 61522721 & 454608 & 181000000 & 848814118 & 415227054 & 68004255\\ 273122 & 844604671 & 936261500 & 418300272 & 61414419 & 461104 & 181000000 & 849701177 & 415031749 & 68080434\\ 281945 & 835381211 & 935742500 & 419003550 & 61302381 & 464352 & 181000000 & 851475295 & 414646484 & 68228584\\ 284886 & 807298545 & 934185500 & 420673412 & 60942708 & 467600 & 181000000 & 852362353 & 414456492 & 68300576\\ 287827 & 797800227 & 933666500 & 421113059 & 60814518 & 480592 & 181000000 & 853249412 & 414268239 & 68371192\\ 290768 & 788233195 & 933147500 & 421505649 & 60681927 & 483840 & 181000000 & 856249177 & 413459234 & 68698019\\ 293709 & 778597448 & 932628500 & 421856524 & 60544764 & 487088 & 181000000 & 856849648 & 413240969 & 68792588\\ 296650 & 768892986 & 932109500 & 422170270 & 60402845 & 490336 & 181000000 & 857450118 & 413024154 & 68886124\\ 299591 & 759119810 & 931590500 & 422450843 & 60255975 & 493584 & 181000000 & 858050589 & 412808777 & 68978630\\ 302532 & 749277920 & 931071500 & 422701678 & 60103942 & 496832 & 181000000 & 858651059 & 412594824 & 69070117\\ 305473 & 739367315 & 930552500 & 422925768 & 59946522 & 500080 & 181000000 & 859251530 & 412382285 & 69160587\\ 311355 & 715165844 & 927604179 & 423469776 & 59622809 & 503328 & 181000000 & 859852000 & 412171146 & 69250052\\ 314296 & 658875969 & 920362893 & 424394544 & 58822567 & 506576 & 181000000 & 860452471 & 411961396 & 69338515\\ 331364 & 630731032 & 916742250 & 424721108 & 58383483 & 509824 & 181000000 & 861052942 & 411753023 & 69425985\\ 363188 & 487043262 & 894301221 & 424710069 & 56703984 & 513072 & 181000000 & 861653412 & 411546017 & 69512466\\ 384404 & 284817429 & 855662977 & 422167642 & 57472876 & 516320 & 181000000 & 862253883 & 411340365 & 69597966\\ 395012 & 213900376 & 843954888 & 420423873 & 59782999 & 519568 & 181000000 & 862854353 & 411136056 & 69682492\\ 405620 & 185789474 & 841289474 & 419757232 & 60309079 & 526064 & 181000000 & 863454824 & 410933081 & 69766046\\ 418880 & 171714286 & 842071429 & 419144294 & 60238972 & 529312 & 181000000 & 864655765 & 410531083 & 69930279\\ \bottomrule \end{tabular} \caption{Exact mixed top profiles. The right endpoint is \(X/47600000\). Read the left panel then the right. Each row starts at the previous endpoint, beginning at \(.00512\).} \label{tab:mixed} \end{table} \subsection{Rational enclosures}\label{scalar-enclosures} Subscript \(j\) on a floor or ceiling means rounding to \(10^{-j}\) units. Scale logarithm arguments by powers of two. For \(0\le z\le1/3\), the odd-power series for \(\ln((1+z)/(1-z))\) has tail at most \(9z^j/(4j)\) from degree \(j\). Sum with directed rounding on the \(2^{-64}\) grid until the tail fits in one unit. In the deletion bound \(x/\exp(s)\), set \(s=\ln(1+x)\ln(1/\rho)/(x\ln2)\) and lower-bound \(\exp(s)\) by the degree-11 Taylor polynomial at a lower enclosure of \(s\), using downward Horner steps. Invert the chords between adjacent lower entropy bounds at \(p=i/2000\), \(10\le i\le300\). Concavity puts them below \(h\), so their inverses upper-bound the tertiary quotas. Below the first bound use the quota floor. Charge grid rounding separately. \paragraph{Projection.}\label{projection-inversion} Clear denominators to get \(Aj^2-Bj+C_0\le0\) on the \(10^{-12}\) grid. For \(A>0\) and \(D=B^2-4AC_0\ge0\) the first candidate is \(\lceil(B-\lfloor\sqrt D\rfloor)/(2A)\rceil\), since \(B-2Aj\) is integral. Retain it if it passes and improves the deletion bound. On the guarded range the gain increases up to that bound. \subsection{Interval tests}\label{endpoints-and-angular-bounds} \paragraph{Angle boxes.}\label{mixed-angles} Write the eligibility ellipse as \(b_o t^2+b_s z^2\le L\). Prune a box if its lower corner is outside. Clip the upper angles by outward square roots with the other angle fixed at its lower bound. For \(j=0,2/3\) in \(V+j(F-q)0\) the product is \((1-t)q_0+tq_1-kt(1-t)\). In the interior, divide by \(t(1-t)\). Cauchy--Schwarz gives \(\min(q_0/t+q_1/(1-t))=(\sqrt{q_0}+\sqrt{q_1})^2\). Thus positivity is equivalent to \(d\le0\) or \(d^2<4q_0q_1\) for \(d=k-q_0-q_1\). \subsection{Tertiary guards}\label{guards-for-filtered-children} Put \(D=P\sigma,\ \delta_* = .045,\ h_3=h(.15)\) and \(A_T=w_{\rm hi}-\sigma\max\{A_T,.26s_{\max}\},\qquad b_{\min}>M+2\delta_*,\\ \max\{A_T,[F+\delta_*/2+(h_3+.15)s_{\max}/2]/2\}+D