Plectis Atlas
Search

↑ and ↓ move, Enter opens, Esc closes.

Reading view

Uniform quasipolynomial-time trace reconstruction

OpenAI, 5 October 2026

PDFTeX source

Part of family 122: Quantitative trace-reconstruction bounds with a uniform decoder. Read it with its family

This page is converted from the paper’s TeX source. Atlas reconstructs statement numbers from the paper’s typesetting source (TeX). Use the original PDF if they differ. 2 figures are shown as placeholders; see the PDF for them.

Abstract

We give a uniform algorithm that reconstructs every binary string from independent deletion traces when its length and rational retention probability are known. For each fixed retention probability, both the number of traces and the bit complexity are quasipolynomial in the string length. More generally, we give an explicit sample bound uniform over all rational retention probabilities, with running time polynomial in the sample budget and the binary input length. If the deletion probability is at most n^{-\varepsilon} for fixed \varepsilon>0, the sample and running-time bounds are polynomial. Reconstruction succeeds with probability at least 2/3 for each input string.

1 Introduction

A deletion trace of a binary string is obtained by retaining each position independently with probability p and concatenating the retained bits in order. The trace contains its length and its bits, but does not identify their original positions. Trace reconstruction asks for the original string from independent repetitions of this experiment. We consider the worst case: the unknown string is arbitrary, and the recovery probability must hold separately for each string.

Knowing that a collection of statistics distinguishes every pair of strings gives a sample bound, but an efficient decoder needs a way to find the unknown string. We obtain such a decoder by extending separation to a convex family of moment arrays. The resulting tests determine one bit at a time and can be implemented using rational arithmetic.

1.1 The uniform guarantee

Let n\ge2 be the known original length and let p=a/b\in(0,1] be known, where a,b are positive integers in lowest terms. Write L for the total binary length of a and b, and put q=1-p. All logarithms are natural unless a base is displayed. Define

\begin{split} \mathsf X(n,p)&= \begin{cases} 1+\dfrac{\log n}{1+\log(1/q)},&q>0,\\[3pt] 1,&q=0, \end{cases}\\ B(n,p)&=p^{-1}(\log n)\mathsf X(n,p)^2 (1+\log\mathsf X(n,p))^6. \end{split} \tag{1.1}

Theorem 1.1 (Uniform trace reconstruction). There exist absolute constants C,c\ge1 and one randomized multitape Turing machine \mathcal A with the following property. For every n\ge2, every rational p\in(0,1], and every x\in\{0,1\}^n, given n,p in binary and access to independent ordinary deletion traces of x, the machine requests at most

M_C(n,p)=\left\lceil\exp\bigl(CB(n,p)\bigr)\right\rceil

traces, outputs an element of \{0,1\}^n, and returns x with probability at least 2/3.

For every internal random-bit sequence and every well-formed trace stream of strings of length at most n, it halts within

\bigl(n+L+M_C(n,p)\bigr)^c

bit operations. This bound includes preprocessing, all parameter and finite-precision calculations, every received trace bit and delimiter, and the output. The only oracle operation is the external generation of the independent deletion traces.

For fixed p, the budget in (1.1) is O_p((\log n)^3(1+\log\log n)^6) as n\to\infty. Thus both resources in Theorem 1.1 are quasipolynomial. The theorem also controls channels whose retention probability varies with n, including probabilities arbitrarily close to zero or one. Its running-time guarantee is polynomial in the permitted sample budget. For every fixed \kappa>0, the regime q\le n^{-\kappa} has polynomial sample complexity in n and polynomial bit complexity in n+L: indeed, \mathsf X(n,p)\le1+1/\kappa and p^{-1} is bounded by a constant depending only on \kappa, so B(n,p)=O_\kappa(\log n).

1.2 History and relation to earlier work

Reconstructing a sequence from corrupted copies has a broad information-theoretic history; Levenshtein studied reconstruction under several combinatorial and probabilistic channel models [15]. Batu, Kannan, Khanna, and McGregor formulated reconstruction from independent random deletion traces in theoretical computer science, motivated in part by sequence alignment [2]. The missing positions make the problem different from coordinatewise denoising: the same trace rank can originate at many input positions.

For a fixed deletion probability, Holenstein, Mitzenmacher, Panigrahy, and Wieder obtained a worst-case sample bound \exp(\widetilde O(\sqrt n)) [13]. In independent papers published at STOC 2017, De, O’Donnell, and Servedio, and Nazarov and Peres, obtained \exp(O(n^{1/3})) bounds and matching limitations for methods using only trace means [11, 17]. Their complex-analytic approach connects deletion statistics to bounded-coefficient polynomials; analytic inequalities of Borwein and Erdélyi are part of the background to this method [3]. The mean-based lower bound is a restriction on that method, not on arbitrary trace algorithms.

Chase improved the general sample upper bound to \exp(O(n^{1/5}\log^5n)) [6]. On the lower-bound side, Holden and Lyons proved an almost-n^{5/4} bound, and Chase strengthened it to \Omega(n^{3/2}/\log^7n) for fixed deletion probability [12, 5]. Burudgunte, Valiant, and Wang subsequently proved the sample bound

\exp\bigl(p^{-7/3}(\log_2n)^{c_0}\bigr)

for an absolute c_0, using nonlocal low-order statistics and a multiscale propagation argument [4, Theorem 43]. This bound is quasipolynomial when p^{-1} is polylogarithmic in n. Theorem 1.1 builds on this strategy and provides an explicit uniform reconstruction algorithm with the displayed bit-complexity bound.

Sample complexity and reconstruction time require different arguments. At fixed confidence, maximum likelihood achieves worst-case reconstruction using at most O(n) times the optimal sample count, but evaluating it over all candidate strings entails a large search [10, Corollary 1.1 of the full version]. Burudgunte, Valiant, and Wang explicitly distinguish testing two known strings from reconstructing an unknown string, and leave quasipolynomial-time reconstruction open for their approach [4, Section 1]. The additional separation proved here concerns every positive semidefinite moment completion of a wrong prefix. It enables constructive feasibility tests in place of a search over complete strings. Earlier polynomial-time results already cover low-deletion regimes [8].

The use of nonlocal statistics is essential to the comparison with known barriers. Chen, De, Lee, and Servedio proved strong lower bounds for statistical queries restricted to short consecutive trace blocks [7]. Our statistics involve few ranks but may span the whole trace, as in [4]. The generating-function identity used to transfer them from input coordinates has antecedents in higher-order trace reconstruction [9, 6].

The positive moment relaxation is a Boolean instance of the semidefinite moment and sum-of-squares framework [14, 18]. The finite feasibility iteration is related to the classical relaxation methods of Agmon and Motzkin–Schoenberg [1, 16]. We prove the analytic separation and the rational implementation directly; no external trace-reconstruction or optimization theorem is needed.

1.3 Proof strategy and additional ingredients

The decoder estimates products of bits at specified trace ranks; those ranks may be far apart. It then tests a proposed prefix by asking for moments of the remaining input bits that agree with these estimates within a prescribed tolerance. The moment array is constrained so that the expected squared magnitude of every polynomial up to a prescribed degree is nonnegative. Actual distributions give such arrays, but an arbitrary feasible array need not come from a distribution.

The central statement separates the true input from every such array fixing a wrong prefix. Let d be the first wrong position, and write \Delta[P] for the difference between the array’s value on a polynomial P and its value at the true input. Then \Delta[X_d]=\pm1, whereas all differences strictly before d vanish. We propagate this local signal through progressively larger distance scales. At each stage, the statistics are weighted sums over increasing tuples of input positions, with exponential weights on their gaps. We track an exponentially damped Fourier sum of the discrepancies of these tuple statistics, indexed by the last input position. The aim is to reduce its damping and frequency while retaining a detectable discrepancy.

Two features make this propagation compatible with the convex relaxation. First, positivity turns polynomial moments into inner products. If squared norms and neighboring inner products along a chain of J vectors differ from one by at most \xi, then a telescoping argument bounds the endpoint error by O(J^2\xi). Applied to normalized Fourier sums and their products, this forces a detectable product whose total frequency is small. Pairing frequencies at prescribed differences under a Cauchy density supplies enough pairs for this chain.

Second, a Gaussian contour deformation converts each such product back into a tuple statistic with smaller decay and frequency. The paths joining consecutive positions in each old tuple, together with links between their endpoints, form a connected graph. A spanning tree assigns distinct edges to the new gaps, controlling the coefficient mass under interleaving. This retains the signal while the tuple order increases by a factor of at most four.

After the last scale, a generating-function identity transfers input statistics to ordinary trace statistics. In this identity, the channel substitution z=q+pw maps the unit disk in a trace gap parameter w to the disk |z-q|\le p in the corresponding input parameter z. A single complex strip moves all input gap parameters into these disks simultaneously. This supplies the quantitative separation theorem without requiring the algorithm to search for any of the analytic witnesses.

Finally, when the empirical estimates are sufficiently accurate, a true prefix has a moment completion with strict slack: give independent uniform signs a sufficiently small weight in a mixture with its true completion. This preserves the statistical tolerance while making the moment matrix positive definite. We exploit that slack with an explicit sequence of rational updates, exact positivity tests, and rounding to a fixed dyadic grid. A fixed iteration cap gives the worst-stream bound in Theorem 1.1.

Section 2 introduces the relaxation. Section 3 proves the multiscale step, and Section 4 transfers its signal to traces. Section 5 constructs the decoder and proves Theorem 1.1.

2 Moment relaxations and prefix separation

We first describe the finite collection of statistics used by the decoder and the convex set against which they will separate the true input. Throughout, [n]=\{1,\ldots,n\} and X_1,\ldots,X_n are formal Boolean variables. Products and degrees are understood after the reductions X_i^2=X_i.

2.1 Observable trace moments

For a nonempty rank set I=\{\ell_1<\cdots<\ell_k\}\subseteq[n], the corresponding trace observable is the product of the bits at those ranks, with value zero if the trace has length less than \ell_k. Let T_I(X) be its channel expectation, regarded as a polynomial in the input bits. More explicitly,

T_I(X)=\sum_{i_1<\cdots<i_k} c_{I;i_1,\ldots,i_k}\,X_{i_1}\cdots X_{i_k},

where c_{I;i_1,\ldots,i_k} is the probability that the selected input positions appear at ranks \ell_1,\ldots,\ell_k in a deletion trace. These events are disjoint as the input tuple varies. Consequently the coefficients are nonnegative, their sum is at most one, and the degree is at most k. They are rational when p is rational. The algorithm will estimate T_I(x) by averaging the observable over independent traces; it never observes the input positions that determine the coefficients.

2.2 Positive moment arrays

The following Boolean moment relaxation is a specialization of the semidefinite moment and sum-of-squares frameworks of Lasserre [14, Section 2] and Parrilo [18, Sections 4.2–4.3]. We use only its defining positivity condition and elementary consequences, proved below. Fix a proposed prefix u\in\{0,1\}^d and an integer D\ge1. On the remaining positions U=\{d+1,\ldots,n\}, use sign variables Y_i=2X_i-1, so Y_i^2=1. A moment array consists of real numbers m_J for J\subseteq U with |J|\le2D, including m_\varnothing=1, subject to

\mathcal M_D(m)= \bigl(m_{I\triangle J}\bigr)_{ I,J\subseteq U,\ |I|,|J|\le D}\succeq0. \tag{2.1}

Only existing subsets are indexed; thus the definition also applies when D>|U| or U is empty.

The array defines a functional \EE on polynomials of degree at most 2D by substituting X_i=u_i for i\le d, expanding the other bits as (1+Y_i)/2, reducing Y_i^2=1, and setting \EE[\prod_{i\in J}Y_i]=m_J. We extend this functional complex linearly. We call it a positive moment functional of order 2D fixing u. This terminology asserts (2.1), not the existence of a probability distribution realizing all its moments.

Lemma 2.1 (Elementary moment bounds). For every array satisfying (2.1), one has |m_J|\le1 for |J|\le2D. The value under \EE of any product of at most 2D distinct input bits has magnitude at most one. On polynomials of degree at most D, the form

\langle P,R\rangle_{\EE}=\EE[P\overline R]

is a positive semidefinite Hermitian form, linear in its first argument. It satisfies Cauchy–Schwarz and becomes an inner product after quotienting by its zero-norm subspace.

Proof. The empty moment equals one. Every nonempty J with |J|\le2D can be partitioned as J=I\sqcup K with |I|,|K|\le D. The I,K principal submatrix in (2.1) has diagonal entries one and off-diagonal entry m_J, giving |m_J|\le1. Expanding a product of unfixed bits as 2^{-t}\prod(1+Y_i) is a convex combination of these sign monomials; fixed bits either remove factors or make the product zero. This proves the second assertion. The final assertion is the Gram-form interpretation of the real symmetric positive semidefinite matrix (2.1), extended to complex coefficient vectors. Cauchy–Schwarz follows by applying positivity to P+zR for z\in\CC; it also shows that every zero-norm vector is orthogonal to every vector, so the quotient is well defined.

Fix a true input x\in\{0,1\}^n and a prefix u of length d with

u_i=x_i\quad(i<d),\qquad u_d=1-x_d.

For a positive moment functional fixing u, write

\Delta[P]=\EE[P]-P(x).

Then \Delta[X_d]=\pm1, and \Delta[P]=0 whenever P uses only positions strictly before d. If P is a linear combination of bit monomials of degree at most 2D, Lemma 2.1 gives

|\Delta[P]|\le2\sum_A |c_A| \quad\text{when }P=\sum_A c_A\prod_{i\in A}X_i. \tag{2.2}

For p<1, introduce

q_* =\max(q,1/n),\qquad Q=1+\log(1/q_*),\qquad Y=1+\frac{\log n}{Q}. \tag{2.3}

When q\ge1/n, Y=\mathsf X(n,p). When q<1/n, 1\le\mathsf X(n,p)\le Y<2. Hence

\mathsf X(n,p)\le Y\le2\mathsf X(n,p),\qquad QY=Q+\log n\le C\log n

for an absolute constant C, since n\ge2.

Theorem 2.2 (Separation from a wrong prefix). There exist absolute constants C_{\mathrm{sep}}\ge1 and an integer H\ge1 with the following property. For n\ge2 and 0<p<1, define

D_*=4^{\lceil\log_2 Y\rceil+H}\le4^{H+1}Y^2,

using (2.3). For every x\in\{0,1\}^n, every d\in[n], and every positive moment functional of order 2D fixing x_1,\ldots,x_{d-1},1-x_d, where D\ge D_*, some nonempty I\subseteq[n] with |I|\le D_* satisfies

|\EE[T_I]-T_I(x)|> \exp\bigl(-C_{\mathrm{sep}}B(n,p)\bigr).

The theorem concerns every feasible array, including arrays not represented by distributions. Its proof occupies the next two sections. Once it is available, empirical trace moments rule out every wrong extension of a correct prefix. Section 5 shows how to find the feasible extension with an explicit bounded computation.

2.3 Exponentially weighted tuple statistics

For the analytic proof, fix x,d,\EE as above. For 1\le k\le2D, an order-k feature is a sequence of polynomials

f_j=\sum_{i_1<\cdots<i_k=j} X_{i_1}\cdots X_{i_k} \prod_{h=1}^{k-1}z_h^{i_{h+1}-i_h}, \qquad j\in[n], \tag{2.4}

where z_h=\exp(-a_h+\ii\theta_h), a_h>0, and \theta_h\in\RR. For k=1 this means f_j=X_j. Put

H_f=\prod_{h=1}^{k-1}(1+1/a_h).

Summing geometric series in the positive gaps shows that H_f\ge1 bounds the sum of the absolute coefficients of each f_j, since (1-e^{-a})^{-1}\le1+1/a for a>0. For s>0 and \omega\in\RR, define its signal by

\mathcal S_f(s,\omega)= \sum_{j=1}^n\Delta[f_j]e^{(-s+\ii\omega)(j-d)}. \tag{2.5}

Every monomial in f_j uses positions at most j, so \Delta[f_j]=0 for j<d. Thus, despite the centered exponent, only nonnegative distances contribute to (2.5). The purpose of the multiscale argument is to preserve a detectable signal while reducing s and |\omega|, at the cost of increasing k.

3 Moving a signal to a larger scale

The signal in (2.5) discounts positions beyond distance about 1/s from the first disagreement. The next proposition moves such a signal to a much smaller decay parameter. It permits an increase in feature order, but keeps the loss in the logarithm of the signal below a factor of eight. Controlling the angles of the new parameters is equally important: those bounds will later permit passage from input coordinates to trace coordinates. Enlarging spatial scales while increasing statistic order follows the strategy of Burudgunte, Valiant, and Wang [4]. Here the comparison functional may be a positive truncated moment functional, and the scale step uses Gram matrices of polynomial vectors.

Proposition 3.1 (One multiscale step). There are absolute constants 0<\beta,\eta_0<1 and C_0,C_1\ge1 with the following property. Let f be an order-k feature from (2.4), and let \Delta arise from a moment functional of order 2D with the prefix conditions of Section 2. Suppose

0<S\le4,\qquad 0<S'\le\min\{1,\eta_0S\},\qquad 4k\le D,

and, for some \beta S\le s\le S and \abs{\omega}\le2.002s,

\abs{\mathcal S_f(s,\omega)}\ge e^{-E},\qquad E\ge C_0\left(1+k\log(2k)+\log H_f+\log\frac1{S'}\right). \tag{3.1}

Then an order-k' feature f', with 1\le k'\le4k, satisfies

\abs{\mathcal S_{f'}(s',\omega')}\ge e^{-7.98E},\qquad \beta S'\le s'\le S',\qquad \abs{\omega'}\le2.002s', \tag{3.2}

and

H_{f'}\le H_f^4\left(1+\frac1{\beta S'}\right)^3. \tag{3.3}

Moreover, there are 1\le m\le4 lists, each equal to the old parameter list (z_1,\ldots,z_{k-1}) or its complex conjugate, and at most m-1 added parameters, with the following property. Each new inner-gap parameter is a nonempty product using at most one entry from each list and at most one added parameter. Every added parameter e^{-a+\ii\theta} obeys

a\ge\beta S',\qquad \abs{\theta}\le C_1S. \tag{3.4}

The proof has two parts. First, a broad Gaussian window turns the original signal into Fourier sums. Positivity of the moment functional then forces a product of at most four such sums to retain a signal while its total frequency is small. Second, expanding that product and deforming Gaussian contours produces a single feature with the asserted parameters. The first part occupies the present subsections; the conversion is carried out in Section 3.4.

3.1 A Gaussian window and its logarithmic bound

Throughout the proof of Proposition 3.1, set

\sigma=\frac{K\sqrt E}{S'},\qquad W(l)=\exp\left(-\frac{l^2}{2\sigma^2}\right),\qquad b=\beta S', \tag{3.5}

where K is a sufficiently large absolute constant. The constants will be chosen in the order K, then \beta sufficiently small, then \eta_0 sufficiently small, and finally C_0 sufficiently large. The choices of K and \beta will also enforce the contour estimates below.

We use the following consequence of (3.1) repeatedly. The logarithm of any fixed product of powers of H_f,1+\sigma,1/S',1/b, together with a factor \exp(O(k\log(2k))), is bounded by

C\left(1+k\log(2k)+\log H_f+\log\frac1{S'}\right)+C\log E,

where C depends only on constants already chosen. Increasing C_0 makes this at most any prescribed positive multiple of E. Only finitely many such estimates will be required, so a single final choice of C_0 suffices.

For real t, define the polynomial and its evaluation

A(t)=\sum_{j=1}^n f_jW(j-d)e^{\ii t(j-d)},\qquad B_x(t)=A(t)(x). \tag{3.6}

The coefficient bound for f_j and the Gaussian sum imply that

\abs{B_x(t)},\quad \abs{\EE[A(t)]},\quad \abs{\Delta[A(t)]} \le U:=C H_f(1+\sigma), \tag{3.7}

with C absolute and chosen so that U\ge1. By prefix cancellation,

P(z):=\sum_{j=d}^n\Delta[f_j]W(j-d)z^{j-d} \quad\hbox{satisfies}\quad P(e^{\ii t})=\Delta[A(t)].

We first show that P retains a signal at almost the original decay:

\abs{P(e^{-s_1+\ii\omega})}\ge\tfrac12e^{-E} \quad\hbox{for some}\quad \abs{s_1/s-1}\le10^{-4}. \tag{3.8}

Let V be a centered real normal variable with variance \sigma^{-2}. Since W(l)\mathbf E e^{Vl}=1,

\mathcal S_f(s,\omega)=\mathbf E\,P(e^{-s+V+\ii\omega}).

Write \delta=10^{-4}. Exponential tilting gives

W(l)\mathbf E\big[e^{Vl}\mathbf1_{\{\abs V>\delta s\}}\big] =\Pr\!\left(\abs{N(l/\sigma^2,\sigma^{-2})}>\delta s\right).

For 0\le l\le\delta s\sigma^2/2, this probability is at most 2e^{-c\delta^2s^2\sigma^2}. For larger l, use the bound one and sum e^{-sl}. Because \abs{\Delta[f_j]}\le2H_f, the contribution from \abs V>\delta s is at most

2H_f(1+1/s)\left(2e^{-c\delta^2s^2\sigma^2} +e^{-\delta s^2\sigma^2/2}\right). \tag{3.9}

Here 1/s\le1/(\beta S'), and s^2\sigma^2\ge\beta^2K^2E/\eta_0^2. Choose \eta_0 sufficiently small and then C_0 sufficiently large to make (3.9) less than e^{-2E}. The integral over \abs V\le\delta s consequently has magnitude at least e^{-E}-e^{-2E}\ge e^{-E}/2. Its maximum integrand magnitude is at least that large, proving (3.8).

Set

\Lambda(t)=\log\frac{U}{\abs{P(e^{\ii t})}}\ge0,

with value +\infty at a boundary zero. We claim

\int_{\RR}\Lambda(t)\frac{s_1\,dt} {\pi(s_1^2+(t-\omega)^2)}\le1.001E. \tag{3.10}

For completeness, the Cauchy Fourier transform is

\int_{\RR}\frac{e^{\ii\xi v}}{\pi(1+v^2)}\,dv=e^{-\abs\xi}. \tag{3.11}

For \xi>0, close the contour in the upper half-plane and take the residue at \ii; for \xi<0 use the lower half-plane, and for \xi=0 integrate directly. Thus periodizing the density in (3.10) gives the circle Poisson measure at e^{-s_1+\ii\omega}.

To apply it, factor the nonzero polynomial P into linear factors. A factor with a root outside the disk has harmonic logarithmic magnitude inside. For a root a inside, the boundary identity \abs{e^{\ii t}-a}=\abs{1-\overline a e^{\ii t}} and the inequality

\abs{1-\overline a z}^2-\abs{z-a}^2 =(1-\abs a^2)(1-\abs z^2)\ge0

give the corresponding upper bound by its Poisson integral. Roots on the circle follow by a radial limit; their logarithmic singularities are integrable. Summing over factors yields

\int_{\RR}\Lambda(t)\frac{s_1\,dt}{\pi(s_1^2+(t-\omega)^2)} \le\log U-\log\abs{P(e^{-s_1+\ii\omega})} \le E+\log(2U).

The last term is at most 1.001E by the choice of C_0, proving the claim.

3.2 Frequencies at prescribed differences

We seek a frequency \lambda\in[-2s_1,2s_1] with a large signal and pairs of frequencies with every prescribed difference in that interval. The product A(t)\overline{A(t')} has signed frequency t-t'. After normalization by their evaluations at x, these products will supply the interior vectors of a chain from 1 to a normalized copy of A(\lambda), with consecutive frequency labels differing by at most b. Each neighboring inner product will then have signed frequency of magnitude at most b, even though \abs\lambda may be much larger. The logarithmic estimate makes the required existence of pairs a question about pairing Cauchy mass.

Lemma 3.2 (Cauchy matching). Let w(v)=1/(\pi(1+v^2)). For every r\ge0 there is a finite positive measure \mu_r on \RR^2, supported on v-v'=r, such that the sum of its two marginals is bounded above by w(v)\,dv. For r>0 its total mass is

2\mu_r(\RR^2)=1-\frac4\pi\arctan(e^{-\pi/r}); \tag{3.12}

for r=0 its total mass is 1/2. In particular, the quantity in (3.12) is greater than 0.737 when 0<r\le2.

Proof. For r=0, put half the measure w(v)\,dv on the diagonal. Suppose r>0, and partition the line into chains v+jr, j\in\mathbb Z, with -r/2\le v<r/2. Abbreviate w_j=w(v+jr). On the edge from j to j-1, for j\ge1, put weight

e_j=\sum_{m\ge0}(-1)^m w_{j+m}.

These weights are nonnegative, since the summands decrease along the tail. Moreover e_j+e_{j+1}=w_j, so the edges exhaust the weight at every positive vertex. Construct the negative-side edges in the same way, proceeding from the negative tail toward zero. The only possibly unused weight is at the central vertex, where its value is

R(v)=\sum_{j\in\mathbb Z}(-1)^j w(v+jr).

To check that no weight has been overused, periodize w at period 2r and subtract its translate by r. By (3.11), with \tau=e^{-\pi/r}, this gives the absolutely convergent Fourier series

R(v)=\frac2r\sum_{m\ge0}\tau^{2m+1} \cos\frac{(2m+1)\pi v}{r}.

Writing a=\pi v/r, the sum equals

\re\frac{\tau e^{\ii a}}{1-\tau^2e^{2\ii a}} =\frac{\tau(1-\tau^2)\cos a} {1-2\tau^2\cos(2a)+\tau^4}\ge0,

since \abs a\le\pi/2. Orient every edge with its larger endpoint first and integrate the edge weights with respect to dv over [-r/2,r/2). The resulting measure has the asserted marginal domination. Its uncovered mass is

\int_{-r/2}^{r/2}R(v)\,dv =\frac4\pi\sum_{m\ge0}\frac{(-1)^m\tau^{2m+1}}{2m+1} =\frac4\pi\arctan\tau,

which proves (3.12). The expression decreases with r, and at r=2 it exceeds 0.737. For example, e^{-\pi/2}<0.209 together with \arctan u\le u-u^3/3+u^5/5 for 0\le u\le1 proves this numerical bound.

Lemma 3.3 (Frequencies from the logarithmic bound). Let s_1,E>0, let \abs\omega\le2.003s_1, and let \Lambda:\RR\to[0,\infty] be measurable and satisfy (3.10). There is a real \lambda with

\abs\lambda\le2s_1,\qquad \Lambda(\lambda)\le2.40E. \tag{3.13}

There is also an absolute C_2 such that, for every \abs y\le2s_1, some real t,t' satisfy

t-t'=y,\qquad \abs t,\abs{t'}\le C_2s_1,\qquad \Lambda(t)+\Lambda(t')\le2.74E. \tag{3.14}

Proof. The Cauchy mass of [-2s_1,2s_1] is at least

\frac{\arctan(2-2.003)+\arctan(2+2.003)}\pi>0.418.

Because 1.001/0.418<2.40, averaging proves (3.13).

For (3.14), use Lemma 3.2 with r=\abs y/s_1\le2 and then substitute t=\omega+s_1v. Reverse the orientation if needed. The sum of the two marginals is bounded by the Cauchy measure in (3.10), while twice the total pair mass is greater than 0.737. Discard pairs with an endpoint outside [-C_2s_1,C_2s_1]. Twice the discarded pair mass is at most twice the Cauchy tail outside that interval, which tends uniformly to zero as C_2\to\infty, since \abs\omega/s_1\le2.003. Choose an absolute C_2 so the retained pair mass exceeds 0.733/2. Its integral of \Lambda(t)+\Lambda(t') is at most 1.001E. Some retained pair consequently has sum at most

\frac{2(1.001)}{0.733}E<2.74E,

as required. The diagonal construction gives the same argument when y=0.

3.3 A product with small total frequency

The window parameters satisfy \abs\omega/s_1\le2.002/0.9999<2.003, so Lemma 3.3 applies to our \Lambda. Individual frequencies in (3.14) need not be small. Their differences, however, can be prescribed. We use these pairs to build a chain of polynomial vectors whose neighboring inner products have small total frequency. The following Hilbert-space fact explains why such a chain preserves the needed exponential accuracy.

Lemma 3.4 (Gram chaining). Let v_0,\ldots,v_J, with J\ge1, lie in a complex Hilbert space whose inner product is linear in its first argument. Suppose \norm{v_0}=1 and, for some \xi\ge0,

\abs{\norm{v_i}^2-1}\le\xi\quad(0\le i\le J),\qquad \abs{\langle v_i,v_{i-1}\rangle-1}\le\xi\quad(1\le i\le J).

Then

\abs{\langle v_J,v_0\rangle-1}\le2J^2\xi.

Proof. Put h_i=v_i-v_{i-1}. The hypotheses give

\norm{h_i}\le2\sqrt\xi,\qquad \abs{\langle h_i,v_{i-1}\rangle}\le2\xi, \qquad \norm{v_{i-1}-v_0}\le2(i-1)\sqrt\xi.

Thus Cauchy–Schwarz implies

\abs{\langle h_i,v_0\rangle} \le2\xi+4(i-1)\xi.

Sum over i and use \langle v_0,v_0\rangle=1.

Choose an absolute C_3 large enough that all frequencies supplied by Lemma 3.3 have magnitude at most C_3S. A product of one to four factors, each of the form A(t) or \overline{A(t)} with \abs t\le C_3S, is called balanced if the sum of its signed frequencies has magnitude at most b; conjugation changes the sign of a frequency.

Lemma 3.5 (A balanced product retains a signal). Some balanced product G satisfies

\abs{\Delta[G]}\ge e^{-7.94E}. \tag{3.15}

Proof. Suppose to the contrary that every balanced product has signal less than \epsilon=e^{-7.94E}. The squared modulus \abs{A(t)}^2 is one such product. Positivity of \EE, applied to A(t) and 1, gives

\abs{\EE[A(t)]}^2\le\EE[\abs{A(t)}^2] \le\abs{B_x(t)}^2+\epsilon,

and hence

\abs{\Delta[A(t)]}\le2\abs{B_x(t)}+\sqrt\epsilon. \tag{3.16}

At \lambda from (3.13), this implies

\abs{B_x(\lambda)}\ge e^{-2.41E}. \tag{3.17}

Indeed \abs{\Delta[A(\lambda)]}\ge e^{-2.40E}, whereas \sqrt\epsilon=e^{-3.97E}; fixed numerical factors are absorbed by the absolute lower bound on E in (3.1). For a pair in (3.14), nonnegativity of \Lambda implies that both corresponding signals are at least e^{-2.74E}, and

\abs{\Delta[A(t)]\Delta[A(t')]} =U^2e^{-\Lambda(t)-\Lambda(t')}\ge e^{-2.74E}.

Applying (3.16) to each therefore gives

\abs{B_x(t)\overline{B_x(t')}}\ge e^{-2.75E}. \tag{3.18}

For example, each evaluation is at least one third of its corresponding signal once E is large; the resulting factor 1/9 is absorbed in e^{-0.01E}.

Take a monotone chain 0=y_0,y_1,\ldots,y_J=\lambda with consecutive distances at most b and

1\le J\le C(1+S/b).

If \lambda=0, use just two endpoints and J=1. For every interior y_i, choose a pair from (3.14) and define polynomials

V_0=1,\qquad V_i=\frac{A(t)\overline{A(t')}}{B_x(t)\overline{B_x(t')}}\quad(0<i<J), \qquad V_J=\frac{A(\lambda)}{B_x(\lambda)}.

The denominators are nonzero by (3.17)–(3.18), and every V_i(x) equals one. Regard these polynomials as vectors v_i in the Hilbert space induced by \EE. They have degree at most 2k\le D.

For 1\le i\le J, the norm square of v_i and its inner product with v_{i-1} are expectations of normalized balanced products: their signed frequencies are respectively zero and y_i-y_{i-1}, and each product has at most four factors. The magnitude of its normalizing denominator is at least e^{-5.50E}. Our contradictory assumption therefore gives

\abs{\norm{v_i}^2-1}\le\xi,\qquad \abs{\langle v_i,v_{i-1}\rangle-1}\le\xi, \qquad \xi=\epsilon e^{5.50E}=e^{-2.44E}.

Since v_0=1 has norm one, Lemma 3.4 yields

\abs{\Delta[A(\lambda)]} =\abs{B_x(\lambda)}\, \abs{\langle v_J,v_0\rangle-1} \le2UJ^2e^{-2.44E}<e^{-2.40E}.

The final strict inequality follows by increasing C_0, because \log(2UJ^2) is less than 0.04E by (3.1). This contradicts (3.13) and proves the lemma.

We have obtained a product of at most four windowed feature sums with signal at least e^{-7.94E} and total frequency at most b. It remains to turn it into one feature while keeping both its decay and frequency of order S'. The Gaussian contour construction below supplies that final step of Proposition 3.1.

3.4 Converting a balanced product to a feature

Lemma 3.5 supplies a product of at most four windowed Fourier sums with a substantial discrepancy and small total frequency. We now express that product as an integral of features. The contour will place their outer parameters in the sector required by Proposition 3.1; the remaining issue will be to control the damping factors on their inner gaps.

Fix a product supplied by Lemma 3.5, and let 1\le m\le4 be its number of factors. Expand each factor in the tuples defining f. An interleaving specifies the ordering, including all ties, of the mk labeled positions in these tuples. There are at most (mk)^{mk}=\exp(O(k\log(2k))) interleavings: assigning to each labeled position its rank among the distinct positions gives such a bound. Only interleavings consistent with strict increase inside each old tuple are retained. Fix one interleaving, and relabel its copies so that their endpoints satisfy j_1\le\cdots\le j_m. Equal endpoints may be ordered arbitrarily. After absorbing conjugation into the signs of the frequencies, their window weight is

\prod_{r=1}^m W(j_r-d)\exp\bigl(\ii t_r(j_r-d)\bigr), \qquad |t_r|\le C_3S,\qquad \left|\sum_{r=1}^m t_r\right|\le b. \tag{3.19}

Conjugation also conjugates the old inner-gap parameters, leaving their dampings unchanged.

A Gaussian contour with controlled total frequency. Recall that \sigma=K\sqrt E/S' and b=\beta S'. For every real l,

W(l)=\frac{\sigma}{\ii\sqrt{2\pi}} \int_{-\ii\infty}^{\ii\infty} \exp(\sigma^2v^2/2+vl)\,dv. \tag{3.20}

Indeed, writing v=\ii u gives the Gaussian Fourier transform. Its value at l=0 is one, and integration by parts shows that its derivative in l is -l/\sigma^2 times itself, proving the formula.

Set \rho=1/2.002. For u=(u_1,\ldots,u_m)\in\RR^m, define

\Omega=\sum_{r=1}^m(u_r+t_r),\qquad v_r=b+\ii u_r\quad(r<m),\qquad v_m=-mb-\rho|\Omega|+\ii u_m. \tag{3.21}

These real parts have partial sums rb for r<m and total sum -b-\rho|\Omega|. When the endpoint exponent is centered at j_m, the total sum gives the real part of its outer coefficient, while the negatives of the partial sums give the real parts of the coefficients on consecutive endpoint gaps. The contour is therefore designed to give outer decay b+\rho|\Omega| and positive inner dampings rb; we verify the exact rewriting below.

For each fixed tuple of positions, first shift the first m-1 contours in (3.20) to their fixed vertical lines \re v_r=b, leaving the last contour on the imaginary axis. The connecting horizontal integrals vanish by Gaussian decay. Next fix (u_1,\ldots,u_{m-1}) and deform the last contour to the piecewise linear graph in (3.21). Its slopes have absolute value \rho<1. Along horizontal segments joining its truncations to the imaginary axis at height \pm T, the Gaussian exponent has real part at most -cT^2+O(T) for some c>0. The factor \exp(v_m(j_m-d)) contributes only a linear term in T, so these connecting integrals also vanish. The integrands are entire, and hence no residues occur. This proves the identities as iterated integrals; absolute joint convergence will follow from the next bound.

Let \nu be the resulting complex measure on \RR^m after the factors depending on positions have been removed. More explicitly, outside the measure-zero set \Omega=0,

d\nu(u)= \left(\frac{\sigma}{\sqrt{2\pi}}\right)^m \exp\left(\frac{\sigma^2}{2}\sum_{r=1}^m v_r^2\right) \bigl(1+\ii\rho\operatorname{sgn}\Omega\bigr)\,du. \tag{3.22}

The last factor is the differential of the bent contour divided by \ii\,du_m. We next obtain estimates uniform over the frequencies in (3.19). These estimates also establish absolute convergence of the joint integrals.

Put \delta_0=1-4\rho^2>0 and c_1=\delta_0/2. Since m\le4 and |\sum t_r|\le b, Young’s inequality gives an absolute C_4 such that

\begin{align*} \sum_{r=1}^m(\re v_r)^2 &=(m-1)b^2+(mb+\rho|\Omega|)^2 \\ &\le 3b^2+ \left(2\rho\sqrt{\sum_r u_r^2}+(4+\rho)b\right)^2 \\ &\le (1-c_1)\sum_r u_r^2+C_4b^2. \tag{3.23}\end{align*}

The strict inequality 4\rho^2<1 is essential here: summing at most four imaginary coordinates can multiply their squared norm by four, and the sector constant 2.002 leaves a positive Gaussian decay margin. For example, C_4=3+(4+\rho)^2(1+8\rho^2/\delta_0) suffices. Together with (3.22), this proves

|d\nu(u)|\le C\sigma^m \exp\left(\frac{C_4\sigma^2b^2}{2} -\frac{c_1\sigma^2}{2}\sum_r u_r^2\right)du.

For any fixed tuple of positions, the absolute value of its remaining exponential factor is at most \exp(C_n(1+\sum_r|u_r|)) for a finite constant C_n. This factor is integrable against the Gaussian bound. Thus the iterated deformation also gives a jointly absolutely convergent integral, and finite tuple sums can be interchanged with it.

Write \mathcal U=\{u:\max_r|u_r|\le S'/16\}. Integrating the last bound, and splitting its negative quadratic term into two equal parts on \mathcal U^c, gives absolute constants C,C' with

\begin{align*} \|\nu\|_{\mathrm{abs}} &\le C\exp(C_4K^2\beta^2E/2),\\ \int_{\mathcal U^c}|d\nu| &\le C'\exp\left[ \left(\frac{C_4K^2\beta^2}{2} -\frac{c_1K^2}{1024}\right)E\right].\end{align*}

Here \|\nu\|_{\mathrm{abs}} denotes total variation; the powers \sigma^m cancel under Gaussian rescaling. Choose K large enough that c_1K^2/1024\ge30, then choose \beta\le1/4 small enough that C_4K^2\beta^2/2\le0.001. Increasing C_0 to absorb the fixed prefactors yields

\|\nu\|_{\mathrm{abs}}\le e^{0.005E},\qquad \int_{\mathcal U^c}|d\nu|\le e^{-20E}. \tag{3.24}

This choice is consistent with the order of constants specified earlier: K is fixed first, \beta second, and \eta_0 may then be reduced to meet the window estimate. Only afterward is C_0 enlarged.

Outer parameters and endpoint gaps. For c_r=v_r+\ii t_r, telescoping the endpoint differences gives

\sum_{r=1}^m c_r(j_r-d) =\left(\sum_{r=1}^m c_r\right)(j_m-d) -\sum_{r=1}^{m-1} \left(\sum_{l=1}^r c_l\right)(j_{r+1}-j_r). \tag{3.25}

Consequently, the largest endpoint has coefficient -s'+\ii\Omega, where

s'=b+\rho|\Omega|. \tag{3.26}

The link from j_r to j_{r+1} receives the parameter

Thus every added damping is at least b, for every u. On \mathcal U,

|\Omega|\le(\beta+1/4)S',\qquad \beta S'\le s'\le \bigl[\beta+\rho(\beta+1/4)\bigr]S'\le S', \qquad |\Omega|\le2.002s'.

The angle in (3.27) has absolute value at most 3(C_3S+S'/16)\le C_1S for a fixed absolute C_1. The outer parameters therefore satisfy the parameter inequalities in (3.2), and the endpoint links satisfy (3.4). The choice of C_1 uses only C_3 and S'\le S and imposes no further condition on K or \beta.

3.5 Interleavings and the cost of the inner gaps

We have obtained outer weights at the required scale. To finish, we must show that each interleaving has exactly the form of a feature, with controlled coefficient sum. One old inner edge can cross several gaps of the merged tuple, so charging its damping cost at every crossing would overcount it. A distinct-edge assignment will prevent this loss.

For our fixed interleaving, write its distinct positions as i_1<\cdots<i_v, where 1\le v\le mk. Form a multigraph on these vertices: include the inner edges of each old tuple and the links between consecutive endpoints in (3.27). Its edges carry their corresponding exponential parameters. It is connected, because each old tuple is a path to its endpoint, and the endpoint links join those paths. Delete loops coming from equal endpoints; their weights are one.

For each merged gap i_{a+1}-i_a, multiply the parameters of all edges crossing it. Each edge length is the sum of the merged gaps it crosses, so these new parameters reproduce the original weight exactly. Every merged gap is crossed by some edge, by connectivity, and hence its damping is positive. Within a single old tuple, the inner-edge intervals have disjoint interiors. The same holds for the consecutive endpoint links. It follows that each new parameter uses at most one old parameter from each copy and at most one added endpoint parameter. This is precisely the factor-count assertion in Proposition 3.1.

Ties merge repeated bit variables by the Boolean identity X_i^r=X_i for r\ge1. Once the interleaving is fixed, choosing arbitrary strictly increasing values for its v distinct positions specifies exactly one assignment to its labeled tuples. Thus no further restriction remains on the new tuple. Its largest position is i_v=j_m. Summing all these assignments gives an order-v feature, denoted f^{\mathcal I,u}, with outer weight \exp((-s'+\ii\Omega)(i_v-d)).

The following elementary fact controls its height.

Lemma 3.6 (Assigning distinct edges to consecutive gaps). Let a connected multigraph have ordered vertices i_1<\cdots<i_v. There is an assignment of a distinct edge to each gap (i_a,i_{a+1}) such that its assigned edge crosses that gap.

Proof. There is nothing to prove for v=1. Otherwise retain a spanning tree and orient each of its edges from its smaller to its larger endpoint. Let M be the (v-1)\times(v-1) matrix whose (e,a) entry is one if tree edge e crosses gap a, and zero otherwise. This matrix is invertible. To see this, for an arbitrary vector g in its kernel set y_1=0 and y_{a+1}=y_a+g_a. The equation Mg=0 says that y has equal values at the endpoints of every tree edge. Connectivity makes all its values zero, so g=0. A nonzero term in the determinant expansion of M pairs its rows and columns through entries equal to one. That pairing is the required assignment.

Figure 1 shows why distinctness matters. Although one edge may contribute to several new parameters, it need pay for only one of their upper bounds.

Figure 1: A schematic interleaving of the two old tuples (i_1,i_3,i_5) and (i_2,i_4,i_6), joined by the dashed endpoint link e_5. Here g_a denotes the gap (i_a,i_{a+1}). The assignment g_a\mapsto e_a for 1\le a\le5 uses a distinct crossing edge for every gap. For example, e_1 crosses both g_1 and g_2, but it is charged only to g_1; e_2 supplies the bound for g_2.

Give each edge occurrence e its damping a_e>0. The damping of a merged gap is the sum of the a_e over all edges crossing it, and is therefore at least that of its assigned edge. Since 1+1/a decreases with a, Lemma 3.6 implies

\begin{align*} H_{f^{\mathcal I,u}} &\le\prod_{e\text{ assigned}}(1+1/a_e) \le\prod_{e\text{ present}}(1+1/a_e) \\ &\le H_f^m(1+1/b)^{m-1} \le H_f^4(1+1/b)^3. \tag{3.28}\end{align*}

The second inequality uses that all factors are at least one; the endpoint-link dampings are rb\ge b. This argument includes all overlaps between old tuples and also the case of a single distinct position. In that case the height is the empty product one.

Completing the multiscale estimate. Apply \Delta to the expanded product and use the integral representation for each interleaving. With \nu_{\mathcal I} denoting the corresponding measure, we have the exact identity

\Delta[\text{product}] =\sum_{\mathcal I}\int_{\RR^m} \mathcal S_{f^{\mathcal I,u}}(s',\Omega)\,d\nu_{\mathcal I}(u). \tag{3.29}

All estimates above are uniform over the interleavings. The integrands have a uniform bound even outside \mathcal U. Indeed, for each fixed endpoint j, the coefficients of f_j^{\mathcal I,u} have absolute sum at most the height in (3.28). The terms with endpoint j<d vanish under \Delta by prefix agreement. Using s'\ge b gives

\left|\mathcal S_{f^{\mathcal I,u}}(s',\Omega)\right| \le 2H_f^4(1+1/b)^3\sum_{l\ge0}e^{-bl} \le 2H_f^4(1+1/b)^4. \tag{3.30}

In particular no exponential factor from negative distances occurs in the tail estimate.

Let N_{\mathrm{int}} be the number of interleavings and put V=2H_f^4(1+1/b)^4. Hypothesis (3.1), with a sufficiently large absolute C_0, ensures

E\ge100,\qquad \log N_{\mathrm{int}}\le0.01E, \qquad \log V\le0.01E.

Here \log(1+1/b) is bounded by an absolute constant plus \log(1/S'), because b=\beta S', S'\le1, and \beta has already been fixed. If every signal in (3.29) with u\in\mathcal U had magnitude below e^{-7.98E}, then (3.24) and (3.30) would give

|\Delta[\text{product}]| \le N_{\mathrm{int}} \left(e^{(0.005-7.98)E}+Ve^{-20E}\right) \le e^{-7.965E}+e^{-19.98E} <e^{-7.94E}.

This contradicts Lemma 3.5. Some interleaving and some u\in\mathcal U therefore give a feature with signal at least e^{-7.98E}. Its order is at most mk\le4k; (3.26) and the bounds on \mathcal U give the required outer parameters; (3.28) gives (3.3); and the crossing description gives the claimed parameter factors and (3.4). This completes the proof of Proposition 3.1.

4 From an input signal to separation of trace moments

We prove Theorem 2.2. Proposition 3.1 preserves a detectable input-coordinate signal while reducing its decay rate. We first choose enough scales to make that rate at most 1/n. The resulting gap parameters need not belong to the disk on which trace moments directly control the signal. A simultaneous one-variable continuation will bridge this difference.

Throughout this section 0<p<1, and q_*,Q,Y are as in (2.3). Recall from Section 2 that

1\le \mathsf X(n,p)\le Y\le 2\mathsf X(n,p), \qquad QY=Q+\log n\le C\log n. \tag{4.1}

4.1 A scale schedule and the surviving signal

Set

\mu=7.98,\qquad \alpha=0.001,\qquad h=\lceil\log_2Y\rceil+H,\qquad D_*=4^h, \tag{4.2}

where the absolute integer H will be fixed below. In particular, D_*\le4^{H+1}Y^2. Fix an arbitrary positive moment functional of order 2D, where D\ge D_*, with first wrong position d, and let \Delta be its difference from evaluation at the true word, as in Section 2. All constants chosen below are independent of this system, n, and p.

For an absolute constant \eta>0, define

S_0=4,\qquad S_j=\eta q_*Y^{-\alpha}S_{j-1} \min\{1,D_*S_{j-1}\}\quad(1\le j\le h). \tag{4.3}

The linear regime of this recurrence brings D_*S_j below one; its quadratic regime then makes S_j small rapidly. Both regimes will also be used to control the arguments of the final gap parameters.

Choose an integer J_* with \alpha J_*\ge3, and set H=J_*+3. To verify the decrease precisely, write

\vartheta=\eta q_*Y^{-\alpha},\qquad t_j=D_*S_j.

Then t_j=\vartheta t_{j-1}\min\{1,t_{j-1}\}, so, regardless of when the quadratic regime begins,

t_{J_*}\le \vartheta^{J_*}t_0 \le4^{H+2}\eta^{J_*}Y^{2-\alpha J_*}\le1

once \eta is small enough. Require also

\eta\le\min\{\eta_0,1/4,e^{-1}\},

where \eta_0 is from Proposition 3.1. Now \log(1/\vartheta)\ge Q, and t_j\le1 for j\ge J_*. Iterating t_j=\vartheta t_{j-1}^2 in this range gives

t_h\le\vartheta^{\,2^{h-J_*}-1} \le \exp\{-Q(2^{h-J_*}-1)\}\le n^{-1}, \qquad S_h\le n^{-1}. \tag{4.4}

The last inequality follows from 2^{h-J_*}\ge8Y and Q(Y-1)=\log n. At every transition we also have 0<S_j\le\min\{1,\eta_0S_{j-1}\}, as required by the proposition.

We need an upper bound on the cost of these small scales as well. Put A_0=Q+\log Y. The recurrence implies, with \ell_j=\max\{0,\log(1/S_j)\},

\ell_j\le2\ell_{j-1}+\log(1/\vartheta),\qquad \ell_0=0,\qquad \log(1/\vartheta)\le C A_0.

Consequently

\log(1/S_j)\le C2^jA_0\quad(0\le j\le h). \tag{4.5}

We can now iterate Proposition 3.1. Begin with the order-one feature f_i^{(0)}=X_i, at decay s_0=4 and frequency zero. The prefix agreement gives \Delta[X_i]=0 for i<d, whereas \abs{\Delta[X_d]}=1. Since \abs{\Delta[X_i]}\le2 for every i,

\abs{\mathcal S_{f^{(0)}}(4,0)} \ge1-2\sum_{r\ge1}e^{-4r} =1-\frac{2}{e^4-1}>\frac12. \tag{4.6}

Use error exponents

E_j=C_5A_0\mu^j\quad(0\le j\le h), \tag{4.7}

where C_5 is an absolute constant chosen after H and \eta.

Here are all the induction bounds. At stage j there is a feature f^{(j)} of order k_j\le4^j, with

\begin{gathered} \beta S_j\le s_j\le S_j, \qquad \abs{\omega_j}\le2.002s_j, \qquad \abs{\mathcal S_{f^{(j)}}(s_j,\omega_j)}\ge e^{-E_j},\\ \log H_{f^{(j)}}\le C4^jA_0. \end{gathered} \tag{4.8}

The initial case follows from (4.6) and H_{f^{(0)}}=1, on increasing C_5. At the transition from j-1 to j, the degree requirement is

4k_{j-1}\le4^j\le D_*\le D.

The feature-height conclusion of the proposition and (4.5) give

\log H_{f^{(j)}} \le4\log H_{f^{(j-1)}} +3\log\bigl(1+1/(\beta S_j)\bigr) \le4\log H_{f^{(j-1)}}+C2^jA_0.

Summing this recurrence proves the last bound in (4.8). To check the exponent hypothesis of the proposition, its bracket at this transition is at most

C\bigl(1+j4^{j-1}+4^{j-1}A_0+2^jA_0\bigr).

Because \mu>4, the sequences j(4/\mu)^{j-1} and 2^j/\mu^{j-1} are bounded. Thus one fixed choice of C_5 makes this bracket times C_0 at most E_{j-1} for every j. All hypotheses of Proposition 3.1 hold, and its signal bound is e^{-\mu E_{j-1}}=e^{-E_j}.

Write f=f^{(h)}, k=k_h, s=s_h, and \omega=\omega_h. We have obtained a signal of magnitude at least e^{-E_h} with k\le D_* and s\le1/n. The next step records where its parameters lie in the unit disk; this information will control the cost of continuing the signal to the trace domain.

4.2 Damping under multiplication

Call the parameters introduced between endpoints in each application of Proposition 3.1 elementary parameters. Include also the final outer parameter

z_0=e^{-s+\ii\omega}.

An elementary parameter e^{-a+\ii\theta} introduced at stage j satisfies a\ge\beta S_j and \abs{\theta}\le C_1S_{j-1}. Using (4.3), choose a sufficiently small absolute c_2>0 so that all these parameters obey

a\ge\gamma\min\{\abs{\theta},D_*\theta^2\}, \qquad \gamma=c_2q_*Y^{-\alpha}\le1. \tag{4.9}

For an explicit verification, the increasing function u\mapsto u\min\{1,D_*u\} changes by at most a factor \max\{C_1,C_1^2\} when u is replaced by C_1u. It therefore suffices to take c_2\le\beta\eta/\max\{C_1,C_1^2\}. Shrinking c_2 further covers z_0, since \abs{\omega}\le2.002s. Conjugating any elementary parameter preserves (4.9).

Each new inner gap contains at most one parameter from each of at most four copies of the preceding feature, and at most one new elementary parameter. Count repeated factors with multiplicity; conjugation does not change the count. Starting with no inner parameters, the maximum number N_j of elementary factors in a stage-j inner gap satisfies

N_0=0,\qquad N_j\le4N_{j-1}+1, \qquad N_j\le\frac{4^j-1}{3}.

In particular, an inner gap of f, even after multiplication by z_0, contains at most (4^h+2)/3\le D_* elementary factors.

The following elementary lemma explains why this count matters. The Cayley map z\mapsto(1+z)/(1-z) sends the unit disk to the right half-plane; we need a quantitative distance from its boundary.

Lemma 4.1 (Products with controlled damping). Let N\ge1 be an integer and 0<\gamma\le1. Suppose z is a nonempty product of at most N numbers e^{-a_j+\ii\theta_j}, where a_j>0, \theta_j\in\RR, and

a_j\ge\gamma\min\{\abs{\theta_j},N\theta_j^2\}.

There is an absolute c_3>0 such that

\re\frac{1+z}{1-z}\ge c_3\gamma.

Proof. Write z=e^{-T+\ii\psi}, where T=\sum_j a_j>0 and \psi=\sum_j\theta_j. Let

U=\sum_{\abs{\theta_j}\ge1/N}\abs{\theta_j}, \qquad V=\sum_{\abs{\theta_j}<1/N}\abs{\theta_j}.

Summing the hypotheses and applying Cauchy–Schwarz to at most N small angles yields

T\ge\gamma\left(U+N\sum_{\abs{\theta_j}<1/N}\theta_j^2\right) \ge\gamma(U+V^2).

If U\ge1 or V\ge1, the last bracket is at least one. Otherwise U+V^2\ge U^2+V^2\ge(U+V)^2/2. Since \abs{\psi}\le U+V, in all cases

T\ge\tfrac12\gamma\min\{1,\psi^2\}.

For 0<T\le1 it follows that

1-\abs z^2\ge cT,\qquad \abs{1-z}^2\le C\bigl(T^2+\min\{1,\psi^2\}\bigr) \le C'T/\gamma.

Their ratio is \re((1+z)/(1-z)). If T>1, that ratio is at least (1-e^{-2})/4, which also suffices because \gamma\le1.

4.3 The exact trace generating identity

Let z_1,\ldots,z_{k-1} denote the inner gap parameters of the final feature f. Define the polynomial in k complex variables

F(Z_0,\ldots,Z_{k-1}) =\sum_{1\le i_1<\cdots<i_k\le n} \Delta\left[\prod_{r=1}^kX_{i_r}\right] Z_0^{i_1}\prod_{r=1}^{k-1}Z_r^{i_{r+1}-i_r}. \tag{4.10}

At the point

Z_0^*=z_0,\qquad Z_r^*=z_rz_0\quad(1\le r<k),

the exponents of z_0 telescope to i_k, so

F(Z^*)=z_0^d\mathcal S_f(s,\omega), \qquad \abs{F(Z^*)}\ge e^{-E_h-1}. \tag{4.11}

Here sd\le nS_h\le1. Each coordinate of Z^* is a nonempty product of at most D_* elementary parameters, and hence Lemma 4.1 gives

\re\frac{1+Z_r^*}{1-Z_r^*}\ge c_3\gamma\quad(0\le r<k). \tag{4.12}

We shall also need a bound on the coordinates’ collective proximity to the unit circle. If z_r=e^{-a_r+\ii\theta_r}, then

\frac1{1-\abs{Z_r^*}} \le1+\frac1{a_r+s}\le1+\frac1{a_r}\quad(r\ge1), \qquad \frac1{1-\abs{Z_0^*}}\le1+\frac1s.

These inequalities follow from e^u\ge1+u for u>0. The height bound in (4.8) and (4.5) therefore imply

W_*:=\log\prod_{r=0}^{k-1}\frac1{1-\abs{Z_r^*}} \le\log H_f+\log\bigl(1+1/(\beta S_h)\bigr) \le C4^h A_0. \tag{4.13}

We next express the same polynomial in terms of observable trace moments on a different domain. This uses the multivariate trace generating identity of [9, Section 5.2]; see also [7, Fact 20]. We give the required counting argument directly. For a rank tuple \ell=(\ell_1,\ldots,\ell_k) with 1\le\ell_1<\cdots<\ell_k\le n, abbreviate T_\ell=T_{\{\ell_1,\ldots,\ell_k\}}. For u=(u_0,\ldots,u_{k-1})\in\CC^k, set

G(u)=\sum_{1\le\ell_1<\cdots<\ell_k\le n} \Delta[T_\ell]\, u_0^{\ell_1-1} \prod_{r=1}^{k-1}u_r^{\ell_{r+1}-\ell_r-1}.

Then, with Z_r=q+pu_r, the exact polynomial identity is

\left(\prod_{r=0}^{k-1}Z_r\right)G(u)=p^kF(Z). \tag{4.14}

To prove it, fix input positions i_1<\cdots<i_k that supply the specified retained bits. Their own retention contributes p^k. Every input position before i_1 contributes q+pu_0, according to whether it is deleted or retained; there are i_1-1 such positions. Similarly, the i_{r+1}-i_r-1 positions in the rth intervening gap each contribute q+pu_r. Positions after i_k contribute a total factor of one. The retained counts in these intervals are exactly \ell_1-1 and \ell_{r+1}-\ell_r-1. Summing over all input tuples and applying \Delta gives G(u) as p^k times the polynomial in (4.10) with every displayed gap exponent reduced by one. Multiplication by \prod_rZ_r proves (4.14), including points where some Z_r=0.

Suppose, for the moment, that

\abs{\Delta[T_I]}\le\varepsilon \quad\text{for every }I\subseteq\{1,\ldots,n\} \text{ with }1\le\abs I\le D_*, \tag{4.15}

where \varepsilon>0. Since k\le D_*, the rank sum has at most n^k terms, so \abs{G(u)}\le n^k\varepsilon when all \abs{u_r}\le1. On this polydisk \abs{Z_r}\le q+p=1. Thus (4.14) gives

\abs{F(Z)}\le (n/p)^k\varepsilon \qquad\text{if }\abs{Z_r-q}\le p\quad(0\le r<k). \tag{4.16}

This calculation uses only ordinary trace ranks and the convention that a rank product is zero when the trace is too short.

4.4 Simultaneous continuation and the separation bound

The lower bound (4.11) and the upper bound (4.16) concern different points. In Cayley coordinates the disk \abs{Z-q}\le p becomes a half-plane:

\abs{Z-q}\le p \quad\Longleftrightarrow\quad \re\frac{1+Z}{1-Z}\ge\frac qp \qquad(\abs Z<1). \tag{4.17}

Indeed, writing w=(1+Z)/(1-Z) and expanding \abs{pw-(1+q)}^2\le p^2\abs{w+1}^2 reduces it to 4q\le4p\re w. We will move all coordinates to this half-plane using one complex variable. A single strip interpolation avoids incurring a separate continuation loss for every coordinate.

Write

w_r=\frac{1+Z_r^*}{1-Z_r^*}=\xi_r+\ii\zeta_r, \qquad \xi_r\ge c_3\gamma,

where \xi_r,\zeta_r\in\RR. For v\in\CC set

w_r(v)=(1+v)\xi_r+\ii\zeta_r, \qquad Z_r(v)=\frac{w_r(v)-1}{w_r(v)+1}, \qquad R=1+\frac{q}{pc_3\gamma}. \tag{4.18}

Figure 2 shows how a common real value of v moves two possible starting coordinates into the trace half-plane. The proof uses the analytic maps (4.18) for complex v throughout a strip.

[t]

Figure 2: Schematic geometry of the simultaneous continuation. The Cayley map turns the deletion disk into \re w\ge q/p. Two possible starting coordinates are shown. The horizontal arrows have different lengths but share the same parameter: w_r(v)=(1+v)\re w_r+\ii\operatorname{Im}w_r. Only their real traces 0\le v\le R are drawn. The proof interpolates F(Z_0(v),\ldots,Z_{k-1}(v)) on a single complex strip, simultaneously for every coordinate.

On the closed strip -1/2\le\re v\le R we have \re w_r(v)=(1+\re v)\xi_r>0, so all Z_r(v) lie in the unit disk and depend analytically on v. At v=0 they equal Z_r^*. On the right boundary,

\re w_r(v)=(1+R)\xi_r\ge q/p,

and therefore (4.16) applies. Moreover

1+R\le C\frac{Y^\alpha}{p}, \tag{4.19}

because \gamma=c_2q_*Y^{-\alpha} and q\le q_*.

We need a bound on the left boundary that does not involve n^k. The identity 1-\abs{Z}^2=4\re w/\abs{w+1}^2 gives, when \re v=-1/2,

1-\abs{Z_r(v)} \ge\frac{1-\abs{Z_r^*}}{4(1+\abs v)^2}. \tag{4.20}

To check the constant, first use 1-\abs{Z_r(v)}\ge \xi_r/\abs{w_r(v)+1}^2 and 1-\abs{Z_r^*}\le4\xi_r/\abs{w_r+1}^2. Then use

\abs{w_r(v)+1}\le\abs{w_r+1}+\xi_r\abs v \le(1+\abs v)\abs{w_r+1}.

The coefficients of F have magnitude at most two. Summing independent geometric series over the positive prefix and gap lengths therefore gives, for every point in the open unit polydisk,

\abs{F(Z)}\le2\prod_{r=0}^{k-1}\frac1{1-\abs{Z_r}}.

It follows from (4.20) that

g(v):=\frac{F(Z_0(v),\ldots,Z_{k-1}(v))}{(2+v)^{2k}}

has the boundary bounds

\begin{aligned} \log\abs{g(v)}&\le W_*+Ck+C &&(\re v=-1/2),\\ \log\abs{g(v)}&\le k\log(n/p)+\log\varepsilon &&(\re v=R). \end{aligned} \tag{4.21}

On the left, (1+\abs v)/\abs{2+v} is bounded by an absolute constant. On the right, \abs{2+v}\ge2+R>1. The function g is analytic and bounded on the strip: F is a finite polynomial evaluated in the unit polydisk, and \abs{2+v}\ge3/2.

For clarity, the strip estimate we use is the following elementary consequence of the maximum principle. If a bounded analytic function on a\le\re v\le b has logarithmic boundary bounds L_-,L_+, then at a real t\in[a,b] its logarithm is at most ((b-t)L_-+(t-a)L_+)/(b-a). Multiply the function by the exponential of the negative affine interpolant to make both side bounds one. On rectangles of height tending to infinity, apply the maximum principle after multiplying further by \exp\{\tau(v^2-\max\{a^2,b^2\})\}, for \tau>0. This factor has modulus at most one on the vertical sides and tends uniformly to zero on the horizontal sides. Let the height tend to infinity and then \tau tend to zero. This proves the estimate, including zeros of the function by continuity.

At t=0 in our strip, the right boundary has weight 1/(2R+1). By (4.11), \log\abs{g(0)}\ge-E_h-1-2k\log2. Substituting (4.21) consequently gives

\begin{align*} \log(1/\varepsilon) &\le k\log(n/p)+(2R+1)(E_h+1+2k\log2) +2R(W_*+Ck+C)\\ &\le k\log(n/p) +C(1+R)\bigl(E_h+4^hA_0\bigr). \tag{4.22}\end{align*}

This is the desired quantitative transfer from input coordinates to trace coordinates.

It remains to compare the exponent with the budget in (1.1). Put t=\log_2\mu. The choices in (4.2) satisfy t+\alpha<3, and

4^h\le CY^2,\qquad E_h\le CA_0Y^t, \qquad A_0\le Q(1+\log Y),\qquad QY\le C\log n.

Thus (4.19) yields

\begin{align*} (1+R)E_h &\le \frac Cp(\log n)Y^{t+\alpha-1}(1+\log Y) \le \frac Cp(\log n)Y^2(1+\log Y),\\ (1+R)4^hA_0 &\le \frac Cp(\log n)Y^{1+\alpha}(1+\log Y) \le \frac Cp(\log n)Y^2(1+\log Y).\end{align*}

Also, since n\ge2 and \log(1/p)\le1/p,

k\log(n/p)\le CY^2\bigl(\log n+\log(1/p)\bigr) \le \frac Cp(\log n)Y^2.

Using (4.1), we conclude that the right-hand side of (4.22) is at most

\frac Cp(\log n)Y^2(1+\log Y) \le C_6 p^{-1}(\log n)\mathsf X(n,p)^2 (1+\log\mathsf X(n,p))^6 =C_6B(n,p). \tag{4.23}

Taking \varepsilon=e^{-C_{\mathrm{sep}}B(n,p)} with C_{\mathrm{sep}}>C_6 contradicts (4.22). Hence (4.15) fails for that \varepsilon, proving Theorem 2.2 with the cutoff (4.2).

All constants were fixed in the following order: those of Proposition 3.1; then J_*,H and \eta; then C_5,c_2; and finally C_{\mathrm{sep}}. There is no dependence on the denominator of p or on how close it is to an endpoint. In particular, when q<1/n the cutoff q_*=1/n keeps Y<2 and Q=1+\log n, while q/q_*\le1 keeps the strip estimate uniform. When p is small, the strip width is controlled by the single factor p^{-1} already present in the budget. The case p=1 will be handled directly in the decoding argument.

5 A uniform decoder

Theorem 2.2 supplies a test for the first incorrect bit of a prefix: no moment system fixing that prefix can reproduce all the low-order trace statistics. To turn this statement into an algorithm, we must also recognize a correct prefix in bounded time. The useful additional fact is that a correct prefix admits a moment system with strict slack, both in its statistical constraints and in its positivity constraint. We first exhibit that slack, then give a rational procedure which is guaranteed to find a feasible system whenever such slack exists.

5.1 Statistical constraints for a prefix

Assume for now that p<1. Choose an integer D and a positive dyadic number \zeta=2^{-b_\zeta} such that

D_*\le D\le C Y^2,\qquad \zeta\le \tfrac14,\qquad 4\zeta<e^{-C_{\mathrm{sep}}B(n,p)},\qquad b_\zeta=O(B(n,p)), \tag{5.1}

where C_{\mathrm{sep}} is the constant in Theorem 2.2. Integer formulas for these choices will be given below. Let

\mathcal I_D=\{I\subseteq\{1,\ldots,n\}:1\le |I|\le D\}, \qquad N=|\mathcal I_D|, \qquad T=512(1+N)\zeta^{-2}.

The number T is an integer. From T independent traces, form the empirical mean \widehat t_I of the rank observable defining T_I, for every I\in\mathcal I_D. These are observables of the ordinary trace: if a requested rank is absent, its observable is zero.

For each fixed input x, let \mathcal G be the event

|\widehat t_I-T_I(x)|\le \zeta/8 \quad\text{for every }I\in\mathcal I_D. \tag{5.2}

Each observable takes values in \{0,1\}, so its empirical mean has variance at most 1/(4T). Chebyshev’s inequality and a union bound give

\mathbb P_x(\mathcal G^c) \le \frac{16N}{T\zeta^2}\le\frac1{32}. \tag{5.3}

The same event will control all the prefix tests, even though the prefixes are chosen using the data.

For a proposed prefix, use the remaining sign variables and their moment matrix M(m)=\mathcal M_D(m) from (2.1). Its nonempty moment coordinates form a real vector m. Consider the rational constraints

m\in[-1,1]^l,\qquad M(m)\succeq0,\qquad |\EE_m[T_I]-\widehat t_I|\le\zeta \quad(I\in\mathcal I_D), \tag{5.4}

where l is the number of moment coordinates. Substituting the prefix and writing each remaining bit as one half of one plus its sign makes \EE_m[T_I] an affine function of m. Its nonconstant coefficients have absolute sum at most 1, by the coefficient bound for T_I in Section 2.

Lemma 5.1. On \mathcal G, a prefix whose first incorrect bit is at its last position has no solution to (5.4). Every correct prefix has a moment vector m^*\in[-1,1]^l such that, writing G for the dimension of its moment matrix,

M(m^*)\succeq(\zeta/8)\operatorname{Id}_G,\qquad |\EE_{m^*}[T_I]-\widehat t_I|\le\zeta/2 \quad(I\in\mathcal I_D). \tag{5.5}

Proof. If a wrong prefix had a feasible moment vector, then (5.2) and (5.4) would give

|\EE_m[T_I]-T_I(x)|\le 9\zeta/8 \quad(I\in\mathcal I_D).

This contradicts Theorem 2.2 and (5.1).

For a correct prefix, take the moments of the true completion with weight 1-\zeta/8, and the moments of independent uniform signs on the remaining positions with weight \zeta/8. The moment matrix of the latter distribution is the identity: its (I,J) entry is zero unless I=J. The mixture therefore has the stated matrix lower bound, and its coordinates lie in [-1,1]. Both constituent distributions give channel expectations in [0,1], so mixing changes each T_I(x) by at most \zeta/8. Equation (5.2) then bounds the discrepancy from \widehat t_I by \zeta/4, which is stronger than required.

5.2 Finding a moment system with slack

The next lemma gives the bounded procedure needed for (5.4). It only promises to succeed when there is slack; every reported solution satisfies the exact inequalities. This distinction avoids any need to decide arbitrary instances of semidefinite feasibility. The procedure is a projected relaxation method for inequalities, in the tradition of Agmon and Motzkin–Schoenberg [1, 16]. We give the iteration and its rounding analysis explicitly.

Lemma 5.2 (Rational feasibility with slack). Let r\ge0 and D\ge1 be integers, and let m consist of the

l=\sum_{j=1}^{\min(2D,r)}\binom rj

nonempty sign moments. Let M(m) be their moment matrix, of dimension

G=\sum_{j=0}^{\min(D,r)}\binom rj.

Suppose a finite list of rational affine inequalities \ell_t(m)\le b_t is given, each with nonconstant coefficient vector of \ell^1-norm at most 1, together with a dyadic 0<\zeta\le1/4.

There is a deterministic rational procedure which either returns a vector satisfying

m\in[-1,1]^l,\qquad M(m)\succeq0,\qquad \ell_t(m)\le b_t \quad\text{for all }t,

or reports failure. It returns a vector whenever some m^*\in[-1,1]^l satisfies

M(m^*)\succeq(\zeta/8)\operatorname{Id}_G,\qquad \ell_t(m^*)\le b_t-\zeta/2\quad\text{for all }t.

Put \lambda=\zeta/(16G). The procedure performs at most \lceil10(1+l)/\lambda^2\rceil feasibility checks, each taking a number of bit operations polynomial in the list dimensions, the input bit lengths, and \log(1/\zeta). These time bounds hold without the slack assumption.

Proof. If l=0, the matrix is [1] and all inequalities are constant, so direct rational comparisons suffice. Suppose l>0. We describe exact separating directions, then an iteration with bounded precision.

Directions from violated constraints. At a current point m^{\mathrm{cur}}\in[-1,1]^l, first check the affine inequalities and the matrix condition exactly. If all hold, return the current vector. A violated inequality \ell_t(m^{\mathrm{cur}})>b_t gives the direction a equal to minus its nonconstant coefficient vector. Then \norm{a}_2\le1; under the slack assumption,

\langle m^*-m^{\mathrm{cur}},a\rangle\ge\zeta/2\ge\lambda.

If instead the matrix condition fails, find a nonzero rational vector v with v^\top M(m^{\mathrm{cur}})v<0. The exact construction of v is given just below. Write the associated affine form as

v^\top M(m)v=c+h\cdot m,\qquad a=\frac{h}{Gv^\top v}.

Each matrix entry is either the constant 1 or one moment coordinate. Consequently

\norm{h}_1\le\norm{v}_1^2\le G\norm{v}_2^2, \qquad \norm{a}_2\le1.

The slack matrix lower bound gives

\langle m^*-m^{\mathrm{cur}},a\rangle =\frac{v^\top(M(m^*)-M(m^{\mathrm{cur}}))v}{Gv^\top v} \ge\frac{\zeta}{8G}\ge\lambda.

Thus either violated condition provides a rational direction satisfying

\norm{a}_2\le1,\qquad \langle m^*-m^{\mathrm{cur}},a\rangle\ge\lambda \tag{5.6}

whenever a slack solution exists. If a constant affine inequality is violated, its direction is zero; this cannot happen in the slack case, and in all other cases the iteration is still bounded.

An exact matrix check. For a rational symmetric matrix, eliminate a positive diagonal pivot by taking its Schur complement. Congruence by an invertible triangular matrix shows that the original matrix is positive semidefinite exactly when the positive pivot and this Schur complement are. A negative diagonal supplies a negative unit vector. If a remaining diagonal at i is zero and its entry b in column j is nonzero, let c be the diagonal at j. We may assume c\ge0, since otherwise there is already a negative diagonal. The rational vector

y=e_i-\frac{b}{1+c+|b|}e_j

has quadratic form

\frac{b^2}{(1+c+|b|)^2} \bigl[-2(1+c+|b|)+c\bigr]<0.

If no negative vector is found, continue with a positive diagonal pivot; when none remain, all entries are zero and the remainder is positive semidefinite.

For completeness, a negative vector of a Schur complement lifts to one of the original matrix using only rational arithmetic. If P is the original block of eliminated pivots and B its block of entries against the remaining indices, the lift of y is

v=(-P^{-1}By,y).

Its quadratic form is exactly the quadratic form of y for the Schur complement.

These operations have polynomial bit complexity. Indeed, clear denominators in a rational matrix with t-bit entries; even the product of all denominators has at most G^2t bits. If H is the resulting integer matrix and its entries have at most s bits, the determinant expansion bounds every j-row minor by j!\,2^{js}. Its bit length is therefore O(G(s+\log G)). Schur-complement entries are ratios of minors of the original matrix, and the inverse formula for P gives the same bound for the lift. Fraction-reduced elimination, with rational comparisons at each step, therefore computes the check and the negative vector in polynomially many bit operations. This argument applies however small a positive pivot or a negative quadratic form may be.

Iteration and rounding. Start with m^{\mathrm{cur}}=0. Choose the dyadic grid with mesh

\eta=2^{-g},\qquad g=\left\lceil\log_2\frac{100(1+l)}{\lambda^2}\right\rceil.

The integer g is computed by rational comparisons with powers of two; thus \eta\le\lambda^2/(100(1+l)), with O(1+\log((1+l)/\lambda)) fractional bits. After an unsuccessful check, add \lambda a, clip every coordinate to [-1,1], and round to the nearest point of this grid in the box. The endpoints of the box belong to the grid. Repeat up to the stated number of checks, reporting failure if none accepts.

Under the slack assumption, (5.6) implies

\norm{m^{\mathrm{cur}}+\lambda a-m^*}_2^2 \le \norm{m^{\mathrm{cur}}-m^*}_2^2-\lambda^2.

Clipping cannot increase the distance to m^*. Since both the clipped vector and m^* lie in the box, rounding changes the squared distance by at most 4l\eta+l\eta^2<\lambda^2/2. Each failed check thus decreases squared distance by at least \lambda^2/2. Its initial value is at most l, so acceptance must occur before the cap.

Finally, rounding keeps every iterate on a single grid of the indicated bit length. The exact matrix check, the affine comparisons, the formation and normalization of h, and one update involve polynomially many rational operations on numbers of polynomial bit length. Temporary denominators within an update therefore have polynomial bit length, and they do not accumulate across updates. The fixed cap and these bounds apply to every rational input list, whether or not it admits a slack solution.

For a prefix test, write each absolute-value constraint in (5.4) as two affine inequalities and apply Lemma 5.2. Lemma 5.1 verifies exactly the slack hypotheses for a correct prefix. Every acceptance, on any data, gives an actual moment system satisfying (5.4).

The decoder starts with the empty prefix and tests both one-bit extensions. If precisely one accepts, it appends that bit; otherwise it appends 0. It repeats until the prefix has length n. The latter rule specifies a length-n output even for data on which the statistical estimates fail. There are at most 2n tests.

5.3 Integer parameters and bit complexity

We now make the choices in (5.1) using only the binary input. This also accounts for the size of every list and every rational calculation in the decoder. Continue to assume p<1, and use q_*,Q,Y from (2.3). Define the positive integers

\begin{align*} u&=1+\lceil\log_2 n\rceil, &v&=1+\lfloor\log_2(1/q_*)\rfloor,\\ y&=1+\lceil u/v\rceil, &w&=1+\lceil\log_2 y\rceil, &a_p&=\lceil1/p\rceil.\end{align*}

All logarithms appearing in these integer formulas mean integer length comparisons. In particular, the integer part of a logarithm of a rational number is found by comparing its numerator with power-of-two multiples of its denominator. The rational maximum defining q_* is also found by an integer comparison.

The elementary comparisons

u\asymp\log n,\qquad v\asymp Q,\qquad Y\le y\le C Y,\qquad w\asymp1+\log Y,\qquad p^{-1}\le a_p\le2p^{-1}

have absolute constants. For the asserted lower bound on y, use u\ge(\log n)/\log2 and v\le Q/\log2. Together with Y\asymp\mathsf X(n,p), these comparisons give

B(n,p)\le a_pu y^2w^6\le C B(n,p). \tag{5.7}

Choose fixed positive integers K_D,K_m, sufficiently large for the constants in Theorem 2.2, and set

D=K_Dy^2,\qquad b_\zeta=K_m a_pu y^2w^6,\qquad \zeta=2^{-b_\zeta}. \tag{5.8}

Since D_*\le C Y^2 and B(n,p)\ge\log2, these choices ensure all of (5.1). The integers D,b_\zeta, in binary, are computable in time polynomial in the input bit lengths. Writing the denominator 2^{b_\zeta} subsequently costs O(b_\zeta) bits, which will be included in the bounds below.

We next describe how to form the rational constraints. For I=\{l_1<\cdots<l_k\} and i_1<\cdots<i_k, the coefficient of X_{i_1}\cdots X_{i_k} in T_I is

\binom{i_1-1}{l_1-1} \prod_{j=1}^{k-1} \binom{i_{j+1}-i_j-1}{l_{j+1}-l_j-1} \,p^{l_k}q^{i_k-l_k}, \tag{5.9}

when all the gap counts are possible, and is zero otherwise. Indeed, the selected positions must be retained, and the prefix and successive open gaps must contain the indicated numbers of additional retentions. Positions after i_k are unrestricted. Formula (5.9) follows by multiplying these independent binomial probabilities.

If the input representation is p=a/b, every denominator in (5.9) divides b^n. Binomial coefficients have O(n) bits. Sign expansion adds a denominator dividing 2^D, and empirical means have denominator T. Consequently the constraint coefficients have polynomial bit length in n+L+D+\log T. Enumerating the rank and input tuples, then expanding the resulting bit monomials and substituting the prefix, constructs them directly. No list of complete trace masks is required.

All these enumerations fit the permitted resource scale. From D=O(Y^2), Y\asymp\mathsf X(n,p), and (1.1),

D\log n=O(B(n,p)). \tag{5.10}

The rank list, every matrix basis, and every moment list have size at most (n+1)^{2D}=\exp(O(B(n,p))). Input tuple lists satisfy the same bound. A sign expansion has at most 2^D terms; products of these enumeration bounds remain \exp(O(B(n,p))). Subsets larger than the available number of positions are simply absent, so this statement includes D>n and prefixes with very few remaining positions.

By (5.1), the trace count T is \exp(O(B(n,p))). For every prefix, the iteration cap in Lemma 5.2 is bounded by

2560(1+l)G^2\zeta^{-2}+1=\exp(O(B(n,p))).

The bit length of its grid is O(b_\zeta+\log G+\log(1+l))=O(B(n,p)). The preceding coefficient bounds and that lemma therefore bound all computation by a fixed polynomial in

n+L+\exp(O(B(n,p))). \tag{5.11}

In particular, this includes the construction of parameters and constraints, exact rational arithmetic, and the at most 2n prefix tests.

Proof of Theorem 1.1. If p=1, request one trace and output it. For the universal halting specification, output 0^n if the supplied well-formed trace has a different length. The actual channel always supplies the input itself, and this branch takes polynomially many bit operations in n+L.

For p<1, use (5.8), request the specified T traces, and compute their empirical statistics. Run the prefix rule specified above. This defines the machine on every stream of well-formed traces.

On \mathcal G, induction on the prefix length shows that precisely the correct extension accepts: the incorrect extension is infeasible by Lemma 5.1, and the correct one has the slack that guarantees acceptance. Thus the output is x on \mathcal G, whose probability is at least 31/32>2/3 for each fixed x.

Each supplied trace has at most n bits and one delimiter. Reading them, and computing each of the finitely many rank observables, costs polynomially many bit operations in n+T+N; the empirical counters have O(\log T) bits. All loops, including all feasibility tests, have the input-dependent caps already given. Thus (5.11) is a bound for every well-formed trace stream, independently of the success event. The machine can ignore its internal random bits.

To be explicit about the computational model, the described finite lists may be stored sequentially on tapes; replacing an indexed lookup by a scan incurs at most a polynomial overhead in their total encoded length. Integer addition, multiplication, division, and fraction reduction have elementary polynomial-time multitape implementations. The bit-length and loop bounds above therefore give absolute constants K,d for which the trace count is at most \exp(KB(n,p)) and the total bit cost is at most (n+L+\exp(KB(n,p)))^d, after enlarging K,d to absorb fixed factors. This enlargement is uniform because B(n,p)\ge\log2. Choose absolute C,c large enough, with C\ge K and c\ge d. Both the sample bound M_C(n,p) and the required runtime (n+L+M_C(n,p))^c follow. All constants used in parameter selection are fixed integers in a single finite program.

References

  1. [1]Shmuel Agmon. The relaxation method for linear inequalities. Canadian Journal of Mathematics 6 (1954), 382–392. doi:10.4153/CJM-1954-037-2.
  2. [2]Tuğkan Batu, Sampath Kannan, Sanjeev Khanna, and Andrew McGregor. Reconstructing strings from random traces. In Proceedings of the Fifteenth Annual ACM–SIAM Symposium on Discrete Algorithms (SODA), 2004, pp. 910–918.
  3. [3]Peter Borwein and Tamás Erdélyi. Littlewood-type problems on subarcs of the unit circle. Indiana University Mathematics Journal 46(4) (1997), 1323–1346. doi:10.1512/iumj.1997.46.1435.
  4. [4]Arnav Burudgunte, Paul Valiant, and Hongao Wang. Quasipolynomial trace reconstruction. Preprint, 2026. arXiv:2607.04073v1.
  5. [5]Zachary Chase. New lower bounds for trace reconstruction. Annales de l’Institut Henri Poincaré, Probabilités et Statistiques 57(2) (2021), 627–643. doi:10.1214/20-AIHP1089.
  6. [6]Zachary Chase. Separating words and trace reconstruction. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC), 2021, pp. 21–31. doi:10.1145/3406325.3451118. Trace-reconstruction preprint: New upper bounds for trace reconstruction, arXiv:2009.03296v3, 2022 (first posted 2020).
  7. [7]Xi Chen, Anindya De, Chin Ho Lee, and Rocco A. Servedio. Trace reconstruction from local statistical queries. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2024), LIPIcs 317 (2024), 52:1–52:24. doi:10.4230/LIPIcs.APPROX/RANDOM.2024.52.
  8. [8]Xi Chen, Anindya De, Chin Ho Lee, Rocco A. Servedio, and Sandip Sinha. Polynomial-time trace reconstruction in the low deletion rate regime. In 12th Innovations in Theoretical Computer Science Conference (ITCS 2021), LIPIcs 185 (2021), 20:1–20:20. doi:10.4230/LIPIcs.ITCS.2021.20.
  9. [9]Xi Chen, Anindya De, Chin Ho Lee, Rocco A. Servedio, and Sandip Sinha. Polynomial-time trace reconstruction in the smoothed complexity model. In Proceedings of the 2021 ACM–SIAM Symposium on Discrete Algorithms (SODA), 2021, pp. 54–73. doi:10.1137/1.9781611976465.5. Full version: arXiv:2008.12386.
  10. [10]Kuan Cheng, Elena Grigorescu, Xin Li, Madhu Sudan, and Minshen Zhu. On k-mer-based and maximum likelihood estimation algorithms for trace reconstruction. In 2024 IEEE International Symposium on Information Theory (ISIT), 2024, pp. 879–884. Full version: arXiv:2308.14993v2.
  11. [11]Anindya De, Ryan O’Donnell, and Rocco A. Servedio. Optimal mean-based algorithms for trace reconstruction. Annals of Applied Probability 29(2) (2019), 851–874. doi:10.1214/18-AAP1394. Conference version in STOC 2017, pp. 1047–1056.
  12. [12]Nina Holden and Russell Lyons. Lower bounds for trace reconstruction. Annals of Applied Probability 30(2) (2020), 503–525. doi:10.1214/19-AAP1506.
  13. [13]Thomas Holenstein, Michael Mitzenmacher, Rina Panigrahy, and Udi Wieder. Trace reconstruction with constant deletion probability and related results. In Proceedings of the Nineteenth Annual ACM–SIAM Symposium on Discrete Algorithms (SODA), 2008, pp. 389–398. doi:10.1145/1347082.1347125.
  14. [14]Jean B. Lasserre. Global optimization with polynomials and the problem of moments. SIAM Journal on Optimization 11(3) (2001), 796–817. doi:10.1137/S1052623400366802.
  15. [15]Vladimir I. Levenshtein. Efficient reconstruction of sequences. IEEE Transactions on Information Theory 47(1) (2001), 2–22. doi:10.1109/18.904499.
  16. [16]Theodore S. Motzkin and Isaac J. Schoenberg. The relaxation method for linear inequalities. Canadian Journal of Mathematics 6 (1954), 393–404. doi:10.4153/CJM-1954-038-x.
  17. [17]Fedor Nazarov and Yuval Peres. Trace reconstruction with \exp(O(n^{1/3})) samples. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC), 2017, pp. 1042–1046. doi:10.1145/3055399.3055494.
  18. [18]Pablo A. Parrilo. Structured semidefinite programs and semialgebraic geometry methods in robustness and optimization. Ph.D. thesis, California Institute of Technology, 2000. doi:10.7907/2K6Y-CH43.