Introduction
Forrelation is a canonical benchmark for exponential separations between quantum and classical query complexity. Introduced in the two-oracle setting by Aaronson and Ambainis [1 ] and extended to k k k -fold alternating Fourier sums by Bansal and Sinha [2 ] ; Tal [8 ] , standard k k k -Forrelation concerns an open chain of Boolean phase oracles. Cyclic Forrelation closes that chain into a trace. For integers n n n , k ≥ 1 k \ge1 k ≥ 1 , N : = 2 n N := 2^n N := 2 n , and Boolean oracles f 1 , … , f k : F 2 n → { − 1 , + 1 } f_1,\ldots,f_k : \mathbb{F}_2^n \to\{-1,+1\} f 1 , … , f k : F 2 n → { − 1 , + 1 } , define
T k ( f 1 , … , f k ) : = 1 N Tr ( D f 1 H ⊗ n D f 2 H ⊗ n ⋯ D f k H ⊗ n ) (1) T_k(f_1,\ldots,f_k) := \frac{1}{N}\operatorname{Tr}\left(D_{f_1}H^{\otimes n}D_{f_2}H^{\otimes n}\cdots D_{f_k}H^{\otimes n}\right) \tag*{(1)} T k ( f 1 , … , f k ) := N 1 Tr ( D f 1 H ⊗ n D f 2 H ⊗ n ⋯ D f k H ⊗ n ) (1)
where D f D_f D f is the diagonal matrix with entries f ( x ) f(x) f ( x ) and H H H is the single-qubit Hadamard gate. Because T k T_k T k is a normalized unitary trace, k k k quantum oracle queries estimate it to constant additive error in the DQC1 model (Ji et al. [5 ] ). Its classical query landscape depends on the cycle and on adaptivity ([7 , 9 ] ).
Two gaps and the estimator-representation question
For fixed k k k and worst-case constant additive error, the known classical query bounds split sharply by parity ([7 , 9 ] ). For every even cycle k = 2 m k = 2m k = 2 m , the nonadaptive lower bound Ω ( N 1 − 1 / m ) \Omega(N^{1-1/m}) Ω ( N 1 − 1/ m ) matches the Cartesian-product upper bound O ( N 1 − 2 / k ) O(N^{1-2/k}) O ( N 1 − 2/ k ) . For k = 3 k = 3 k = 3 , Zhang and Shao Shao (2026) give a biased nonadaptive Goldreich–Levin algorithm using O ( log N log log N ) O(\log N \log\log N) O ( log N log log N ) queries, exponentially below the Cartesian scale N 1 / 3 N^{1/3} N 1/3 . For odd cycles k = 2 m + 1 ≥ 5 k=2m+1\ge5 k = 2 m + 1 ≥ 5 , a polynomial gap remains between Ω ( N 1 − 1 / m ) \Omega(N^{1-1/m}) Ω ( N 1 − 1/ m ) and O ( N 1 − 2 / k ) O(N^{1-2/k}) O ( N 1 − 2/ k ) , while the best known adaptive lower bound is Ω ( N 1 / 4 ) \Omega(N^{1/4}) Ω ( N 1/4 ) for every k ≥ 4 k\ge4 k ≥ 4 .
Our running nonadaptive example is k = 5 k=5 k = 5 (m = 2 m=2 m = 2 ), pictured in Figure 1 . The nonadaptive lower bound is N 1 / 2 N^{1/2} N 1/2 and the Cartesian upper bound is N 3 / 5 N^{3/5} N 3/5 . The Cartesian estimator draws q q q points per oracle and forms the Horvitz–Thompson average (Horvitz and Thompson, [4 ] ) of the full-degree Walsh terms in (2) . Its variance decomposes over agreement patterns between sampled tuple pairs. The full-overlap diagonal term is N k − 2 / q k N^{k-2}/q^k N k − 2 / q k : at k = 5 k=5 k = 5 it is O ( 1 ) O(1) O ( 1 ) at q = Ω ( N 3 / 5 ) q=\Omega(N^{3/5}) q = Ω ( N 3/5 ) but grows as N 1 / 2 N^{1/2} N 1/2 at q = N 1 / 2 q=N^{1/2} q = N 1/2 .
Figure 1. Query exponents at the running example k = 5 k=5 k = 5 and the position of Theorem 3.1 . Navy ticks mark known exponents, the gold segment marks the odd-cycle gap [1/2, 3/5], and the right callout marks the barrier for estimators with bounded second moment and constant uniform overlap; the k = 3 k=3 k = 3 algorithm of Zhang and Shao [9 ] has exponent 0.
Two obstructions separate this variance computation from a query lower bound. An arbitrary nonadaptive estimator may correlate its query sets, reuse answers across coordinates, and apply arbitrary nonlinear postprocessing. Moreover, on uniform Boolean inputs ∥ T k ∥ 2 , U n i f = 1 / N \lVert T_k\rVert_{2,\mathrm{Unif}}=1/N ∥ T k ∥ 2 , Unif = 1/ N , so a biased estimator can output nearly zero on almost every input while remaining accurate on high-trace instances. Exact unbiasedness alone is also not a barrier when heavy-tailed outputs are allowed (Proposition 3.7 ).
We therefore ask whether the full-overlap scale is forced for every nonadaptive estimator whose mean retains constant uniform overlap with T k T_k T k and whose output has bounded second moment. Independently, we test whether a two-shift complementary-subspace distribution on k = 6 k=6 k = 6 , lifted to k = 7 k=7 k = 7 by a known quadratic cap, can push the adaptive lower bound beyond Ω ( N 1 / 4 ) \Omega(N^{1/4}) Ω ( N 1/4 ) .
Contributions and proof mechanisms
Every contribution below maps to a labeled statement; Table 1 summarizes the hypotheses.
Table 1. Summary of the results, models, and scope boundaries. The two nonadaptive boundaries concern bounded second moment and overlap; the adaptive bounds concern the particular ensemble of Definition 4.1 .
Representation-independent second-moment barrier (Theorem 3.1 and Proposition 3.2). For every nonadaptive estimator with budgets q 1 , … , q k > 0 q_1,\ldots,q_k>0 q 1 , … , q k > 0 , arbitrarily correlated query sets, and arbitrary nonlinear postprocessing, if h : = E R [ G R ] h:=\mathbb{E}_{R}[G_R] h := E R [ G R ] and Corr ( h , T k ) : = N 2 ∣ ⟨ h , T k ⟩ U n i f ∣ \operatorname{Corr}(h,T_k):=N^2|\langle h,T_k\rangle_{\mathrm{Unif}}| Corr ( h , T k ) := N 2 ∣ ⟨ h , T k ⟩ Unif ∣ , then
E R , f [ G R ( f ) 2 ] ≥ N k − 2 ∏ j = 1 k q j Corr ( h , T k ) 2 . \mathbb{E}_{R,f}[G_R(f)^2]\ge\frac{N^{k-2}}{\prod_{j=1}^{k}q_j}\operatorname{Corr}(h,T_k)^2. E R , f [ G R ( f ) 2 ] ≥ ∏ j = 1 k q j N k − 2 Corr ( h , T k ) 2 .
The proof also gives a general coverage-budget form, a total-query form, and an equality characterization. For integer budgets, Horvitz–Thompson Cartesian-product sampling attains constant 1.
The 1 / N 1/N 1/ N threshold, unbiased-tail separation, and signed correlation (Theorem 3.5 , Propositions 3.7 and 3.9 , and Corollary 3.8 ). An L 2 ( U n i f ) L_2(\mathrm{Unif}) L 2 ( Unif ) radius η \eta η contributes the factor ( 1 − N η ) + 2 (1-N\eta)_+^2 ( 1 − N η ) + 2 , vanishing at the zero-estimator radius η = 1 / N \eta=1/N η = 1/ N . At q j ≤ N 1 − 1 / m q_j\le N^{1-1/m} q j ≤ N 1 − 1/ m for k = 2 m + 1 ≥ 5 k=2m+1\ge5 k = 2 m + 1 ≥ 5 , the second moment is at least Corr ( h , T k ) 2 N 1 / m \operatorname{Corr}(h,T_k)^2N^{1/m} Corr ( h , T k ) 2 N 1/ m . Conversely, a single random probe per oracle turns any bounded constant-error algorithm into an exactly unbiased one with error probability
scaled by 1 − p 1-p 1 − p and second moment Ω ( N k − 2 / p ) \Omega(N^{k-2}/p) Ω ( N k − 2 / p ) . Finally, if a nonadaptive transcript is conditionally independent of a uniform sign σ \sigma σ outside an event E \mathcal{E} E , then ∣ E [ σ Z ] ∣ ≤ 2 P [ E ] |\mathbb{E}[\sigma Z]| \le2\mathbb{P}[\mathcal{E}] ∣ E [ σ Z ] ∣ ≤ 2 P [ E ] for every Z ∈ [ − 1 , 1 ] Z \in[-1,1] Z ∈ [ − 1 , 1 ] , with factor 1 when E ⊥ σ \mathcal{E} \perp\sigma E ⊥ σ .
Complementary-subspace ensemble and its adaptive ceiling (Propositions 4.2 , 4.3 , 4.6 and 4.7 and Lemma 4.5 ). We construct a six-oracle ensemble whose alternating unitary is σ I \sigma I σ I , hence T 6 = σ T_6=\sigma T 6 = σ ; the quadratic cap of Zhang and Shao [9 ] gives T 7 = σ c n T_7=\sigma c_n T 7 = σ c n with ∣ c n ∣ ∈ { 1 / 2 , 1 / 2 } |c_n| \in\{1/2,1/\sqrt{2}\} ∣ c n ∣ ∈ { 1/2 , 1/ 2 } . Queries to f 6 f_6 f 6 form a matching in the quotient mask graph, so every adaptive algorithm has distinguishing advantage at most the probability of an aligned edge. If f 6 f_6 f 6 is deferred, that probability has an affine-rank posterior bound. Nevertheless, a certified adaptive algorithm recovers σ \sigma σ in n O ( 1 ) N 1 / 4 n^{O(1)}N^{1/4} n O ( 1 ) N 1/4 queries for every subspace L L L .
Proof mechanisms. For Theorem 3.1 , conditioning on R R R expands the output in the Walsh basis of the queried bits. Nonadaptivity kills coefficients on uncovered tuples, pointwise Cauchy–Schwarz gives E R [ c R , x 2 ] ≥ μ x 2 / π x \mathbb{E}_R[c_{R,x}^2] \ge\mu_x^2/\pi_x E R [ c R , x 2 ] ≥ μ x 2 / π x , Parseval discards non-full characters, and weighted Cauchy–Schwarz applies the flat spectrum ((3) ) and coverage budget ((9) ). For the adaptive part, L L L - and M M M -periodicity collapse H ⊗ n W 6 H ⊗ n H^{\otimes n}W_6H^{\otimes n} H ⊗ n W 6 H ⊗ n to ϕ ˉ ∗ ϕ ˉ ψ ∗ ψ ˉ = 1 0 \bar{\phi} * \bar{\phi}\psi* \bar{\psi} = \mathbf{1}_0 ϕ ˉ ∗ ϕ ˉ ψ ∗ ψ ˉ = 1 0 , and the f 6 f_6 f 6 -edges split the mask variables into independent two-variable blocks. The upper bound combines Goldreich–Levin filtering, direct period tests, birthday collisions, and a two-sided subspace certifier.
Related work
Standard versus cyclic Forrelation. Aaronson and Ambainis [1 ] introduced two-oracle Forrelation to separate quantum and randomized query complexity; Bansal and Sinha [2 ] ; Tal [8 ] established optimal randomized bounds for open-path k k k -Forrelation. Open-path Forrelation lacks the closing Hadamard trace, so its Fourier support and query-reuse structure differ from T k T_k T k . In the cyclic setting, Ji et al. [5 ] established DQC1-completeness of normalized trace estimation for functions of log-local Hamiltonians, and Montanaro and Shao [6 ] studied query complexities of matrix functions more broadly.
Classical bounds for cyclic Forrelation. Shepherd [7 ] gave early lower bounds for alternating phase-Hadamard circuits, and Zhang and Shao [9 ] established matching nonadaptive bounds for even cycles, the biased polylogarithmic k = 3 k=3 k = 3 algorithm, the odd-cycle gap, the adaptive Ω ( N 1 / 4 ) \Omega(N^{1/4}) Ω ( N 1/4 ) lower bound, and the quadratic-cap lift. Their variance analysis applies to linear Cartesian-product Horvitz–Thompson estimators (Horvitz and Thompson [4 ] ). Theorem 3.1 removes linearity and product-grid independence in the bounded-second-moment, constant-overlap regime. Propositions 3.7 and 4.7 identify why the two tested routes do not close their gaps.
Fourier recovery and classical sampling. The adaptive upper bound uses heavy Fourier-coefficient recovery of Goldreich and Levin [3 ] together with birthday collision search and differential period testing. The tightness witness and unbiased-tail construction use classical inverse-probability weighting (Horvitz and Thompson, [4 ] ).
Organization. § 3 fixes the model and coverage budget. § 4 proves the nonadaptive results and states the unbiased-tail and signed-correlation propositions. § 5 develops the ensemble, matching coupling, deferred-f 6 f_6 f 6 bound, and adaptive upper bound. § 6 states the open problems. Sections A and B contain the deferred proofs and the certified algorithm.
Model and Walsh coverage
Model and Walsh coverage
Fix integers n , k ≥ 1 n,k \ge1 n , k ≥ 1 , write N : = ∣ F 2 n ∣ = 2 n N := |\mathbb{F}_2^n| = 2^n N := ∣ F 2 n ∣ = 2 n , [ N ] : = { 1 , … , N } [N] := \{1,\ldots,N\} [ N ] := { 1 , … , N } , and u + : = max { u , 0 } u_+ := \max\{u,0\} u + := max { u , 0 } . Let f = ( f 1 , … , f k ) f=(f_1,\ldots,f_k) f = ( f 1 , … , f k ) range over k k k -tuples of Boolean functions f j : F 2 n → { − 1 , + 1 } f_j:\mathbb{F}_2^n \to\{-1,+1\} f j : F 2 n → { − 1 , + 1 } . Write Unif for the distribution in which all k N kN k N oracle values are independent uniform signs, and define
⟨ u , v ⟩ U n i f : = E f ∼ U n i f [ u ( f ) v ( f ) ] , ∥ u ∥ 2 , U n i f : = ⟨ u , u ⟩ U n i f 1 / 2 . \langle u,v\rangle_{\mathrm{Unif}} := \mathbb{E}_{f\sim\mathrm{Unif}}[u(f)v(f)],\qquad\|u\|_{2,\mathrm{Unif}} := \langle u,u\rangle_{\mathrm{Unif}}^{1/2}. ⟨ u , v ⟩ Unif := E f ∼ Unif [ u ( f ) v ( f )] , ∥ u ∥ 2 , Unif := ⟨ u , u ⟩ Unif 1/2 .
For x , y ∈ F 2 n x,y\in\mathbb{F}_2^n x , y ∈ F 2 n , write χ ( x , y ) : = ( − 1 ) x ⋅ y \chi(x,y):=(-1)^{x\cdot y} χ ( x , y ) := ( − 1 ) x ⋅ y , where x ⋅ y = ∑ r = 1 n x r y r m o d 2 x\cdot y=\sum_{r=1}^n x_r y_r \bmod2 x ⋅ y = ∑ r = 1 n x r y r mod 2 . Since ( H ⊗ n ) x , y = N − 1 / 2 χ ( x , y ) (H^{\otimes n})_{x,y}=N^{-1/2}\chi(x,y) ( H ⊗ n ) x , y = N − 1/2 χ ( x , y ) , expanding (1) gives
T k ( f 1 , … , f k ) = N − k / 2 − 1 ∑ x = ( x 1 , … , x k ) ∈ ( F 2 n ) k Walsh x ( f ) ∏ j = 1 k χ ( x j , x j + 1 ) , x k + 1 : = x 1 , (2) T_k(f_1,\ldots,f_k)=N^{-k/2-1}\sum_{x=(x_1,\ldots,x_k)\in(\mathbb{F}_2^n)^k}\operatorname{Walsh}_x(f)\prod_{j=1}^k\chi(x_j,x_{j+1}),\qquad x_{k+1}:=x_1, \tag*{(2)} T k ( f 1 , … , f k ) = N − k /2 − 1 x = ( x 1 , … , x k ) ∈ ( F 2 n ) k ∑ Walsh x ( f ) j = 1 ∏ k χ ( x j , x j + 1 ) , x k + 1 := x 1 , (2)
where Walsh x ( f ) : = ∏ j = 1 k f j ( x j ) \operatorname{Walsh}_x(f):=\prod_{j=1}^k f_j(x_j) Walsh x ( f ) := ∏ j = 1 k f j ( x j ) . Because the oracles are distinct, the N k N^k N k monomials { Walsh x : x ∈ ( F 2 n ) k } \{\operatorname{Walsh}_x:x\in(\mathbb{F}_2^n)^k\} { Walsh x : x ∈ ( F 2 n ) k } are distinct Walsh characters and are orthonormal under ⟨ ⋅ , ⋅ ⟩ U n i f \langle\cdot,\cdot\rangle_{\mathrm{Unif}} ⟨ ⋅ , ⋅ ⟩ Unif , even when coordinates coincide. Setting a x : = N − k / 2 − 1 ∏ j = 1 k χ ( x j , x j + 1 ) a_x:=N^{-k/2-1}\prod_{j=1}^k\chi(x_j,x_{j+1}) a x := N − k /2 − 1 ∏ j = 1 k χ ( x j , x j + 1 ) , the spectrum is flat:
∣ a x ∣ = N − k / 2 − 1 for every x ∈ ( F 2 n ) k . (3) |a_x|=N^{-k/2-1}\qquad\text{for every }x\in(\mathbb{F}_2^n)^k. \tag*{(3)} ∣ a x ∣ = N − k /2 − 1 for every x ∈ ( F 2 n ) k . (3)
Consequently (Section A.1),
∥ T k ∥ 2 , U n i f 2 = N k N − k − 2 = N − 2 . (4) \|T_k\|_{2,\mathrm{Unif}}^2=N^kN^{-k-2}=N^{-2}. \tag*{(4)} ∥ T k ∥ 2 , Unif 2 = N k N − k − 2 = N − 2 . (4)
The cyclic phases determine only the signs of a x a_x a x ; the nonadaptive barrier uses only (3) .
Definition 2.1 (Nonadaptive estimator). Let n , k ≥ 1 n,k\ge1 n , k ≥ 1 be integers and let q 1 , … , q k ∈ ( 0 , ∞ ) q_1,\ldots,q_k\in(0,\infty) q 1 , … , q k ∈ ( 0 , ∞ ) . A randomized estimator G G G is nonadaptive if its internal randomness R R R is independent of f f f and determines measurable query sets Q j ( R ) ⊆ F 2 n Q_j(R)\subseteq\mathbb{F}_2^n Q j ( R ) ⊆ F 2 n before any oracle answer is observed, with ∣ Q j ( R ) ∣ ≤ q j |Q_j(R)|\le q_j ∣ Q j ( R ) ∣ ≤ q j almost surely. Its output G R ( f ) G_R(f) G R ( f ) is measurable in R R R for each fixed f f f and depends only on R R R and { f j ( z ) : j ∈ [ k ] , z ∈ Q j ( R ) } \{f_j(z):j\in[k],z\in Q_j(R)\} { f j ( z ) : j ∈ [ k ] , z ∈ Q j ( R )} . Postprocessing randomness is absorbed into R R R . We assume E R [ ∣ G R ( f ) ∣ ] < ∞ \mathbb{E}_R[|G_R(f)|]<\infty E R [ ∣ G R ( f ) ∣ ] < ∞ for every Boolean input f f f , so that
h ( f ) : = E R [ G R ( f ) ] (5) h(f):=\mathbb{E}_R[G_R(f)] \tag*{(5)} h ( f ) := E R [ G R ( f )] (5) is well-defined. We use the mean (5) throughout the nonadaptive analysis.
No independence is assumed among Q 1 ( R ) , … , Q k ( R ) Q_1(R),\ldots,Q_k(R) Q 1 ( R ) , … , Q k ( R ) , and conditional on R R R the map from answers to output is arbitrary.
Definition 2.2 (Normalized target overlap). For integers n , k ≥ 1 n,k\ge1 n , k ≥ 1 and any real-valued function h h h on Boolean k k k -tuples, define
Corr ( h , T k ) : = N 2 ∣ ⟨ h , T k ⟩ U n i f ∣ . (6) \operatorname{Corr}(h,T_k):=N^2\left|\langle h,T_k\rangle_{\mathrm{Unif}}\right|. \tag*{(6)} Corr ( h , T k ) := N 2 ∣ ⟨ h , T k ⟩ Unif ∣ . (6)
Remark 2.3 (Interpretation of Corr ( h , T k ) \operatorname{Corr}(h,T_k) Corr ( h , T k ) ). By (4) , h = T k h=T_k h = T k gives Corr ( T k , T k ) = 1 \operatorname{Corr}(T_k,T_k)=1 Corr ( T k , T k ) = 1 , while h = 0 h=0 h = 0 gives Corr ( 0 , T k ) = 0 \operatorname{Corr}(0,T_k)=0 Corr ( 0 , T k ) = 0 . This is a rescaled inner product, not a cosine similarity, and can exceed 1.
Walsh expansion of a fixed transcript
Fix R R R . The full-degree Walsh coefficients of G R G_R G R are
c R , x : = ⟨ G R , Walsh x ⟩ U n i f , x ∈ ( F 2 n ) k . c_{R,x}:=\langle G_R,\operatorname{Walsh}_x\rangle_{\mathrm{Unif}},\qquad x\in(\mathbb{F}_2^n)^k. c R , x := ⟨ G R , Walsh x ⟩ Unif , x ∈ ( F 2 n ) k .
If x j ∉ Q j ( R ) x_j \notin Q_j(R) x j ∈ / Q j ( R ) for some j j j , then G R G_R G R does not depend on f j ( x j ) f_j(x_j) f j ( x j ) . Averaging over that bit gives
c R , x = 0. (7) c_{R,x}=0. \tag*{(7)} c R , x = 0. (7)
Let E x : = { R : x j ∈ Q j ( R ) for every j ∈ [ k ] } E_x:=\{R:x_j\in Q_j(R)\text{ for every }j\in[k]\} E x := { R : x j ∈ Q j ( R ) for every j ∈ [ k ]} , and define
π x : = P R [ E x ] , S + : = { x ∈ ( F 2 n ) k : π x > 0 } . (8) \pi_x:=\mathbb{P}_R[E_x],\qquad S_+:=\{x\in(\mathbb{F}_2^n)^k:\pi_x>0\}. \tag*{(8)} π x := P R [ E x ] , S + := { x ∈ ( F 2 n ) k : π x > 0 } . (8)
Summing 1 E x ( R ) = ∏ j = 1 k 1 x j ∈ Q j ( R ) \mathbf{1}_{E_x}(R)=\prod_{j=1}^k\mathbf{1}_{x_j\in Q_j(R)} 1 E x ( R ) = ∏ j = 1 k 1 x j ∈ Q j ( R ) over x x x gives the exact coverage budget
∑ x ∈ S + π x = E R [ ∏ j = 1 k ∣ Q j ( R ) ∣ ] ≤ ∏ j = 1 k q j . (9) \sum_{x\in S_+}\pi_x=\mathbb{E}_R\left[\prod_{j=1}^k|Q_j(R)|\right]\leq\prod_{j=1}^kq_j. \tag*{(9)} x ∈ S + ∑ π x = E R [ j = 1 ∏ k ∣ Q j ( R ) ∣ ] ≤ j = 1 ∏ k q j . (9)
Nonadaptivity enters at (7) ; if a later query depended on earlier answers, averaging over an unqueried bit would be invalid. Since the input space is finite and E R [ ∣ G R ( f ) ∣ 2 ] < ∞ \mathbb{E}_R[|G_R(f)|^2]<\infty E R [ ∣ G R ( f ) ∣ 2 ] < ∞ , the mean coefficients μ x : = E R [ c R , x ] \mu_x:=\mathbb{E}_R[c_{R,x}] μ x := E R [ c R , x ] are finite and vanish for x ∉ S + x\notin S_+ x ∈ / S + by (7) .
Nonadaptive second-moment barrier
Combining (3) with the coverage budget (9) gives a lower bound for arbitrary nonadaptive estimators.
Theorem 3.1 (Correlation barrier). Let n , k ≥ 1 n,k\geq1 n , k ≥ 1 be integers, N : = 2 n N:=2^n N := 2 n , and let G G G be a nonadaptive estimator for T k T_k T k (Definition 2.1 ) with mean h : = E R [ G R ] h:=\mathbb{E}_R[G_R] h := E R [ G R ] , coverage probabilities π x \pi_x π x from (8) , and support S + S_+ S + .
E R , f [ G R ( f ) 2 ] ≥ N k + 2 B ∣ ⟨ h , T k ⟩ U n i f ∣ 2 = N k − 2 B Corr ( h , T k ) 2 . (10) \mathbb{E}_{R,f}[G_R(f)^2]\geq\frac{N^{k+2}}{B}\lvert\langle h,T_k\rangle_{\mathrm{Unif}}\rvert^2=\frac{N^{k-2}}{B}\operatorname{Corr}(h,T_k)^2. \tag*{(10)} E R , f [ G R ( f ) 2 ] ≥ B N k + 2 ∣⟨ h , T k ⟩ Unif ∣ 2 = B N k − 2 Corr ( h , T k ) 2 . (10) In particular, for budgets q 1 , … , q k > 0 q_1,\ldots,q_k>0 q 1 , … , q k > 0 , taking B = ∏ j q j B=\prod_jq_j B = ∏ j q j gives E R , f [ G R ( f ) 2 ] ≥ N k − 2 Corr ( h , T k ) 2 / ∏ j q j \mathbb{E}_{R,f}[G_R(f)^2]\geq N^{k-2}\operatorname{Corr}(h,T_k)^2/\prod_jq_j E R , f [ G R ( f ) 2 ] ≥ N k − 2 Corr ( h , T k ) 2 / ∏ j q j .
Part 2 (Equality characterization). Assume ⟨ h , T k ⟩ U n i f ≠ 0 \langle h,T_k\rangle_{\mathrm{Unif}}\neq0 ⟨ h , T k ⟩ Unif = 0 and E R , f [ G R ( f ) 2 ] < ∞ \mathbb{E}_{R,f}[G_R(f)^2]<\infty E R , f [ G R ( f ) 2 ] < ∞ . Equality in (10) holds if and only if: (i) ∑ x ∈ S + π x = B \sum_{x\in S_+}\pi_x=B ∑ x ∈ S + π x = B ; (ii) G R G_R G R has zero Walsh energy outside { Walsh x : x ∈ ( F 2 n ) k } \{\operatorname{Walsh}_x:x\in(\mathbb{F}_2^n)^k\} { Walsh x : x ∈ ( F 2 n ) k } almost surely; (iii) for every x ∈ S + x\in S_+ x ∈ S + , c R , x c_{R,x} c R , x is almost surely constant on E x E_x E x ; and (iv) there is λ ∈ R ∖ { 0 } \lambda\in\mathbb{R}\setminus\{0\} λ ∈ R ∖ { 0 } such that μ x = λ π x a x \mu_x=\lambda\pi_xa_x μ x = λ π x a x for every x ∈ S + x\in S_+ x ∈ S + .
Proof. For Part 1, assume E R , f [ G R ( f ) 2 ] < ∞ \mathbb{E}_{R,f}[G_R(f)^2]<\infty E R , f [ G R ( f ) 2 ] < ∞ ; otherwise there is nothing to prove. Since the input space is finite and R ⊥ f R\perp f R ⊥ f , Fubini’s theorem gives μ x = E R [ c R , x ] = ⟨ h , Walsh x ⟩ U n i f \mu_x=\mathbb{E}_R[c_{R,x}]=\langle h,\operatorname{Walsh}_x\rangle_{\mathrm{Unif}} μ x = E R [ c R , x ] = ⟨ h , Walsh x ⟩ Unif . By (7) , c R , x = c R , x 1 E x ( R ) c_{R,x}=c_{R,x}\mathbf{1}_{E_x}(R) c R , x = c R , x 1 E x ( R ) and μ x = 0 \mu_x=0 μ x = 0 off S + S_+ S + . If S + = ∅ S_+=\varnothing S + = ∅ , the right-hand side is zero. For x ∈ S + x\in S_+ x ∈ S + , Cauchy–Schwarz over R R R gives
μ x 2 = ( E R [ c R , x 1 E x ( R ) ] ) 2 ≤ E R [ c R , x 2 ] π x , \mu_x^2=\left(\mathbb{E}_R[c_{R,x}\mathbf{1}_{E_x}(R)]\right)^2\leq\mathbb{E}_R[c_{R,x}^2]\pi_x, μ x 2 = ( E R [ c R , x 1 E x ( R )] ) 2 ≤ E R [ c R , x 2 ] π x ,
so E R [ c R , x 2 ] ≥ μ x 2 / π x \mathbb{E}_R[c_{R,x}^2]\geq\mu_x^2/\pi_x E R [ c R , x 2 ] ≥ μ x 2 / π x . Parseval’s identity for each fixed R R R and discarding non-full characters yields
E R , f [ G R ( f ) 2 ] ≥ ∑ x ∈ S + E R [ c R , x 2 ] ≥ ∑ x ∈ S + μ x 2 π x . \mathbb{E}_{R,f}[G_R(f)^2]\geq\sum_{x\in S_+}\mathbb{E}_R[c_{R,x}^2]\geq\sum_{x\in S_+}\frac{\mu_x^2}{\pi_x}. E R , f [ G R ( f ) 2 ] ≥ x ∈ S + ∑ E R [ c R , x 2 ] ≥ x ∈ S + ∑ π x μ x 2 .
Walsh orthogonality gives ⟨ h , T k ⟩ U n i f = ∑ x ∈ S + μ x a x \langle h,T_k\rangle_{\mathrm{Unif}}=\sum_{x\in S_+}\mu_xa_x ⟨ h , T k ⟩ Unif = ∑ x ∈ S + μ x a x . Weighted Cauchy–Schwarz, (3) , and ∑ x ∈ S + π x ≤ B \sum_{x\in S_+}\pi_x\leq B ∑ x ∈ S + π x ≤ B give
∣ ⟨ h , T k ⟩ U n i f ∣ 2 = ∣ ∑ x ∈ S + μ x π x ⋅ π x a x ∣ 2 ≤ ( ∑ x ∈ S + μ x 2 π x ) ( ∑ x ∈ S + π x ∣ a x ∣ 2 ) ≤ E R , f [ G R ( f ) 2 ] N − k − 2 B . \begin{aligned}
\left|\langle h,T_k\rangle_{\mathrm{Unif}}\right|^2=\left|\sum_{x\in S_+}\frac{\mu_x}{\sqrt{\pi_x}}\cdot\sqrt{\pi_x}a_x\right|^2 \\
&\le\left(\sum_{x\in S_+}\frac{\mu_x^2}{\pi_x}\right)\left(\sum_{x\in S_+}\pi_x|a_x|^2\right)\le\mathbb{E}_{R,f}\left[G_R(f)^2\right]N^{-k-2}B.
\end{aligned} ∣ ⟨ h , T k ⟩ Unif ∣ 2 = x ∈ S + ∑ π x μ x ⋅ π x a x 2 ≤ x ∈ S + ∑ π x μ x 2 x ∈ S + ∑ π x ∣ a x ∣ 2 ≤ E R , f [ G R ( f ) 2 ] N − k − 2 B .
Dividing by N − k − 2 B N^{-k-2}B N − k − 2 B and using (6) gives (10) . The per-oracle form follows from (9) .
For Part 2, ⟨ h , T k ⟩ U n i f ≠ 0 \langle h,T_k\rangle_{\mathrm{Unif}}\ne0 ⟨ h , T k ⟩ Unif = 0 makes ∑ x ∈ S + μ x 2 / π x > 0 \sum_{x\in S_+}\mu_x^2/\pi_x>0 ∑ x ∈ S + μ x 2 / π x > 0 . Equality requires all four inequalities to be tight. Parseval’s drop is tight exactly under (ii); pointwise Cauchy–Schwarz is tight exactly under (iii); weighted Cauchy–Schwarz is tight exactly when μ x / π x = λ π x a x \mu_x/\sqrt{\pi_x}=\lambda\sqrt{\pi_x}a_x μ x / π x = λ π x a x for one λ ≠ 0 \lambda\ne0 λ = 0 , giving (iv); and ∑ x π x ≤ B \sum_x\pi_x\le B ∑ x π x ≤ B must be tight, giving (i). Conversely, (i)–(iv) imply c R , x = λ a x 1 E x ( R ) c_{R,x}=\lambda a_x\mathbf{1}_{E_x(R)} c R , x = λ a x 1 E x ( R ) almost surely and E R , f [ G R ( f ) 2 ] = λ 2 N − k − 2 B = ( N k + 2 / B ) ∣ ⟨ h , T k ⟩ U n i f ∣ 2 \mathbb{E}_{R,f}[G_R(f)^2]=\lambda^2N^{-k-2}B=(N^{k+2}/B)|\langle h,T_k\rangle_{\mathrm{Unif}}|^2 E R , f [ G R ( f ) 2 ] = λ 2 N − k − 2 B = ( N k + 2 / B ) ∣ ⟨ h , T k ⟩ Unif ∣ 2 . Without ⟨ h , T k ⟩ U n i f ≠ 0 \langle h,T_k\rangle_{\mathrm{Unif}}\ne0 ⟨ h , T k ⟩ Unif = 0 , G R ≡ 0 G_R\equiv0 G R ≡ 0 gives 0 = 0 0=0 0 = 0 without budget saturation.
Proposition 3.2 (Exact tightness and total-query form). Let n , k ≥ 1 n,k\ge1 n , k ≥ 1 be integers and N : = 2 n N:=2^n N := 2 n .
Part 1 (Exact tightness). For positive integers q 1 , … , q k ∈ [ N ] q_1,\ldots,q_k\in[N] q 1 , … , q k ∈ [ N ] , equality in (10) with B = ∏ j q j B=\prod_jq_j B = ∏ j q j and Corr ( h , T k ) = 1 \operatorname{Corr}(h,T_k)=1 Corr ( h , T k ) = 1 is attained by
G R H T ( f ) : = N k ∏ j = 1 k q j ∑ x ∈ Q 1 ( R ) × ⋯ × Q k ( R ) a x Walsh x ( f ) , G_R^{\mathrm{HT}}(f):=\frac{N^k}{\prod_{j=1}^kq_j}\sum_{x\in Q_1(R)\times\cdots\times Q_k(R)}a_x\operatorname{Walsh}_x(f), G R HT ( f ) := ∏ j = 1 k q j N k x ∈ Q 1 ( R ) × ⋯ × Q k ( R ) ∑ a x Walsh x ( f ) , where each Q j ( R ) Q_j(R) Q j ( R ) is an independent uniform q j q_j q j -element subset of F 2 n \mathbb{F}_2^n F 2 n .
E R , f [ G R ( f ) 2 ] ≥ k k N k − 2 T k Corr ( h , T k ) 2 . \mathbb{E}_{R,f}[G_R(f)^2]\ge\frac{k^kN^{k-2}}{T^k}\operatorname{Corr}(h,T_k)^2. E R , f [ G R ( f ) 2 ] ≥ T k k k N k − 2 Corr ( h , T k ) 2 .
Proof. For Part 1, π x = ∏ j ( q j / N ) \pi_x=\prod_j(q_j/N) π x = ∏ j ( q j / N ) for every x x x , and ∑ x π x = ∏ j q j \sum_x\pi_x=\prod_jq_j ∑ x π x = ∏ j q j . The coefficient of Walsh x \operatorname{Walsh}_x Walsh x is ( a x / π x ) 1 E x ( R ) (a_x/\pi_x)\mathbf{1}_{E_x(R)} ( a x / π x ) 1 E x ( R ) , and all other coefficients vanish. Hence μ x = a x \mu_x=a_x μ x = a x , so h = T k h=T_k h = T k and Corr ( h , T k ) = 1 \operatorname{Corr}(h,T_k)=1 Corr ( h , T k ) = 1 . Parseval gives E R , f [ ( G R H T ) 2 ] = ∑ x ∣ a x ∣ 2 / π x = N k − 2 / ∏ j q j \mathbb{E}_{R,f}[(G_R^{\mathrm{HT}})^2]=\sum_x|a_x|^2/\pi_x=N^{k-2}/\prod_jq_j E R , f [( G R HT ) 2 ] = ∑ x ∣ a x ∣ 2 / π x = N k − 2 / ∏ j q j .
For Part 2, AM–GM gives ∏ j ∣ Q j ( R ) ∣ ≤ ( T / k ) k \prod_j|Q_j(R)|\le(T/k)^k ∏ j ∣ Q j ( R ) ∣ ≤ ( T / k ) k pointwise. Taking expectations gives ∑ x π x ≤ ( T / k ) k \sum_x\pi_x\le(T/k)^k ∑ x π x ≤ ( T / k ) k , and Part 1 of Theorem 3.1 with B = ( T / k ) k B=(T/k)^k B = ( T / k ) k completes the proof. If T < k T<k T < k , some query set is empty and Corr ( h , T k ) = 0 \operatorname{Corr}(h,T_k)=0 Corr ( h , T k ) = 0 .
Remark 3.3 (Nonlinear postprocessing and correlated query sets). The proof never writes G R G_R G R as a linear combination of sampled tuples. It projects an arbitrary function of the transcript onto the full-degree Walsh subspace.
Unbiased, L2-near-unbiased, and odd-cycle consequences
Corollary 3.4 (Exact-unbiased barrier). Let G G G be a nonadaptive estimator with positive budgets q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k . If E R [ G R ( f ) ] = T k ( f ) \mathbb{E}_R[G_R(f)]=T_k(f) E R [ G R ( f )] = T k ( f ) for every f f f , then E R , f [ G R ( f ) 2 ] ≥ N k − 2 / ∏ j q j \mathbb{E}_{R,f}[G_R(f)^2]\ge N^{k-2}/\prod_jq_j E R , f [ G R ( f ) 2 ] ≥ N k − 2 / ∏ j q j .
Proof. Set h = T k h=T_k h = T k in Theorem 3.1 and use (4) .
Theorem 3.5 (L 2 L_2 L 2 -near-unbiased barrier). Let η ≥ 0 \eta\ge0 η ≥ 0 and let G G G be a nonadaptive estimator with positive budgets q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k and mean h : = E R [ G R ] h := \mathbb{E}_{R}[G_R] h := E R [ G R ] . If ∥ h − T k ∥ 2 , U n i f ≤ η \lVert h-T_k\rVert_{2,\mathrm{Unif}} \le\eta ∥ h − T k ∥ 2 , Unif ≤ η , then
E R , f [ G R ( f ) 2 ] ≥ N k − 2 ∏ j = 1 k q j ( 1 − N η ) + 2 . \mathbb{E}_{R,f}[G_R(f)^2] \ge\frac{N^{k-2}}{\prod_{j=1}^{k}q_j}(1-N\eta)_+^2. E R , f [ G R ( f ) 2 ] ≥ ∏ j = 1 k q j N k − 2 ( 1 − N η ) + 2 .
Proof. Cauchy–Schwarz and (4) give ∣ ⟨ h − T k , T k ⟩ U n i f ∣ ≤ η / N \lvert\langle h-T_k,T_k\rangle_{\mathrm{Unif}}\rvert\le\eta/N ∣⟨ h − T k , T k ⟩ Unif ∣ ≤ η / N . Therefore
⟨ h , T k ⟩ U n i f = N − 2 + ⟨ h − T k , T k ⟩ U n i f ≥ N − 2 ( 1 − N η ) . \langle h,T_k\rangle_{\mathrm{Unif}}=N^{-2}+\langle h-T_k,T_k\rangle_{\mathrm{Unif}}\ge N^{-2}(1-N\eta). ⟨ h , T k ⟩ Unif = N − 2 + ⟨ h − T k , T k ⟩ Unif ≥ N − 2 ( 1 − N η ) .
Thus Corr ( h , T k ) ≥ ( 1 − N η ) + \operatorname{Corr}(h,T_k)\ge(1-N\eta)_+ Corr ( h , T k ) ≥ ( 1 − N η ) + , and Theorem 3.1 applies.
Remark 3.6 (Scope boundary: uniform overlap versus worst-case error). The factor ( 1 − N η ) + 2 (1-N\eta)_+^2 ( 1 − N η ) + 2 vanishes at η = 1 / N \eta=1/N η = 1/ N , the uniform error of the zero-query estimator. A constant-error estimator can therefore have Corr ( h , T k ) = o ( 1 ) \operatorname{Corr}(h,T_k)=o(1) Corr ( h , T k ) = o ( 1 ) , as in the biased k = 3 k=3 k = 3 algorithm of Zhang and Shao [9 ] . The barrier addresses constant overlap together with bounded second moment, not worst-case constant-error estimation alone.
Exact unbiasedness alone imposes no query barrier when heavy-tailed outputs are allowed.
Proposition 3.7 (Exact unbiasedness via heavy-tailed mixture). Let n , k ≥ 1 n,k\ge1 n , k ≥ 1 , N : = 2 n N:=2^n N := 2 n , and let q > 0 q>0 q > 0 , C ≥ 0 C\ge0 C ≥ 0 , ϵ ≥ 0 \epsilon\ge0 ϵ ≥ 0 , δ ∈ [ 0 , 1 ] \delta\in[0,1] δ ∈ [ 0 , 1 ] , and p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) . Suppose G ~ R 1 \widetilde{G}_{R_1} G R 1 is a nonadaptive estimator using at most q q q queries per oracle, with ∣ G ~ R 1 ( f ) ∣ ≤ C \lvert\widetilde{G}_{R_1}(f)\rvert\le C ∣ G R 1 ( f )∣ ≤ C almost surely and P R 1 [ ∣ G ~ R 1 ( f ) − T k ( f ) ∣ ≤ ϵ ] ≥ 1 − δ \mathbb{P}_{R_1}[\lvert\widetilde{G}_{R_1}(f)-T_k(f)\rvert\le\epsilon]\ge1-\delta P R 1 [∣ G R 1 ( f ) − T k ( f )∣ ≤ ϵ ] ≥ 1 − δ for every f f f . Then there is a nonadaptive estimator G R ∗ G_R^* G R ∗ using at most q + 1 q+1 q + 1 queries per oracle such that:
Part 1 (Exact unbiasedness and error preservation). For every f f f , E R [ G R ∗ ( f ) ] = T k ( f ) \mathbb{E}_R[G_R^*(f)]=T_k(f) E R [ G R ∗ ( f )] = T k ( f ) and P R [ ∣ G R ∗ ( f ) − T k ( f ) ∣ ≤ ϵ ] ≥ ( 1 − p ) ( 1 − δ ) \mathbb{P}_R[\lvert G_R^*(f)-T_k(f)\rvert\le\epsilon]\ge(1-p)(1-\delta) P R [∣ G R ∗ ( f ) − T k ( f )∣ ≤ ϵ ] ≥ ( 1 − p ) ( 1 − δ ) .
Part 2 (Second-moment cost).
E R , f [ G R ∗ ( f ) 2 ] ≥ 1 p max { N k − 2 − 2 ( 1 − p ) C N , ( N k − 2 − ( 1 − p ) C ) + 2 } ≥ 1 p ( N k − 2 − C ) + 2 . \mathbb{E}_{R,f}[G_R^*(f)^2]\ge\frac{1}{p}\max\left\{N^{k-2}-\frac{2(1-p)C}{N},\left(\sqrt{N^{k-2}}-(1-p)C\right)_+^2\right\}\ge\frac{1}{p}\left(\sqrt{N^{k-2}}-C\right)_+^2. E R , f [ G R ∗ ( f ) 2 ] ≥ p 1 max { N k − 2 − N 2 ( 1 − p ) C , ( N k − 2 − ( 1 − p ) C ) + 2 } ≥ p 1 ( N k − 2 − C ) + 2 . In particular, if C ≤ 1 4 N k − 1 C\le\frac{1}{4}N^{k-1} C ≤ 4 1 N k − 1 , then E R , f [ G R ∗ ( f ) 2 ] ≥ 1 2 N k − 2 / p \mathbb{E}_{R,f}[G_R^*(f)^2]\ge\frac{1}{2}N^{k-2}/p E R , f [ G R ∗ ( f ) 2 ] ≥ 2 1 N k − 2 / p .
Proof. Draw ξ ∼ Bernoulli ( p ) \xi\sim\operatorname{Bernoulli}(p) ξ ∼ Bernoulli ( p ) and X ∼ Unif ( ( F 2 n ) k ) X\sim\operatorname{Unif}((\mathbb{F}_2^n)^k) X ∼ Unif (( F 2 n ) k ) independently of R 1 R_1 R 1 and f f f , and query Q j ( R 1 ) ∪ { X j } Q_j(R_1)\cup\{X_j\} Q j ( R 1 ) ∪ { X j } for each j j j . With probability 1 − p 1-p 1 − p , output G ~ R 1 \widetilde{G}_{R_1} G R 1 . With probability p p p , output p − 1 ( N k a X Walsh X ( f ) − ( 1 − p ) G ~ R 1 ( f ) ) p^{-1}(N^k a_X\operatorname{Walsh}_X(f)-(1-p)\widetilde{G}_{R_1}(f)) p − 1 ( N k a X Walsh X ( f ) − ( 1 − p ) G R 1 ( f )) . Since E X [ N k a X Walsh X ( f ) ] = T k ( f ) \mathbb{E}_X[N^k a_X\operatorname{Walsh}_X(f)]=T_k(f) E X [ N k a X Walsh X ( f )] = T k ( f ) , the mean is exactly T k ( f ) T_k(f) T k ( f ) . Restricting to ξ = 0 \xi=0 ξ = 0 gives error probability at least ( 1 − p ) ( 1 − δ ) (1-p)(1-\delta) ( 1 − p ) ( 1 − δ ) .
For the second moment, write W X : = N k a X Walsh X ( f ) W_X:=N^k a_X\operatorname{Walsh}_X(f) W X := N k a X Walsh X ( f ) . Dropping the nonnegative ξ = 0 \xi=0 ξ = 0 term gives
E R , f [ G R ∗ ( f ) 2 ] ≥ 1 p E R 1 [ E X , f [ ( W X − ( 1 − p ) G ~ R 1 ) 2 ] ] . \mathbb{E}_{R,f}[G_R^*(f)^2]\ge\frac{1}{p}\mathbb{E}_{R_1}\left[\mathbb{E}_{X,f}\left[(W_X-(1-p)\widetilde{G}_{R_1})^2\right]\right]. E R , f [ G R ∗ ( f ) 2 ] ≥ p 1 E R 1 [ E X , f [ ( W X − ( 1 − p ) G R 1 ) 2 ] ] .
For fixed R 1 R_1 R 1 , expansion gives
E X , f [ ( W X − ( 1 − p ) G ~ R 1 ) 2 ] = E X , f [ W X 2 ] − 2 ( 1 − p ) E X , f [ W X G ~ R 1 ] + ( 1 − p ) 2 E f [ G ~ R 1 2 ] . \mathbb{E}_{X,f}\left[(W_X-(1-p)\widetilde{G}_{R_1})^2\right]
=\mathbb{E}_{X,f}[W_X^2]-2(1-p)\mathbb{E}_{X,f}[W_X\widetilde{G}_{R_1}]+(1-p)^2\mathbb{E}_f[\widetilde{G}_{R_1}^2]. E X , f [ ( W X − ( 1 − p ) G R 1 ) 2 ] = E X , f [ W X 2 ] − 2 ( 1 − p ) E X , f [ W X G R 1 ] + ( 1 − p ) 2 E f [ G R 1 2 ] .
The first term is N − k ∑ x N 2 k ∣ a x ∣ 2 = N k − 2 N^{-k}\sum_x N^{2k}\lvert a_x\rvert^2=N^{k-2} N − k ∑ x N 2 k ∣ a x ∣ 2 = N k − 2 . Independence and Cauchy–Schwarz give
∣ E X , f [ W X G ~ R 1 ] ∣ = ∣ ⟨ T k , G ~ R 1 ⟩ U n i f ∣ ≤ ∥ T k ∥ 2 , U n i f ∥ G ~ R 1 ∥ 2 , U n i f ≤ C / N . \left\lvert\mathbb{E}_{X,f}[W_X\widetilde{G}_{R_1}]\right\rvert=\left\lvert\langle T_k,\widetilde{G}_{R_1}\rangle_{\mathrm{Unif}}\right\rvert\le\lVert T_k\rVert_{2,\mathrm{Unif}}\lVert\widetilde{G}_{R_1}\rVert_{2,\mathrm{Unif}}\le C/N. E X , f [ W X G R 1 ] = ⟨ T k , G R 1 ⟩ Unif ≤ ∥ T k ∥ 2 , Unif ∥ G R 1 ∥ 2 , Unif ≤ C / N .
Discarding the nonnegative squared term yields the first lower bound. The reverse triangle inequality in L 2 ( X , f ) L_2(X,f) L 2 ( X , f ) gives
E X , f [ ( W X − ( 1 − p ) G ~ R 1 ) 2 ] ≥ ( N k − 2 − ( 1 − p ) C ) + 2 ≥ ( N k − 2 − C ) + 2 . \mathbb{E}_{X,f}\left[(W_X-(1-p)\widetilde{G}_{R_1})^2\right]\geq\left(\sqrt{N^{k-2}}-(1-p)C\right)_+^2\geq\left(\sqrt{N^{k-2}}-C\right)_+^2. E X , f [ ( W X − ( 1 − p ) G R 1 ) 2 ] ≥ ( N k − 2 − ( 1 − p ) C ) + 2 ≥ ( N k − 2 − C ) + 2 .
Taking expectations over R 1 R_1 R 1 proves both bounds. If C ≤ 1 4 N k − 1 C\leq\frac{1}{4}N^{k-1} C ≤ 4 1 N k − 1 , then N k − 2 − 2 ( 1 − p ) C / N ≥ 1 2 N k − 2 N^{k-2}-2(1-p)C/N\geq\frac{1}{2}N^{k-2} N k − 2 − 2 ( 1 − p ) C / N ≥ 2 1 N k − 2 , giving the final claim.
Corollary 3.8 (Odd-cycle conjectured scale). Let k = 2 m + 1 ≥ 5 k=2m+1\geq5 k = 2 m + 1 ≥ 5 be fixed, and let G G G be a nonadaptive estimator with positive budgets q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k and mean h h h .
Part 1. If q j ≤ N 1 − 1 / m q_j\leq N^{1-1/m} q j ≤ N 1 − 1/ m for every j j j , then E R , f [ G R ( f ) 2 ] ≥ Corr ( h , T k ) 2 N 1 / m \mathbb{E}_{R,f}[G_R(f)^2]\geq\operatorname{Corr}(h,T_k)^2N^{1/m} E R , f [ G R ( f ) 2 ] ≥ Corr ( h , T k ) 2 N 1/ m .
Part 2. As n → ∞ n\to\infty n → ∞ with k k k fixed, the joint conditions E R , f [ G R ( f ) 2 ] = O ( 1 ) \mathbb{E}_{R,f}[G_R(f)^2]=O(1) E R , f [ G R ( f ) 2 ] = O ( 1 ) and Corr ( h , T k ) = Ω ( 1 ) \operatorname{Corr}(h,T_k)=\Omega(1) Corr ( h , T k ) = Ω ( 1 ) force ∏ j q j = Ω ( N k − 2 ) \prod_j q_j=\Omega(N^{k-2}) ∏ j q j = Ω ( N k − 2 ) and hence max j q j = Ω ( N 1 − 2 / k ) \max_j q_j=\Omega(N^{1-2/k}) max j q j = Ω ( N 1 − 2/ k ) .
Proof. Part 1 follows by substitution: N k − 2 / ∏ j q j ≥ N ( 2 m − 1 ) − ( 2 m + 1 ) ( 1 − 1 / m ) = N 1 / m N^{k-2}/\prod_jq_j\geq N^{(2m-1)-(2m+1)(1-1/m)}=N^{1/m} N k − 2 / ∏ j q j ≥ N ( 2 m − 1 ) − ( 2 m + 1 ) ( 1 − 1/ m ) = N 1/ m . Part 2 rearranges (10) to ∏ j q j ≥ N k − 2 Corr 2 / E [ G R 2 ] = Ω ( N k − 2 ) \prod_jq_j\geq N^{k-2}\operatorname{Corr}^2/\mathbb{E}[G_R^2]=\Omega(N^{k-2}) ∏ j q j ≥ N k − 2 Corr 2 / E [ G R 2 ] = Ω ( N k − 2 ) , then takes the k k k -th root.
At k = 5 k=5 k = 5 , q j ≤ N 1 / 2 q_j\leq N^{1/2} q j ≤ N 1/2 forces second moment Corr ( h , T 5 ) 2 N 1 / 2 \operatorname{Corr}(h,T_5)^2N^{1/2} Corr ( h , T 5 ) 2 N 1/2 , whereas Corr = Ω ( 1 ) \operatorname{Corr}=\Omega(1) Corr = Ω ( 1 ) and bounded second moment force max j q j = Ω ( N 3 / 5 ) \max_jq_j=\Omega(N^{3/5}) max j q j = Ω ( N 3/5 ) .
Correlation against a hidden sign outside a bad event
Planted lower bounds often bound a collision probability, whereas estimator analyses use signed correlation. The next identity links the two with exact constants.
Proposition 3.9 (Collision-gated correlation bound). Let ( f , σ ) (f,\sigma) ( f , σ ) be jointly distributed with σ \sigma σ uniform on { − 1 , + 1 } \{-1,+1\} { − 1 , + 1 } , and let E \mathcal{E} E be an event. Let R R R be independent of ( f , σ ) (f,\sigma) ( f , σ ) , with nonadaptive transcript τ = ( Q ( R ) , f ∣ Q ( R ) ) \tau=(Q(R),f|_{Q(R)}) τ = ( Q ( R ) , f ∣ Q ( R ) ) and output Z = Z ( τ , R ) ∈ [ − 1 , 1 ] Z=Z(\tau,R)\in[-1,1] Z = Z ( τ , R ) ∈ [ − 1 , 1 ] . Suppose τ \tau τ is conditionally independent of σ \sigma σ given ¬ E \neg\mathcal{E} ¬ E whenever P [ ¬ E ] > 0 \mathbb{P}[\neg\mathcal{E}]>0 P [ ¬ E ] > 0 .
Part 1. ∣ E [ σ Z ] ∣ ≤ 2 P [ E ] |\mathbb{E}[\sigma Z]|\leq2\mathbb{P}[\mathcal{E}] ∣ E [ σ Z ] ∣ ≤ 2 P [ E ] .
Part 2. If E ⊥ σ \mathcal{E}\perp\sigma E ⊥ σ , then ∣ E [ σ Z ] ∣ ≤ P [ E ] |\mathbb{E}[\sigma Z]|\leq\mathbb{P}[\mathcal{E}] ∣ E [ σ Z ] ∣ ≤ P [ E ] .
Part 3. For every p ∈ ( 0 , 1 ] p\in(0,1] p ∈ ( 0 , 1 ] , a one-query Boolean oracle realizes P [ E ] = p / 2 \mathbb{P}[\mathcal{E}]=p/2 P [ E ] = p /2 and E [ σ Z ] = p = 2 P [ E ] \mathbb{E}[\sigma Z]=p=2\mathbb{P}[\mathcal{E}] E [ σ Z ] = p = 2 P [ E ] .
Proof idea. Each fiber { τ = ( q 0 , y 0 ) } = { Q ( R ) = q 0 } ∩ { f ∣ q 0 = y 0 } \{\tau=(q_0,y_0)\}=\{Q(R)=q_0\}\cap\{f|_{q_0}=y_0\} { τ = ( q 0 , y 0 )} = { Q ( R ) = q 0 } ∩ { f ∣ q 0 = y 0 } is rectangular, so R ⊥ σ ∣ τ R\perp\sigma\mid\tau R ⊥ σ ∣ τ and Z Z Z can be replaced by Z ‾ ( τ ) : = E [ Z ∣ τ ] \overline{Z}(\tau):=\mathbb{E}[Z\mid\tau] Z ( τ ) := E [ Z ∣ τ ] . On ¬ E \neg\mathcal{E} ¬ E , conditional independence and E [ σ ] = 0 \mathbb{E}[\sigma]=0 E [ σ ] = 0 allow subtracting γ : = E [ Z ‾ ( τ ) ∣ ¬ E ] \gamma:=\mathbb{E}[\overline{Z}(\tau)\mid\neg\mathcal{E}] γ := E [ Z ( τ ) ∣ ¬ E ] , yielding E [ σ Z ] = E [ σ ( Z ‾ ( τ ) − γ ) 1 E ] \mathbb{E}[\sigma Z]=\mathbb{E}[\sigma(\overline{Z}(\tau)-\gamma)1_{\mathcal{E}}] E [ σ Z ] = E [ σ ( Z ( τ ) − γ ) 1 E ] . The absolute value is at most 2 P [ E ] 2\mathbb{P}[\mathcal{E}] 2 P [ E ] , or P [ E ] \mathbb{P}[\mathcal{E}] P [ E ] when E [ σ 1 ¬ E ] = 0 \mathbb{E}[\sigma1_{\neg\mathcal{E}}]=0 E [ σ 1 ¬ E ] = 0 . The full proof and tightness witness are in Section A.2.
Complementary-subspace ensemble
We now test whether a structured distribution can improve the adaptive lower bound Ω ( N 1 / 4 ) \Omega(N^{1/4}) Ω ( N 1/4 ) . The shortest even cycle with two independent shifts and two independent periodic masks is k = 6 k=6 k = 6 , and the quadratic cap of Zhang and Shao [9 ] lifts it to k = 7 k = 7 k = 7 . Our adaptive running example is the balanced case dim L = n / 2 \dim L = n/2 dim L = n /2 , so s = t = N 1 / 2 s = t = N^{1/2} s = t = N 1/2 .
Complementary-subspace identity and T7 transfer
Let L ≤ F 2 n L \le\mathbb{F}_2^n L ≤ F 2 n and set M : = L ⊥ M := L^\perp M := L ⊥ . Let ϕ , ψ \phi,\psi ϕ , ψ be L L L -periodic Boolean functions and let A , B A,B A , B be M M M -periodic Boolean functions. For shifts α , β ∈ F 2 n \alpha,\beta\in\mathbb{F}_2^n α , β ∈ F 2 n and σ ∈ { − 1 , + 1 } \sigma\in\{-1,+1\} σ ∈ { − 1 , + 1 } , write χ α ( x ) : = ( − 1 ) α ⋅ x \chi_\alpha(x) := (-1)^{\alpha\cdot x} χ α ( x ) := ( − 1 ) α ⋅ x and define
f 1 ( x ) = χ α ( x ) ϕ ( x ) , f 2 ( x ) = A ( x ) , f 3 ( x ) = f 1 ( x ) f 5 ( x ) , f 4 ( x ) = B ( x ) , f 5 ( x ) = χ β ( x ) ψ ( x ) , f 6 ( x ) = σ A ( x + α ) B ( x + β ) . (11) \begin{aligned}
f_1(x) &= \chi_\alpha(x)\phi(x), \quad f_2(x) = A(x),\\
f_3(x) &= f_1(x)f_5(x), \quad f_4(x) = B(x),\\
f_5(x) &= \chi_\beta(x)\psi(x), \quad f_6(x) = \sigma A(x+\alpha)B(x+\beta). \tag*{(11)}
\end{aligned} f 1 ( x ) f 3 ( x ) f 5 ( x ) = χ α ( x ) ϕ ( x ) , f 2 ( x ) = A ( x ) , = f 1 ( x ) f 5 ( x ) , f 4 ( x ) = B ( x ) , = χ β ( x ) ψ ( x ) , f 6 ( x ) = σ A ( x + α ) B ( x + β ) . (11)
Definition 4.1 (Complementary-subspace and uniform-shift ensembles). Fix n ≥ 1 n \ge1 n ≥ 1 and a prior over ( L , α , β , ϕ , ψ ) (L,\alpha,\beta,\phi,\psi) ( L , α , β , ϕ , ψ ) , where L ≤ F 2 n L \le\mathbb{F}_2^n L ≤ F 2 n , α , β ∈ F 2 n \alpha,\beta\in\mathbb{F}_2^n α , β ∈ F 2 n , and ϕ , ψ \phi,\psi ϕ , ψ are L L L -periodic. Set M : = L ⊥ M := L^\perp M := L ⊥ . Conditional on these variables, draw A , B : F 2 n / M → { − 1 , + 1 } A,B:\mathbb{F}_2^n/M \to\{-1,+1\} A , B : F 2 n / M → { − 1 , + 1 } independently and uniformly, and draw σ \sigma σ independently and uniformly on { − 1 , + 1 } \{-1,+1\} { − 1 , + 1 } . The resulting law of (4.1) is a complementary-subspace ensemble . It is the uniform-shift ensemble when ( α , β ) (\alpha,\beta) ( α , β ) is uniform on F 2 n × F 2 n \mathbb{F}_2^n \times\mathbb{F}_2^n F 2 n × F 2 n and ϕ , ψ \phi,\psi ϕ , ψ are independent uniform L L L -periodic functions.
Proposition 4.2 (Complementary-subspace identity). Let n ≥ 1 n \ge1 n ≥ 1 . For every realization of (4.1), the unitary
W 6 : = D f 1 H ⊗ n D f 2 H ⊗ n ⋯ D f 6 H ⊗ n W_6 := D_{f_1}H^{\otimes n}D_{f_2}H^{\otimes n}\cdots D_{f_6}H^{\otimes n} W 6 := D f 1 H ⊗ n D f 2 H ⊗ n ⋯ D f 6 H ⊗ n satisfies W 6 = σ I W_6 = \sigma I W 6 = σ I , and consequently T 6 ( f 1 , … , f 6 ) = σ T_6(f_1,\ldots,f_6) = \sigma T 6 ( f 1 , … , f 6 ) = σ .
Proof idea. Conjugation by H ⊗ n H^{\otimes n} H ⊗ n turns each odd-indexed oracle into a convolution supported on a translate of M M M . Since A , B A,B A , B are M M M -periodic, the factors from f 6 f_6 f 6 cancel against D A , D B D_A,D_B D A , D B , leaving ϕ ^ ∗ ψ ^ ∗ ψ ∗ ϕ = ϕ 2 ψ 2 ^ = 1 0 \widehat{\phi} * \widehat{\psi} * \psi* \phi= \widehat{\phi^2\psi^2} = 1_0 ϕ ∗ ψ ∗ ψ ∗ ϕ = ϕ 2 ψ 2 = 1 0 . The full derivation is in Section A.3.
Proposition 4.3 (Quadratic-cap transfer to T 7 T_7 T 7 ). Let n ≥ 1 n \ge1 n ≥ 1 and define Q ( x ) : = ( − 1 ) ( ∣ x ∣ 1 2 ) Q(x) := (-1)^{\binom{|x|_1}{2}} Q ( x ) := ( − 1 ) ( 2 ∣ x ∣ 1 ) , where ∣ x ∣ 1 |x|_1 ∣ x ∣ 1 is Hamming weight. Set η : = 1 n \eta:= 1_n η := 1 n if n ≡ 1 ( m o d 4 ) n \equiv1 \pmod4 n ≡ 1 ( mod 4 ) and η : = 0 \eta:= 0 η := 0 otherwise. For every six-tuple with W 6 = σ I W_6 = \sigma I W 6 = σ I , the seven-tuple
( g 1 , … , g 7 ) : = ( Q f 1 , f 2 , f 3 , f 4 , f 5 , Q f 6 , Q χ η ) (12) (g_1,\ldots,g_7) := (Qf_1,f_2,f_3,f_4,f_5,Qf_6,Q\chi_\eta) \tag*{(12)} ( g 1 , … , g 7 ) := ( Q f 1 , f 2 , f 3 , f 4 , f 5 , Q f 6 , Q χ η ) (12) satisfies T 7 ( g 1 , … , g 7 ) = σ c n T_7(g_1,\ldots,g_7) = \sigma c_n T 7 ( g 1 , … , g 7 ) = σ c n , where c n : = T 3 ( Q , Q , Q χ η ) c_n := T_3(Q,Q,Q\chi_\eta) c n := T 3 ( Q , Q , Q χ η ) obeys ∣ c n ∣ = 1 / 2 |c_n| = 1/2 ∣ c n ∣ = 1/2 for even n n n and ∣ c n ∣ = 1 / 2 |c_n| = 1/\sqrt{2} ∣ c n ∣ = 1/ 2 for odd n n n .
Proof idea. Right-multiplying W 6 = σ I W_6 = \sigma I W 6 = σ I by H ⊗ n H^{\otimes n} H ⊗ n reduces the seven-cycle trace to σ T 3 ( Q , Q , Q χ η ) \sigma T_3(Q,Q,Q\chi_\eta) σ T 3 ( Q , Q , Q χ η ) . Writing D Q = ω S ⊗ n + ω ‾ ( S ∗ ) ⊗ n D_Q = \omega S^{\otimes n} + \overline{\omega}(S^*)^{\otimes n} D Q = ω S ⊗ n + ω ( S ∗ ) ⊗ n with S = diag ( 1 , i ) S = \operatorname{diag}(1,i) S = diag ( 1 , i ) and ω = ( 1 − i ) / 2 \omega= (1-i)/2 ω = ( 1 − i ) /2 , all mixed single-qubit traces vanish, while ( S H ) 3 = e i π / 4 I (SH)^3 = e^{i\pi/4}I ( S H ) 3 = e iπ /4 I evaluates the two pure terms. The calculation is in Section A.3.
Remark 4.4. (Attribution and query equivalence of the T 7 T_7 T 7 transfer). Proposition 4.3 specializes the quadratic cap of Zhang and Shao [9 ] . Since Q Q Q and χ η \chi_\eta χ η are known, every query to ( g 1 , … , g 7 ) (g_1,\ldots,g_7) ( g 1 , … , g 7 ) reduces to one query to ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) .
Matching certificate, deferred f 6 f_6 f 6 queries, and the adaptive ceiling
Condition on ( L , α , β ) (L,\alpha,\beta) ( L , α , β ) and write [ x ] M : = x + M ∈ F 2 n / M [x]_M := x+M \in\mathbb{F}_2^n/M [ x ] M := x + M ∈ F 2 n / M . The masks assign independent signs to the two parts U = V = F 2 n / M U=V=\mathbb{F}_2^n/M U = V = F 2 n / M , each of size s : = ∣ L ∣ = ∣ F 2 n / M ∣ s:=|L|=|\mathbb{F}_2^n/M| s := ∣ L ∣ = ∣ F 2 n / M ∣ . A query z z z to f 6 f_6 f 6 reads σ A ( [ z + α ] M ) B ( [ z + β ] M ) \sigma A([z+\alpha]_M)B([z+\beta]_M) σ A ([ z + α ] M ) B ([ z + β ] M ) along
e ( z ) : = ( [ z + α ] M , [ z + β ] M ) . e(z) := \left([z+\alpha]_M,[z+\beta]_M\right). e ( z ) := ( [ z + α ] M , [ z + β ] M ) .
The right endpoint is determined by v ( u ) = u + [ α + β ] M v(u)=u+[\alpha+\beta]_M v ( u ) = u + [ α + β ] M , so distinct queried edges are vertex-disjoint and form a matching. Let E a l i g n \mathcal{E}_{\mathrm{align}} E align be the event that some queried edge has both endpoints exposed by f 2 , f 4 f_2,f_4 f 2 , f 4 , and let E o d d \mathcal{E}_{\mathrm{odd}} E odd be the event that some odd set of queried edges has even degree at every unexposed vertex.
Lemma 4.5 (Matching-certificate coupling). Let ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) be drawn from a complementary-subspace ensemble. For any adaptive algorithm with randomness independent of the ensemble, let T r a n s c r i p t + , T r a n s c r i p t − \mathrm{Transcript}_{+},\mathrm{Transcript}_{-} Transcript + , Transcript − be its transcript laws under σ = + 1 \sigma=+1 σ = + 1 and σ = − 1 \sigma=-1 σ = − 1 . Then E o d d = E a l i g n \mathcal{E}_{\mathrm{odd}}=\mathcal{E}_{\mathrm{align}} E odd = E align , and there is an online coupling agreeing up to the first query triggering E a l i g n \mathcal{E}_{\mathrm{align}} E align . In particular,
TV ( T r a n s c r i p t + , T r a n s c r i p t − ) ≤ P [ E a l i g n ] , \operatorname{TV}(\mathrm{Transcript}_{+},\mathrm{Transcript}_{-}) \le\mathbb{P}[\mathcal{E}_{\mathrm{align}}], TV ( Transcript + , Transcript − ) ≤ P [ E align ] , where P [ E a l i g n ] \mathbb{P}[\mathcal{E}_{\mathrm{align}}] P [ E align ] is the same under σ = + 1 \sigma=+1 σ = + 1 , σ = − 1 \sigma=-1 σ = − 1 , and the mixture.
Proof idea. Every matching edge has degree 1 at both endpoints, so E o d d = E a l i g n \mathcal{E}_{\mathrm{odd}}=\mathcal{E}_{\mathrm{align}} E odd = E align . Before alignment, each two-variable block has at most two of { a ~ u , b ~ v ( u ) , σ ~ + a ~ u + b ~ v ( u ) } \{\widetilde{a}_u,\widetilde{b}_{v(u)},\widetilde{\sigma}+\widetilde{a}_u+\widetilde{b}_{v(u)}\} { a u , b v ( u ) , σ + a u + b v ( u ) } queried, whose mask components are independent. Every fresh coset answer is therefore uniform and independent of σ ~ \widetilde{\sigma} σ . The coupling stops immediately before reading the first aligned answer. The full proof is in Section A.4.
Figure 2. Matching structure of queried f 6 f_6 f 6 -edges in Lemma 4.5, with v i = u i + [ α + β ] M v_i=u_i+[\alpha+\beta]_M v i = u i + [ α + β ] M . Shaded solid circles mark cosets exposed by f 2 f_2 f 2 or f 4 f_4 f 4 , open dashed circles mark hidden cosets, muted lines mark unaligned queried edges, and the thick gold line marks the unique aligned configuration that reveals σ \sigma σ .
When f 6 f_6 f 6 answers are deferred, the alignment probability is controlled by the posterior peak of the quotient shifts.
Proposition 4.6 (Deferred-f 6 f_6 f 6 alignment bound). Draw ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) from a complementary-subspace ensemble, and let s : = ∣ L ∣ = ∣ F 2 n / M ∣ s:=|L|=|\mathbb{F}_2^n/M| s := ∣ L ∣ = ∣ F 2 n / M ∣ . Suppose an algorithm with independent internal randomness issues all queries to f 1 , … , f 5 f_1,\ldots,f_5 f 1 , … , f 5 and fixes Q 6 Q_6 Q 6 before reading any f 6 f_6 f 6 answer, with ∣ Q 2 ∣ ≤ q 2 |Q_2|\le q_2 ∣ Q 2 ∣ ≤ q 2 , ∣ Q 4 ∣ ≤ q 4 |Q_4|\le q_4 ∣ Q 4 ∣ ≤ q 4 , and ∣ Q 6 ∣ ≤ q 6 |Q_6|\le q_6 ∣ Q 6 ∣ ≤ q 6 almost surely. Let Y Y Y be the ordered shift-channel transcript, write α ˉ : = [ α ] M \bar{\alpha}:=[\alpha]_M α ˉ := [ α ] M , β ˉ : = [ β ] M \bar{\beta}:=[\beta]_M β ˉ := [ β ] M , and define
ρ ( L , Y ) : = max a , b ∈ F 2 n / M P [ ( α ˉ , β ˉ ) = ( a , b ) ∣ L , Y ] . \rho(L,Y):=\max_{a,b\in\mathbb{F}_2^n/M}\mathbb{P}[(\bar{\alpha},\bar{\beta})=(a,b)\mid L,Y]. ρ ( L , Y ) := a , b ∈ F 2 n / M max P [( α ˉ , β ˉ ) = ( a , b ) ∣ L , Y ] . Part 1. P [ E a l i g n ∣ L , Y ] ≤ min { 1 , q 2 q 4 q 6 ρ ( L , Y ) } \mathbb{P}[\mathcal{E}_{\mathrm{align}}\mid L,Y]\le\min\{1,q_2q_4q_6\rho(L,Y)\} P [ E align ∣ L , Y ] ≤ min { 1 , q 2 q 4 q 6 ρ ( L , Y )} .
Part 2. On the uniform-shift ensemble, the posterior is uniform on an affine set of size s 2 / 2 rk ( L , Y ) s^2/2^{\operatorname{rk}(L,Y)} s 2 / 2 rk ( L , Y ) , where rk ( L , Y ) : = rk ( L , Q ( Y ) ) \operatorname{rk}(L,Y):=\operatorname{rk}(L,Q(Y)) rk ( L , Y ) := rk ( L , Q ( Y )) is the rank of Section A.6. Thus ρ ( L , Y ) = 2 rk ( L , Y ) / s 2 \rho(L,Y)=2^{\operatorname{rk}(L,Y)}/s^2 ρ ( L , Y ) = 2 rk ( L , Y ) / s 2 .
Proof idea. Since f 6 f_6 f 6 is unread, the likelihood factors into an algorithm indicator, a mask factor independent of ( α , β , ϕ , ψ ) (\alpha,\beta,\phi,\psi) ( α , β , ϕ , ψ ) , and the shift-channel indicator. Bayes’ rule gives the posterior given ( L , Y ) (L,Y) ( L , Y ) , and a union bound over q 2 q 4 q 6 q_2q_4q_6 q 2 q 4 q 6 triples proves Part 1. Eliminating ϕ , ψ \phi,\psi ϕ , ψ over F 2 \mathbb{F}_2 F 2 leaves a consistent affine system of rank rk ( L , Y ) \operatorname{rk}(L,Y) rk ( L , Y ) , proving Part 2. See Sections A.5 to A.7.
At the balanced example s = t = N 1 / 2 s=t=N^{1/2} s = t = N 1/2 , the baseline posterior peak is 1 / s 2 = 1 / N 1/s^2=1/N 1/ s 2 = 1/ N . An adaptive algorithm can instead discover period subspaces and recover σ \sigma σ directly.
Proposition 4.7 (Adaptive recovery on the uniform-shift ensemble). *For every integer n ≥ 1 n \ge1 n ≥ 1 and every subspace L ≤ F 2 n L \le\mathbb{F}_2^n L ≤ F 2 n , there is an adaptive algorithm (Algorithm 1) making n O ( 1 ) N 1 / 4 n^{O(1)}N^{1/4} n O ( 1 ) N 1/4 queries that outputs σ \sigma σ with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) as n → ∞ n\to\infty n → ∞ . Hence this ensemble cannot give a super-polylogarithmic, in particular polynomial N 1 / 4 + Ω ( 1 ) N^{1/4+\Omega(1)} N 1/4 + Ω ( 1 ) , improvement on N 1 / 4 N^{1/4} N 1/4 .
Proof idea. Write s = ∣ L ∣ s=|L| s = ∣ L ∣ and t = ∣ M ∣ = N / s t=|M|=N/s t = ∣ M ∣ = N / s . Algorithm 1 first runs Goldreich–Levin with empirical filtering on f 1 , f 5 f_1,f_5 f 1 , f 5 . Every retained frequency has nonzero true coefficient and therefore lies in the correct coset; if t ≤ 256 n 2 t\le256n^2 t ≤ 256 n 2 , Parseval guarantees such a frequency above the chosen threshold. Otherwise t > 256 n 2 t>256n^2 t > 256 n 2 , so Lemma B.4 makes differential tests reject every ℓ ∉ L \ell\notin L ℓ ∈ / L with constant probability. Three branches cover the remaining cases: direct period sampling for s ≤ 64 n 2 s\le64n^2 s ≤ 64 n 2 , birthday collisions on f 2 f_2 f 2 for 32 n ≤ s ≤ N 1 / 2 32n\le s\le N^{1/2} 32 n ≤ s ≤ N 1/2 , and differential birthday collisions on f 1 f_1 f 1 for 32 n ≤ t ≤ N 1 / 2 32n\le t\le N^{1/2} 32 n ≤ t ≤ N 1/2 . Before decoding, a universal verifier checks both M ′ ⊆ M e f f M'\subseteq M_{\mathrm{eff}} M ′ ⊆ M eff by mask period tests and M ⊆ M ′ M\subseteq M' M ⊆ M ′ by differential tests on ( M ′ ) ⊥ (M')^\perp ( M ′ ) ⊥ . These are precisely the hypotheses of Lemma B.1 , so an accepted branch returns σ \sigma σ exactly. The full proof and query accounting are in Section B.
Discussion and open problems
On the nonadaptive side, the full-overlap scale is intrinsic to uniform overlap under bounded second moment, independently of linearity, product-grid sampling, and query correlation. Beating N 1 − 2 / k N^{1-2/k} N 1 − 2/ k requires either losing uniform overlap, as in the biased k = 3 k=3 k = 3 algorithm, or allowing heavy-tailed outputs.
On the adaptive side, exact periodic cancellation exposes the hidden subspaces to period-finding and differential period-finding at the N 1 / 4 N^{1/4} N 1/4 scale.
Three open problems remain adjacent to these boundaries:
Worst-case constant-error nonadaptive complexity for odd k ≥ 5 k \ge5 k ≥ 5 . Determine whether odd cycles admit a biased or heavy-tailed nonadaptive algorithm below N 1 − 2 / k N^{1-2/k} N 1 − 2/ k , or whether a worst-case lower bound exceeds Ω ( N 1 − 1 / m ) \Omega(N^{1-1/m}) Ω ( N 1 − 1/ m ) .
Adaptive lower bounds above Ω ( N 1 / 4 ) \Omega(N^{1/4}) Ω ( N 1/4 ) . Construct a distribution with constant trace separation that resists mask period-finding and differential period-finding on the shift channel.
Planted non-uniform second-moment barriers. Determine whether a distribution supported on high-trace tuples forces constant-error nonadaptive estimators to retain significant correlation with T k T_k T k under a weighted measure.
Deferred proofs
This appendix supplies the proofs deferred from § 3 to § 5 . Section A.1 verifies (3) and (4) . Section A.2 proves Propositions 3.7 and 3.9 . Section A.3 proves Propositions 4.2 and 4.3 . Section A.4 proves Lemma 4.5 . Section A.5 proves Part 1 of Proposition 4.6 , and Sections A.6 and A.7 prove Part 2. Section B contains the adaptive algorithm and proves Proposition 4.7 .
Coefficient normalization
Because ( H ⊗ n ) u , v = N − 1 / 2 ( − 1 ) u ⋅ v (H^{\otimes n})_{u,v}=N^{-1/2}(-1)^{u\cdot v} ( H ⊗ n ) u , v = N − 1/2 ( − 1 ) u ⋅ v , expansion of (1) gives
T k ( f ) = ∑ x ∈ ( F 2 n ) k a x Walsh x ( f ) , a x = N − k / 2 − 1 ∏ j = 1 k χ ( x j , x j + 1 ) , T_k(f)=\sum_{x\in(\mathbb{F}_2^n)^k}a_x\operatorname{Walsh}_x(f),\qquad a_x=N^{-k/2-1}\prod_{j=1}^{k}\chi(x_j,x_{j+1}), T k ( f ) = x ∈ ( F 2 n ) k ∑ a x Walsh x ( f ) , a x = N − k /2 − 1 j = 1 ∏ k χ ( x j , x j + 1 ) ,
where x k + 1 = x 1 x_{k+1}=x_1 x k + 1 = x 1 . Each phase product lies in { − 1 , + 1 } \{-1,+1\} { − 1 , + 1 } , so ∣ a x ∣ = N − k / 2 − 1 |a_x|=N^{-k/2-1} ∣ a x ∣ = N − k /2 − 1 . The monomials Walsh x \operatorname{Walsh}_x Walsh x are orthonormal under Unif, hence
∥ T k ∥ 2 , U n i f 2 = ∑ x ∈ ( F 2 n ) k ∣ a x ∣ 2 = N k N − k − 2 = N − 2 , ∑ x ∈ ( F 2 n ) k ∣ a x ∣ = N k / 2 − 1 . \|T_k\|_{2,\mathrm{Unif}}^2=\sum_{x\in(\mathbb{F}_2^n)^k}|a_x|^2=N^kN^{-k-2}=N^{-2},\qquad\sum_{x\in(\mathbb{F}_2^n)^k}|a_x|=N^{k/2-1}. ∥ T k ∥ 2 , Unif 2 = x ∈ ( F 2 n ) k ∑ ∣ a x ∣ 2 = N k N − k − 2 = N − 2 , x ∈ ( F 2 n ) k ∑ ∣ a x ∣ = N k /2 − 1 .
The cyclic phases affect signs only and never these magnitudes.
Deferred proofs for the unbiased-tail and conditioning propositions
Proof of Proposition 3.7 . Let R 1 R_1 R 1 be the randomness of G ~ \widetilde{G} G , and independently draw ξ ∼ Bernoulli ( p ) \xi\sim\operatorname{Bernoulli}(p) ξ ∼ Bernoulli ( p ) and X ∼ Unif ( ( F 2 n ) k ) X\sim\operatorname{Unif}((\mathbb{F}_2^n)^k) X ∼ Unif (( F 2 n ) k ) . Set R : = ( R 1 , ξ , X ) R:=(R_1,\xi,X) R := ( R 1 , ξ , X ) and Q j ∗ ( R ) : = Q j ( R 1 ) ∪ { X j } Q_j^*(R):=Q_j(R_1)\cup\{X_j\} Q j ∗ ( R ) := Q j ( R 1 ) ∪ { X j } . Then ∣ Q j ∗ ( R ) ∣ ≤ q + 1 |Q_j^*(R)|\le q+1 ∣ Q j ∗ ( R ) ∣ ≤ q + 1 almost surely. Write W X ( f ) : = N k a X Walsh X ( f ) W_X(f):=N^ka_X\operatorname{Walsh}_X(f) W X ( f ) := N k a X Walsh X ( f ) and define
G R ∗ ( f ) : = { G ~ R 1 ( f ) , ξ = 0 , p − 1 ( W X ( f ) − ( 1 − p ) G ~ R 1 ( f ) ) , ξ = 1. G_R^*(f):=
\begin{cases}
\widetilde{G}_{R_1}(f), & \xi=0,\\
p^{-1}\bigl(W_X(f)-(1-p)\widetilde{G}_{R_1}(f)\bigr), & \xi=1.
\end{cases} G R ∗ ( f ) := { G R 1 ( f ) , p − 1 ( W X ( f ) − ( 1 − p ) G R 1 ( f ) ) , ξ = 0 , ξ = 1.
For every f f f , G R ∗ ( f ) G_R^*(f) G R ∗ ( f ) is bounded, hence integrable.
Part 1. Uniformity of X X X and (2) give E X [ W X ( f ) ] = T k ( f ) \mathbb{E}_X[W_X(f)]=T_k(f) E X [ W X ( f )] = T k ( f ) . By mutual independence,
E R [ G R ∗ ( f ) ] = ( 1 − p ) E R 1 [ G ~ R 1 ( f ) ] + E X [ W X ( f ) ] − ( 1 − p ) E R 1 [ G ~ R 1 ( f ) ] = T k ( f ) . \mathbb{E}_R[G_R^*(f)]=(1-p)\mathbb{E}_{R_1}[\widetilde{G}_{R_1}(f)]+\mathbb{E}_X[W_X(f)]-(1-p)\mathbb{E}_{R_1}[\widetilde{G}_{R_1}(f)]=T_k(f). E R [ G R ∗ ( f )] = ( 1 − p ) E R 1 [ G R 1 ( f )] + E X [ W X ( f )] − ( 1 − p ) E R 1 [ G R 1 ( f )] = T k ( f ) .
Thus Corr ( h ∗ , T k ) = 1 \operatorname{Corr}(h^*,T_k)=1 Corr ( h ∗ , T k ) = 1 by (4) . Restricting to ξ = 0 \xi=0 ξ = 0 and using ξ ⊥ R 1 \xi\perp R_1 ξ ⊥ R 1 gives
P R [ ∣ G R ∗ ( f ) − T k ( f ) ∣ ≤ ε ] ≥ ( 1 − p ) P R 1 [ ∣ G ~ R 1 ( f ) − T k ( f ) ∣ ≤ ε ] ≥ ( 1 − p ) ( 1 − δ ) . \mathbb{P}_R[|G_R^*(f)-T_k(f)|\le\varepsilon]\ge(1-p)\mathbb{P}_{R_1}[|\widetilde{G}_{R_1}(f)-T_k(f)|\le\varepsilon]\ge(1-p)(1-\delta). P R [ ∣ G R ∗ ( f ) − T k ( f ) ∣ ≤ ε ] ≥ ( 1 − p ) P R 1 [ ∣ G R 1 ( f ) − T k ( f ) ∣ ≤ ε ] ≥ ( 1 − p ) ( 1 − δ ) .
Part 2. Dropping the nonnegative ξ = 0 \xi=0 ξ = 0 term gives
E R , f [ G R ∗ ( f ) 2 ] ≥ 1 p E R 1 [ E X , f [ ( W X ( f ) − ( 1 − p ) G ~ R 1 ( f ) ) 2 ] ] . \mathbb{E}_{R,f}[G_R^*(f)^2]\ge\frac{1}{p}\mathbb{E}_{R_1}\left[\mathbb{E}_{X,f}\left[(W_X(f)-(1-p)\widetilde{G}_{R_1}(f))^2\right]\right]. E R , f [ G R ∗ ( f ) 2 ] ≥ p 1 E R 1 [ E X , f [ ( W X ( f ) − ( 1 − p ) G R 1 ( f ) ) 2 ] ] .
Fix R 1 R_1 R 1 with ∣ G ~ R 1 ( f ) ∣ ≤ C |\widetilde{G}_{R_1}(f)|\le C ∣ G R 1 ( f ) ∣ ≤ C for all f f f . Expanding the square gives
E X , f [ ( W X ( f ) − ( 1 − p ) G ~ R 1 ( f ) ) 2 ] = E X , f [ W X ( f ) 2 ] − 2 ( 1 − p ) E X , f [ W X ( f ) G ~ R 1 ( f ) ] + ( 1 − p ) 2 E f [ G ~ R 1 ( f ) 2 ] . \begin{aligned}
\mathbb{E}_{X,f}\left[(W_X(f)-(1-p)\widetilde{G}_{R_1}(f))^2\right]
={}&\mathbb{E}_{X,f}[W_X(f)^2]-2(1-p)\mathbb{E}_{X,f}[W_X(f)\widetilde{G}_{R_1}(f)]\\
&+(1-p)^2\mathbb{E}_f[\widetilde{G}_{R_1}(f)^2].
\end{aligned} E X , f [ ( W X ( f ) − ( 1 − p ) G R 1 ( f ) ) 2 ] = E X , f [ W X ( f ) 2 ] − 2 ( 1 − p ) E X , f [ W X ( f ) G R 1 ( f )] + ( 1 − p ) 2 E f [ G R 1 ( f ) 2 ] .
Since Walsh x ( f ) 2 = 1 \operatorname{Walsh}_x(f)^2=1 Walsh x ( f ) 2 = 1 and ∣ a x ∣ 2 = N − k − 2 |a_x|^2=N^{-k-2} ∣ a x ∣ 2 = N − k − 2 ,
E X , f [ W X ( f ) 2 ] = N − k ∑ x ∈ ( F 2 n ) k N 2 k ∣ a x ∣ 2 = N k − 2 . \mathbb{E}_{X,f}[W_X(f)^2]=N^{-k}\sum_{x\in(\mathbb{F}_2^n)^k}N^{2k}|a_x|^2=N^{k-2}. E X , f [ W X ( f ) 2 ] = N − k x ∈ ( F 2 n ) k ∑ N 2 k ∣ a x ∣ 2 = N k − 2 .
Proofs of the complementary-subspace identity and the T7 transfer
Because X ⊥ ( R 1 , f ) X \perp(R_1,f) X ⊥ ( R 1 , f ) and E X [ W X ( f ) ] = T k ( f ) \mathbb{E}_X[W_X(f)]=T_k(f) E X [ W X ( f )] = T k ( f ) , Cauchy–Schwarz gives
∣ E X , f [ W X ( f ) G ~ R 1 ( f ) ] ∣ = ∣ ⟨ T k , G ~ R 1 ⟩ U n i f ∣ ≤ ∥ T k ∥ 2 , U n i f ∥ G ~ R 1 ∥ 2 , U n i f ≤ C / N . \left|\mathbb{E}_{X,f}[W_X(f)\widetilde{G}_{R_1}(f)]\right|=\left|\langle T_k,\widetilde{G}_{R_1}\rangle_{\mathrm{Unif}}\right|\leq\|T_k\|_{2,\mathrm{Unif}}\|\widetilde{G}_{R_1}\|_{2,\mathrm{Unif}}\leq C/N. E X , f [ W X ( f ) G R 1 ( f )] = ⟨ T k , G R 1 ⟩ Unif ≤ ∥ T k ∥ 2 , Unif ∥ G R 1 ∥ 2 , Unif ≤ C / N .
Discarding the nonnegative final term therefore yields
E X , f [ ( W X − ( 1 − p ) G ~ R 1 ) 2 ] ≥ N k − 2 − 2 ( 1 − p ) C N . \mathbb{E}_{X,f}\left[(W_X-(1-p)\widetilde{G}_{R_1})^2\right]\geq N^{k-2}-\frac{2(1-p)C}{N}. E X , f [ ( W X − ( 1 − p ) G R 1 ) 2 ] ≥ N k − 2 − N 2 ( 1 − p ) C .
Independently, the reverse triangle inequality in L 2 ( X , f ) L_2(X,f) L 2 ( X , f ) gives
E X , f [ ( W X − ( 1 − p ) G ~ R 1 ) 2 ] ≥ ( N k − 2 − ( 1 − p ) C ) + 2 ≥ ( N k − 2 − C ) + 2 . \mathbb{E}_{X,f}\left[(W_X-(1-p)\widetilde{G}_{R_1})^2\right]\geq\left(\sqrt{N^{k-2}}-(1-p)C\right)_+^2\geq\left(\sqrt{N^{k-2}}-C\right)_+^2. E X , f [ ( W X − ( 1 − p ) G R 1 ) 2 ] ≥ ( N k − 2 − ( 1 − p ) C ) + 2 ≥ ( N k − 2 − C ) + 2 .
Taking expectations over R 1 R_1 R 1 and multiplying by 1 / p 1/p 1/ p proves both displayed bounds. Finally, if C ≤ 1 4 N k − 1 C\leq\frac{1}{4}N^{k-1} C ≤ 4 1 N k − 1 ,
N k − 2 − 2 ( 1 − p ) C N ≥ N k − 2 − 2 ⋅ 1 4 N k − 1 N = 1 2 N k − 2 , N^{k-2}-\frac{2(1-p)C}{N}\geq N^{k-2}-\frac{2\cdot\frac{1}{4}N^{k-1}}{N}=\frac{1}{2}N^{k-2}, N k − 2 − N 2 ( 1 − p ) C ≥ N k − 2 − N 2 ⋅ 4 1 N k − 1 = 2 1 N k − 2 ,
so E R , f [ G R ∗ ( f ) 2 ] ≥ 1 2 N k − 2 / p \mathbb{E}_{R,f}[G^*_{R}(f)^2]\geq\frac{1}{2}N^{k-2}/p E R , f [ G R ∗ ( f ) 2 ] ≥ 2 1 N k − 2 / p .
Proof of Proposition 3.9. For every realized transcript ( q 0 , y 0 ) (q_0,y_0) ( q 0 , y 0 ) of positive probability, the fiber is rectangular:
{ τ = ( q 0 , y 0 ) } = { Q ( R ) = q 0 } ∩ { f ∣ q 0 = y 0 } . \{\tau=(q_0,y_0)\}=\{Q(R)=q_0\}\cap\{f|_{q_0}=y_0\}. { τ = ( q 0 , y 0 )} = { Q ( R ) = q 0 } ∩ { f ∣ q 0 = y 0 } .
The first event depends only on R R R and the second only on f f f . For every R R R -event A A A and s ∈ { − 1 , + 1 } s\in\{-1,+1\} s ∈ { − 1 , + 1 } , independence of R R R and ( f , σ ) (f,\sigma) ( f , σ ) gives
P [ R ∈ A , σ = s , τ = ( q 0 , y 0 ) ] = P [ R ∈ A , Q ( R ) = q 0 ] P [ σ = s , f ∣ q 0 = y 0 ] . \mathbb{P}[R\in A,\sigma=s,\tau=(q_0,y_0)]=\mathbb{P}[R\in A,Q(R)=q_0]\mathbb{P}[\sigma=s,f|_{q_0}=y_0]. P [ R ∈ A , σ = s , τ = ( q 0 , y 0 )] = P [ R ∈ A , Q ( R ) = q 0 ] P [ σ = s , f ∣ q 0 = y 0 ] .
Dividing by P [ τ = ( q 0 , y 0 ) ] > 0 \mathbb{P}[\tau=(q_0,y_0)]>0 P [ τ = ( q 0 , y 0 )] > 0 shows R ⊥ σ ∣ τ R\perp\sigma\mid\tau R ⊥ σ ∣ τ . Set Z ‾ ( τ ) : = E [ Z ( τ , R ) ∣ τ ] ∈ [ − 1 , 1 ] \overline{Z}(\tau):=\mathbb{E}[Z(\tau,R)\mid\tau]\in[-1,1] Z ( τ ) := E [ Z ( τ , R ) ∣ τ ] ∈ [ − 1 , 1 ] . The tower property gives
E [ σ Z ] = E [ E [ σ Z ∣ τ ] ] = E [ E [ σ ∣ τ ] E [ Z ∣ τ ] ] = E [ σ Z ‾ ( τ ) ] . \mathbb{E}[\sigma Z]=\mathbb{E}\left[\mathbb{E}[\sigma Z\mid\tau]\right]=\mathbb{E}\left[\mathbb{E}[\sigma\mid\tau]\mathbb{E}[Z\mid\tau]\right]=\mathbb{E}[\sigma\overline{Z}(\tau)]. E [ σ Z ] = E [ E [ σ Z ∣ τ ] ] = E [ E [ σ ∣ τ ] E [ Z ∣ τ ] ] = E [ σ Z ( τ )] .
Parts 1 and 2. If P [ E ] = 1 \mathbb{P}[\mathcal{E}]=1 P [ E ] = 1 , both bounds hold trivially. Otherwise let γ : = E [ Z ‾ ( τ ) ∣ ¬ E ] ∈ [ − 1 , 1 ] \gamma:=\mathbb{E}[\overline{Z}(\tau)\mid\neg\mathcal{E}]\in[-1,1] γ := E [ Z ( τ ) ∣ ¬ E ] ∈ [ − 1 , 1 ] . Since τ ⊥ σ ∣ ¬ E \tau\perp\sigma\mid\neg\mathcal{E} τ ⊥ σ ∣ ¬ E ,
E [ σ Z ‾ ( τ ) 1 ¬ E ] = P [ ¬ E ] E [ σ Z ‾ ( τ ) ∣ ¬ E ] = γ E [ σ 1 ¬ E ] . \mathbb{E}[\sigma\overline{Z}(\tau)1_{\neg\mathcal{E}}]=\mathbb{P}[\neg\mathcal{E}]\mathbb{E}[\sigma\overline{Z}(\tau)\mid\neg\mathcal{E}]=\gamma\mathbb{E}[\sigma1_{\neg\mathcal{E}}]. E [ σ Z ( τ ) 1 ¬ E ] = P [ ¬ E ] E [ σ Z ( τ ) ∣ ¬ E ] = γ E [ σ 1 ¬ E ] .
Because E [ σ ] = 0 \mathbb{E}[\sigma]=0 E [ σ ] = 0 , E [ σ 1 ¬ E ] = − E [ σ 1 E ] \mathbb{E}[\sigma1_{\neg\mathcal{E}}]=-\mathbb{E}[\sigma1_{\mathcal{E}}] E [ σ 1 ¬ E ] = − E [ σ 1 E ] , hence
E [ σ Z ] = E [ σ ( Z ‾ ( τ ) − γ ) 1 E ] . \mathbb{E}[\sigma Z]=\mathbb{E}[\sigma(\overline{Z}(\tau)-\gamma)1_{\mathcal{E}}]. E [ σ Z ] = E [ σ ( Z ( τ ) − γ ) 1 E ] .
Since ∣ Z ‾ ( τ ) − γ ∣ ≤ 2 |\overline{Z}(\tau)-\gamma|\leq2 ∣ Z ( τ ) − γ ∣ ≤ 2 , Part 1 follows, including P [ E ] = 0 \mathbb{P}[\mathcal{E}]=0 P [ E ] = 0 . If E ⊥ σ \mathcal{E}\perp\sigma E ⊥ σ , then E [ σ 1 ¬ E ] = 0 \mathbb{E}[\sigma1_{\neg\mathcal{E}}]=0 E [ σ 1 ¬ E ] = 0 , so E [ σ Z ] = E [ σ Z ‾ ( τ ) 1 E ] \mathbb{E}[\sigma Z]=\mathbb{E}[\sigma\overline{Z}(\tau)1_{\mathcal{E}}] E [ σ Z ] = E [ σ Z ( τ ) 1 E ] and ∣ E [ σ Z ] ∣ ≤ P [ E ] |\mathbb{E}[\sigma Z]|\leq\mathbb{P}[\mathcal{E}] ∣ E [ σ Z ] ∣ ≤ P [ E ] .
Part 3. Query only f 1 ( 0 ) f_1(0) f 1 ( 0 ) and output Z : = f 1 ( 0 ) Z:=f_1(0) Z := f 1 ( 0 ) . Given σ = + 1 \sigma=+1 σ = + 1 , set f 1 ( 0 ) = + 1 f_1(0)=+1 f 1 ( 0 ) = + 1 with probability p p p and − 1 -1 − 1 otherwise; given σ = − 1 \sigma=-1 σ = − 1 , set f 1 ( 0 ) = − 1 f_1(0)=-1 f 1 ( 0 ) = − 1 . Let E : = { f 1 ( 0 ) = + 1 } \mathcal{E}:=\{f_1(0)=+1\} E := { f 1 ( 0 ) = + 1 } . Then P [ E ] = p / 2 \mathbb{P}[\mathcal{E}]=p/2 P [ E ] = p /2 , and on ¬ E \neg\mathcal{E} ¬ E the transcript is deterministic, so τ ⊥ σ ∣ ¬ E \tau\perp\sigma\mid\neg\mathcal{E} τ ⊥ σ ∣ ¬ E . Finally,
E [ σ Z ] = 1 2 ( p − ( 1 − p ) ) + 1 2 = p = 2 P [ E ] . \mathbb{E}[\sigma Z]=\frac{1}{2}(p-(1-p))+\frac{1}{2}=p=2\mathbb{P}[\mathcal{E}]. E [ σ Z ] = 2 1 ( p − ( 1 − p )) + 2 1 = p = 2 P [ E ] .
Proofs of the complementary-subspace identity and the T 7 T_7 T 7 transfer
Proof of Proposition 4.2. For g : F 2 n → R g:\mathbb{F}_2^n\to\mathbb{R} g : F 2 n → R , define g ^ ( ξ ) : = N − 1 ∑ y ∈ F 2 n g ( y ) ( − 1 ) ξ ⋅ y \widehat{g}(\xi):=N^{-1}\sum_{y\in\mathbb{F}_2^n}g(y)(-1)^{\xi\cdot y} g ( ξ ) := N − 1 ∑ y ∈ F 2 n g ( y ) ( − 1 ) ξ ⋅ y . For every u , v ∈ F 2 n u,v\in\mathbb{F}_2^n u , v ∈ F 2 n ,
( H ⊗ n D g H ⊗ n ) u , v = 1 N ∑ y ∈ F 2 n ( − 1 ) u ⋅ y g ( y ) ( − 1 ) y ⋅ v = g ^ ( u + v ) . (H^{\otimes n}D_gH^{\otimes n})_{u,v}=\frac{1}{N}\sum_{y\in\mathbb{F}_2^n}(-1)^{u\cdot y}g(y)(-1)^{y\cdot v}=\widehat{g}(u+v). ( H ⊗ n D g H ⊗ n ) u , v = N 1 y ∈ F 2 n ∑ ( − 1 ) u ⋅ y g ( y ) ( − 1 ) y ⋅ v = g ( u + v ) .
so ( H ⊗ n D g H ⊗ n ) ∣ v ⟩ = ∑ ξ ∈ F 2 n g ^ ( ξ ) ∣ v + ξ ⟩ (H^{\otimes n}D_gH^{\otimes n})|v\rangle=\sum_{\xi\in\mathbb{F}_2^n}\widehat{g}(\xi)|v+\xi\rangle ( H ⊗ n D g H ⊗ n ) ∣ v ⟩ = ∑ ξ ∈ F 2 n g ( ξ ) ∣ v + ξ ⟩ . If g g g is L L L -periodic, changing y ↦ y + ℓ y\mapsto y+\ell y ↦ y + ℓ gives g ^ ( ξ ) = ( − 1 ) ξ ⋅ ℓ g ^ ( ξ ) \widehat{g}(\xi)=(-1)^{\xi\cdot\ell}\widehat{g}(\xi) g ( ξ ) = ( − 1 ) ξ ⋅ ℓ g ( ξ ) for every ℓ ∈ L \ell\in L ℓ ∈ L , hence g ^ \widehat{g} g is supported on M = L ⊥ M=L^\perp M = L ⊥ . Applying this to ϕ , ψ , ϕ ψ \phi,\psi,\phi\psi ϕ , ψ , ϕ ψ yields
f ^ 1 ( ξ ) = ϕ ^ ( ξ + α ) , f ^ 3 ( ξ ) = ϕ ψ ^ ( ξ + α + β ) , f ^ 5 ( ξ ) = ψ ^ ( ξ + β ) . \widehat{f}_1(\xi)=\widehat{\phi}(\xi+\alpha),\qquad\widehat{f}_3(\xi)=\widehat{\phi\psi}(\xi+\alpha+\beta),\qquad\widehat{f}_5(\xi)=\widehat{\psi}(\xi+\beta). f 1 ( ξ ) = ϕ ( ξ + α ) , f 3 ( ξ ) = ϕ ψ ( ξ + α + β ) , f 5 ( ξ ) = ψ ( ξ + β ) .
Since H ⊗ n H^{\otimes n} H ⊗ n is an involution,
H ⊗ n W 6 H ⊗ n = ( H ⊗ n D f 1 H ⊗ n ) D f 2 ( H ⊗ n D f 3 H ⊗ n ) D f 4 ( H ⊗ n D f 5 H ⊗ n ) D f 6 . H^{\otimes n}W_6H^{\otimes n}=(H^{\otimes n}D_{f_1}H^{\otimes n})D_{f_2}(H^{\otimes n}D_{f_3}H^{\otimes n})D_{f_4}(H^{\otimes n}D_{f_5}H^{\otimes n})D_{f_6}. H ⊗ n W 6 H ⊗ n = ( H ⊗ n D f 1 H ⊗ n ) D f 2 ( H ⊗ n D f 3 H ⊗ n ) D f 4 ( H ⊗ n D f 5 H ⊗ n ) D f 6 .
Fix x x x and apply the factors from right to left. First,
( H ⊗ n D f 5 H ⊗ n ) D f 6 ∣ x ⟩ = σ A ( x + α ) B ( x + β ) ∑ v ∈ M ψ ^ ( v ) ∣ x + β + v ⟩ . (H^{\otimes n}D_{f_5}H^{\otimes n})D_{f_6}|x\rangle=\sigma A(x+\alpha)B(x+\beta)\sum_{v\in M}\widehat{\psi}(v)|x+\beta+v\rangle. ( H ⊗ n D f 5 H ⊗ n ) D f 6 ∣ x ⟩ = σ A ( x + α ) B ( x + β ) v ∈ M ∑ ψ ( v ) ∣ x + β + v ⟩ .
Because B B B is M M M -periodic and v ∈ M v\in M v ∈ M , applying D B D_B D B cancels B ( x + β ) B(x+\beta) B ( x + β ) via B 2 = 1 B^2=1 B 2 = 1 . Next,
( H ⊗ n D f 3 H ⊗ n ) D f 4 ( H ⊗ n D f 5 H ⊗ n ) D f 6 ∣ x ⟩ = σ A ( x + α ) ∑ v , r ∈ M ψ ^ ( v ) ϕ ψ ^ ( r ) ∣ x + α + v + r ⟩ . \begin{aligned}
(H^{\otimes n}D_{f_3}H^{\otimes n})D_{f_4}(H^{\otimes n}D_{f_5}H^{\otimes n})D_{f_6}|x\rangle
&=\sigma A(x+\alpha)\sum_{v,r\in M}\widehat{\psi}(v)\widehat{\phi\psi}(r)|x+\alpha+v+r\rangle.
\end{aligned} ( H ⊗ n D f 3 H ⊗ n ) D f 4 ( H ⊗ n D f 5 H ⊗ n ) D f 6 ∣ x ⟩ = σ A ( x + α ) v , r ∈ M ∑ ψ ( v ) ϕ ψ ( r ) ∣ x + α + v + r ⟩ .
Since A A A is M M M -periodic and v + r ∈ M v+r\in M v + r ∈ M , applying D A D_A D A cancels A ( x + α ) A(x+\alpha) A ( x + α ) . Finally, shifting by α + u \alpha+u α + u for u ∈ M u\in M u ∈ M gives
( H ⊗ n W 6 H ⊗ n ) ∣ x ⟩ = σ ∑ z ∈ M ( ϕ ^ ∗ ϕ ψ ^ ∗ ψ ^ ) ( z ) ∣ x + z ⟩ . (H^{\otimes n}W_6H^{\otimes n})|x\rangle=\sigma\sum_{z\in M}(\widehat{\phi}*\widehat{\phi\psi}*\widehat{\psi})(z)|x+z\rangle. ( H ⊗ n W 6 H ⊗ n ) ∣ x ⟩ = σ z ∈ M ∑ ( ϕ ∗ ϕ ψ ∗ ψ ) ( z ) ∣ x + z ⟩ .
With the present normalization, g ( y ) = ∑ ξ g ^ ( ξ ) ( − 1 ) ξ ⋅ y g(y)=\sum_{\xi}\widehat{g}(\xi)(-1)^{\xi\cdot y} g ( y ) = ∑ ξ g ( ξ ) ( − 1 ) ξ ⋅ y , so g h ^ = g ^ ∗ h ^ \widehat{gh}=\widehat{g}*\widehat{h} g h = g ∗ h without a factor of N N N . Therefore
( ϕ ^ ∗ ϕ ψ ^ ∗ ψ ^ ) ( z ) = ϕ ⋅ ( ϕ ψ ) ⋅ ψ ^ ( z ) = ϕ 2 ψ 2 ^ ( z ) = 1 ^ ( z ) = 1 z = 0 . (\widehat{\phi}*\widehat{\phi\psi}*\widehat{\psi})(z)=\widehat{\phi\cdot(\phi\psi)\cdot\psi}(z)=\widehat{\phi^2\psi^2}(z)=\widehat{\mathbf{1}}(z)=\mathbf{1}_{z=0}. ( ϕ ∗ ϕ ψ ∗ ψ ) ( z ) = ϕ ⋅ ( ϕ ψ ) ⋅ ψ ( z ) = ϕ 2 ψ 2 ( z ) = 1 ( z ) = 1 z = 0 .
Hence H ⊗ n W 6 H ⊗ n = σ I H^{\otimes n}W_6H^{\otimes n}=\sigma I H ⊗ n W 6 H ⊗ n = σ I , so W 6 = σ I W_6=\sigma I W 6 = σ I and T 6 = N − 1 Tr ( W 6 ) = σ T_6=N^{-1}\operatorname{Tr}(W_6)=\sigma T 6 = N − 1 Tr ( W 6 ) = σ .
Proof of Proposition 4.3. Right-multiplying W 6 = σ I W_6=\sigma I W 6 = σ I by H ⊗ n H^{\otimes n} H ⊗ n gives
D f 1 H ⊗ n ⋯ D f 6 = σ H ⊗ n . D_{f_1}H^{\otimes n}\cdots D_{f_6}=\sigma H^{\otimes n}. D f 1 H ⊗ n ⋯ D f 6 = σ H ⊗ n .
Diagonal matrices commute, so D Q f 1 = D Q D f 1 D_Qf_1=D_QD_{f_1} D Q f 1 = D Q D f 1 and D Q f 6 = D f 6 D Q D_Qf_6=D_{f_6}D_Q D Q f 6 = D f 6 D Q . Substituting (4.2) into (1.1) yields
T 7 ( g 1 , … , g 7 ) = 1 N Tr ( D Q ( D f 1 H ⊗ n ⋯ D f 6 ) D Q H ⊗ n D Q χ η H ⊗ n ) = σ N Tr ( D Q H ⊗ n D Q H ⊗ n D Q χ η H ⊗ n ) = σ T 3 ( Q , Q , Q χ η ) . \begin{aligned}
T_7(g_1,\ldots,g_7)
&=\frac{1}{N}\operatorname{Tr}(D_Q(D_{f_1}H^{\otimes n}\cdots D_{f_6})D_QH^{\otimes n}D_{Q\chi_\eta}H^{\otimes n})\\
&=\frac{\sigma}{N}\operatorname{Tr}(D_QH^{\otimes n}D_QH^{\otimes n}D_{Q\chi_\eta}H^{\otimes n})
=\sigma T_3(Q,Q,Q\chi_\eta).
\end{aligned} T 7 ( g 1 , … , g 7 ) = N 1 Tr ( D Q ( D f 1 H ⊗ n ⋯ D f 6 ) D Q H ⊗ n D Q χ η H ⊗ n ) = N σ Tr ( D Q H ⊗ n D Q H ⊗ n D Q χ η H ⊗ n ) = σ T 3 ( Q , Q , Q χ η ) .
Set S : = diag ( 1 , i ) S:=\operatorname{diag}(1,i) S := diag ( 1 , i ) and ω : = ( 1 − i ) / 2 = e − i π / 4 / 2 \omega:=(1-i)/2=e^{-i\pi/4}/\sqrt{2} ω := ( 1 − i ) /2 = e − iπ /4 / 2 . Checking w w w mod 4 gives
( − 1 ) ( w 2 ) = ω i w + ω ‾ ( − i ) w , ( − 1 ) ( w 2 ) + w = ω ‾ i w + ω ( − i ) w . (-1)^{\binom{w}{2}}=\omega i^w+\overline{\omega}(-i)^w,\qquad(-1)^{\binom{w}{2}+w}=\overline{\omega}i^w+\omega(-i)^w. ( − 1 ) ( 2 w ) = ω i w + ω ( − i ) w , ( − 1 ) ( 2 w ) + w = ω i w + ω ( − i ) w .
Consequently,
D Q = ω S ⊗ n + ω ˉ ( S † ) ⊗ n , D Q χ 1 n = ω ˉ S ⊗ n + ω ( S † ) ⊗ n . D_Q=\omega S^{\otimes n}+\bar{\omega}(S^\dagger)^{\otimes n},\qquad D_{Q\chi_{1^n}}=\bar{\omega}S^{\otimes n}+\omega(S^\dagger)^{\otimes n}. D Q = ω S ⊗ n + ω ˉ ( S † ) ⊗ n , D Q χ 1 n = ω ˉ S ⊗ n + ω ( S † ) ⊗ n .
Direct 2 × 2 2\times2 2 × 2 multiplication gives
( S H ) 3 = e i π / 4 I , ( S † H ) 3 = e − i π / 4 I , Tr ( ( S H ) 2 S † H ) = Tr ( ( S † H ) 2 S H ) = 0. (SH)^3=e^{i\pi/4}I,\qquad(S^\dagger H)^3=e^{-i\pi/4}I,\qquad\operatorname{Tr}((SH)^2S^\dagger H)=\operatorname{Tr}((S^\dagger H)^2SH)=0. ( S H ) 3 = e iπ /4 I , ( S † H ) 3 = e − iπ /4 I , Tr (( S H ) 2 S † H ) = Tr (( S † H ) 2 S H ) = 0.
Cyclicity of the trace makes every mixed three-factor product vanish. Expanding the eight tensor-power terms leaves only the all-S S S and all-S † S^\dagger S † terms. Thus
T 3 ( Q , Q , Q ) = ω 3 e i n π / 4 + ω ˉ 3 e − i n π / 4 = 1 2 cos ( ( n − 3 ) π 4 ) , T_3(Q,Q,Q)=\omega^3e^{in\pi/4}+\bar{\omega}^3e^{-in\pi/4}=\frac{1}{\sqrt{2}}\cos\left(\frac{(n-3)\pi}{4}\right), T 3 ( Q , Q , Q ) = ω 3 e inπ /4 + ω ˉ 3 e − inπ /4 = 2 1 cos ( 4 ( n − 3 ) π ) ,
and
T 3 ( Q , Q , Q χ 1 n ) = ω 2 ω ˉ e i n π / 4 + ω ˉ 2 ω e − i n π / 4 = 1 2 cos ( ( n − 1 ) π 4 ) . T_3(Q,Q,Q\chi_{1^n})=\omega^2\bar{\omega}e^{in\pi/4}+\bar{\omega}^2\omega e^{-in\pi/4}=\frac{1}{\sqrt{2}}\cos\left(\frac{(n-1)\pi}{4}\right). T 3 ( Q , Q , Q χ 1 n ) = ω 2 ω ˉ e inπ /4 + ω ˉ 2 ω e − inπ /4 = 2 1 cos ( 4 ( n − 1 ) π ) .
For even n n n , η = 0 \eta=0 η = 0 and ∣ cos ( ( n − 3 ) π / 4 ) ∣ = 1 / 2 \left|\cos((n-3)\pi/4)\right|=1/\sqrt{2} ∣ cos (( n − 3 ) π /4 ) ∣ = 1/ 2 , so ∣ c n ∣ = 1 / 2 |c_n|=1/2 ∣ c n ∣ = 1/2 . For n ≡ 3 ( m o d 4 ) n\equiv3\pmod4 n ≡ 3 ( mod 4 ) , the same formula has absolute cosine 1 1 1 , so ∣ c n ∣ = 1 / 2 |c_n|=1/\sqrt{2} ∣ c n ∣ = 1/ 2 . For n ≡ 1 ( m o d 4 ) n\equiv1\pmod4 n ≡ 1 ( mod 4 ) , η = 1 n \eta=1_n η = 1 n and ∣ cos ( ( n − 1 ) π / 4 ) ∣ = 1 \left|\cos((n-1)\pi/4)\right|=1 ∣ cos (( n − 1 ) π /4 ) ∣ = 1 , again ∣ c n ∣ = 1 / 2 |c_n|=1/\sqrt{2} ∣ c n ∣ = 1/ 2 .
Proof of the matching-certificate coupling
Proof of Lemma 4.5. Condition on ( L , α , β , ϕ , ψ ) (L,\alpha,\beta,\phi,\psi) ( L , α , β , ϕ , ψ ) and the algorithm’s randomness, making the algorithm deterministic; average at the end. Set s : = ∣ F 2 n / M ∣ = ∣ L ∣ s:=|\mathbb{F}_2^n/M|=|L| s := ∣ F 2 n / M ∣ = ∣ L ∣ , and write σ = ( − 1 ) σ ~ \sigma=(-1)^{\tilde{\sigma}} σ = ( − 1 ) σ ~ , A ( u ) = ( − 1 ) a ~ u A(u)=(-1)^{\tilde{a}_u} A ( u ) = ( − 1 ) a ~ u , and B ( v ) = ( − 1 ) b ~ v B(v)=(-1)^{\tilde{b}_v} B ( v ) = ( − 1 ) b ~ v over F 2 \mathbb{F}_2 F 2 , with ( a ~ , b ~ ) (\tilde{a},\tilde{b}) ( a ~ , b ~ ) uniform on F 2 2 s \mathbb{F}_2^{2s} F 2 2 s and independent of σ ~ \tilde{\sigma} σ ~ .
Two f 6 f_6 f 6 -queries have equal left endpoints if and only if their locations differ by an element of M M M , which happens if and only if their right endpoints agree. The bijection v ( u ) = u + [ α + β ] M v(u)=u+[\alpha+\beta]M v ( u ) = u + [ α + β ] M therefore makes distinct queried edges vertex-disjoint. Every vertex incident to a nonempty set F F F of distinct queried edges has degree 1. An odd F F F has even degree at every unexposed vertex if and only if every edge in F F F is aligned, and such an F F F exists if and only if one aligned edge exists. Hence E o d d = E a l i g n \mathcal{E}_{\mathrm{odd}}=\mathcal{E}_{\mathrm{align}} E odd = E align .
Couple σ ~ = 0 \tilde{\sigma}=0 σ ~ = 0 and σ ~ = 1 \tilde{\sigma}=1 σ ~ = 1 online, stopping immediately before reading the answer to the first query whose location triggers E a l i g n \mathcal{E}_{\mathrm{align}} E align . Shift-channel answers are fixed by ( L , α , β , ϕ , ψ ) (L,\alpha,\beta,\phi,\psi) ( L , α , β , ϕ , ψ ) and are identical. Queries to f 2 ( x 2 ) f_2(x_2) f 2 ( x 2 ) , f 4 ( x 4 ) f_4(x_4) f 4 ( x 4 ) , and f 6 ( z ) f_6(z) f 6 ( z ) observe
a ~ [ x 2 ] M , b ~ [ x 4 ] M , σ ~ + a ~ [ z + α ] M + b ~ [ z + β ] M . \tilde{a}_{[x_2]_M},\qquad\tilde{b}_{[x_4]_M},\qquad\tilde{\sigma}+\tilde{a}_{[z+\alpha]_M}+\tilde{b}_{[z+\beta]_M}. a ~ [ x 2 ] M , b ~ [ x 4 ] M , σ ~ + a ~ [ z + α ] M + b ~ [ z + β ] M .
Repeated queries repeat answers. Before alignment, each block ( a ~ u , b ~ v ( u ) ) (\tilde{a}_u,\tilde{b}_{v(u)}) ( a ~ u , b ~ v ( u ) ) has at most two of its three forms queried, and any two forms have independent mask components. Distinct blocks use disjoint variables. Thus every fresh coset answer is uniform conditioned on previous answers and has the same law under both signs. Feeding the same fresh sign to both executions keeps transcripts identical through step t − 1 t-1 t − 1 . Both executions therefore issue the same query at step t t t , and E a l i g n \mathcal{E}_{\mathrm{align}} E align depends only on query locations and ( L , α , β ) (L,\alpha,\beta) ( L , α , β ) , so they trigger it together. Hence P + [ E a l i g n ] = P − [ E a l i g n ] \mathbb{P}_+[\mathcal{E}_{\mathrm{align}}]=\mathbb{P}_-[\mathcal{E}_{\mathrm{align}}] P + [ E align ] = P − [ E align ] , and TV ( Transcript + , Transcript − ) ≤ P [ E a l i g n ] \operatorname{TV}(\operatorname{Transcript}_+,\operatorname{Transcript}_-)\leq\mathbb{P}[\mathcal{E}_{\mathrm{align}}] TV ( Transcript + , Transcript − ) ≤ P [ E align ] .
Proof of the deferred-f 6 f_6 f 6 alignment bound (Part 1)
Proof of Proposition 4.6, Part 1. Let R R R be independent of the ensemble. Under the deferred-f 6 f_6 f 6 hypothesis, all queries to f 1 , … , f 5 f_1,\ldots,f_5 f 1 , … , f 5 are answered and Q 6 Q_6 Q 6 is fixed before any f 6 f_6 f 6 answer. Let Y Y Y be the ordered shift-channel record and ( Y 2 , Y 4 ) (Y_2,Y_4) ( Y 2 , Y 4 ) the ordered mask-channel record, including step indices, query points, and answers. For fixed ( L , R , α , β , ϕ , ψ , A , B ) (L,R,\alpha,\beta,\phi,\psi,A,B) ( L , R , α , β , ϕ , ψ , A , B ) , the record occurs if and only if:
1 a l g ( R , Y , Y 2 , Y 4 ) = 1 \mathbf{1}_{\mathrm{alg}}(R,Y,Y_2,Y_4)=1 1 alg ( R , Y , Y 2 , Y 4 ) = 1 , meaning simulation with R R R reproduces the recorded queries;
(ii) 1 Y ( α , β , ϕ , ψ ) = 1 \mathbf{1}_Y(\alpha,\beta,\phi,\psi)=1 1 Y ( α , β , ϕ , ψ ) = 1 , meaning the shift oracles agree with Y Y Y ;
(iii) 1 Y 2 , Y 4 ( A , B ) = 1 \mathbf{1}_{Y_2,Y_4}(A,B)=1 1 Y 2 , Y 4 ( A , B ) = 1 , meaning the mask oracles agree with ( Y 2 , Y 4 ) (Y_2,Y_4) ( Y 2 , Y 4 ) .
Conditional independence of ( A , B ) (A,B) ( A , B ) and ( α , β , ϕ , ψ ) (\alpha,\beta,\phi,\psi) ( α , β , ϕ , ψ ) given L L L yields
P [ Y , Y 2 , Y 4 ∣ L , R , α , β , ϕ , ψ ] = 1 alg ( R , Y , Y 2 , Y 4 ) P A , B ∣ L [ 1 Y 2 , Y 4 ( A , B ) = 1 ] 1 Y ( α , β , ϕ , ψ ) . \mathbb{P}[Y,Y_2,Y_4\mid L,R,\alpha,\beta,\phi,\psi]
= \mathbf{1}_{\operatorname{alg}}(R,Y,Y_2,Y_4)\mathbb{P}_{A,B\mid L}[\mathbf{1}_{Y_2,Y_4}(A,B)=1]\mathbf{1}_Y(\alpha,\beta,\phi,\psi). P [ Y , Y 2 , Y 4 ∣ L , R , α , β , ϕ , ψ ] = 1 alg ( R , Y , Y 2 , Y 4 ) P A , B ∣ L [ 1 Y 2 , Y 4 ( A , B ) = 1 ] 1 Y ( α , β , ϕ , ψ ) .
Only the last factor depends on ( α , β , ϕ , ψ ) (\alpha,\beta,\phi,\psi) ( α , β , ϕ , ψ ) . Bayes’ rule therefore gives, almost surely on admissible records,
P [ ( α ˉ , β ˉ ) = ( a , b ) ∣ L , R , Y , Y 2 , Y 4 ] = P [ ( α ˉ , β ˉ ) = ( a , b ) ∣ L , Y ] = : π L , Y ( a , b ) . \mathbb{P}[(\bar{\alpha},\bar{\beta})=(a,b)\mid L,R,Y,Y_2,Y_4]
=\mathbb{P}[(\bar{\alpha},\bar{\beta})=(a,b)\mid L,Y]
=:\pi_{L,Y}(a,b). P [( α ˉ , β ˉ ) = ( a , b ) ∣ L , R , Y , Y 2 , Y 4 ] = P [( α ˉ , β ˉ ) = ( a , b ) ∣ L , Y ] =: π L , Y ( a , b ) .
The sets Q 2 , Q 4 , Q 6 Q_2,Q_4,Q_6 Q 2 , Q 4 , Q 6 are deterministic functions of ( R , Y , Y 2 , Y 4 ) (R,Y,Y_2,Y_4) ( R , Y , Y 2 , Y 4 ) . Each triple ( x 2 , x 4 , z ) (x_2,x_4,z) ( x 2 , x 4 , z ) aligns only on the single point ( [ x 2 + z ] M , [ x 4 + z ] M ) ([x_2+z]_M,[x_4+z]_M) ([ x 2 + z ] M , [ x 4 + z ] M ) , whose conditional probability is at most ρ ( L , Y ) \rho(L,Y) ρ ( L , Y ) . A union bound over at most q 2 q 4 q 6 q_2q_4q_6 q 2 q 4 q 6 triples gives
P [ E align ∣ L , R , Y , Y 2 , Y 4 ] ≤ min { 1 , q 2 q 4 q 6 ρ ( L , Y ) } . \mathbb{P}[\mathcal{E}_{\operatorname{align}}\mid L,R,Y,Y_2,Y_4]
\le\min\{1,q_2q_4q_6\rho(L,Y)\}. P [ E align ∣ L , R , Y , Y 2 , Y 4 ] ≤ min { 1 , q 2 q 4 q 6 ρ ( L , Y )} .
Taking expectations over ( R , Y 2 , Y 4 ) (R,Y_2,Y_4) ( R , Y 2 , Y 4 ) conditioned on ( L , Y ) (L,Y) ( L , Y ) proves Part 1.
Fix L ≤ F 2 n L\le\mathbb{F}_2^n L ≤ F 2 n and M = L ⊥ M=L^\perp M = L ⊥ , and fix the shift-channel query pattern Q Q Q of a transcript Y Y Y . Index query rows by disjoint sets I 1 , I 3 , I 5 I_1,I_3,I_5 I 1 , I 3 , I 5 , one row per query without collapsing repeated points, and write ∣ Q ∣ = ∣ I 1 ∣ + ∣ I 3 ∣ + ∣ I 5 ∣ |Q|=|I_1|+|I_3|+|I_5| ∣ Q ∣ = ∣ I 1 ∣ + ∣ I 3 ∣ + ∣ I 5 ∣ . Encode signs by ( − 1 ) b (-1)^b ( − 1 ) b and write ϕ ( x ) = ( − 1 ) ϕ ~ ( [ x ] L ) \phi(x)=(-1)^{\widetilde{\phi}([x]_L)} ϕ ( x ) = ( − 1 ) ϕ ([ x ] L ) , ψ ( x ) = ( − 1 ) ψ ~ ( [ x ] L ) \psi(x)=(-1)^{\widetilde{\psi}([x]_L)} ψ ( x ) = ( − 1 ) ψ ([ x ] L ) . The response bits satisfy
y i = α ⋅ x i + ϕ ~ ( [ x i ] L ) ( i ∈ I 1 ) , y i = ( α + β ) ⋅ x i + ϕ ~ ( [ x i ] L ) + ψ ~ ( [ x i ] L ) ( i ∈ I 3 ) , y i = β ⋅ x i + ψ ~ ( [ x i ] L ) ( i ∈ I 5 ) . \begin{aligned}
y_i&=\alpha\cdot x_i+\widetilde{\phi}([x_i]_L) &&(i\in I_1),\\
y_i&=(\alpha+\beta)\cdot x_i+\widetilde{\phi}([x_i]_L)+\widetilde{\psi}([x_i]_L) &&(i\in I_3),\\
y_i&=\beta\cdot x_i+\widetilde{\psi}([x_i]_L) &&(i\in I_5).
\end{aligned} y i y i y i = α ⋅ x i + ϕ ([ x i ] L ) = ( α + β ) ⋅ x i + ϕ ([ x i ] L ) + ψ ([ x i ] L ) = β ⋅ x i + ψ ([ x i ] L ) ( i ∈ I 1 ) , ( i ∈ I 3 ) , ( i ∈ I 5 ) .
Collecting responses into y y y and mask bits into w m a s k w_{\mathrm{mask}} w mask gives
y = P ( Q ) ( α , β ) + M L ( Q ) w m a s k over F 2 . y=P(Q)(\alpha,\beta)+M_L(Q)w_{\mathrm{mask}}\qquad\text{over }\mathbb{F}_2. y = P ( Q ) ( α , β ) + M L ( Q ) w mask over F 2 .
Let K L ( Q ) K_L(Q) K L ( Q ) have rows forming a basis of ker ( M L ( Q ) T ) \ker(M_L(Q)^{\mathsf T}) ker ( M L ( Q ) T ) , with r : = dim ker ( M L ( Q ) T ) = ∣ Q ∣ − rank F 2 ( M L ( Q ) ) r:=\dim\ker(M_L(Q)^{\mathsf T})=|Q|-\operatorname{rank}_{\mathbb{F}_2}(M_L(Q)) r := dim ker ( M L ( Q ) T ) = ∣ Q ∣ − rank F 2 ( M L ( Q )) .
For λ ∈ ker ( M L ( Q ) T ) \lambda\in\ker(M_L(Q)^{\mathsf T}) λ ∈ ker ( M L ( Q ) T ) , the coefficient of ϕ ~ ( C ) \widetilde{\phi}(C) ϕ ( C ) on any coset C C C is an even sum of selected rows from I 1 ⊔ I 3 I_1\sqcup I_3 I 1 ⊔ I 3 . Since an even sum of vectors from one L L L -coset lies in L L L , the coefficient u λ : = ∑ i ∈ I 1 ⊔ I 3 λ i x i u_\lambda:=\sum_{i\in I_1\sqcup I_3}\lambda_i x_i u λ := ∑ i ∈ I 1 ⊔ I 3 λ i x i of α \alpha α lies in L L L . Similarly, the coefficient v λ v_\lambda v λ of β \beta β lies in L L L . Thus λ T P ( Q ) ( α , β ) \lambda^{\mathsf T}P(Q)(\alpha,\beta) λ T P ( Q ) ( α , β ) depends only on ( α ˉ , β ˉ ) (\bar{\alpha},\bar{\beta}) ( α ˉ , β ˉ ) , and K L ( Q ) P ( Q ) K_L(Q)P(Q) K L ( Q ) P ( Q ) factors through a map P ‾ ( Q ) : ( F 2 n / M ) 2 → F 2 r \overline{P}(Q):(\mathbb{F}_2^n/M)^2\to\mathbb{F}_2^r P ( Q ) : ( F 2 n / M ) 2 → F 2 r . Define
rk ( L , Q ) : = rank F 2 ( P ‾ ( Q ) ) ≤ r , \operatorname{rk}(L,Q):=\operatorname{rank}_{\mathbb{F}_2}(\overline{P}(Q))\le r, rk ( L , Q ) := rank F 2 ( P ( Q )) ≤ r ,
with rk ( L , Q ) = 0 \operatorname{rk}(L,Q)=0 rk ( L , Q ) = 0 when r = 0 r=0 r = 0 . Every realized transcript satisfies the consistent system
P ‾ ( Q ) ( α ˉ , β ˉ ) = K L ( Q ) y . (13) \overline{P}(Q)(\bar{\alpha},\bar{\beta})=K_L(Q)y. \tag*{(13)} P ( Q ) ( α ˉ , β ˉ ) = K L ( Q ) y . (13)
Affine posterior peak (Part 2)
Proof of Proposition 4.6, Part 2. Fix ( L , Y ) (L,Y) ( L , Y ) in the uniform-shift ensemble. By the factorization in Section A.5, the conditional probability of ( α , β ) (\alpha,\beta) ( α , β ) is proportional to the number of mask vectors satisfying M L ( Q ) w m a s k = y + P ( Q ) ( α , β ) M_L(Q)w_{\mathrm{mask}}=y+P(Q)(\alpha,\beta) M L ( Q ) w mask = y + P ( Q ) ( α , β ) . The system is consistent exactly when K L ( Q ) ( y + P ( Q ) ( α , β ) ) = 0 K_L(Q)(y+P(Q)(\alpha,\beta))=0 K L ( Q ) ( y + P ( Q ) ( α , β )) = 0 , and every consistent right-hand side has the same number of solutions. The prior on ( α ˉ , β ˉ ) (\bar{\alpha},\bar{\beta}) ( α ˉ , β ˉ ) is uniform on ( F 2 n / M ) 2 (\mathbb{F}_2^n/M)^2 ( F 2 n / M ) 2 , of size s 2 s^2 s 2 . Therefore the posterior is uniform on the affine solution set of (A.1). Since that system is consistent and P ‾ ( Q ) \overline{P}(Q) P ( Q ) has rank rk ( L , Y ) \operatorname{rk}(L,Y) rk ( L , Y ) , the solution set has cardinality s 2 / 2 rk ( L , Y ) s^2/2^{\operatorname{rk}(L,Y)} s 2 / 2 rk ( L , Y ) . Hence ρ ( L , Y ) = 2 rk ( L , Y ) / s 2 \rho(L,Y)=2^{\operatorname{rk}(L,Y)}/s^2 ρ ( L , Y ) = 2 rk ( L , Y ) / s 2 , and Part 1 gives
P [ E a l i g n ∣ L , Y ] ≤ min { 1 , q 2 q 4 q 6 2 rk ( L , Y ) s 2 } . \mathbb{P}[\mathcal{E}_{\mathrm{align}}\mid L,Y]\leq\min\left\{1,\frac{q_2q_4q_6 2^{\operatorname{rk}(L,Y)}}{s^2}\right\}. P [ E align ∣ L , Y ] ≤ min { 1 , s 2 q 2 q 4 q 6 2 rk ( L , Y ) } .
The adaptive upper bound (full algorithm)
Throughout this appendix, fix n ≥ 1 n\geq1 n ≥ 1 , N : = 2 n N:=2^n N := 2 n , a subspace L ≤ F 2 n L\leq\mathbb{F}_2^n L ≤ F 2 n with M : = L ⊥ M:=L^\perp M := L ⊥ , and sizes s : = ∣ L ∣ = ∣ F 2 n / M ∣ s:=|L|=|\mathbb{F}_2^n/M| s := ∣ L ∣ = ∣ F 2 n / M ∣ and t : = ∣ M ∣ = ∣ F 2 n / L ∣ = N / s t:=|M|=|\mathbb{F}_2^n/L|=N/s t := ∣ M ∣ = ∣ F 2 n / L ∣ = N / s , so s t = N st=N s t = N . For a Boolean function g g g , let Per ( g ) : = { v ∈ F 2 n : g ( x + v ) = g ( x ) ∀ x } \operatorname{Per}(g):=\{v\in\mathbb{F}_2^n:g(x+v)=g(x)\ \forall x\} Per ( g ) := { v ∈ F 2 n : g ( x + v ) = g ( x ) ∀ x } and define
M e f f : = Per ( f 2 ) ∩ Per ( f 4 ) = Per ( A ) ∩ Per ( B ) , L e f f : = M e f f ⊥ . M_{\mathrm{eff}}:=\operatorname{Per}(f_2)\cap\operatorname{Per}(f_4)=\operatorname{Per}(A)\cap\operatorname{Per}(B),\qquad L_{\mathrm{eff}}:=M_{\mathrm{eff}}^\perp. M eff := Per ( f 2 ) ∩ Per ( f 4 ) = Per ( A ) ∩ Per ( B ) , L eff := M eff ⊥ .
Because A , B A,B A , B are M M M -periodic, M ⊆ M e f f M\subseteq M_{\mathrm{eff}} M ⊆ M eff and L e f f ⊆ L L_{\mathrm{eff}}\subseteq L L eff ⊆ L .
Exact decoding and period-testing lemmas
Lemma B.1 (Exact decoding from a sandwiched period subspace or coset pair). Let ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) be any realization of (11) .
Part 1 (Sandwiched period subspace). If a known subspace M ′ ≤ F 2 n M'\leq\mathbb{F}_2^n M ′ ≤ F 2 n satisfies M ⊆ M ′ ⊆ M e f f M\subseteq M'\subseteq M_{\mathrm{eff}} M ⊆ M ′ ⊆ M eff , equivalently L e f f ⊆ L ′ ⊆ L L_{\mathrm{eff}}\subseteq L'\subseteq L L eff ⊆ L ′ ⊆ L for L ′ : = ( M ′ ) ⊥ L':=(M')^\perp L ′ := ( M ′ ) ⊥ , then σ \sigma σ is computed exactly with at most 2 n + 5 2n+5 2 n + 5 further queries.
Part 2 (Certified coset pair). If M ′ ⊆ M e f f M'\subseteq M_{\mathrm{eff}} M ′ ⊆ M eff and a pair ( w , w ′ ) ∈ ( α + M ′ ) × ( β + M ′ ) (w,w')\in(\alpha+M')\times(\beta+M') ( w , w ′ ) ∈ ( α + M ′ ) × ( β + M ′ ) is known, then σ \sigma σ is computed exactly with 3 3 3 queries.
Proof. For Part 1, let d : = dim L ′ ≤ n d:=\dim L'\leq n d := dim L ′ ≤ n . Since L e f f ⊆ L ′ ⊆ L L_{\mathrm{eff}}\subseteq L'\subseteq L L eff ⊆ L ′ ⊆ L , ϕ , ψ \phi,\psi ϕ , ψ are constant on L ′ L' L ′ -cosets. Choose a basis ℓ 1 , … , ℓ d \ell_1,\ldots,\ell_d ℓ 1 , … , ℓ d of L ′ L' L ′ (empty if d = 0 d=0 d = 0 ). Query f 1 ( 0 ) , f 5 ( 0 ) f_1(0),f_5(0) f 1 ( 0 ) , f 5 ( 0 ) and f 1 ( ℓ i ) , f 5 ( ℓ i ) f_1(\ell_i),f_5(\ell_i) f 1 ( ℓ i ) , f 5 ( ℓ i ) . Then
f 1 ( 0 ) f 1 ( ℓ i ) = ( − 1 ) α ⋅ ℓ i , f 5 ( 0 ) f 5 ( ℓ i ) = ( − 1 ) β ⋅ ℓ i . f_1(0)f_1(\ell_i)=(-1)^{\alpha\cdot\ell_i},\qquad f_5(0)f_5(\ell_i)=(-1)^{\beta\cdot\ell_i}. f 1 ( 0 ) f 1 ( ℓ i ) = ( − 1 ) α ⋅ ℓ i , f 5 ( 0 ) f 5 ( ℓ i ) = ( − 1 ) β ⋅ ℓ i .
Solving these consistent systems gives α 0 , β 0 \alpha_0,\beta_0 α 0 , β 0 with α 0 + α ∈ ( L ′ ) ⊥ = M ′ \alpha_0+\alpha\in(L')^\perp=M' α 0 + α ∈ ( L ′ ) ⊥ = M ′ and β 0 + β ∈ M ′ \beta_0+\beta\in M' β 0 + β ∈ M ′ . Querying f 2 ( α 0 ) , f 4 ( β 0 ) , f 6 ( 0 ) f_2(\alpha_0),f_4(\beta_0),f_6(0) f 2 ( α 0 ) , f 4 ( β 0 ) , f 6 ( 0 ) gives
f 2 ( α 0 ) f 4 ( β 0 ) f 6 ( 0 ) = A ( α 0 ) B ( β 0 ) σ A ( α ) B ( β ) = σ , f_2(\alpha_0)f_4(\beta_0)f_6(0)=A(\alpha_0)B(\beta_0)\sigma A(\alpha)B(\beta)=\sigma, f 2 ( α 0 ) f 4 ( β 0 ) f 6 ( 0 ) = A ( α 0 ) B ( β 0 ) σ A ( α ) B ( β ) = σ ,
because α 0 + α ∈ Per ( A ) \alpha_0+\alpha\in\operatorname{Per}(A) α 0 + α ∈ Per ( A ) and β 0 + β ∈ Per ( B ) \beta_0+\beta\in\operatorname{Per}(B) β 0 + β ∈ Per ( B ) . The total is 2 d + 2 + 3 ≤ 2 n + 5 2d+2+3\leq2n+5 2 d + 2 + 3 ≤ 2 n + 5 . For Part 2, w + α ∈ M ′ ⊆ Per ( A ) w+\alpha\in M'\subseteq\operatorname{Per}(A) w + α ∈ M ′ ⊆ Per ( A ) and w ′ + β ∈ M ′ ⊆ Per ( B ) w'+\beta\in M'\subseteq\operatorname{Per}(B) w ′ + β ∈ M ′ ⊆ Per ( B ) , so f 2 ( w ) f 4 ( w ′ ) f 6 ( 0 ) = σ f_2(w)f_4(w')f_6(0)=\sigma f 2 ( w ) f 4 ( w ′ ) f 6 ( 0 ) = σ .
Here we introduce the heavy Fourier-coefficient recovery theorem of Goldreich and Levin [3 ] .
Fact B.2 (Goldreich–Levin heavy-coefficient recovery; [3 ] ). For every n ≥ 1 n\geq1 n ≥ 1 , Boolean function g : F 2 n → { − 1 , + 1 } g:\mathbb{F}_2^n\to\{-1,+1\} g : F 2 n → { − 1 , + 1 } , threshold τ ∈ ( 0 , 1 ] \tau\in(0,1] τ ∈ ( 0 , 1 ] , and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , there is a randomized query algorithm GoldreichLevin ( g , τ , δ ) \operatorname{GoldreichLevin}(g,\tau,\delta) GoldreichLevin ( g , τ , δ ) making poly ( n , 1 / τ , log ( 1 / δ ) ) \operatorname{poly}(n,1/\tau,\log(1/\delta)) poly ( n , 1/ τ , log ( 1/ δ )) queries and, with probability at least 1 − δ 1-\delta 1 − δ , outputting a list Λ ⊆ F 2 n \Lambda\subseteq\mathbb{F}_2^n Λ ⊆ F 2 n of size poly ( n , 1 / τ , log ( 1 / δ ) ) \operatorname{poly}(n,1/\tau,\log(1/\delta)) poly ( n , 1/ τ , log ( 1/ δ )) containing every ξ \xi ξ with ∣ g ^ ( ξ ) ∣ ≥ τ |\widehat{g}(\xi)|\geq\tau ∣ g ( ξ ) ∣ ≥ τ .
The three tests are
T A ( v ) : x ∼ Unif ( F 2 n ) , accept iff f 2 ( x ) = f 2 ( x + v ) , T B ( v ) : x ∼ Unif ( F 2 n ) , accept iff f 4 ( x ) = f 4 ( x + v ) , D ℓ : x , x ′ ∼ Unif ( F 2 n ) independently , accept iff f 1 ( x ) f 1 ( x + ℓ ) = f 1 ( x ′ ) f 1 ( x ′ + ℓ ) . \begin{aligned}
T_A(v)&:\quad x \sim\operatorname{Unif}(\mathbb{F}_2^n),\quad\text{accept iff } f_2(x)=f_2(x+v),\\
T_B(v)&:\quad x \sim\operatorname{Unif}(\mathbb{F}_2^n),\quad\text{accept iff } f_4(x)=f_4(x+v),\\
D_\ell&:\quad x,x' \sim\operatorname{Unif}(\mathbb{F}_2^n)\text{ independently},\quad\text{accept iff } f_1(x)f_1(x+\ell)=f_1(x')f_1(x'+\ell).
\end{aligned} T A ( v ) T B ( v ) D ℓ : x ∼ Unif ( F 2 n ) , accept iff f 2 ( x ) = f 2 ( x + v ) , : x ∼ Unif ( F 2 n ) , accept iff f 4 ( x ) = f 4 ( x + v ) , : x , x ′ ∼ Unif ( F 2 n ) independently , accept iff f 1 ( x ) f 1 ( x + ℓ ) = f 1 ( x ′ ) f 1 ( x ′ + ℓ ) .
The first two cost two queries each; D ℓ D_\ell D ℓ costs four.
Lemma B.3 (Per-trial rejection probabilities). Let ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) be drawn from the uniform-shift ensemble.
Part 1. Every v ∈ M e f f v \in M_{\mathrm{eff}} v ∈ M eff passes T A , T B T_A,T_B T A , T B with probability 1. Every v ∉ M e f f v \notin M_{\mathrm{eff}} v ∈ / M eff is rejected by the pair with probability at least 2 / s 2/s 2/ s per trial.
Part 2. Every ℓ ∈ L \ell\in L ℓ ∈ L passes D ℓ D_\ell D ℓ with probability 1. For fixed ℓ ∉ L \ell\notin L ℓ ∈ / L , write q ℓ ( x ) : = ϕ ( x ) ϕ ( x + ℓ ) q_\ell(x):=\phi(x)\phi(x+\ell) q ℓ ( x ) := ϕ ( x ) ϕ ( x + ℓ ) and p + ( ℓ ) : = P x [ q ℓ ( x ) = + 1 ] p_+(\ell):=\mathbb{P}_x[q_\ell(x)=+1] p + ( ℓ ) := P x [ q ℓ ( x ) = + 1 ] . With probability at least 1 − 2 e − t / 16 1-2e^{-t/16} 1 − 2 e − t /16 over ϕ \phi ϕ , p + ( ℓ ) ∈ [ 1 / 4 , 3 / 4 ] p_+(\ell)\in[1/4,3/4] p + ( ℓ ) ∈ [ 1/4 , 3/4 ] , and then D ℓ D_\ell D ℓ rejects with probability at least 3 / 8 > 1 / 4 3/8>1/4 3/8 > 1/4 .
Proof. For Part 1, if v ∉ M e f f v \notin M_{\mathrm{eff}} v ∈ / M eff , at least one mask, say A A A , has A ( x 0 ) ≠ A ( x 0 + v ) A(x_0)\ne A(x_0+v) A ( x 0 ) = A ( x 0 + v ) for some x 0 x_0 x 0 . Since v ∉ M v\notin M v ∈ / M , the two M M M -cosets x 0 + M x_0+M x 0 + M and x 0 + v + M x_0+v+M x 0 + v + M are disjoint and each has N / s N/s N / s elements. By M M M -periodicity, every x x x in either coset has A ( x ) ≠ A ( x + v ) A(x)\ne A(x+v) A ( x ) = A ( x + v ) , so rejection probability is at least 2 / s 2/s 2/ s .
For Part 2, ℓ ∈ L \ell\in L ℓ ∈ L makes f 1 ( x ) f 1 ( x + ℓ ) = ( − 1 ) α ⋅ ℓ f_1(x)f_1(x+\ell)=(-1)^{\alpha\cdot\ell} f 1 ( x ) f 1 ( x + ℓ ) = ( − 1 ) α ⋅ ℓ independent of x x x . If ℓ ∉ L \ell\notin L ℓ ∈ / L , translation by [ ℓ ] L [\ell]_L [ ℓ ] L partitions the t t t cosets into t / 2 t/2 t /2 pairs. On each pair, q ℓ q_\ell q ℓ takes an independent uniform sign Z i Z_i Z i . Thus p + ( ℓ ) p_+(\ell) p + ( ℓ ) is the average of t / 2 t/2 t /2 independent Bernoulli( 1 / 2 ) (1/2) ( 1/2 ) variables. Hoeffding gives
P ϕ [ ∣ p + ( ℓ ) − 1 / 2 ∣ > 1 / 4 ] ≤ 2 e − 2 ( t / 2 ) ( 1 / 4 ) 2 = 2 e − t / 16 . \mathbb{P}_{\phi}\left[\left|p_+(\ell)-1/2\right|>1/4\right]\le2e^{-2(t/2)(1/4)^2}=2e^{-t/16}. P ϕ [ ∣ p + ( ℓ ) − 1/2 ∣ > 1/4 ] ≤ 2 e − 2 ( t /2 ) ( 1/4 ) 2 = 2 e − t /16 .
If p + ( ℓ ) ∈ [ 1 / 4 , 3 / 4 ] p_+(\ell)\in[1/4,3/4] p + ( ℓ ) ∈ [ 1/4 , 3/4 ] , two independent draws give equal signs with probability p + 2 + ( 1 − p + ) 2 ≤ 5 / 8 p_+^2+(1-p_+)^2\le5/8 p + 2 + ( 1 − p + ) 2 ≤ 5/8 , so rejection probability is at least 3 / 8 3/8 3/8 .
Lemma B.4 (Uniform rejection events for large s s s or large t t t ).
Part 1 (Large s s s ). If s ≥ 32 n s\ge32n s ≥ 32 n , with probability at least 1 − ( s − 1 ) e − s / 16 ≥ 1 − 32 n e − 2 n 1-(s-1)e^{-s/16}\ge1-32ne^{-2n} 1 − ( s − 1 ) e − s /16 ≥ 1 − 32 n e − 2 n over A A A , every v ∉ M v\notin M v ∈ / M is rejected by T A ( v ) T_A(v) T A ( v ) with probability at least 1 / 4 1/4 1/4 per trial. On this event Per ( A ) = M = M e f f \operatorname{Per}(A)=M=M_{\mathrm{eff}} Per ( A ) = M = M eff .
Part 2 (Large t t t ). If t ≥ 32 n t\ge32n t ≥ 32 n , with probability at least 1 − 2 ( t − 1 ) e − t / 16 ≥ 1 − 64 n e − 2 n 1-2(t-1)e^{-t/16}\ge1-64ne^{-2n} 1 − 2 ( t − 1 ) e − t /16 ≥ 1 − 64 n e − 2 n over ϕ \phi ϕ , every ℓ ∉ L \ell\notin L ℓ ∈ / L has p + ( ℓ ) ∈ [ 1 / 4 , 3 / 4 ] p_+(\ell)\in[1/4,3/4] p + ( ℓ ) ∈ [ 1/4 , 3/4 ] and D ℓ D_\ell D ℓ rejects with probability at least 3 / 8 3/8 3/8 .
Proof. For Part 1, fix v ∉ M v\notin M v ∈ / M . Translation by [ v ] M [v]_M [ v ] M partitions the s s s cosets into s / 2 s/2 s /2 pairs. Each pair independently disagrees with probability 1 / 2 1/2 1/2 , and both cosets of a disagreeing pair reject T A ( v ) T_A(v) T A ( v ) . Hence rejection probability is the average of s / 2 s/2 s /2 independent Bernoulli( 1 / 2 ) (1/2) ( 1/2 ) variables. It is below 1 / 4 1/4 1/4 with probability at most e − 2 ( s / 2 ) ( 1 / 4 ) 2 = e − s / 16 e^{-2(s/2)(1/4)^2}=e^{-s/16} e − 2 ( s /2 ) ( 1/4 ) 2 = e − s /16 . A union bound over s − 1 s-1 s − 1 nonzero cosets gives ( s − 1 ) e − s / 16 ≤ 32 n e − 2 n (s-1)e^{-s/16}\le32ne^{-2n} ( s − 1 ) e − s /16 ≤ 32 n e − 2 n for s ≥ 32 n s\ge32n s ≥ 32 n . On this event no v ∉ M v\notin M v ∈ / M belongs to Per ( A ) \operatorname{Per}(A) Per ( A ) , so Per ( A ) = M = M e f f \operatorname{Per}(A)=M=M_{\mathrm{eff}} Per ( A ) = M = M eff .
For Part 2, apply a union bound over the t − 1 t-1 t − 1 nonzero cosets to Part 2 of Lemma B.3 . The same monotonicity gives at most 64 n e − 2 n 64ne^{-2n} 64 n e − 2 n for t ≥ 32 n t\ge32n t ≥ 32 n .
Certified four-branch adaptive algorithm
Algorithm 1 does not know ( s , t ) (s,t) ( s , t ) . Branch 4 runs first and is self-certifying. If it does not return, t > 256 n 2 t>256n^2 t > 256 n 2 holds except with probability 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) , so the differential certifier applies. Candidate subspaces are decoded only after both inclusions M ′ ⊆ M e f f M'\subseteq M_{\mathrm{eff}} M ′ ⊆ M eff and M ⊆ M ′ M\subseteq M' M ⊆ M ′ are tested.
Algorithm 1: Certified four-branch adaptive recovery of σ \sigma σ .
Input: Oracle access to ( f 1 , … , f 6 ) (f_1,\ldots,f_6) ( f 1 , … , f 6 ) on F 2 n \mathbb{F}_2^n F 2 n from the uniform-shift ensemble; n ≥ 1 n \ge1 n ≥ 1 .
Output: σ ^ ∈ { − 1 , + 1 } \hat{\sigma} \in\{-1,+1\} σ ^ ∈ { − 1 , + 1 } or FAIL.
Branch 4: Set τ ← 1 / ( 16 n ) \tau\leftarrow1/(16n) τ ← 1/ ( 16 n ) , δ G L ← 2 − n \delta_{\mathrm{GL}} \leftarrow2^{-n} δ GL ← 2 − n , K e s t ← 8192 n 3 K_{\mathrm{est}} \leftarrow8192n^3 K est ← 8192 n 3 .
Run Λ 1 ← GoldreichLevin ( f 1 , τ , δ G L ) \Lambda_1 \leftarrow\operatorname{GoldreichLevin}(f_1,\tau,\delta_{\mathrm{GL}}) Λ 1 ← GoldreichLevin ( f 1 , τ , δ GL ) and Λ 5 ← GoldreichLevin ( f 5 , τ , δ G L ) \Lambda_5 \leftarrow\operatorname{GoldreichLevin}(f_5,\tau,\delta_{\mathrm{GL}}) Λ 5 ← GoldreichLevin ( f 5 , τ , δ GL ) .
For each listed ξ \xi ξ , estimate the corresponding Fourier coefficient by K e s t K_{\mathrm{est}} K est independent samples. Retain it iff the estimate has magnitude ≥ τ / 2 \ge\tau/2 ≥ τ /2 .
if both filtered lists are nonempty then
Choose w , w ′ w,w' w , w ′ from them and return f 2 ( w ) f 4 ( w ′ ) f 6 ( 0 ) f_2(w)f_4(w')f_6(0) f 2 ( w ) f 4 ( w ′ ) f 6 ( 0 ) .
end if
Branch 1: Set S 1 ← ∅ S_1 \leftarrow\varnothing S 1 ← ∅ and r ← 4 n r \leftarrow4n r ← 4 n .
for b ∈ { 2 , 4 , … , 2 ⌈ n / 4 ⌉ + 1 } b \in\{2,4,\ldots,2^{\lceil n/4\rceil+1}\} b ∈ { 2 , 4 , … , 2 ⌈ n /4 ⌉ + 1 } and trial i = 1 , … , 16 n i=1,\ldots,16n i = 1 , … , 16 n do
Draw uniform u 1 , … , u r , v 1 , … , v b u_1,\ldots,u_r,v_1,\ldots,v_b u 1 , … , u r , v 1 , … , v b and query f 2 ( u a + v j ) f_2(u_a+v_j) f 2 ( u a + v j ) for all a , j a,j a , j .
For lexicographic pairs with equal signatures ( f 2 ( u a + v j ) ) a = 1 r (f_2(u_a+v_j))_{a=1}^r ( f 2 ( u a + v j ) ) a = 1 r , testing at most n 5 n^5 n 5 candidates, test δ = v j + v j ′ \delta=v_j+v_{j'} δ = v j + v j ′ by 16 n 16n 16 n fresh T A ( δ ) T_A(\delta) T A ( δ ) trials. On the first pass, add δ \delta δ to S 1 S_1 S 1 and exit the trial.
end for
Set M 1 ← span ( S 1 ) M_1 \leftarrow\operatorname{span}(S_1) M 1 ← span ( S 1 ) .
Branch 2: Set S 2 ← ∅ S_2 \leftarrow\varnothing S 2 ← ∅ and r ← 4 n r \leftarrow4n r ← 4 n .
for b ∈ { 2 , 4 , … , 2 ⌈ n / 4 ⌉ + 1 } b \in\{2,4,\ldots,2^{\lceil n/4\rceil+1}\} b ∈ { 2 , 4 , … , 2 ⌈ n /4 ⌉ + 1 } and trial i = 1 , … , 16 n i=1,\ldots,16n i = 1 , … , 16 n do
Draw uniform u 0 , u 1 , … , u r , v 1 , … , v b u_0,u_1,\ldots,u_r,v_1,\ldots,v_b u 0 , u 1 , … , u r , v 1 , … , v b and query f 1 ( u a + v j ) f_1(u_a+v_j) f 1 ( u a + v j ) for all a , j a,j a , j .
Form Z j ← ( f 1 ( u 0 + v j ) f 1 ( u a + v j ) ) a = 1 r Z_j \leftarrow(f_1(u_0+v_j)f_1(u_a+v_j))_{a=1}^r Z j ← ( f 1 ( u 0 + v j ) f 1 ( u a + v j ) ) a = 1 r . For equal-signature pairs, testing at most n 5 n^5 n 5 candidates, test δ = v j + v j ′ \delta=v_j+v_{j'} δ = v j + v j ′ by 16 n 16n 16 n fresh D δ D_\delta D δ trials. On the first pass, add δ \delta δ to S 2 S_2 S 2 and exit the trial.
end for
Set M 2 ← ( span ( S 2 ) ) ⊥ M_2 \leftarrow(\operatorname{span}(S_2))^\perp M 2 ← ( span ( S 2 ) ) ⊥ .
Branch 3: Set S 3 ← ∅ S_3 \leftarrow\varnothing S 3 ← ∅ .
for i = 1 , … , n 4 i=1,\ldots,n^4 i = 1 , … , n 4 do
Draw uniform nonzero v v v and run 64 n 3 64n^3 64 n 3 fresh ( T A ( v ) , T B ( v ) ) (T_A(v),T_B(v)) ( T A ( v ) , T B ( v )) trials. If all pass, add v v v to S 3 S_3 S 3 .
end for
Set M 3 ← span ( S 3 ) M_3 \leftarrow\operatorname{span}(S_3) M 3 ← span ( S 3 ) .
Certification and decoding:
for M ′ ∈ { M 1 , M 2 , M 3 } M' \in\{M_1,M_2,M_3\} M ′ ∈ { M 1 , M 2 , M 3 } do
Compute bases of M ′ M' M ′ and L ′ : = ( M ′ ) ⊥ L' := (M')^\perp L ′ := ( M ′ ) ⊥ .
if every basis vector of M ′ M' M ′ passes 64 n 3 64n^3 64 n 3 fresh ( T A , T B ) (T_A,T_B) ( T A , T B ) trials and every basis vector of L ′ L' L ′ passes 16 n 16n 16 n fresh D ℓ D_\ell D ℓ trials then
return exact σ \sigma σ via Part 1 of Lemma B.1 .
end if
end for
return fail.
Complete proof of Proposition 4.7
Proof of Proposition 4.7 . We show that Algorithm 1 makes n O ( 1 ) N 1 / 4 n^{O(1)}N^{1/4} n O ( 1 ) N 1/4 queries and outputs σ \sigma σ with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) for every L L L . Assume n ≥ 512 n\ge512 n ≥ 512 ; smaller n n n are absorbed in o ( 1 ) o(1) o ( 1 ) .
Step 1: Branch 4 is sound for all ( s , t ) (s,t) ( s , t ) and complete for t ≤ 256 n 2 t\le256n^2 t ≤ 256 n 2 . By Section A.3, supp ( f 1 ^ ) ⊆ α + M \operatorname{supp}(\widehat{f_1})\subseteq\alpha+M supp ( f 1 ) ⊆ α + M and supp ( f 5 ^ ) ⊆ β + M \operatorname{supp}(\widehat{f_5})\subseteq\beta+M supp ( f 5 ) ⊆ β + M . For any listed ξ \xi ξ , each sample lies in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . With K e s t = 8192 n 3 = 32 n / τ 2 K_{\mathrm{est}}=8192n^3=32n/\tau^2 K est = 8192 n 3 = 32 n / τ 2 , Hoeffding gives
P [ ∣ μ ~ ( ξ ) − g ^ ( ξ ) ∣ ≥ τ / 4 ] ≤ 2 e − K e s t τ 2 / 32 = 2 e − n . \mathbb{P}[|\widetilde{\mu}(\xi)-\widehat{g}(\xi)|\ge\tau/4]\le2e^{-K_{\mathrm{est}}\tau^2/32}=2e^{-n}. P [ ∣ μ ( ξ ) − g ( ξ ) ∣ ≥ τ /4 ] ≤ 2 e − K est τ 2 /32 = 2 e − n .
By Fact B.2 , the lists have polynomial size, so a union bound makes all estimates accurate within τ / 4 \tau/4 τ /4 with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) . Every retained frequency then has true magnitude at least τ / 4 > 0 \tau/4>0 τ /4 > 0 and lies in the correct coset. If Branch 4 returns, Part 2 of Lemma B.1 outputs σ \sigma σ exactly.
If t ≤ 256 n 2 t\le256n^2 t ≤ 256 n 2 , Parseval over a support of size t t t gives a coefficient of magnitude at least t − 1 / 2 ≥ 1 / ( 16 n ) = τ t^{-1/2}\ge1/(16n)=\tau t − 1/2 ≥ 1/ ( 16 n ) = τ for each of f 1 , f 5 f_1,f_5 f 1 , f 5 . Fact B.2 finds both with probability at least 1 − 2 ⋅ 2 − n 1-2\cdot2^{-n} 1 − 2 ⋅ 2 − n , and the filter retains them. Thus Branch 4 succeeds with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) .
Step 2: Soundness of the universal certifier when t > 256 n 2 t>256n^2 t > 256 n 2 . Assume Branch 4 did not return. Then t > 256 n 2 t>256n^2 t > 256 n 2 except with probability 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) , so the large-t t t event of Lemma B.4 holds with probability 1 − 64 n e − 2 n 1-64ne^{-2n} 1 − 64 n e − 2 n . If s ≤ 64 n 2 s\le64n^2 s ≤ 64 n 2 , Lemma B.3 gives rejection probability at least 2 / s ≥ 1 / ( 32 n 2 ) 2/s\ge1/(32n^2) 2/ s ≥ 1/ ( 32 n 2 ) for every v ∉ M e f f v\notin M_{\mathrm{eff}} v ∈ / M eff . If s > 64 n 2 s>64n^2 s > 64 n 2 , the large-s s s event holds with probability 1 − 32 n e − 2 n 1-32ne^{-2n} 1 − 32 n e − 2 n and gives rejection probability at least 1 / 4 1/4 1/4 .
For a candidate M ′ M' M ′ , if M ′ ⊈ M e f f M'\not\subseteq M_{\mathrm{eff}} M ′ ⊆ M eff , some basis vector m a m_a m a lies outside M e f f M_{\mathrm{eff}} M eff and passes 64 n 3 64n^3 64 n 3 tests with probability at most ( 1 − 1 / ( 32 n 2 ) ) 64 n 3 ≤ e − 2 n (1-1/(32n^2))^{64n^3}\le e^{-2n} ( 1 − 1/ ( 32 n 2 ) ) 64 n 3 ≤ e − 2 n . If M ⊈ M ′ M\not\subseteq M' M ⊆ M ′ , then L ′ ⊈ L L'\not\subseteq L L ′ ⊆ L , so some basis vector ℓ a \ell_a ℓ a lies outside L L L and passes 16 n 16n 16 n differential tests with probability at most ( 3 / 4 ) 16 n < e − 4 n (3/4)^{16n}<e^{-4n} ( 3/4 ) 16 n < e − 4 n . Conversely, if M ⊆ M ′ ⊆ M e f f M\subseteq M'\subseteq M_{\mathrm{eff}} M ⊆ M ′ ⊆ M eff , every basis vector passes with probability 1 1 1 , and Lemma B.1 is exact. A union bound over three candidates bounds false certification by 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) .
Step 3: Branch 3 recovers M e f f M_{\mathrm{eff}} M eff when s ≤ 64 n 2 s\le64n^2 s ≤ 64 n 2 and t > 256 n 2 t>256n^2 t > 256 n 2 . Each v ∉ M e f f v\notin M_{\mathrm{eff}} v ∈ / M eff survives 64 n 3 64n^3 64 n 3 tests with probability at most ( 1 − 2 / s ) 64 n 3 ≤ e − 2 n (1-2/s)^{64n^3}\le e^{-2n} ( 1 − 2/ s ) 64 n 3 ≤ e − 2 n , so M 3 ⊆ M e f f M_3\subseteq M_{\mathrm{eff}} M 3 ⊆ M eff with probability at least 1 − n 4 e − 2 n 1-n^4e^{-2n} 1 − n 4 e − 2 n . Since ∣ M e f f ∣ ≥ t = N / s > 256 n 2 |M_{\mathrm{eff}}|\ge t=N/s>256n^2 ∣ M eff ∣ ≥ t = N / s > 256 n 2 , a uniform nonzero draw lands in M e f f ∖ { 0 } M_{\mathrm{eff}}\setminus\{0\} M eff ∖ { 0 } with probability
p 3 = ∣ M e f f ∣ − 1 N − 1 ≥ N / s − 1 N − 1 ≥ 1 2 s ≥ 1 128 n 2 . p_3=\frac{|M_{\mathrm{eff}}|-1}{N-1}\ge\frac{N/s-1}{N-1}\ge\frac{1}{2s}\ge\frac{1}{128n^2}. p 3 = N − 1 ∣ M eff ∣ − 1 ≥ N − 1 N / s − 1 ≥ 2 s 1 ≥ 128 n 2 1 .
The expected count is at least n 2 / 128 n^2/128 n 2 /128 . Chernoff gives at least n 2 / 256 ≥ 2 n n^2/256\ge2n n 2 /256 ≥ 2 n such draws with probability 1 − e − Ω ( n 2 ) 1-e^{-\Omega(n^2)} 1 − e − Ω ( n 2 ) . Conditional on at least 2 n 2n 2 n independent uniform nonzero vectors in M e f f M_{\mathrm{eff}} M eff , they fail to span it only if all lie in one hyperplane. Each hyperplane contains less than half the nonzero vectors, and there are fewer than 2 n 2^n 2 n hyperplanes, so failure probability is below 2 n − 2 n = 2 − n 2^{n-2n}=2^{-n} 2 n − 2 n = 2 − n . Hence M 3 = M e f f M_3=M_{\mathrm{eff}} M 3 = M eff with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) .
Step 4: Branch 1 recovers M M M when 32 n ≤ s ≤ N 1 / 2 32n\le s\le N^{1/2} 32 n ≤ s ≤ N 1/2 . Condition on the large-s s s event. Across all scales and trials, at most 16 n 7 16n^7 16 n 7 candidates are tested. Every δ ∉ M \delta\notin M δ ∈ / M passes 16 n 16n 16 n tests with probability at most ( 3 / 4 ) 16 n (3/4)^{16n} ( 3/4 ) 16 n , so M 1 ⊆ M M_1\subseteq M M 1 ⊆ M with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) .
Because 32 n ≤ s ≤ N 1 / 2 32n\le s\le N^{1/2} 32 n ≤ s ≤ N 1/2 ,
2 < 2 s ≤ 2 N 1 / 2 = 2 N 1 / 4 ≤ 2 ⌈ n / 4 ⌉ + 1 , 2<2\sqrt{s}\le2\sqrt{N^{1/2}}=2N^{1/4}\le2^{\lceil n/4\rceil+1}, 2 < 2 s ≤ 2 N 1/2 = 2 N 1/4 ≤ 2 ⌈ n /4 ⌉ + 1 ,
so some power-of-two scale b ∗ ∈ [ 2 s , 4 s ) b^*\in[2\sqrt{s},4\sqrt{s}) b ∗ ∈ [ 2 s , 4 s ) exists. For a false pair with δ ∉ M \delta\notin M δ ∈ / M , the shifted points u a + u j u_a+u_j u a + u j are i.i.d. uniform, and each comparison agrees with probability at most 3 / 4 3/4 3/4 on the large-s s s event. Thus a false signature collision has probability at most ( 3 / 4 ) 4 n (3/4)^{4n} ( 3/4 ) 4 n . Since ( n 2 ) < 8 ⋅ 2 n / 2 \binom{n}{2}<8\cdot2^{n/2} ( 2 n ) < 8 ⋅ 2 n /2 , the expected number of false collisions per trial is at most 8 ⋅ 2 n / 2 ( 3 / 4 ) 4 n = 2 − Ω ( n ) 8\cdot2^{n/2}(3/4)^{4n}=2^{-\Omega(n)} 8 ⋅ 2 n /2 ( 3/4 ) 4 n = 2 − Ω ( n ) . By Markov and a union bound over 16 n 16n 16 n trials, no false collision occurs at scale b ∗ b^* b ∗ with high probability.
For true collisions, decompose v j = c j + m j v_j=c_j+m_j v j = c j + m j with c j c_j c j a uniform coset representative and m j m_j m j uniform in M M M , independently. The probability that all c j c_j c j are distinct is at most exp ( − ( b ∗ ) 2 / s ) \exp(-(b^*)^2/s) exp ( − ( b ∗ ) 2 / s ) . Since ( b ∗ ) 2 / s ≥ 2 − 1 / s ≥ 1 (b^*)^2/s \ge2-1/\sqrt{s}\ge1 ( b ∗ ) 2 / s ≥ 2 − 1/ s ≥ 1 , a true pair occurs with probability at least 1 − e − 1 > 0.63 1-e^{-1}>0.63 1 − e − 1 > 0.63 . Signatures and T A T_A T A outcomes depend only on the cosets, while δ = m j + m j ′ \delta=m_j+m_{j'} δ = m j + m j ′ is uniform in M M M and independent across trials. Every true pair passes all tests. Over 16 n 16n 16 n trials, at least 4 n 4n 4 n uniform elements of M M M are collected with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) . A hyperplane union bound shows they span M M M with probability at least 1 − 2 − 3 n 1-2^{-3n} 1 − 2 − 3 n . Combining both inclusions gives M 1 = M M_1=M M 1 = M .
Step 5: Branch 2 recovers M M M when 32 n ≤ t ≤ N 1 / 2 32n\le t\le N^{1/2} 32 n ≤ t ≤ N 1/2 . Condition on the large-t t t event. The signature
f 1 ( u 0 + v j ) f 1 ( u a + v j ) = ( − 1 ) α ⋅ ( u 0 + u a ) ϕ ( u 0 + v j ) ϕ ( u a + v j ) f_1(u_0+v_j)f_1(u_a+v_j)=(-1)^{\alpha\cdot(u_0+u_a)}\phi(u_0+v_j)\phi(u_a+v_j) f 1 ( u 0 + v j ) f 1 ( u a + v j ) = ( − 1 ) α ⋅ ( u 0 + u a ) ϕ ( u 0 + v j ) ϕ ( u a + v j )
depends on v j v_j v j only through [ v j ] L [v_j]_L [ v j ] L . For δ ∉ L \delta\notin L δ ∈ / L , conditioning on ( v j , v j ′ , u 0 ) (v_j,v_{j'},u_0) ( v j , v j ′ , u 0 ) fixes the right-hand sign, while u a + v j u_a+v_j u a + v j remains i.i.d. uniform. Each coordinate matches with probability at most 3 / 4 3/4 3/4 , giving false collision probability at most ( 3 / 4 ) 4 n (3/4)^{4n} ( 3/4 ) 4 n . Every δ ∉ L \delta\notin L δ ∈ / L passes 16 n 16n 16 n differential tests with probability at most ( 3 / 4 ) 16 n (3/4)^{16n} ( 3/4 ) 16 n . Repeating Step 4 with L L L in place of M M M and t t t in place of s s s gives span ( S 2 ) = L \operatorname{span}(S_2)=L span ( S 2 ) = L with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) , hence M 2 = L ⊥ = M M_2=L^\perp=M M 2 = L ⊥ = M .
Step 6: Coverage and query complexity. If t ≤ 256 n 2 t\le256n^2 t ≤ 256 n 2 , Branch 4 succeeds. If t > 256 n 2 t>256n^2 t > 256 n 2 and s ≤ 64 n 2 s\le64n^2 s ≤ 64 n 2 , Branch 3 succeeds. If t > 256 n 2 t>256n^2 t > 256 n 2 and 64 n 2 < s ≤ N 1 / 2 64n^2<s\le N^{1/2} 64 n 2 < s ≤ N 1/2 , Branch 1 succeeds. If t > 256 n 2 t>256n^2 t > 256 n 2 and s > N 1 / 2 s>N^{1/2} s > N 1/2 , then 32 n < 256 n 2 < t = N / s < N 1 / 2 32n<256n^2<t=N/s<N^{1/2} 32 n < 256 n 2 < t = N / s < N 1/2 , so Branch 2 succeeds. Table 2 and Figure 3 summarize the regimes.
Figure 3. Coverage of all ( s , t ) (s,t) ( s , t ) with s t = N st=N s t = N by Algorithm 1; the horizontal axis is schematic, not a linear log scale. The gold bar marks the self-certifying Goldreich–Levin branch, while the green and blue bars mark branches checked by the universal verifier; the gold diamond marks the balanced example s = t = N 1 / 2 s=t=N^{1/2} s = t = N 1/2 .
Table 2. Regime coverage of Algorithm 1. Every ( s , t ) (s,t) ( s , t ) with s t = N st=N s t = N meets at least one row; once certified, Lemma B.1 recovers σ \sigma σ exactly.
Branch 4 costs n O ( 1 ) n^{O(1)} n O ( 1 ) queries. Each birthday branch costs ∑ j = 1 ⌈ n / 4 ⌉ + 1 16 n ( 4 n + 1 ) 2 j = O ( n 2 N 1 / 4 ) \sum_{j=1}^{\lceil n/4\rceil+1}16n(4n+1)2^j=O(n^2N^{1/4}) ∑ j = 1 ⌈ n /4 ⌉ + 1 16 n ( 4 n + 1 ) 2 j = O ( n 2 N 1/4 ) signature queries and at most ( ⌈ n / 4 ⌉ + 1 ) 16 n ⋅ n 5 ⋅ ( 16 n ⋅ 4 ) = O ( n 8 ) (\lceil n/4\rceil+1)16n\cdot n^5\cdot(16n\cdot4)=O(n^8) (⌈ n /4 ⌉ + 1 ) 16 n ⋅ n 5 ⋅ ( 16 n ⋅ 4 ) = O ( n 8 ) verification queries. Branch 3 costs O ( n 7 ) O(n^7) O ( n 7 ) . Certifying three subspaces costs O ( n 4 ) O(n^4) O ( n 4 ) , and decoding costs at most 2 n + 5 2n+5 2 n + 5 . The total is O ( n 2 N 1 / 4 + n 8 ) + n O ( 1 ) = n O ( 1 ) N 1 / 4 O(n^2N^{1/4}+n^8)+n^{O(1)}=n^{O(1)}N^{1/4} O ( n 2 N 1/4 + n 8 ) + n O ( 1 ) = n O ( 1 ) N 1/4 .
Regime coverage summary
The regime diagram is Figure 3 in the main body; the following table records the same coverage cases.