Introduction
In this paper, we consider two problems: Local Leakage Resilience (LLR) of Shamir secret sharing; and Optimal Polynomial Intersection (OPI). While seemingly unrelated at first, these two problems were connected by [39 ] . Leveraging this connection, we obtain improvements on both problems. Our main results, described in more detail below, include improved rate thresholds for LLR for Shamir, past the so-called “rate-1/2 barrier”; and improved results (both existential and algorithmic) for OPI.
Local Leakage Resilience
Local Leakage Resilience is a property of a secret sharing scheme. We focus on Shamir secret sharing . In Shamir secret sharing, a secret s ∈ F p s \in\mathbb{F}_p s ∈ F p is shared among n n n parties as follows: We choose a uniformly random polynomial P P P of degree at most k k k so that P ( 0 ) = s P(0)=s P ( 0 ) = s . Then we share P ( α i ) P(\alpha_i) P ( α i ) with party i i i , where α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n are non-zero, distinct evaluation points. This scheme has the property that any k + 1 k+1 k + 1 of the parties together can recover the secret s s s , while any k k k of them together learn nothing about it. We parameterize a sharing polynomial as P ( X ) = s + X Q ( X ) P(X)=s+XQ(X) P ( X ) = s + X Q ( X ) with deg Q < k \deg Q<k deg Q < k .
Informally, we say that a secret sharing scheme is (b b b -bit) Local Leakage Resilient (LLR) if, when each of the parties may leak up to b b b bits of their shares, the secret is still secure. Formally, we have the following definition.
Definition 1.1 (Local Leakage Resilience for Shamir’s Secret-Sharing Scheme). Fix nonzero evaluation points α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n \in\mathbb{F}_p α 1 , … , α n ∈ F p and let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be the linear code1
C : = { ( α i Q ( α i ) ) i = 1 n : deg ( Q ) < k } . (1) C := \{(\alpha_i Q(\alpha_i))_{i=1}^n : \deg(Q)<k\}. \tag*{(1)} C := {( α i Q ( α i ) ) i = 1 n : deg ( Q ) < k } . (1)
For v ∈ F p n v \in\mathbb{F}_p^n v ∈ F p n , let L v L_v L v denote the distribution of the transcript ( ℓ 1 ( c 1 ) , … , ℓ n ( c n ) ) (\ell_1(c_1),\ldots,\ell_n(c_n)) ( ℓ 1 ( c 1 ) , … , ℓ n ( c n )) , when c c c is chosen uniformly at random from the coset v + C v+C v + C . We say that (the secret-sharing scheme defined by) C C C is b b b -bit Local Leakage Resilient (LLR) if, for any leakage maps ℓ i : F p → { 0 , 1 } b \ell_i:\mathbb{F}_p \to\{0,1\}^b ℓ i : F p → { 0 , 1 } b , and for any pair of secrets s , s ′ ∈ F p s,s' \in\mathbb{F}_p s , s ′ ∈ F p ,
d T V ( L s 1 , L s ′ 1 ) ≤ e − Ω ( n ) . d_{\mathrm{TV}}(L_{s1},L_{s'1}) \le e^{-\Omega(n)}. d TV ( L s 1 , L s ′ 1 ) ≤ e − Ω ( n ) .
While LLR makes sense for any secret-sharing scheme, we specialize to Shamir’s scheme. LLR for Shamir’s scheme has received special attention lately, first because Shamir’s scheme is a fundamental secret sharing scheme, and second because it is known [13 , 40 ] that over extension fields , Shamir’s scheme is not locally leakage resilient. Surprisingly, [3 ] (who also first explicitly introduced the notion of LLR) showed that over prime fields , in fact Shamir’s scheme is 1-bit LLR provided that R : = k / n R:=k/n R := k / n satisfies R ≥ 0.92 R\ge0.92 R ≥ 0.92 . This state of affairs leads to the following question:
Question 1.2. What is the smallest rate R ∗ R^* R ∗ so that, for all R > R ∗ R>R^* R > R ∗ , Shamir’s scheme over a prime field F p \mathbb{F}_p F p with k / n = R k/n=R k / n = R is one-bit LLR?
After a long line of work [4 , 31 , 30 , 21 , 33 , 19 ] , the best answer to Question 1.2 prior to this paper was due to [19 ] , and states that one can take R ∗ ≤ 0.668 R^*\le0.668 R ∗ ≤ 0.668 . Moreover, the work [33 ] identified a natural barrier at R ∗ = 1 / 2 R^*=1/2 R ∗ = 1/2 (see § 2.1.1 ), and asked if it was possible to obtain R ∗ < 1 / 2 R^*<1/2 R ∗ < 1/2 .
Our results for local leakage resilience. We improve the state-of-the-art on Question 1.2 for arbitrary evaluation points, and in particular we break the “1/2-barrier” for one-bit LLR. More precisely, we prove the following theorem.
Theorem 1.3 (Local Leakage Resilience of Shamir Schemes). Every Shamir secret sharing scheme with rate R R R over a prime field is
b b b -bit locally leakage resilient for every fixed b b b and every fixed R > 1 / 2 R > 1/2 R > 1/2 ;
one-bit locally leakage resilient whenever R > 1 / 2 − δ R > 1/2 - \delta R > 1/2 − δ , for some absolute constant δ > 0 \delta> 0 δ > 0 .
This improves on the best previous result of [19 ] that required R > 0.668 R > 0.668 R > 0.668 , and is the first result to break the 1 / 2 1/2 1/2 barrier, for 1-bit worst-case leakage functions. It is also the first result to even approach R = 1 / 2 R = 1/2 R = 1/2 for any b ≥ 1 b \ge1 b ≥ 1 for b b b -bit worst-case leakage functions.
Optimal Polynomial Intersection
The second problem we study is Optimal Polynomial Intersection (OPI). OPI is a discrete optimization problem about low-degree polynomials over finite fields. Given input lists S 1 , … , S n ⊂ F p S_1,\ldots,S_n \subset\mathbb{F}_p S 1 , … , S n ⊂ F p and distinct evaluation points α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n \in\mathbb{F}_p α 1 , … , α n ∈ F p , the goal is to find a polynomial Q ( X ) ∈ F p [ X ] Q(X) \in\mathbb{F}_p[X] Q ( X ) ∈ F p [ X ] of degree less than k k k so that Q ( α i ) ∈ S i Q(\alpha_i) \in S_i Q ( α i ) ∈ S i for as many i i i as possible. Formally, we have the following definition.
Definition 1.6 (Optimal Polynomial Intersection). Fix distinct evaluation points α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n \in\mathbb{F}_p α 1 , … , α n ∈ F p and nonempty input lists S 1 , … , S n ⊂ F p S_1,\ldots,S_n \subset\mathbb{F}_p S 1 , … , S n ⊂ F p . The OPI problem asks for a polynomial Q ∈ F p [ X ] Q \in\mathbb{F}_p[X] Q ∈ F p [ X ] with deg ( Q ) < k \deg(Q) < k deg ( Q ) < k that maximizes the satisfaction ratio
s ( Q ) : = 1 n ∣ { i : Q ( α i ) ∈ S i } ∣ . s(Q) := \frac{1}{n}\lvert\{i : Q(\alpha_i) \in S_i\}\rvert. s ( Q ) := n 1 ∣{ i : Q ( α i ) ∈ S i }∣ . We will often refer to R : = k / n R := k/n R := k / n as the rate of the OPI instance.2
OPI can be viewed as the problem of finding a vector in or near the set C ∩ S C \cap S C ∩ S , where S = S 1 × ⋯ × S n S = S_1 \times\cdots\times S_n S = S 1 × ⋯ × S n 3 and C C C is the Reed–Solomon code
C : = { ( Q ( α 1 ) , … , Q ( α n ) ) : Q ∈ F p [ X ] , deg ( Q ) < k } . C := \{(Q(\alpha_1), \ldots, Q(\alpha_n)) : Q \in\mathbb{F}_p[X], \deg(Q) < k\}. C := {( Q ( α 1 ) , … , Q ( α n )) : Q ∈ F p [ X ] , deg ( Q ) < k } .
If ρ i = ∣ S i ∣ / p \rho_i = |S_i|/p ρ i = ∣ S i ∣/ p is the density of S i S_i S i , and if the sets S i S_i S i were random, we would expect ∣ C ∩ S ∣ ≈ ∣ C ∣ ∏ i = 1 n ρ i |C \cap S| \approx|C| \prod_{i=1}^n \rho_i ∣ C ∩ S ∣ ≈ ∣ C ∣ ∏ i = 1 n ρ i . The OPI problem above asks us to find an element in C ∩ S C \cap S C ∩ S if there is one; but at an existential level we may also wonder such an element exists for worst-case S i S_i S i , and if so how many. In particular, is the number of such elements close to what we would expect for random lists? This leads to the following definition, inspired by [9 ] , which studied similar discrepancy notions for random linear codes.
Definition 1.7 (Near-optimal OPI Discrepancy). Let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n , and fix nonempty S 1 , … , S n ⊂ F p S_1, \ldots, S_n \subset\mathbb{F}_p S 1 , … , S n ⊂ F p . Let ρ i : = ∣ S i ∣ / p \rho_i := |S_i|/p ρ i := ∣ S i ∣/ p and let S : = S 1 × ⋯ × S n S := S_1 \times\cdots\times S_n S := S 1 × ⋯ × S n . We say that C C C has near-optimal OPI discrepancy for input lists S 1 , … , S n S_1, \ldots, S_n S 1 , … , S n if
∣ ∣ C ∩ S ∣ ∣ C ∣ ∏ i = 1 n ρ i − 1 ∣ ≤ e − Ω ( n ) . (2) \left|\frac{|C \cap S|}{|C| \prod_{i=1}^n \rho_i} - 1\right| \leq e^{-\Omega(n)}. \tag*{(2)} ∣ C ∣ ∏ i = 1 n ρ i ∣ C ∩ S ∣ − 1 ≤ e − Ω ( n ) . (2)
OPI is related to many problems that have been studied in different areas over the years. For example, when the lists S i S_i S i are relatively small, the question is related to list-recovery of Reed–Solomon codes [11 GR06, 25 , 24 , 26 , 1 , 2 , 16 ] ; and in other parameter regimes, similar problems have been proposed as cryptographic hardness assumptions [35 , 5 , 36 ] . Most recently, OPI has gained prominence as a candidate for quantum supremacy. The work [18 ] gave a quantum algorithm, Decoded Quantum Interferometry (DQI), which can find solutions to OPI with satisfaction ratio at least SCL ρ ( R / 2 ) − o ( 1 ) \operatorname{SCL}_{\rho}(R/2) - o(1) SCL ρ ( R /2 ) − o ( 1 ) , where R = k / n R = k/n R = k / n and where SCL is the semicircle law
SCL ρ ( α ) : = { ( ρ ( 1 − α ) + ( 1 − ρ ) α ) 2 if 0 ≤ α ≤ 1 − ρ 1 if α ≥ 1 − ρ (3) \operatorname{SCL}_{\rho}(\alpha) :=
\begin{cases}
\left(\sqrt{\rho(1-\alpha)}+\sqrt{(1-\rho)\alpha}\right)^2 & \text{if } 0 \leq\alpha\leq1-\rho\\
1 & \text{if } \alpha\geq1-\rho
\end{cases} \tag*{(3)} SCL ρ ( α ) := ⎩ ⎨ ⎧ ( ρ ( 1 − α ) + ( 1 − ρ ) α ) 2 1 if 0 ≤ α ≤ 1 − ρ if α ≥ 1 − ρ (3)
In contrast, the best known classical algorithm can only find solutions with satisfaction ratio about ρ + R ( 1 − ρ ) \rho+ R(1-\rho) ρ + R ( 1 − ρ ) , which is smaller. This leads to the following question.
Question 1.8. For a fixed rate R = k / n R = k/n R = k / n and fixed ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , what is the largest s ∗ ∈ ( 0 , 1 ] s^* \in(0,1] s ∗ ∈ ( 0 , 1 ] so that every OPI instance of rate R R R with ∣ S i ∣ ≥ ρ p |S_i| \geq\rho p ∣ S i ∣ ≥ ρp for all i i i admits a solution Q ∈ F p [ X ] Q \in\mathbb{F}_p[X] Q ∈ F p [ X ] with satisfaction ratio s ( Q ) ≥ s ∗ s(Q) \geq s^* s ( Q ) ≥ s ∗ ? What is the largest fraction s a l g ∗ ∈ ( 0 , 1 ] s^*_{\mathrm{alg}} \in(0,1] s alg ∗ ∈ ( 0 , 1 ] so that a solution Q ∈ F p [ X ] Q \in\mathbb{F}_p[X] Q ∈ F p [ X ] with s ( Q ) ≥ s a l g ∗ s(Q) \geq s^*_{\mathrm{alg}} s ( Q ) ≥ s alg ∗ can be found efficiently with a quantum algorithm?
This question (both the existential and algorithmic versions) was first addressed by [18 ] , who as mentioned above showed that s ∗ , s a l g ∗ ≥ SCL ρ ( R / 2 ) s^*, s^*_{\mathrm{alg}} \geq\operatorname{SCL}_{\rho}(R/2) s ∗ , s alg ∗ ≥ SCL ρ ( R /2 ) . Since then, several works [7 , 6 , 39 HY26, 17 ] have improved on this result, both existential and algorithmic. These improvements are depicted in Figure 1 , and discussed more in § 2.1.2 . In particular, the best previous algorithmic results were limited at s a l g ∗ ≤ SCL ρ ( α J ( R ) ) s^*_{\mathrm{alg}} \leq\operatorname{SCL}_{\rho}(\alpha_J(R)) s alg ∗ ≤ SCL ρ ( α J ( R )) , where α J ( R ) = 1 − 1 − R \alpha_J(R) = 1 - \sqrt{1-R} α J ( R ) = 1 − 1 − R is the Johnson radius ; and for most of the range R ∈ ( 0 , 1 ) R \in(0,1) R ∈ ( 0 , 1 ) , this was not for worst-case input lists.4 In the balanced case, perfect solutions could be found efficiently only for R ≥ 0.75 R \geq0.75 R ≥ 0.75 . As we will see next, our results yield an algorithmic improvement all the way to s a l g ∗ = SCL ρ ( R ) s^*_{\mathrm{alg}} = \operatorname{SCL}_{\rho}(R) s alg ∗ = SCL ρ ( R ) (which we call the double semicircle law ), including efficient computation of a perfect solution for R > 1 / 2 R > 1/2 R > 1/2 in the balanced case.
Figure 1. Results for worst-case OPI (with arbitrary evaluation points α i \alpha_i α i ) with (a) ρ = 1 / 2 \rho= 1/2 ρ = 1/2 (balanced input lists) and (b) ρ = 1 / 4 \rho= 1/4 ρ = 1/4 . Existential results are shown in dashed lines, and (quantum) algorithmic results in solid lines. We also include the result of [6 ] , which is algorithmic but not worst-case (rather, it is average-case over random shifts in the sets S i S_i S i ). Our existential improvements (Theorem 1.12) does not improve over our algorithmic results for ρ = 1 / 2 \rho= 1/2 ρ = 1/2 , and so does not appear in panel (a). As written, the algorithmic results of [17 ] do not apply for ρ = 1 / 4 \rho= 1/4 ρ = 1/4 , but a simple extension (which we also use in this work) applies, so we include [17 ] in panel (b) as well as (a). We note that Theorem 1.13 implies that one can improve the red dashed line to the constant function “1” with high probability when the evaluation points are chosen at random, but the sets S i S_i S i are still worst-case.
Our results for OPI. Our first result for OPI improves the state-of-the-art for Question 1.8 , giving an algorithmic result that outperforms even the best-known existential results.
Theorem 1.9 (Quantum Algorithms for OPI). For any R , ρ , ε ∈ ( 0 , 1 ) R,\rho,\varepsilon\in(0,1) R , ρ , ε ∈ ( 0 , 1 ) , there exists a quantum algorithm with poly ( n , log p ) \operatorname{poly}(n,\log p) poly ( n , log p ) running time that, given any OPI instance over F p \mathbb{F}_p F p with rate R R R and coherent membership oracle access to input lists S i S_i S i where ∣ S i ∣ ≥ ρ p \lvert S_i\rvert\ge\rho p ∣ S i ∣ ≥ ρp for every i i i , has the following guarantees with high probability:
Outputs a solution polynomial Q Q Q with satisfaction ratio s ( Q ) ≥ SCL ρ ( R ) − ε s(Q) \ge\operatorname{SCL}_{\rho}(R)-\varepsilon s ( Q ) ≥ SCL ρ ( R ) − ε ,
If R + ρ > 1 R+\rho>1 R + ρ > 1 , outputs a solution polynomial Q Q Q with s ( Q ) = 1 s(Q)=1 s ( Q ) = 1 , i.e. Q Q Q satisfies every constraint.
We note that Item 2 of Theorem 1.9 improves Item 1 in the case that R + ρ > 1 R+\rho>1 R + ρ > 1 : instead of a near-perfect solution (satisfying 1 − ε 1-\varepsilon 1 − ε fraction of constraints for any ε > 0 \varepsilon>0 ε > 0 ), we get a perfect solution that satisfies every constraint. The result of Theorem 1.9 is plotted in Figure 1 for ρ = 1 / 2 \rho=1/2 ρ = 1/2 and ρ = 1 / 4 \rho=1/4 ρ = 1/4 .
The algorithmic results in Theorem 1.9 follow from improved existential results. In more detail, the work [17 ] showed how to make the existential results of [39 ] algorithmic; we improve the existence results of [39 ] , and use the techniques [17 ] to arrive at Theorem 1.9 above. These improved existential results follow from improved results about optimal OPI discrepancy, which we state as our next main result below.
Theorem 1.11 (Near-optimal OPI Discrepancy for Reed–Solomon Codes). Fix any ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) . Every Reed–Solomon code of rate R R R over a prime field has near-optimal OPI discrepancy for every instance with ∣ S i ∣ ≥ ρ p \lvert S_i\rvert\ge\rho p ∣ S i ∣ ≥ ρp for every i i i , provided that at least one of the following holds:
R > 1 / 2 R>1/2 R > 1/2 ;
R > 1 / 2 − δ R>1/2-\delta R > 1/2 − δ and ρ ≥ 1 / 2 − δ \rho\ge1/2-\delta ρ ≥ 1/2 − δ , for some absolute constant δ > 0 \delta>0 δ > 0 ;
R + ρ > 1 R+\rho>1 R + ρ > 1 .
In particular, Theorem 1.11 implies that, whenever 1, 2 or 3 hold, there exists a perfect solution to OPI (provided that R , ρ > 0 R,\rho>0 R , ρ > 0 are constants and that n n n is sufficiently large). This means that there are parameter regimes where Theorem 1.11 guarantees the existence of a perfect solution, but where Theorem 1.9 is only guaranteed to find one with partial satisfaction (see Figure 2 ).
Figure 2. Comparing results of Theorems 1.9 , 1.11, 1.12, and 1.13 for worst-case OPI. In the gray, purple, and yellow regions, Theorem 1.9 (1) guarantees an algorithmic solution with satisfaction ratio at least SCL ρ ( R ) − ε < 1 \operatorname{SCL}_{\rho}(R)-\varepsilon<1 SCL ρ ( R ) − ε < 1 . In the purple regions, perfect solutions exist (and follow by Theorem 1.11(1) for solid purple or Theorem 1.11(2) for hatched purple; the δ > 0 \delta>0 δ > 0 that controls the hatched purple region is not to scale). In the dotted yellow region, there exists a solution with satisfaction V ρ ( R ) > SCL ρ ( R ) V_{\rho}(R)>\operatorname{SCL}_{\rho}(R) V ρ ( R ) > SCL ρ ( R ) by Theorem 1.12. In the starred green region, Theorem 1.11(3) gives near-optimal discrepancy and hence a perfect solution, while Theorem 1.9 (2) gives a quantum algorithm to find this solution. Finally, in the entire region, Theorem 1.13 implies that for most evaluation points α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n , for all input lists S 1 , … , S n S_1,\ldots,S_n S 1 , … , S n of density ρ \rho ρ , there exists a perfect solution to the corresponding OPI problem.
Given the above, it is natural to ask if one can get better existential guarantees than the ones implied by the algorithmic double semicircle law of Theorem 1.9 , even in parameter regimes when Theorem 1.11 does not apply. Indeed we can, and this is our next result.
Theorem 1.12 (Existential improvement beyond the double semicircle law). Fix ρ ∈ ( 0 , 1 / 2 ) \rho\in(0,1/2) ρ ∈ ( 0 , 1/2 ) and ε > 0 \varepsilon>0 ε > 0 . For sufficiently large n n n , every Reed–Solomon code C ⊆ F p n C\subseteq\mathbb{F}_p^n C ⊆ F p n of fixed rate $R\in(0,1/2] over a prime field with p ≥ n p\ge n p ≥ n admits, for every instance with ∣ S i ∣ ≥ ρ p \lvert S_i\rvert\ge\rho p ∣ S i ∣ ≥ ρp for all i i i , a solution Q ∈ F p [ X ] ∗ w i t h ∗ Q\in\mathbb{F}_p[X] *with* Q ∈ F p [ X ] ∗ w i t h ∗ \deg Q<k with satisfaction ratio s ( Q ) ≥ V ρ ( R ) − ε s(Q)\ge V_\rho(R)-\varepsilon s ( Q ) ≥ V ρ ( R ) − ε , where
V ρ ( R ) : = 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) . (4) V_\rho(R) := 1-(1-2\rho)(1-2R). \tag*{(4)} V ρ ( R ) := 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) . (4)
We remark that this bound improves over the double semicircle law guarantee throughout the region R ∈ ( ρ , 1 / 2 ] R \in(\rho,1/2] R ∈ ( ρ , 1/2 ] , as
V ρ ( R ) − SCL ρ ( R ) = ( ρ ( 1 − R ) − ( 1 − ρ ) R ) 2 > 0. V_{\rho}(R)-\operatorname{SCL}_{\rho}(R)=\left(\sqrt{\rho(1-R)}-\sqrt{(1-\rho)R}\right)^2>0. V ρ ( R ) − SCL ρ ( R ) = ( ρ ( 1 − R ) − ( 1 − ρ ) R ) 2 > 0.
The existential improvement of Theorem 1.12 is not visible in Figure 1 (a) because V ρ ( R ) − SCL ρ ( R ) → 0 V_{\rho}(R)-\operatorname{SCL}_{\rho}(R) \to0 V ρ ( R ) − SCL ρ ( R ) → 0 as ρ → 1 / 2 \rho\to1/2 ρ → 1/2 ; the improvement can be seen for example when ρ = 1 / 4 \rho=1/4 ρ = 1/4 , shown in Figure 1 (b).
Theorems 1.11 and 1.12 establish improved existential results for all OPI instances. We are able to obtain even more improved existential results when the evaluation points α i \alpha_i α i are random (but the input lists S i S_i S i are still worst-case, chosen after the evaluation points are fixed). Formally, we have the following theorem.
Theorem 1.13 (Near-optimal OPI discrepancy for random Reed-Solomon codes). Fix R , ρ ∈ ( 0 , 1 ) R,\rho\in(0,1) R , ρ ∈ ( 0 , 1 ) . For sufficiently large n n n and prime p p p with log p = n Ω ( 1 ) \log p=n^{\Omega(1)} log p = n Ω ( 1 ) , with probability at least 1 − e − Ω ( n ) 1-e^{-\Omega(n)} 1 − e − Ω ( n ) over a uniformly random tuple of distinct evaluation points α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n \in\mathbb{F}_p α 1 , … , α n ∈ F p , the Reed-Solomon code C C C over F p \mathbb{F}_p F p with rate R R R and evaluation points α \alpha α has near-optimal OPI discrepancy for every instance with ∣ S i ∣ ≥ ρ p |S_i|\geq\rho p ∣ S i ∣ ≥ ρp for every i i i .
In particular, Theorem 1.13 implies that with high probability over the choice of the evaluation points α i \alpha_i α i , for all choices of input lists S 1 , … , S n ⊆ F p S_1,\ldots,S_n \subseteq\mathbb{F}_p S 1 , … , S n ⊆ F p of density at least ρ \rho ρ , there are roughly p k ∏ i ρ i p^k\prod_i\rho_i p k ∏ i ρ i perfect solutions to the corresponding OPI instance. We emphasize that this is still a result about worst-case OPI, in the sense that the input lists S i S_i S i may be adversarially chosen depending on the evaluation points α i \alpha_i α i .
The proof of Theorem 1.13 builds on the techniques in a very recent result of Hwang, Maji, Shkredov and Ye [HMSY26], who, as noted in Remark 1.5 , resolve Question 1.2 about LLR for random evaluation points.
We include a phase diagram in Figure 2 (over the phase space ( R , ρ ) (R,\rho) ( R , ρ ) ) comparing Theorem 1.9 , Theorem 1.11, Theorem 1.12 and Theorem 1.13 over the whole parameter space.
Finally, we turn our attention to the classical hardness of OPI. It is known from [41 KGFJ^{+}26] that a similar problem to OPI—essentially the same problem, but defined for folded 5 Reed–Solomon codes—is quantumly easy but classically hard (unconditionally) over very large folded alphabets, relative to a membership oracle for the lists S i S_i S i .6 Our next result adapts the hardness result of [41 ] to apply to OPI directly, rather than the folded version.
Theorem 1.14 (Quantum Advantage for OPI, Relative to a Membership Oracle—Informal, see Theorem 7.7 ). There exists a random ensemble of balanced OPI instances of length n n n with rate 1 / polylog ( n ) 1/\operatorname{polylog}(n) 1/ polylog ( n ) over prime fields F p \mathbb{F}_p F p with quasipolynomial p = exp ( polylog ( n ) ) p=\exp(\operatorname{polylog}(n)) p = exp ( polylog ( n )) such that the following hold, given access to a membership oracle for the input lists S i S_i S i :
Here, the quantum algorithm has coherent access to the membership oracle, and the classical algorithm is allowed unrestricted computation between queries. The probabilities are over the sampled instance from the ensemble and the algorithm, and the failure probabilities here are e − Ω ( ( log n ) 2 ) e^{-\Omega((\log n)^2)} e − Ω (( l o g n ) 2 ) . By tuning the parameters, one can obtain e − Ω ( n c ) e^{-\Omega(n^c)} e − Ω ( n c ) probabilities for a constant c > 0 c>0 c > 0 at the cost of lower rate and classical satisfaction ratio control. The full theorem is stated in Theorem 7.7 and this alternative parametrization is discussed in Remark 7.8.
The relationship between LLR and OPI
The relationship between LLR and OPI was first observed in [39 ] . At a high level, the connection is that similar Fourier proxies —that is, quantities that bound the Fourier transform of the discrepancy ∣ ∣ C ∩ S ∣ ∣ C ∣ ∣ Π i ρ i ∣ − 1 ∣ \left|\frac{|C\cap S|}{|C||\Pi_i\rho_i|}-1\right| ∣ C ∣∣ Π i ρ i ∣ ∣ C ∩ S ∣ − 1 (for OPI) or the distance d T V ( L s 1 , L s ′ 1 ) d_{\mathrm{TV}}(L_{s1},L_{s'1}) d TV ( L s 1 , L s ′ 1 ) between two transcript distributions (for LLR)—can be used to solve both problems. The work [39 ] used this connection to import ideas from the LLR literature to make progress on OPI; but was not able to make progress on LLR itself. In contrast, we make progress on both OPI and LLR, as outlined above. In addition to this progress, we expand on the relationship between OPI and LLR.
Our results on the relationship between LLR and OPI. We formalize the relationship observed by [39 ] . As in Definition 1.1 , let C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n be the linear code C = { ( α i Q ( α i ) ) i = 1 n : deg ( Q ) < k } C=\{(\alpha_iQ(\alpha_i))_{i=1}^n:\deg(Q)<k\} C = {( α i Q ( α i ) ) i = 1 n : deg ( Q ) < k } , so that the LLR question concerns transcripts ( ℓ 1 ( c 1 ) , … , ℓ n ( c n ) ) (\ell_1(c_1),\ldots,\ell_n(c_n)) ( ℓ 1 ( c 1 ) , … , ℓ n ( c n )) when c c c is chosen uniformly at random from a coset s 1 + C s1+C s 1 + C . It turns out that near-optimal OPI discrepancy is “harder” than LLR, in the sense that establishing near-optimal OPI discrepancy for the cosets s 1 + C s1+C s 1 + C will establish LLR for C C C . We have the following theorem.
Theorem 1.15 (Near-optimal OPI discrepancy is at least as hard as LLR—Informal, see Theorem 3.7 ). Let ℓ 1 , … , ℓ n : F p → { 0 , 1 } \ell_1,\ldots,\ell_n:\mathbb{F}_p\to\{0,1\} ℓ 1 , … , ℓ n : F p → { 0 , 1 } be one-bit leakage functions. For z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n , define S i ( z i ) = ℓ i − 1 ( z i ) S_i(z_i)=\ell_i^{-1}(z_i) S i ( z i ) = ℓ i − 1 ( z i ) . Let C = { α i ⋅ Q ( α i ) : deg ( Q ) < k } C=\{\alpha_i\cdot Q(\alpha_i):\deg(Q)<k\} C = { α i ⋅ Q ( α i ) : deg ( Q ) < k } be the generalized Reed–Solomon code in (1) . Suppose that, for all s ∈ F p n s\in\mathbb{F}_p^n s ∈ F p n , and for all z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n , s 1 + C s1+C s 1 + C has near-optimal OPI discrepancy for input lists S 1 ( z 1 ) , … , S n ( z n ) S_1(z_1),\ldots,S_n(z_n) S 1 ( z 1 ) , … , S n ( z n ) . Then C C C is 1-bit local leakage resilient against these leakages.
One might wonder if near-optimal OPI discrepancy is “strictly” harder than LLR; that is, does a converse to Theorem 1.15 hold? In fact, such a converse does not hold, and can fail to hold by up to an exponential factor, even for fixed-rate GRS codes; see Example 3.8 .
In the more formal version of the theorem (Theorem 3.7 ), we show that more generally, if v + C v+C v + C has near optimal OPI discrepancy for every v ∈ F p n v\in\mathbb{F}_p^n v ∈ F p n , then d T V ( L v , L v ′ ) d_{\mathrm{TV}}(L_v,L_{v'}) d TV ( L v , L v ′ ) is small for every v , v ′ ∈ F p n v,v'\in\mathbb{F}_p^n v , v ′ ∈ F p n . Thus, LLR can be viewed as a restriction of near-optimal OPI discrepancy to just the cosets of C C C given by constant shifts s 1 s1 s 1 . In particular, any future improvements to near-optimal OPI discrepancy will imply improvements in LLR for Shamir sharing.7
Technical Overview
In this section, we outline our approach. At a high level, the outline is as follows:
Step 1: Define Fourier Proxies. As with most previous work on both LLR and OPI, we bound the quantity of interest—the discrepancy for OPI, and the TV distance between two transcript distributions for LLR—by taking a Fourier transform. We then bound the Fourier transform by an easier-to-think-about expression that we call a Fourier proxy .8 The observation of [39 ] was that similar Fourier proxies can be used for both LLR and OPI. For OPI, we use the same proxy that was used in [39 ] . For LLR, we use a similar Fourier proxy as in [21 ] , except that we re-center and re-normalize to deal with arbitrary biases ρ i \rho_i ρ i . After we define the Fourier proxies that we will use, we also prove (a generalization of) Theorem 1.15 , which informally states that OPI is “harder” than LLR.
Step 2: Above rate 1 / 2 1/2 1/2 , both LLR and OPI reduce to dual list-recovery; proving Theorem 1.3(1) and Theorem 1.11(1). In coding theory, a code C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n is list-recoverable if, given any input lists S 1 , … , S n ⊂ F p S_1,\ldots,S_n \subset\mathbb{F}_p S 1 , … , S n ⊂ F p of size at most ℓ \ell ℓ , there are not too many elements c ∈ C c \in C c ∈ C so that c i ∈ S i c_i \in S_i c i ∈ S i for all but a δ \delta δ -fraction of i i i ’s (see Definition 2.1 ). For LLR, the work [31 ] implicitly showed that b b b -bit LLR for a code C C C follows from list-recovery of C ⊥ C^\perp C ⊥ ; combined with recent breakthroughs on the list-recovery of Reed–Solomon codes [2 , 16 ] , this immediately proves Theorem 1.3(1), the statement for LLR with rate approaching 1 / 2 1/2 1/2 . Translating this result to OPI to prove Theorem 1.11(1) requires a more involved argument, discussed more below.
Step 3: Crossing the rate 1 / 2 1/2 1/2 barrier; proving Theorem 1.3(2) and Theorem 1.11(2). Our techniques from Step 2 cannot work below rate 1 / 2 1/2 1/2 , due to a result of [33 ] about the limitations of the phase-forgotten Fourier proxy that we use. To get past rate 1 / 2 1/2 1/2 —that is, to prove the statements Theorem 1.3(2) and Theorem 1.11(2)—we analyze the Fourier proxies (without forgetting the phases) and use Gowers norms to take advantage of phase cancellations.
Step 4: Non-perfect OPI solutions; proving Theorem 1.9 (1) and Theorem 1.12. Step 3—in particular, Theorem 1.11(2)—establishes the existence of a perfect solution for OPI at rate slightly less than 1 / 2 1/2 1/2 . However, Theorems 1.9 and 1.12 give partial-satisfaction guarantees at lower rates. To show the existence of such solutions, we use the framework of [39 ] , who propose a quantum state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ that, when measured, returns a good OPI solution with high probability. We improve the analysis of this state, leveraging our earlier connection to list-recovery, as well as the results of [2 , 16 ] on list-recovery of Reed–Solomon codes to capacity. To make this result algorithmic and prove Theorem 1.9 (1), we use a result of Jo in [17 ] , which shows how to efficiently prepare the state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ provided that the dual code can be list-decoded efficiently up to a certain radius. Recent algorithmic list-decoding results of [2 , 8 ] , along with the existential results above, allow us to apply the algorithm of [17 ] to prove Theorem 1.9 (1). For Theorem 1.12, we leverage our framework to analyze a conditioned DQI distribution; our sampler does not efficiently prepare this conditioned distribution, but existentially it improves the double semicircle law to ν ρ ( R ) \nu_\rho(R) ν ρ ( R ) .
Step 5: OPI when ρ + R > 1 \rho+R>1 ρ + R > 1 ; proving Theorem 1.11(3) and Theorem 1.9 (2). In this step we study the case when R + ρ > 1 R+\rho>1 R + ρ > 1 . In this case, Theorem 1.9 (1) already shows that a near-perfect solution exists—that is, one satisfying a 1 − ε 1-\varepsilon 1 − ε fraction of the constraints, for any ε > 0 \varepsilon>0 ε > 0 —but we need to show that a exactly perfect solution exists (to prove Theorem 1.11(3)) and show how to find it efficiently (to prove Theorem 1.9 (2)). For this, we use a truncation argument, described more below, to be able to apply our list-recovery-based framework. Once
we have the existential result, we can again use the ideas of [17 ] to prove the algorithmic result Theorem 1.9 (2).
Step 6: OPI at every positive rate for random evaluations; proving Theorem 1.13. To prove near-optimal OPI discrepancy for a random Reed–Solomon code, we consider the high probability good event that [HMSY26] used to imply one-bit LLR. We show that, in fact, the good event implies near-optimal OPI discrepancy using our Fourier proxies.
Step 7: Classical hardness of OPI; proving Theorem 1.14. This step is technically separate from the rest of the paper, and can be read as a stand-alone section. We give two scalar encodings of the Yamakawa–Zhandry source problem [41 ] to transform the folded Reed–Solomon hard instance it constructs into an (unfolded) Reed–Solomon instance. The first permits arbitrary target rate but has sparse input lists. The second uses balanced lists and a consistency argument, at the cost of a vanishing target rate.
Before we expand on the technical details for the rest of this overview, we make a quick remark about the organization of the paper.
Now, we expand on the technical details of each of the seven steps. We begin by setting up some notation. We use the same notation for both LLR and for OPI, by using S i S_i S i for both the input lists in OPI and for the sets S i = ℓ i − 1 ( 1 ) S_i = \ell_i^{-1}(1) S i = ℓ i − 1 ( 1 ) in LLR. In both cases, we have sets S i ⊂ F p S_i \subset\mathbb{F}_p S i ⊂ F p , and we define
g i ( x ) : = 1 S i ( x ) − ρ i ρ i ( 1 − ρ i ) . (5) g_i(x) := \frac{\mathbf{1}_{S_i}(x) - \rho_i}{\sqrt{\rho_i(1-\rho_i)}}. \tag*{(5)} g i ( x ) := ρ i ( 1 − ρ i ) 1 S i ( x ) − ρ i . (5)
Throughout this discussion (and often in the paper going forward), we drop the polynomial notation Q ∈ F p [ X ] Q \in\mathbb{F}_p[X] Q ∈ F p [ X ] , referring instead to vectors x ∈ C x \in C x ∈ C , where C C C is a Reed–Solomon code (possibly with no constant term, as in Definition 1.1 ). Thus, for x ∈ C x \in C x ∈ C , x i x_i x i represents the evaluation Q ( α i ) Q(\alpha_i) Q ( α i ) of some appropriate polynomial Q Q Q .
Step 1: Define Fourier Proxies
As mentioned above, we will bound the quantities we care about by Fourier proxies , which we define here. For OPI, fix S = S 1 × ⋯ × S n S = S_1 \times\cdots\times S_n S = S 1 × ⋯ × S n , and let C C C be a Reed–Solomon code. Then the quantity that we care about (as in Definition 1.7 ) is
F O P I ( 0 ) : = ∣ ∣ C ∩ S ∣ ∣ C ∣ ∏ i ρ i − 1 ∣ = ∣ ∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) 1 − ρ i ρ i g i ^ ( y i ) ∣ . (6) \operatorname{F}_{\mathrm{OPI}}(0) := \left| \frac{|C \cap S|}{|C| \prod_i \rho_i} - 1 \right| = \left| \sum_{0 \ne y \in C^\perp} \prod_{i \in\operatorname{supp}(y)} \sqrt{\frac{1-\rho_i}{\rho_i}} \,\widehat{g_i}(y_i) \right|. \tag*{(6)} F OPI ( 0 ) := ∣ C ∣ ∏ i ρ i ∣ C ∩ S ∣ − 1 = 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ ρ i 1 − ρ i g i ( y i ) . (6)
where the second equality follows from a Fourier transform over F p \mathbb{F}_p F p (see § 4.3 for the Fourier conventions we use in this paper and Lemma 3.1 for a proof of (6) ). Applying the triangle inequality to forget the phases gives the positive relaxation
F O P I + : = ∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) 1 − ρ i ρ i ∣ g ^ i ( y i ) ∣ ≥ F O P I ( 0 ) . (7) F_{\mathrm{OPI}}^{+} := \sum_{0 \ne y \in C^{\perp}} \prod_{i \in\operatorname{supp}(y)} \sqrt{\frac{1-\rho_i}{\rho_i}}\,|\hat{g}_i(y_i)| \ge F_{\mathrm{OPI}}(0). \tag*{(7)} F OPI + := 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ ρ i 1 − ρ i ∣ g ^ i ( y i ) ∣ ≥ F OPI ( 0 ) . (7)
Thus, to prove near-optimal OPI discrepancy for C C C and S S S , it suffices to show that either F O P I ( 0 ) F_{\mathrm{OPI}}(0) F OPI ( 0 ) or F O P I + F_{\mathrm{OPI}}^{+} F OPI + are exponentially small. The Fourier proxy F O P I + F_{\mathrm{OPI}}^{+} F OPI + was used in [39 ] to analyze OPI, and can be viewed a centered form of the Fourier proxy used in [4 ] .
We contrast this with the following Fourier proxy for LLR. Recall that L v L_v L v is the distribution on { 0 , 1 } n \{0,1\}^n { 0 , 1 } n of the leakage transcript applied to uniform random vector in v + C v+C v + C . For v = s 1 v=s\mathbf{1} v = s 1 , this is the distribution of the leakage transcript of the Shamir scheme, conditioned on secret s s s .
For LLR, the quantity that we care about is d T V ( L v , L v ′ ) d_{\mathrm{TV}}(L_v,L_{v'}) d TV ( L v , L v ′ ) . We will bound this by the proxy
F L L R ( v , v ′ ) : = 1 4 ∑ ∅ ≠ A ⊂ [ n ] ∣ ∑ y ∈ C ⊥ supp ( y ) = A ( e p ( − ⟨ v , y ⟩ ) − e p ( − ⟨ v ′ , y ⟩ ) ) ∏ i ∈ A g ^ i ( y i ) ∣ 2 . (8) F_{\mathrm{LLR}}(v,v') := \frac{1}{4}\sum_{\varnothing\ne A \subset[n]} \left| \sum_{\substack{y \in C^{\perp}\\ \operatorname{supp}(y)=A}} \left(e_p(-\langle v,y\rangle)-e_p(-\langle v',y\rangle)\right)\prod_{i\in A}\hat{g}_i(y_i) \right|^2. \tag*{(8)} F LLR ( v , v ′ ) := 4 1 ∅ = A ⊂ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ ( e p ( − ⟨ v , y ⟩) − e p ( − ⟨ v ′ , y ⟩) ) i ∈ A ∏ g ^ i ( y i ) 2 . (8)
In Lemma 3.3 , we prove that
d T V ( L v , L v ′ ) 2 ≤ F L L R ( v , v ′ ) ≤ F L L R + , (9) d_{\mathrm{TV}}(L_v,L_{v'})^2 \le F_{\mathrm{LLR}}(v,v') \le F_{\mathrm{LLR}}^{+}, \tag*{(9)} d TV ( L v , L v ′ ) 2 ≤ F LLR ( v , v ′ ) ≤ F LLR + , (9)
where F L L R + F_{\mathrm{LLR}}^{+} F LLR + is the positive relaxation
F L L R + : = ∑ ∅ ≠ A ⊂ [ n ] ( ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g ^ i ( y i ) ∣ ) 2 . (10) F_{\mathrm{LLR}}^{+} := \sum_{\varnothing\ne A \subset[n]} \left(\sum_{\substack{y \in C^{\perp}\\ \operatorname{supp}(y)=A}} \prod_{i\in A}|\hat{g}_i(y_i)|\right)^2. \tag*{(10)} F LLR + := ∅ = A ⊂ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g ^ i ( y i ) ∣ 2 . (10)
F L L R + F_{\mathrm{LLR}}^{+} F LLR + is similar to the proxy used by [21 ] . That argument obtained a rate threshold of 0.579 for balanced one-bit leakages. For arbitrary biases, they obtain a threshold of 0.688 via a reduction to the balanced case. Our version can be viewed as a centered case for arbitrary biases, which lets us analyze the general case directly, which we do in § 5.2 . In fact, our results directly imply that the 0.579 result of [21 ] applies in the non-centered case too (see Remark 3.6).
After we set up our Fourier proxies, we prove Theorem 1.15 , which informally says that OPI is “harder” than LLR. In addition to the statement in Theorem 1.15 above, we also prove a statement at the level of Fourier proxies, in the sense that the LLR proxies are bounded above by the OPI proxies.
In more detail, write S z : = ℓ 1 − 1 ( z 1 ) × ⋯ × ℓ n − 1 ( z n ) S_z := \ell_1^{-1}(z_1) \times\cdots\times\ell_n^{-1}(z_n) S z := ℓ 1 − 1 ( z 1 ) × ⋯ × ℓ n − 1 ( z n ) and S : = S 1 S := S_{\mathbf{1}} S := S 1 . Then we show that
F L L R ( s 1 , s ′ 1 ; C , S ) ≤ max u ∈ { s 1 , s ′ 1 } z ∈ { 0 , 1 } n F O P I ( u ; C , S z ) , F L L R + ( C ; S ) ≤ max z ∈ { 0 , 1 } n F O P I + ( C ; S z ) . \sqrt{F_{\mathrm{LLR}}(s\mathbf{1},s'\mathbf{1};C,S)} \le\max_{\substack{u\in\{s\mathbf{1},s'\mathbf{1}\}\\ z\in\{0,1\}^n}} F_{\mathrm{OPI}}(u;C,S_z), \qquad\sqrt{F_{\mathrm{LLR}}^{+}(C;S)} \le\max_{z\in\{0,1\}^n} F_{\mathrm{OPI}}^{+}(C;S_z). F LLR ( s 1 , s ′ 1 ; C , S ) ≤ u ∈ { s 1 , s ′ 1 } z ∈ { 0 , 1 } n max F OPI ( u ; C , S z ) , F LLR + ( C ; S ) ≤ z ∈ { 0 , 1 } n max F OPI + ( C ; S z ) .
The full statement—which includes the statement of Theorem 1.15 , a generalization of it to arbitrary shifts, and the statement about about proxies—is given as Theorem 3.7 .
Step 2: Above rate 1/2, LLR and OPI reduce to dual list-recovery.
In this step, we prove Theorem 1.3(1) and Theorem 1.11(1), which concern LLR and OPI discrepancy for any fixed rate R > 1 / 2 R > 1/2 R > 1/2 .
We begin with LLR. Our starting point is [31 ] , which reduces b b b -bit LLR to conditions on the dual code. They show that the Massey scheme based on a random linear code 9 satisfies these conditions with high probability, provided the rate of the scheme is R > 1 / 2 R > 1/2 R > 1/2 . However, [31 ] was not able to extend these results to Shamir sharing.
We observe in § 6.1 that the condition identified in [31 ] is implied by list-recovery of C ⊥ C^\perp C ⊥ . For Shamir’s scheme, C ⊥ C^\perp C ⊥ is a generalized Reed–Solomon (GRS) code. Recent breakthroughs [2 , 16 ] imply list-decoding and list-recovery up to capacity of GRS codes, which immediately proves Theorem 1.3(1).
Thus, Theorem 1.3(1) follows essentially by assembling prior work as black boxes. However, in order to apply these ideas to our other results, we need to un-black-box the role of list-recovery. Our key observation is that the important consequence of list-recovery, which applies not just to LLR for R > 1 / 2 R > 1/2 R > 1/2 but also to our other results, is the following bound on weighted sums over the dual code.
Lemma 1.17 (Weighted Fourier Thresholding). Fix constants γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and Γ > 0 \Gamma> 0 Γ > 0 . Let p ≥ n p \ge n p ≥ n and let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be a generalized Reed–Solomon code of dimension k k k . Suppose that the weights w i : F p n → R ≥ 0 w_i : \mathbb{F}_p^n \to\mathbb{R}_{\ge0} w i : F p n → R ≥ 0 for every i ∈ [ n ] i \in[n] i ∈ [ n ] satisfies that
∥ w i ∥ ∞ ≤ γ + o ( 1 ) and ∥ w i ∥ 2 2 = ∑ ξ ≠ 0 w i ( ξ ) 2 ≤ Γ + o ( 1 ) \lVert w_i \rVert_\infty\le\gamma+ o(1) \qquad\text{and} \qquad\lVert w_i \rVert_2^2 = \sum_{\xi\ne0} w_i(\xi)^2 \le\Gamma+ o(1) ∥ w i ∥ ∞ ≤ γ + o ( 1 ) and ∥ w i ∥ 2 2 = ξ = 0 ∑ w i ( ξ ) 2 ≤ Γ + o ( 1 ) with both errors uniformly in i i i . Then, for every t ∈ [ n ] t \in[n] t ∈ [ n ] with 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) ,
∑ 0 ≠ y ∈ C ⊥ : ∣ y ∣ ≤ t ∏ i : y i ≠ 0 w i ( y i ) ≤ e o ( n ) γ k = e − Ω ( n ) . (11) \sum_{\substack{0\ne y\in C^\perp:\\ |y|\le t}} \prod_{i:y_i\ne0} w_i(y_i) \le e^{o(n)}\gamma^k = e^{-\Omega(n)}. \tag*{(11)} 0 = y ∈ C ⊥ : ∣ y ∣ ≤ t ∑ i : y i = 0 ∏ w i ( y i ) ≤ e o ( n ) γ k = e − Ω ( n ) . (11)
We prove Lemma 1.17 in § 6.2 . To see what this lemma has to do with LLR and OPI, observe that with w i = ∣ g i ^ ∣ w_i = \lvert\widehat{g_i}\rvert w i = ∣ g i ∣ , the expression in Lemma 1.17 is similar to the expressions in the Fourier proxies F O P I + F_{\mathrm{OPI}}^+ F OPI + in (7) and F L L R + F_{\mathrm{LLR}}^+ F LLR + in (10) . So the idea is to use it to bound those quantities, establishing LLR and near-optimal OPI discrepancy. As a proof of concept, we show how to use Lemma 1.17 to prove a more quantitative version of Theorem 1.3(1) than follows as a black box from [31 , 2 , 16 ] —see Corollary 4.3. Next, we show how to use Lemma 1.17 to prove Theorem 1.11(1). Going forward, we will also use Lemma 1.17 in Steps 3–5.
The proof idea for Lemma 1.17 is the following. Fix a threshold θ > 0 \theta> 0 θ > 0 . Then, define H i = { ξ ∈ F p n : w i ( ξ ) ≥ θ } H_i = \{\xi\in\mathbb{F}_p^n : w_i(\xi) \ge\theta\} H i = { ξ ∈ F p n : w i ( ξ ) ≥ θ } . List-recovery of C ⊥ C^\perp C ⊥ (which for a GRS code follows from [2 , 16 ] ) implies that there are not too many codewords y ∈ C ⊥ y \in C^\perp y ∈ C ⊥ with y i ∈ H i y_i \in H_i y i ∈ H i for many i i i . As there are not too many such y y y , they cannot contribute too much to the left-hand side of (1.11). On the other hand, the remaining codewords y y y also have small contribution to the left-hand side of (1.11), since for many coordinates i i i , we have y i ∉ H i y_i \notin H_i y i ∈ / H i , which means that w i ( y i ) ≤ θ w_i(y_i) \le\theta w i ( y i ) ≤ θ . Thus, the left-hand side of (1.11) cannot be too large.
Finally, we note an apparent barrier for this technique at R = 1 / 2 R = 1/2 R = 1/2 : for Lemma 1.17 to control every “shell” of C ⊥ C^\perp C ⊥ (that is, the set { y ∈ C ⊥ : ∣ y ∣ = t } \{y \in C^\perp: |y| = t\} { y ∈ C ⊥ : ∣ y ∣ = t } for each t t t ), it needs to hold for weight t = n t=n t = n , which requires R > 1 / 2 R > 1/2 R > 1/2 . This is further discussed in Remark 4.2.
Step 3: Crossing the rate-1 / 2 1/2 1/2 barrier.
In this step, we prove Theorem 1.3(2) and Theorem 1.11(2), which concern LLR and OPI discrepancy for rates slightly smaller than 1 / 2 1/2 1/2 .
To understand our approach here, we explain a second apparent barrier at rate 1 / 2 1/2 1/2 , which was identified by [33 ] in the context of LLR. That work constructs an example of leakage functions (or equivalently sets S i S_i S i ) for which the phase-forgotten proxy F ~ O P I \widetilde{F}_{\mathrm{OPI}} F OPI is large for R < 1 / 2 R < 1/2 R < 1/2 , but for which the value F O P I ( 0 ) F_{\mathrm{OPI}}(0) F OPI ( 0 ) that we actually care about is small.10 Thus a below-rate-1 / 2 1/2 1/2 result (for OPI at least) must retain the phases and take advantage of cancellation in the original expression F O P I ( 0 ) F_{\mathrm{OPI}}(0) F OPI ( 0 ) (and likely also in F L L R ( v , v ′ ) F_{\mathrm{LLR}}(v,v^\prime) F LLR ( v , v ′ ) ). We do so with higher order Gowers norms—U 3 U^3 U 3 in particular—introduced in § 4.3 .
For the balanced case where ρ ∼ 1 / 2 \rho\sim1/2 ρ ∼ 1/2 , fix a sufficiently small δ > 0 \delta> 0 δ > 0 and consider R ∈ [ 1 / 2 − δ , 1 / 2 ] R \in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] . We split the terms in the sums over y ∈ C ⊥ y \in C^\perp y ∈ C ⊥ in F O P I ( 0 ) F_{\mathrm{OPI}}(0) F OPI ( 0 ) 11 and F L L R ( v , v ′ ) F_{\mathrm{LLR}}(v,v^\prime) F LLR ( v , v ′ ) by their weight, depending on whether ∣ y ∣ \lvert y\rvert ∣ y ∣ is larger or smaller than
m : = ⌊ ( 2 − δ ) k ⌋ (12) m := \left\lfloor(2-\delta)k \right\rfloor \tag*{(12)} m := ⌊ ( 2 − δ ) k ⌋ (12)
For y ∈ C ⊥ y \in C^\perp y ∈ C ⊥ of weight ∣ y ∣ ≤ m \lvert y\rvert\le m ∣ y ∣ ≤ m , we may apply Lemma 1.17 directly to C ⊥ C^\perp C ⊥ (as m ≤ 2 k − δ k m \le2k-\delta k m ≤ 2 k − δ k ) to see their contributions to the relevant expressions are exponentially small.
On the other hand, suppose that ∣ y ∣ > m \lvert y\rvert> m ∣ y ∣ > m . We focus on the LLR case for simplicity. Consider a support set A A A for y y y with ∣ A ∣ > m \lvert A\rvert> m ∣ A ∣ > m . Then the expression
∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) (13) \sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}} e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i) \tag*{(13)} y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) (13)
that appears in F L L R ( v , v ′ ) F_{\mathrm{LLR}}(v,v^\prime) F LLR ( v , v ′ ) should be small; intuitively, this is because, if A A A is large, then we should have lots of cancellations. To formalize this, we use a version of the generalized von Neumann inequality (Lemma 2.10 ), which bounds (13) in terms of the U 3 U_3 U 3 norms of the functions g i g_i g i . Then we bound these norms ∥ g i ∥ U 3 \lVert g_i\rVert_{U_3} ∥ g i ∥ U 3 in Lemma 2.8 , and this shows that (13) is small. Plugging this into F L L R ( v , v ′ ) F_{\mathrm{LLR}}(v,v^\prime) F LLR ( v , v ′ ) , we show that this too is small, as desired for our LLR result. A similar argument works for F O P I F_{\mathrm{OPI}} F OPI in the case of OPI.
The approach above proves Theorem 1.3(2) and Theorem 1.11(2) in the balanced cases. We complete the proof to include arbitrary bias LLR and OPI with arbitrary density ρ ≥ 1 / 2 − δ \rho\ge1/2-\delta ρ ≥ 1/2 − δ in Sections A and B. The OPI extension uses subsampling from § 4.4 . The arbitrary-bias LLR extension instead uses the centered L 1 L^1 L 1 expansion and the Brascamp–Leib inequality to exploit strongly biased coordinates.
Step 4: Partial OPI satisfaction
So far our results on OPI have concerned near-optimal OPI discrepancy, which can guarantee when a perfect solution exists, but doesn’t say anything directly about imperfect solutions (that is, with satisfaction ratio less than 1). In this step, we prove Theorem 1.9 (1) and Theorem 1.12. The first says that there is an efficient quantum algorithm that finds solution to OPI with satisfaction ratio about SCL ρ ( R ) \operatorname{SCL}_{\rho}(R) SCL ρ ( R ) (the “double semicircle law”). The second says that there exist solutions even beyond the double semicircle law when ρ < R ≤ 1 / 2 \rho< R \le1/2 ρ < R ≤ 1/2 . Both of these improved guarantees are less than 1 for R < 1 − ρ R < 1 - \rho R < 1 − ρ .
The idea is to consider the DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ proposed in [18 ] to target a satisfaction ratio of SCL ρ ( ℓ / n ) \operatorname{SCL}_{\rho}(\ell/n) SCL ρ ( ℓ / n ) , where ℓ \ell ℓ is a parameter we choose so that ℓ / n ≤ 1 − ρ \ell/n \le1-\rho ℓ / n ≤ 1 − ρ . To define this state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ , first define the r r r -wise discrepancy12 of x ∈ F p n x \in\mathbb{F}_p^n x ∈ F p n be
q r ( x ) : = ∑ A ∈ ( [ n ] r ) ∏ i ∈ A g i ( x i ) (14) q_r(x) := \sum_{A \in\binom{[n]}{r}} \prod_{i \in A} g_i(x_i) \tag*{(14)} q r ( x ) := A ∈ ( r [ n ] ) ∑ i ∈ A ∏ g i ( x i ) (14)
where as before, g i ( a ) : = 1 S i ( a ) − ρ i ρ i ( 1 − ρ i ) g_i(a) := \frac{\mathbf{1}_{S_i}(a)-\rho_i}{\sqrt{\rho_i(1-\rho_i)}} g i ( a ) := ρ i ( 1 − ρ i ) 1 S i ( a ) − ρ i . Fix some width σ \sigma σ with 1 ≪ σ ≪ ℓ 1 \ll\sigma\ll\ell 1 ≪ σ ≪ ℓ , the DQI state is
∣ φ ℓ ⟩ ∝ ∑ x ∈ C ∑ r = 0 ℓ u r q r ( x ) ∣ x ⟩ where u r : = ( n r ) − 1 / 2 1 { ℓ − σ ≤ r ≤ ℓ } . (15) |\varphi_\ell\rangle\propto\sum_{x \in C}\sum_{r=0}^{\ell} u_rq_r(x)|x\rangle\quad\text{where } u_r := \binom{n}{r}^{-1/2}\mathbf{1}\{\ell-\sigma\le r \le\ell\}. \tag*{(15)} ∣ φ ℓ ⟩ ∝ x ∈ C ∑ r = 0 ∑ ℓ u r q r ( x ) ∣ x ⟩ where u r := ( r n ) − 1/2 1 { ℓ − σ ≤ r ≤ ℓ } . (15)
The algorithm is then to (1) prepare the state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ , and (2) measure it to obtain codeword x ∈ C x \in C x ∈ C . With this approach, the analysis boils down to finding the largest ℓ \ell ℓ such that:
We can efficiently prepare the state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ , and
Measuring ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ yields, on expectation, a good solution to the OPI instance.
In [18 ] , it was shown that for ℓ < min { k / 2 , ( 1 − ρ ) n } \ell< \min\{k/2,(1-\rho)n\} ℓ < min { k /2 , ( 1 − ρ ) n } , Item (1) can be achieved by unique decoding of C ⊥ C^\perp C ⊥ , and that Item (2) holds using the fact that, with this choice of ℓ \ell ℓ , 2 ℓ + 1 ≤ k 2\ell+1 \le k 2 ℓ + 1 ≤ k is below the distance of C ⊥ C^\perp C ⊥ (which is k + 1 k+1 k + 1 ). This choice of ℓ \ell ℓ results in a quantum algorithm achieving a satisfaction ratio of at least SCL ρ ( ℓ / n ) = SCL ρ ( R / 2 ) \operatorname{SCL}_{\rho}(\ell/n)=\operatorname{SCL}_{\rho}(R/2) SCL ρ ( ℓ / n ) = SCL ρ ( R /2 ) , which is the semicircle law.
In [39 ] , it was shown that taking larger ℓ = k / 2 + δ n \ell= k/2+\delta n ℓ = k /2 + δ n is permissible for Item (2), provided one can bound an appropriate error term contributed from dual codewords with Hamming weight t ∈ [ k + 1 , min { n , 2 ℓ + 1 } ] t \in[k+1,\min\{n,2\ell+1\}] t ∈ [ k + 1 , min { n , 2 ℓ + 1 }] . However, [39 ] was not able to establish Item (1), and so their result was existential rather than algorithmic. Follow-up work [17 ] showed how to achieve Item (1) and efficiently prepare ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ , whenever C ⊥ C^\perp C ⊥ can be list-decoded up to Hamming radius ℓ \ell ℓ . Using the Guruswami–Sudan algorithm, ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ can be prepared up to any fixed slack below the Johnson bound of C ⊥ C^\perp C ⊥ , which is ℓ = ( 1 − 1 − R ) n \ell=(1-\sqrt{1-R})n ℓ = ( 1 − 1 − R ) n . Thus, the work of [17 ] established a quantum algorithm that recovers a state with expected satisfaction ratio SCL ρ ( α ) \operatorname{SCL}_{\rho}(\alpha) SCL ρ ( α ) for any α < min { 1 − 1 − R , R / 2 + δ } \alpha< \min\{1-\sqrt{1-R},R/2+\delta\} α < min { 1 − 1 − R , R /2 + δ } where the two cutoffs correspond to permissible ℓ \ell ℓ for items (1) and (2) in [17 ] and [39 ] , respectively.13
To obtain our results in this step, we combine our list-recovery machinery developed above (in particular Lemma 1.17) with the techniques from [39 , 17 ] , and with the recent breakthroughs in algorithmic list-decoding and list-recovery of Reed–Solomon codes [2 , 16 , 8 ] . For Item (1), preparing the state, we can use the result of [17 ] as a black box, using the fact that [2 , 8 ] implies that we may actually list-decode C ⊥ C^\perp C ⊥ to radius approximately R R R rather than 1 − 1 − R 1-\sqrt{1-R} 1 − 1 − R . For Item (2), we use Lemma 1.17 (which itself uses the list-recovery result of [16 ] ) to control the error contributed by dual codewords with Hamming weight larger than k k k . Together, these ideas establish Theorem 1.9 (1).
To prove Theorem 1.12 and show the existence of solutions beyond the double semicircle law when R ∈ ( ρ , 1 / 2 ] R \in(\rho,1/2] R ∈ ( ρ , 1/2 ] , we use an approach conceptually similar to Prange’s algorithm. In more detail, we choose a set T ⊂ [ n ] T \subset[n] T ⊂ [ n ] of t t t coordinates, and consider puncturing the relevant Reed–Solomon code to the coordinates indexed by T T T . We show that, whenever t + 2 ℓ ≤ 2 k − Ω ( n ) t+2\ell\le2k-\Omega(n) t + 2 ℓ ≤ 2 k − Ω ( n ) , then conditioned on Q ( X ) Q(X) Q ( X ) satisfying every remaining constraint indexed by T T T , its satisfaction ratio among the constraints in [ n ] ∖ T [n] \setminus T [ n ] ∖ T is still given by the double semicircle law, with argument ℓ / ( n − t ) \ell/(n-t) ℓ / ( n − t ) .
Together, the final satisfaction ratio is at least
t n + n − t n SCL ρ ( ℓ n − t ) . \frac{t}{n}+\frac{n-t}{n}\operatorname{SCL}_{\rho}\left(\frac{\ell}{n-t}\right). n t + n n − t SCL ρ ( n − t ℓ ) .
Then, optimizing ℓ , t \ell,t ℓ , t as functions of R R R gives V ρ ( R ) V_{\rho}(R) V ρ ( R ) , as claimed in Theorem 1.12.
We emphasize this improvement is non-algorithmic, as discussed in Remark 6.3.
OPI when ρ + R > 1 \rho+R>1 ρ + R > 1
In this step, we prove Theorem 1.11(3) and Theorem 1.9 (2), which both deal with the case when ρ + R > 1 \rho+R>1 ρ + R > 1 . In this case, we establish near-optimal OPI discrepancy (which implies the existence of a perfect solution), and show how to find that solution efficiently.
We begin with the existential result, Theorem 1.11(3). As discussed in Step 3, the difficulty of OPI in the regime where R < 1 / 2 R<1/2 R < 1/2 is that Lemma 1.17 cannot apply to control Fourier errors from all shells of C ⊥ \mathcal{C}^{\perp} C ⊥ up to t = n t=n t = n . However, when R < 1 / 2 R<1/2 R < 1/2 but ρ > 1 − R \rho>1-R ρ > 1 − R , we can take advantage of the fact that the instance should intuitively be “easy” in that the S i S_i S i ’s are very dense. Fix ℓ ∼ α n \ell\sim\alpha n ℓ ∼ α n for α ∈ ( 1 − ρ , R ) \alpha\in(1-\rho,R) α ∈ ( 1 − ρ , R ) . For near-optimal OPI discrepancy, it suffices to show that for S : = S 1 × ⋯ × S n \mathbf{S}:=S_1\times\cdots\times S_n S := S 1 × ⋯ × S n
E x ∈ C [ ρ − n 1 S ( x ) ] = E x ∈ C [ H ( x ) 2 ] = 1 ± e − Ω ( n ) where H ( x ) : = ∑ j = 0 n ρ ( n − j ) / 2 ( 1 − ρ ) j / 2 q j ( x ) . (16) \mathbb{E}_{x\in\mathcal{C}}[\rho^{-n}\mathbf{1}_{\mathbf{S}}(x)]=\mathbb{E}_{x\in\mathcal{C}}[H(x)^2]=1\pm e^{-\Omega(n)}
\quad\text{where}\quad
H(x):=\sum_{j=0}^{n}\rho^{(n-j)/2}(1-\rho)^{j/2}q_j(x). \tag*{(16)} E x ∈ C [ ρ − n 1 S ( x )] = E x ∈ C [ H ( x ) 2 ] = 1 ± e − Ω ( n ) where H ( x ) := j = 0 ∑ n ρ ( n − j ) /2 ( 1 − ρ ) j /2 q j ( x ) . (16)
Indeed, the definition of near-optimal OPI discrepancy implies that we would like to show that E x ∈ C [ ρ − n 1 S ( x ) ] = 1 ± e − Ω ( n ) \mathbb{E}_{x\in\mathcal{C}}[\rho^{-n}\mathbf{1}_{\mathbf{S}}(x)]=1\pm e^{-\Omega(n)} E x ∈ C [ ρ − n 1 S ( x )] = 1 ± e − Ω ( n ) ; the expression in terms of H H H follows by arithmetic manipulation (see (78) ). Inspired by [HY26], we truncate the summands of H ( x ) H(x) H ( x ) to those indexed by j ≤ ℓ j\le\ell j ≤ ℓ to obtain H ℓ H_{\ell} H ℓ . We show that H ℓ H_{\ell} H ℓ is a good proxy for H H H on S \mathbf{S} S : in particular, H ℓ = ( 1 − e − Ω ( n ) ) H H_{\ell}=(1-e^{-\Omega(n)})H H ℓ = ( 1 − e − Ω ( n ) ) H pointwise on S \mathbf{S} S , while its squared mass outside S \mathbf{S} S on C \mathcal{C} C is exponentially small (see Lemma 5.7 ). Now, if we can show that
E x ∈ C [ H ℓ 2 ] = 1 ± e − Ω ( n ) , (17) \mathbb{E}_{x\in\mathcal{C}}[H_{\ell}^{2}]=1\pm e^{-\Omega(n)}, \tag*{(17)} E x ∈ C [ H ℓ 2 ] = 1 ± e − Ω ( n ) , (17)
this will imply (16) and therefore near-optimal OPI discrepancy. To establish (17) , we can again use our list-recovery-like lemma Lemma 1.17. The key is that the truncation of H ℓ H_{\ell} H ℓ means that we won’t have to handle “shells” all the way up to t = n t=n t = n , which was the issue identified earlier; instead, it turns out that we only need to deal with shells t ≤ min { n , 2 ℓ + 1 } ≤ 2 k − Ω ( n ) t\le\min\{n,2\ell+1\}\le2k-\Omega(n) t ≤ min { n , 2 ℓ + 1 } ≤ 2 k − Ω ( n ) (see Lemma 5.7 ). This establishes (17) and hence Theorem 1.11(3).
For a quantum algorithm to sample a perfect solution in this regime, we lower bound the probability that any particular perfect solution ∣ x ⟩ \lvert x\rangle ∣ x ⟩ is sampled when we measure ∣ φ ℓ ⟩ \lvert\varphi_{\ell}\rangle ∣ φ ℓ ⟩ for ℓ ∼ ( 1 − ρ ) n \ell\sim(1-\rho)n ℓ ∼ ( 1 − ρ ) n by a direct computation. Then we observe that these perfect states are abundant by the preceding paragraph. Now, repeating the same algorithm as in Step 4 polynomially many times until we find a perfect solution will do the job, proving Theorem 1.9 (2).
OPI at every positive rate for random evaluations
In this step, we prove Theorem 1.13, which establishes near-optimal OPI discrepancy for a Reed–Solomon code with random evaluation points with high probability.
Our proof builds on the very-recent result of [HMSY26] for one-bit LLR. The work [HMSY26] was independent and concurrent from the first version of our work, which did not include Theorem 1.13; in this version, we have adapted the techniques of [HMSY26] to prove Theorem 1.13.
Let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be a Reed–Solomon code with random evaluation points α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n , and let k = R n k = Rn k = R n be the dimension of C C C . [HMSY26] approximates each local indicator as 1 S i = G i + H i 1_{S_i} = G_i + H_i 1 S i = G i + H i , where G i G_i G i is appropriately structured and H i H_i H i has small Gowers U s U^s U s -norm for some large constant s s s . Upon expanding ∏ i 1 S i ( x i ) \prod_i 1_{S_i}(x_i) ∏ i 1 S i ( x i ) in the LLR proxy, consider a set J ⊂ [ n ] J \subset[n] J ⊂ [ n ] indexing products of H i H_i H i . If ∣ J ∣ |J| ∣ J ∣ is large, the small Gowers U s U^s U s -norm gives exponential decay. To handle the terms with small ∣ J ∣ |J| ∣ J ∣ , [HMSY26] uses the structure of G i G_i G i for i ∉ J i \notin J i ∈ / J to construct a good event Good (over the randomness of the choice of evaluation points) that implies that the LLR proxy corresponding to those small J J J are small, and they show that Good occurs with high probability for a random Reed–Solomon code.
We show that on the event Good, in fact the OPI proxy is also small, thereby proving Theorem 1.13. We can use much of [HMSY26] as a black box, and our work is to extend their techniques to work for OPI instead of LLR. This is done in § 7.4 and relies heavily on our Fourier analytic framework and proxies. The comparison is further discussed in Remark 5.12.
Step 7: Quantum Advantage of OPI
In this step, we prove Theorem 1.14, about the classical hardness of OPI relative to a membership oracle. We begin with the breakthrough result of Yamakawa and Zhandry [41 ] . They construct a high-rate folded Reed–Solomon code C 0 ⊂ Σ m C_0 \subset\Sigma^m C 0 ⊂ Σ m , where Σ = F q s \Sigma= \mathbb{F}_q^s Σ = F q s for a prime power q q q and some integer s s s , together with independent random oracles O j : Σ → { 0 , 1 } O_j : \Sigma\to\{0,1\} O j : Σ → { 0 , 1 } , which determine the input lists S j S_j S j . They show that there is a quantum algorithm that finds a perfect solution z ∈ C 0 z \in C_0 z ∈ C 0 satisfying O j ( z j ) = 1 O_j(z_j) = 1 O j ( z j ) = 1 for every j j j , whereas no classical algorithm making polynomially many queries can find a codeword with, say, 99% satisfaction. See Section 7.1 for more details.
We cast this construction as an OPI instance. We are motivated by the fact that the recent list-decoding algorithms of [2 , 8 ] can handle exponentially large fields (while still running in time polynomial in n n n , the length of the relevant Reed–Solomon code). This means that a single scalar in a very large field can encode all m m m coordinates of the Yamakawa-Zhandry instance. More specifically, we construct two
Related Work
Here, we further survey related work. We begin with related work on local leakage resilience for Shamir’s scheme.
Local Leakage Resilience for Shamir’s Scheme
Local leakage resilience was introduced in [4 ] , who were inspired by results in the regenerating codes literature [13 , 40 ] which implied that Shamir’s scheme was not LLR over extension fields. The work [3 ] showed that Shamir’s scheme (with arbitrary evaluation points) was 1-bit LLR provided that R = k / n R = k/n R = k / n satisfied R > 0.907 R > 0.907 R > 0.907 . Later, this was improved to 0.8675, 0.85, 0.78, 0.69, 0.668 by [31 , 4 , 30 , 21 , 19 ] , respectively. In the case of balanced leakage functions, [21 ] showed that R > 0.58 R > 0.58 R > 0.58 sufficed. However, all of these works faced a barrier at R = 1 / 2 R = 1/2 R = 1/2 . This barrier was intrinsic in the technique used by [3 , 4 , 31 , 30 ] ; in particular, the Fourier proxy that they bounded was not in fact small for R < 1 / 2 R < 1/2 R < 1/2 for certain one-bit leakage functions, even though the term that this proxy bounds is indeed small [31 , 33 ] . Other work [21 ] that used a different proxy did not face such a clear barrier at R = 1 / 2 R = 1/2 R = 1/2 , but their techniques and proofs do seem to require R > 1 / 2 R > 1/2 R > 1/2 . Inspired by this, [33 ] asked if it was possible to beat the so-called “1/2 barrier.” That work showed that for certain leakage functions (in particular, quadratic residue leakage ), one could get LLR with arbitrarily small constant rate R R R . However, the question of whether one could break or even approach the R = 1 / 2 R = 1/2 R = 1/2 barrier for worst-case leakage functions remained open until our work.
We note that the work [29 ] did prove a result approaching the 1/2 barrier, but this applied only to bounded classes of leakage functions and to Shamir schemes with random evaluation points.14 Other works considered restricted classes of leakage functions, for example physical bits (rather than leaked bits that require non-trivial computation of the stored physical bits) [28 ] . In this work, we focus on the question of worst-case families of leakage functions.
Other works have managed to break the 1/2 barrier (to obtain results for any positive rate) for secret sharing schemes other than Shamir, specifically for Massey secret sharing schemes corresponding to random linear codes 15 (Shamir’s scheme is the Massey scheme corresponding to Reed-Solomon codes). The work [31 ] established that rates approaching 1/2 would work for these secret sharing schemes, with high probability. The work [9 ] established it for any positive rate, for fields of size ∣ F ∣ = O ( n 1 / 5 ) |\mathbb{F}| = O(n^{1/5}) ∣ F ∣ = O ( n 1/5 ) ; since MDS codes do not exist in this parameter regime, the resulting secret schemes are ramp secret sharing schemes, with a gap between the number of parties required to recover the secret and the number which can be guaranteed to learn nothing about it. To the best of our knowledge, there are no threshold (as opposed to ramp) secret sharing schemes known to be one-bit LLR below rate 1/2 before this work. We note that [9 ] also studies a notion of discrepancy for random linear codes, which inspired the near-optimal OPI discrepancy that we study in this work.
Independent and Concurrent work. In independent work, [34 ] also obtained a result analogous to Theorem 1.3. In particular, they also prove a version of Theorem 1.3(2), showing that there is a constant δ > 0 \delta> 0 δ > 0 so that Shamir’s scheme with rate 1 / 2 − δ 1/2 - \delta 1/2 − δ is one-bit LLR. Their version of Theorem 1.3(1) is more quantitative, and shows that Shamir’s scheme with rate 1 / 2 + δ 1/2+\delta 1/2 + δ is b b b -bit leakage-resilient, for b = O δ ( log n ) b = O_{\delta}(\log n) b = O δ ( log n ) . The techniques are similar to those in § 6 , combining list-recovery of Reed–Solomon codes, a generalized von Neumann inequality, and Gowers norms. Instead of thresholding the Fourier weights in Lemma 1.17, the Efron–Stein inequality is used.
Concurrent to the first arXiv version of this work, which did not include Theorem 1.13, [HMSY26] showed that random Reed–Solomon codes are one-bit LLR for every positive rate. For the current version of this work, we have adapted their techniques to obtain our result for near-optimal OPI discrepancy of random Reed–Solomon codes at every positive rate, Theorem 1.13.
Optimal Polynomial Intersection
As mentioned earlier, questions related to OPI have been studied in other parameter regimes, most notably in the coding theory community as list-recovery of Reed–Solomon codes [11 GR06, 25 , 24 , 26 , 1 , 2 , 16 ] ; similar problems have also been proposed (and refuted) as cryptographic hardness assumptions [35 , 5 , 36 ] . It is also related to the problem studied in the breakthrough work of Yamakawa and Zhandry [41 ] , who show that a similar problem for folded Reed–Solomon codes over exponentially large fields is classically hard but quantumly easy (relative to a membership oracle for the input lists).
In our main parameter regime (with polynomial field sizes), OPI was first studied by [18 ] , who gave a quantum algorithm that finds a solution with satisfaction ratio up to SCL ρ ( R / 2 ) \operatorname{SCL}_{\rho}(R/2) SCL ρ ( R /2 ) . It has since been the target of related quantum algorithms, including [7 , 6 , 23 , 38 , 17 HY26] , which are inspired by Regev’s reduction [37 ] .
The works [7 , 6 ] gave algorithms to find solutions in a not-quite-worst-case model up to SCL ρ ( α J ( R ) ) \operatorname{SCL}_{\rho}(\alpha_J(R)) SCL ρ ( α J ( R )) , where α J ( R ) = 1 − 1 − R \alpha_J(R) = 1-\sqrt{1-R} α J ( R ) = 1 − 1 − R is the Johnson radius. More precisely, in this model the input list begin as worst-case S ~ i ⊂ F p \widetilde{S}_i \subset\mathbb{F}_p S i ⊂ F p , except that they are then translated by a random field element v i ∈ F p v_i \in\mathbb{F}_p v i ∈ F p to obtain S i = S ~ i + v i S_i = \widetilde{S}_i + v_i S i = S i + v i . This result guarantees an algorithmic solution (with high probability over the input lists) provided that R > 0.75 R > 0.75 R > 0.75 .
The work [39 ] improved the existential bound in the worst-case setting, guaranteeing the existence of solutions with satisfaction ratio SCL ρ ( R / 2 + δ ) \operatorname{SCL}_{\rho}(R/2+\delta) SCL ρ ( R /2 + δ ) for some δ > 0 \delta> 0 δ > 0 ; in particular, this implied the existence of an asymptotically perfect solution whenever R ≥ 0.749 R \ge0.749 R ≥ 0.749 , slightly smaller than the 0.75 guaranteed by [6 ] (although not algorithmic). We note that [39 ] also observed the key connection between OPI and LLR that we exploit, namely that similar Fourier proxies can be used to get a handle on both problems (although their improvements were not enough to improve on the state-of-the-art for LLR, only for OPI). We make their observations more precise in Theorem 1.15 .
The work [17 ] showed how to make the results in [39 ] algorithmic, provided that R / 2 + δ < α J ( R ) R/2+\delta< \alpha_J(R) R /2 + δ < α J ( R ) . In particular, this showed how to efficiently find a solution with s ( Q ) ≥ 1 − o ( 1 ) s(Q) \ge1-o(1) s ( Q ) ≥ 1 − o ( 1 ) at rates R ≥ 3 / 4 R \ge3/4 R ≥ 3/4 for balanced worst-case input lists, matching the quantitative result of [6 ] . We use the results of [17 ] to turn our improved existential results into improved algorithmic results.
Finally, the work [HY26] (concurrent with [17 ] ) recovered similar algorithmic bounds as [17 ] via a different method, and improved the existential results. Quantitatively, [HY26] guarantees the existence of a perfect solution for R ≥ 0.715 R \ge0.715 R ≥ 0.715 .
In very recent work, [KFGFJ+26] gave an algorithm for a folded variant of OPI that also approached the same “double semicircle law.” However, their paper is for a folded version of OPI, while we study the original “scalar” OPI.
On the hardness side, the works [41 , 20 ] show that a folded version of OPI over very large fields that can be solved by a quantum algorithm with oracle access to the input lists is hard for classical algorithms, in the sense that any classical algorithm requires super-polynomially many queries to the membership oracles. Our separation result Theorem 1.14 relies on the result of [41 ] , and transforms it into a scalar OPI instance. In other parameter regimes, OPI has been proposed as a cryptography hardness assumption [35 ] , but was broken by [5 ] using classical lattice attacks; however, these lattice attacks do not seem to work in the OPI parameter regime (see [18 ] ). OPI can be seen as a special case of max-LINSAT , where the goal is to satisfy as many linear constraints as possible. It is known that general max-LINSAT problems are NP-hard even to approximate even beyond the straightforward “random assignment” threshold [22 ] .
Open Problems
We conclude with a few open problems.
What is the “correct” rate threshold for LLR for Shamir schemes? That is, what is the smallest R ∗ R^* R ∗ so that any Shamir scheme with rate at least R ∗ R^* R ∗ is one-bit LLR? A conjecture of [4 ] posits that R ∗ R^* R ∗ can be an arbitrarily small constant; we have shown that R ∗ R^* R ∗ can be less than 1 / 2 1/2 1/2 . The very recent result of [HMSY26] resolved this conjecture affirmatively for almost every tuple of evaluation points, over sufficiently large fields. Does a similar result hold for all evaluation points?
What is the “correct” satisfaction ratio for an OPI instance of rate R R R ? That is, given R ∈ ( 0 , 1 ) R \in(0,1) R ∈ ( 0 , 1 ) and ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , what is the largest s ∗ s^* s ∗ so that, for any OPI instance of rate R R R and input lists with density ρ \rho ρ , there exists a solution with satisfaction ratio at least s ∗ s^* s ∗ ? In some parameter regimes, we have shown that s ∗ = 1 s^* = 1 s ∗ = 1 , but in the other parameter regimes, we have only given bounds on s ∗ s^* s ∗ . In particular, we have shown that s ∗ ≥ V ρ ( R ) s^* \ge V_\rho(R) s ∗ ≥ V ρ ( R ) , but our results Theorem 1.11(2) suggest that one can do better, at least by some arbitrarily small δ > 0 \delta> 0 δ > 0 . We have shown in Theorem 1.13 that the answer is s ∗ = 1 s^* = 1 s ∗ = 1 for all ρ , R ∈ ( 0 , 1 ] \rho, R \in(0,1] ρ , R ∈ ( 0 , 1 ] , for most choices of evaluation points; does the same hold for all choices of evaluation points?
What is the largest fraction s a l g ∗ ≤ s ∗ s_{\mathrm{alg}}^* \le s^* s alg ∗ ≤ s ∗ such that a solution to OPI with satisfaction at least s a l g ∗ s_{\mathrm{alg}}^* s alg ∗ can be found efficiently by a quantum algorithm? In particular, there are parameter regimes where we have shown the existence of solutions with satisfaction ratio beyond what is currently attainable quantum algorithmically; can this gap be closed?
Statement on AI Usage
Prior to the recent breakthroughs on list decoding and list recovery of RS code [2 , 16 ] , the connections between OPI, LLR, and dual list recovery in § 6 were made by the authors, and the Steps 1 to 4 in § 1.4 were executed for random Reed-Solomon codes. Subsequently, ChatGPT 5.6-Sol was heavily consulted for various techniques to improve the numerical thresholds for RS codes, e.g. using Brascamp-Lieb inequalities and (recent improvements to) the linear programming bound of McEliece, Rodemich, Rumsey, and Welch [32 ] .
Following the breakthroughs on list decoding and list recovery of RS codes, these numerical techniques were redundant, as is the distinction between random RS codes and arbitrary RS codes. The authors then used ChatGPT 6-Astra to understand existing literature and it produced the key truncation idea in Step 5 of § 1.4 , as well as the extension to the arbitrary bias case of Theorem 1.3(2) in Section A. Similarly in Step 6, ChatGPT 6-Astra is used to understand the higher order Fourier analysis in [HMSY26]. It isolated the black box Fact 5.10 from [HMSY26], which we used to prove Theorem 1.13, building on our framework in the earlier steps.
Inspired by the new list decoding algorithms that handle exponentially large fields, the authors attempted to apply the techniques of [41 ] to show relative separation of OPI, and constructed the sparse ensemble in Step 7 of § 1.4 . Prompted with the idea of a balanced instance via distributing the oracle checks, ChatGPT 6-Astra obtained a version of the balanced ensemble and Theorem 1.14 upon which the authors further simplified the construction and proof.
Outside of the aforementioned contributions, AI was used only for copyediting and proof checking, as well as for generating the tikz code that produces Figure 1 to Figure 3 . All proofs appearing in the manuscript were written by the authors. All responsibility for errors lies with the authors.
Figure 3. The improvement over [21 ] from Corollary 3.5. The rate R K K ( τ ) R_{\mathrm{KK}}(\tau) R KK ( τ ) required for one-bit LLR, where τ ≤ max ( ρ i , 1 − ρ i ) \tau\le\max(\rho_i,1-\rho_i) τ ≤ max ( ρ i , 1 − ρ i ) for all i i i . In particular, R K K ( 1 / 2 ) = 0.579 … R_{\mathrm{KK}}(1/2)=0.579\ldots R KK ( 1/2 ) = 0.579 … is the worst (largest) bound in the range, and coincides with the result of [21 ] when τ = 1 / 2 \tau=1/2 τ = 1/2 ; however, R K K ( τ ) R_{\mathrm{KK}}(\tau) R KK ( τ ) decreases as τ > 1 / 2 \tau>1/2 τ > 1/2 increases, improving on [21 ] (which obtained worse results for τ > 1 / 2 \tau>1/2 τ > 1/2 ).
Acknowledgements
YS thanks Rohan Goyal for helpful discussions. YS is funded by the NSF Graduate Research Fellowship and the Stanford Graduate Fellowship. MW is partially funded by NSF grants CCF-2231157 and CNS-2321489, and is grateful for funding from Google to support this work.
Preliminaries
Notation and Conventions
We write [ n ] : = { 1 , … , n } [n] := \{1, \ldots, n\} [ n ] := { 1 , … , n } , with [ 0 ] = ∅ [0] = \varnothing [ 0 ] = ∅ , and ( S k ) \binom{S}{k} ( k S ) for the family of k k k -element subsets of S S S . We write ⟨ u , v ⟩ \langle u, v\rangle ⟨ u , v ⟩ for the standard dot product and E x ∈ X \mathbb{E}_{x\in X} E x ∈ X for expectation over a uniformly random x ∈ X x \in X x ∈ X .
We use the standard asymptotic notation f ≲ g f \lesssim g f ≲ g for f = O ( g ) f = O(g) f = O ( g ) , f ≪ g f \ll g f ≪ g for f = o ( g ) f = o(g) f = o ( g ) , f ≳ g f \gtrsim g f ≳ g for g ≲ f g \lesssim f g ≲ f , f ≍ g f \asymp g f ≍ g for f = Θ ( g ) f = \Theta(g) f = Θ ( g ) , and f ∼ g f \sim g f ∼ g when f / g → 1 f/g \to1 f / g → 1 . Subscripts indicate the parameters on which the implicit constants may depend.
All unqualified logarithms are natural. For x ∈ [ 0 , 1 ] x \in[0,1] x ∈ [ 0 , 1 ] , define the natural-base and base-two binary entropy functions by continuity at the endpoints:
H ( x ) : = − x log x − ( 1 − x ) log ( 1 − x ) , H 2 ( x ) : = H ( x ) log 2 = − x log 2 x − ( 1 − x ) log 2 ( 1 − x ) . H(x) := -x\log x - (1-x)\log(1-x), \qquad H_2(x) := \frac{H(x)}{\log2} = -x\log_2 x - (1-x)\log_2(1-x). H ( x ) := − x log x − ( 1 − x ) log ( 1 − x ) , H 2 ( x ) := log 2 H ( x ) = − x log 2 x − ( 1 − x ) log 2 ( 1 − x ) .
Both functions are left undefined outside [ 0 , 1 ] [0,1] [ 0 , 1 ] . Whenever an optimization contains H H H or H 2 H_2 H 2 , its domain is implicitly restricted so that every entropy argument lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] . We use sup ∅ = − ∞ \sup\varnothing= -\infty sup ∅ = − ∞ and inf ∅ = + ∞ \inf\varnothing= +\infty inf ∅ = + ∞ , and use the continuous perspective convention a H ( b / a ) = 0 aH(b/a) = 0 a H ( b / a ) = 0 when a = b = 0 a = b = 0 a = b = 0 .
Coding Theory
An [ n , k ] [n,k] [ n , k ] linear code is a k k k -dimensional subspace of F p n \mathbb{F}_p^n F p n ; its rate is k / n k/n k / n , and its dual is C ⊥ : = { y : ⟨ x , y ⟩ = 0 for every x ∈ C } C^\perp:= \{y : \langle x,y\rangle= 0\text{ for every }x \in C\} C ⊥ := { y : ⟨ x , y ⟩ = 0 for every x ∈ C } . We write ∣ y ∣ : = ∣ supp ( y ) ∣ |y| := |\operatorname{supp}(y)| ∣ y ∣ := ∣ supp ( y ) ∣ for Hamming weight. A code is Maximum Distance Separable (MDS) if its distance is n − k + 1 n-k+1 n − k + 1 , or equivalently if projecting to any k k k coordinates forms a bijection C → F p k C \to\mathbb{F}_p^k C → F p k .
We will be interested in Reed–Solomon (RS) codes as well as generalized Reed–Solomon (GRS) codes. A generalized Reed–Solomon code is the set
C = { ( a i Q ( α i ) ) i = 1 n : Q ∈ F p [ X ] , deg Q < k } , C = \{(a_iQ(\alpha_i))_{i=1}^n : Q \in\mathbb{F}_p[X], \deg Q < k\}, C = {( a i Q ( α i ) ) i = 1 n : Q ∈ F p [ X ] , deg Q < k } ,
where the α i \alpha_i α i are distinct and every a i ≠ 0 a_i \ne0 a i = 0 . When the a i a_i a i are all equal to 1, we say that C C C is a RS code with evaluation points α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n .
RS codes and generalized RS codes are MDS, and the dual of a GRS code is an [ n , n − k ] [n,n-k] [ n , n − k ] GRS code of distance k + 1 k+1 k + 1 . For I ⊂ [ n ] I \subset[n] I ⊂ [ n ] , the puncturing C C C to I I I is the set C ∣ I = { c ∣ I : c ∈ C } C|_I=\{c|_I:c\in C\} C ∣ I = { c ∣ I : c ∈ C } , where c ∣ I c|_I c ∣ I is the restriction of c c c to the coordinates in I I I . The dual of C ∣ I C|_I C ∣ I consists of the restrictions to I I I of the words of C ⊥ C^\perp C ⊥ that vanish outside I I I . Thus ( C ∣ I ) ⊥ (C|_I)^\perp ( C ∣ I ) ⊥ is the shortening of C ⊥ C^\perp C ⊥ to I I I . Indeed, a word on I I I is orthogonal to every punctured codeword exactly when its extension by zero is orthogonal to C C C . When ∣ I ∣ ≥ k |I|\ge k ∣ I ∣ ≥ k and C C C is MDS, C ∣ I C|_I C ∣ I has dimension k k k , and the shortened dual has dimension ∣ I ∣ − k |I|-k ∣ I ∣ − k .
We now introduce the recent breakthrough results on list decodability and recoverability of Reed-Solomon codes at capacity [2 , 16 , 8 ] . We need algorithmic list decoding, but combinatorial list recovery properties only.
Definition 2.1 (List decoding and recovery). A code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n is ( δ , ℓ , L ) (\delta,\ell,L) ( δ , ℓ , L ) -list recoverable if, for any coordinate lists V 1 , … , V n ⊂ F p V_1,\ldots,V_n\subset\mathbb{F}_p V 1 , … , V n ⊂ F p with ∣ V i ∣ ≤ ℓ |V_i|\le\ell ∣ V i ∣ ≤ ℓ , at most L L L words y ∈ C y\in C y ∈ C satisfy y i ∈ V i y_i\in V_i y i ∈ V i on at least ( 1 − δ ) n (1-\delta)n ( 1 − δ ) n coordinates. List decoding is the singleton-list case: a code is ( δ , L ) (\delta,L) ( δ , L ) -list decodable if every Hamming ball of radius δ n \delta n δ n contains at most L L L codewords.
Theorem 2.2 (Reed-Solomon list decoding [8 Theorem 9.16] ). For ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) and all sufficiently large n n n and prime p ≥ n p\ge n p ≥ n , every generalized Reed-Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n with dimension 1 ≤ k ≤ ( 1 − ε ) n 1\le k\le(1-\varepsilon)n 1 ≤ k ≤ ( 1 − ε ) n admits a deterministic algorithm that, given any z ∈ F p n z\in\mathbb{F}_p^n z ∈ F p n , in n O ε ( 1 ) O ~ ( log p ) n^{O_\varepsilon(1)}\widetilde{O}(\log p) n O ε ( 1 ) O ( log p ) running time (uniformly in k k k and the evaluation places) outputs every c ∈ C c\in C c ∈ C such that
∣ c − z ∣ ≤ ( 1 − k n − ε ) n . |c-z|\le\left(1-\frac{k}{n}-\varepsilon\right)n. ∣ c − z ∣ ≤ ( 1 − n k − ε ) n .
Theorem 2.3 (Reed-Solomon list recovery [16 Theorem 1.1] ). For ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N , and all sufficiently large n n n and prime p ≥ n p\ge n p ≥ n , every generalized Reed-Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n with dimension 1 ≤ k ≤ ( 1 − ε ) n 1\le k\le(1-\varepsilon)n 1 ≤ k ≤ ( 1 − ε ) n is
( 1 − k n − ε , ℓ , n O ε , ℓ ( 1 ) ) -list recoverable . \left(1-\frac{k}{n}-\varepsilon,\ell,n^{O_{\varepsilon,\ell}(1)}\right)\text{-list recoverable}. ( 1 − n k − ε , ℓ , n O ε , ℓ ( 1 ) ) -list recoverable . The exponent is uniform in p , k p,k p , k and the evaluation points.
Fourier Analytic Tools
We adopt the following conventions on Fourier analysis over F p n \mathbb{F}_p^n F p n . Let e p ( t ) : = exp ( 2 π i t / p ) e_p(t):=\exp(2\pi it/p) e p ( t ) := exp ( 2 π i t / p ) . Then, for functions f : F p n → C f:\mathbb{F}_p^n\to\mathbb{C} f : F p n → C ,
f ^ ( y ) : = E x ∈ F p n [ f ( x ) e p ( ⟨ x , y ⟩ ) ] , f ( x ) = ∑ y ∈ F p n f ^ ( y ) e p ( − ⟨ x , y ⟩ ) . \widehat{f}(y):=\mathbb{E}_{x\in\mathbb{F}_p^n}[f(x)e_p(\langle x,y\rangle)],\qquad f(x)=\sum_{y\in\mathbb{F}_p^n}\widehat{f}(y)e_p(-\langle x,y\rangle). f ( y ) := E x ∈ F p n [ f ( x ) e p (⟨ x , y ⟩)] , f ( x ) = y ∈ F p n ∑ f ( y ) e p ( − ⟨ x , y ⟩) .
Lemma 2.4 (Arc Bound; see [39 ] ). Let S ⊂ F p S\subset\mathbb{F}_p S ⊂ F p have size ∣ S ∣ = ρ p |S|=\rho p ∣ S ∣ = ρp . Then, for every ξ ≠ 0 \xi\ne0 ξ = 0 , as p → ∞ p\to\infty p → ∞ uniformly in ρ \rho ρ , we have that
∣ 1 S ^ ( ξ ) ∣ ≤ sin ( π ρ ) p sin ( π / p ) = sin ( π ρ ) π + O ( p − 2 ) . \left|\widehat{1_S}(\xi)\right|\le\frac{\sin(\pi\rho)}{p\sin(\pi/p)}=\frac{\sin(\pi\rho)}{\pi}+O(p^{-2}). 1 S ( ξ ) ≤ p sin ( π / p ) sin ( π ρ ) = π sin ( π ρ ) + O ( p − 2 ) .
Corollary 2.5 (L ∞ L^\infty L ∞ -Fourier bound). For any ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) ,
∣ g ^ ( ξ ) ∣ ≤ γ ( ρ ) + O ( p − 2 ) (18) |\widehat{g}(\xi)|\le\gamma(\rho)+O(p^{-2}) \tag*{(18)} ∣ g ( ξ ) ∣ ≤ γ ( ρ ) + O ( p − 2 ) (18) for every ξ ≠ 0 \xi\ne0 ξ = 0 , where
g ( x ) : = 1 S ( x ) − ρ ρ ( 1 − ρ ) and γ ( ρ ) : = sin ( π ρ ) π ρ ( 1 − ρ ) . (19) g(x):=\frac{1_S(x)-\rho}{\sqrt{\rho(1-\rho)}}\qquad\text{and}\qquad\gamma(\rho):=\frac{\sin(\pi\rho)}{\pi\sqrt{\rho(1-\rho)}}. \tag*{(19)} g ( x ) := ρ ( 1 − ρ ) 1 S ( x ) − ρ and γ ( ρ ) := π ρ ( 1 − ρ ) sin ( π ρ ) . (19) Moreover, setting γ ( 0 ) = γ ( 1 ) = 0 \gamma(0)=\gamma(1)=0 γ ( 0 ) = γ ( 1 ) = 0 by continuity, γ : [ 0 , 1 ] → [ 0 , ∞ ) \gamma:[0,1]\to[0,\infty) γ : [ 0 , 1 ] → [ 0 , ∞ ) is increasing on ( 0 , 1 / 2 ] (0,1/2] ( 0 , 1/2 ] , decreasing on [ 1 / 2 , 1 ) [1/2,1) [ 1/2 , 1 ) , and γ ( 1 / 2 ) = 2 / π \gamma(1/2)=2/\pi γ ( 1/2 ) = 2/ π .
Proof. For ξ ≠ 0 \xi\ne0 ξ = 0 , if h ( x ) = ρ h(x)=\rho h ( x ) = ρ is a constant function then h ^ ( ξ ) = 0 \widehat{h}(\xi)=0 h ( ξ ) = 0 . In general, Lemma 2.4 gives
∣ g ^ ( ξ ) ∣ ≤ sin ( π ρ ) p sin ( π / p ) ρ ( 1 − ρ ) = γ ( ρ ) ⋅ π p sin ( π / p ) = γ ( ρ ) + O ( p − 2 ) , |\widehat{g}(\xi)| \le\frac{\sin(\pi\rho)}{p\sin(\pi/p)\sqrt{\rho(1-\rho)}}=\frac{\gamma(\rho)\cdot\pi}{p\sin(\pi/p)}=\gamma(\rho)+O(p^{-2}), ∣ g ( ξ ) ∣ ≤ p sin ( π / p ) ρ ( 1 − ρ ) sin ( π ρ ) = p sin ( π / p ) γ ( ρ ) ⋅ π = γ ( ρ ) + O ( p − 2 ) ,
by linearity of the Fourier transform. Now, monotonicity follows by differentiating.
For later use in § 7.4 , we record an extension of Lemma 2.4 to finite-dimensional vector space V V V over F p \mathbb{F}_p F p . Similarly to [HMSY26, Section 9.1], we define dual space V ⋆ = Hom F p ( V , F p ) V^\star=\operatorname{Hom}_{\mathbb{F}_p}(V,\mathbb{F}_p) V ⋆ = Hom F p ( V , F p ) to be the space of F p \mathbb{F}_p F p -linear maps from V V V to F p \mathbb{F}_p F p . We also use the convention that, for a function f f f defined on V V V and for ξ ∈ V ⋆ \xi\in V^\star ξ ∈ V ⋆ ,
f ^ ( ξ ) = E x ∈ V f ( x ) e p ( ξ ( x ) ) . \widehat{f}(\xi)=\mathbb{E}_{x\in V}f(x)e_p(\xi(x)). f ( ξ ) = E x ∈ V f ( x ) e p ( ξ ( x )) .
Corollary 2.6 (Fractional arc bound). Let V V V be a finite-dimensional vector space over F p \mathbb{F}_p F p and let f : V → [ 0 , 1 ] f:V\to[0,1] f : V → [ 0 , 1 ] have mean θ \theta θ . Then, for every ξ ∈ V ⋆ ∖ { 0 } \xi\in V^\star\setminus\{0\} ξ ∈ V ⋆ ∖ { 0 } , as p → ∞ p\to\infty p → ∞ uniformly in V V V and f f f , we have that
∣ f ^ ( ξ ) ∣ ≤ sin ( π θ ) p sin ( π / p ) = sin ( π θ ) π + O ( p − 2 ) . |\widehat{f}(\xi)|\le\frac{\sin(\pi\theta)}{p\sin(\pi/p)}=\frac{\sin(\pi\theta)}{\pi}+O(p^{-2}). ∣ f ( ξ ) ∣ ≤ p sin ( π / p ) sin ( π θ ) = π sin ( π θ ) + O ( p − 2 ) . Moreover, ∑ ξ ∈ V ⋆ ∣ f ^ ( ξ ) ∣ 2 ≤ θ \sum_{\xi\in V^\star}|\widehat{f}(\xi)|^2\le\theta ∑ ξ ∈ V ⋆ ∣ f ( ξ ) ∣ 2 ≤ θ .
Proof. Fix ξ ≠ 0 \xi\ne0 ξ = 0 and set h ( a ) = E [ f ( x ) ∣ ξ ( x ) = a ] h(a)=\mathbb{E}[f(x)\mid\xi(x)=a] h ( a ) = E [ f ( x ) ∣ ξ ( x ) = a ] . Since ξ \xi ξ is surjective, h : F p → [ 0 , 1 ] h:\mathbb{F}_p\to[0,1] h : F p → [ 0 , 1 ] has mean θ \theta θ and h ^ ( 1 ) = f ^ ( ξ ) \widehat{h}(1)=\widehat{f}(\xi) h ( 1 ) = f ( ξ ) . Write h ( a ) = ∫ 0 1 1 S t ( a ) d t h(a)=\int_0^1\mathbf{1}_{S_t}(a)\,dt h ( a ) = ∫ 0 1 1 S t ( a ) d t , where S t = { a : h ( a ) ≥ t } S_t=\{a:h(a)\ge t\} S t = { a : h ( a ) ≥ t } and θ t = ∣ S t ∣ / p \theta_t=|S_t|/p θ t = ∣ S t ∣/ p . By Lemma 2.4 , the triangle inequality, and concavity of sin ( π θ ) \sin(\pi\theta) sin ( π θ ) ,
∣ f ^ ( ξ ) ∣ ≤ ∫ 0 1 ∣ 1 S t ^ ( 1 ) ∣ d t ≤ ∫ 0 1 sin ( π θ t ) d t p sin ( π / p ) ≤ sin ( π θ ) p sin ( π / p ) , |\widehat{f}(\xi)|\le\int_0^1|\widehat{\mathbf{1}_{S_t}}(1)|\,dt\le\frac{\int_0^1\sin(\pi\theta_t)\,dt}{p\sin(\pi/p)}\le\frac{\sin(\pi\theta)}{p\sin(\pi/p)}, ∣ f ( ξ ) ∣ ≤ ∫ 0 1 ∣ 1 S t ( 1 ) ∣ d t ≤ p sin ( π / p ) ∫ 0 1 sin ( π θ t ) d t ≤ p sin ( π / p ) sin ( π θ ) ,
using ∫ 0 1 θ t d t = θ \int_0^1\theta_t\,dt=\theta ∫ 0 1 θ t d t = θ . Finally, Parseval’s identity and the fact that f 2 ≤ f f^2\le f f 2 ≤ f give ∑ ξ ∈ V ⋆ ∣ f ^ ( ξ ) ∣ 2 = E f 2 ≤ E f = θ \sum_{\xi\in V^\star}|\widehat{f}(\xi)|^2=\mathbb{E}f^2\le\mathbb{E}f=\theta ∑ ξ ∈ V ⋆ ∣ f ( ξ ) ∣ 2 = E f 2 ≤ E f = θ .
We introduce some higher order Gowers norms used for additive combinatorics over the finite field model. See [12 ] for a more complete treatment.
Definition 2.7 (Gowers norms over F p \mathbb{F}_p F p ). For an integer s ≥ 1 s\ge1 s ≥ 1 and a function F : F p → C F:\mathbb{F}_p\to\mathbb{C} F : F p → C , define
∥ F ∥ U s 2 s : = E x , h 1 , … , h s ∏ ω ∈ { 0 , 1 } s C ∣ ω ∣ F ( x + ⟨ ω , h ⟩ ) , \|F\|_{U^s}^{2^s}:=\mathbb{E}_{x,h_1,\ldots,h_s}\prod_{\omega\in\{0,1\}^s}\mathcal{C}^{|\omega|}F(x+\langle\omega,h\rangle), ∥ F ∥ U s 2 s := E x , h 1 , … , h s ω ∈ { 0 , 1 } s ∏ C ∣ ω ∣ F ( x + ⟨ ω , h ⟩) , where C \mathcal{C} C denotes complex conjugation and all variables are uniform on F p \mathbb{F}_p F p . In particular,
∥ F ∥ U 1 = ∣ E F ∣ = ∣ F ^ ( 0 ) ∣ , ∥ F ∥ U 2 4 = ∑ ξ ∈ F p ∣ F ^ ( ξ ) ∣ 4 . (20) \|F\|_{U^1}=|\mathbb{E}F|=|\widehat{F}(0)|,\qquad\|F\|_{U^2}^4=\sum_{\xi\in\mathbb{F}_p}|\widehat{F}(\xi)|^4. \tag*{(20)} ∥ F ∥ U 1 = ∣ E F ∣ = ∣ F ( 0 ) ∣ , ∥ F ∥ U 2 4 = ξ ∈ F p ∑ ∣ F ( ξ ) ∣ 4 . (20)
For Δ h F ( x ) : = F ( x ) F ( x + h ) ‾ \Delta_hF(x):=F(x)\overline{F(x+h)} Δ h F ( x ) := F ( x ) F ( x + h ) , the Gowers norms satisfy
∥ F ∥ U s + 1 2 s + 1 = E h ∥ Δ h F ∥ U s 2 s . (21) \|F\|_{U^{s+1}}^{2^{s+1}}=\mathbb{E}_h\|\Delta_hF\|_{U^s}^{2^s}. \tag*{(21)} ∥ F ∥ U s + 1 2 s + 1 = E h ∥ Δ h F ∥ U s 2 s . (21)
We use this identity only for s ∈ { 1 , 2 } s\in\{1,2\} s ∈ { 1 , 2 } . For the applications below, we need a uniform bound on U 3 U^3 U 3 -norms strictly below one whenever the minority probability τ \tau τ is bounded away from 0 0 0 .
Lemma 2.8 (U 3 U^3 U 3 -gap). For every fixed τ ∈ ( 0 , 1 / 2 ) \tau\in(0,1/2) τ ∈ ( 0 , 1/2 ) there is q < 1 q<1 q < 1 such that the following holds for all sufficiently large primes p p p . If f : F p → R f:\mathbb{F}_p\to\mathbb{R} f : F p → R satisfies that ∣ f ( x ) ∣ − 1 = o ( 1 ) |f(x)|-1=o(1) ∣ f ( x ) ∣ − 1 = o ( 1 ) uniformly over x ∈ F p x\in\mathbb{F}_p x ∈ F p , and that ∣ E x ∈ F p f ( x ) ∣ ≤ 1 − 2 τ + o ( 1 ) |\mathbb{E}_{x\in\mathbb{F}_p}f(x)|\le1-2\tau+o(1) ∣ E x ∈ F p f ( x ) ∣ ≤ 1 − 2 τ + o ( 1 ) , then ∥ f ∥ U 3 ≤ q \|f\|_{U^3}\le q ∥ f ∥ U 3 ≤ q .
Proof. We first claim that it suffices to consider ± 1 \pm1 ± 1 -valued f f f with no o ( 1 ) o(1) o ( 1 ) errors. Let f ~ : F p → { − 1 , 1 } \widetilde{f}:\mathbb{F}_p\to\{-1,1\} f : F p → { − 1 , 1 } be a nearest-sign function, so ε = max x ∈ F p ∣ f ( x ) ∣ − 1 = o ( 1 ) \varepsilon=\max_{x\in\mathbb{F}_p}|f(x)|-1=o(1) ε = max x ∈ F p ∣ f ( x ) ∣ − 1 = o ( 1 ) . Then, ∣ E f ~ ∣ ≤ ∣ E f ∣ + ε ≤ 1 − τ |\mathbb{E}\widetilde{f}|\leq|\mathbb{E}f|+\varepsilon\leq1-\tau ∣ E f ∣ ≤ ∣ E f ∣ + ε ≤ 1 − τ for all sufficiently large p p p . Applying the ± 1 \pm1 ± 1 -valued statement with parameter τ / 2 \tau/2 τ /2 gives ∥ f ~ ∥ U 3 ≤ q 0 \|\widetilde{f}\|_{U^3}\leq q_0 ∥ f ∥ U 3 ≤ q 0 for some fixed q 0 < 1 q_0<1 q 0 < 1 . Hence, any fixed q ∈ ( q 0 , 1 ) q\in(q_0,1) q ∈ ( q 0 , 1 ) works for all sufficiently large p p p as
∥ f ∥ U 3 ≤ ∥ f ~ ∥ U 3 + ∥ f − f ~ ∥ U 3 ≤ q 0 + ε . \|f\|_{U^3}\leq\|\widetilde{f}\|_{U^3}+\|f-\widetilde{f}\|_{U^3}\leq q_0+\varepsilon. ∥ f ∥ U 3 ≤ ∥ f ∥ U 3 + ∥ f − f ∥ U 3 ≤ q 0 + ε .
It therefore remains to prove the exact ± 1 \pm1 ± 1 -valued case, i.e. f : F p → { − 1 , 1 } f:\mathbb{F}_p\to\{-1,1\} f : F p → { − 1 , 1 } such that ∣ E f ∣ ≤ 1 − 2 τ |\mathbb{E}f|\leq1-2\tau ∣ E f ∣ ≤ 1 − 2 τ . Let μ : = E f ∈ [ 2 τ − 1 , 1 − 2 τ ] \mu:=\mathbb{E}f\in[2\tau-1,1-2\tau] μ := E f ∈ [ 2 τ − 1 , 1 − 2 τ ] . Fix any c ∈ ( 2 / π , 1 ) c\in(2/\pi,1) c ∈ ( 2/ π , 1 ) . By Lemma 2.4, for all sufficiently large p p p , ∣ f ^ ( ξ ) ∣ ≤ c |\widehat{f}(\xi)|\leq c ∣ f ( ξ ) ∣ ≤ c whenever ξ ≠ 0 \xi\neq0 ξ = 0 . Parseval and the Fourier formula in (20) for the U 2 U^2 U 2 norm give
∥ f ∥ U 2 4 = ∑ ξ ∈ F p ∣ f ^ ( ξ ) ∣ 4 ≤ ∣ μ ∣ 4 + c 2 ( 1 − ∣ μ ∣ 2 ) . (22) \|f\|_{U^2}^4=\sum_{\xi\in\mathbb{F}_p}|\widehat{f}(\xi)|^4\leq|\mu|^4+c^2(1-|\mu|^2). \tag*{(22)} ∥ f ∥ U 2 4 = ξ ∈ F p ∑ ∣ f ( ξ ) ∣ 4 ≤ ∣ μ ∣ 4 + c 2 ( 1 − ∣ μ ∣ 2 ) . (22)
Since f f f is ± 1 \pm1 ± 1 -valued, let f h ( x ) = Δ h f ( x ) = f ( x + h ) f ( x ) f_h(x)=\Delta_hf(x)=f(x+h)f(x) f h ( x ) = Δ h f ( x ) = f ( x + h ) f ( x ) for h ∈ F p h\in\mathbb{F}_p h ∈ F p and let m h : = E f h m_h:=\mathbb{E}f_h m h := E f h . Then, f h f_h f h is again ± 1 \pm1 ± 1 -valued, so ∣ m h ∣ 4 ≤ ∣ m h ∣ 2 |m_h|^4\leq|m_h|^2 ∣ m h ∣ 4 ≤ ∣ m h ∣ 2 and the same argument as (22) gives
∥ f h ∥ U 2 4 ≤ ∣ m h ∣ 4 + c 2 ( 1 − ∣ m h ∣ 2 ) ≤ c 2 + ( 1 − c 2 ) ∣ m h ∣ 2 . \|f_h\|_{U^2}^4\leq|m_h|^4+c^2(1-|m_h|^2)\leq c^2+(1-c^2)|m_h|^2. ∥ f h ∥ U 2 4 ≤ ∣ m h ∣ 4 + c 2 ( 1 − ∣ m h ∣ 2 ) ≤ c 2 + ( 1 − c 2 ) ∣ m h ∣ 2 .
Moreover, we have by (20) and (21) that
∥ f ∥ U 2 4 = E h ∥ Δ h f ∥ U 1 2 = E h ∣ E Δ h f ∣ 2 = E h ∣ m h ∣ 2 , \|f\|_{U^2}^4=\mathbb{E}_h\|\Delta_hf\|_{U^1}^2=\mathbb{E}_h|\mathbb{E}\Delta_hf|^2=\mathbb{E}_h|m_h|^2, ∥ f ∥ U 2 4 = E h ∥ Δ h f ∥ U 1 2 = E h ∣ E Δ h f ∣ 2 = E h ∣ m h ∣ 2 ,
so E h ∣ m h ∣ 2 = ∥ f ∥ U 2 4 \mathbb{E}_h|m_h|^2=\|f\|_{U^2}^4 E h ∣ m h ∣ 2 = ∥ f ∥ U 2 4 . Together, we have
∥ f ∥ U 3 8 = E h ∥ f h ∥ U 2 4 ≤ c 2 + ( 1 − c 2 ) E h ∣ m h ∣ 2 = c 2 + ( 1 − c 2 ) ∥ f ∥ U 2 4 ≤ c 2 + ( 1 − c 2 ) [ ∣ μ ∣ 4 + c 2 ( 1 − ∣ μ ∣ 2 ) ] , \|f\|_{U^3}^8=\mathbb{E}_h\|f_h\|_{U^2}^4\leq c^2+(1-c^2)\mathbb{E}_h|m_h|^2=c^2+(1-c^2)\|f\|_{U^2}^4\leq c^2+(1-c^2)\left[|\mu|^4+c^2(1-|\mu|^2)\right], ∥ f ∥ U 3 8 = E h ∥ f h ∥ U 2 4 ≤ c 2 + ( 1 − c 2 ) E h ∣ m h ∣ 2 = c 2 + ( 1 − c 2 ) ∥ f ∥ U 2 4 ≤ c 2 + ( 1 − c 2 ) [ ∣ μ ∣ 4 + c 2 ( 1 − ∣ μ ∣ 2 ) ] ,
where the first equality follows from (21) . Since ∣ μ ∣ ≤ 1 − 2 τ |\mu|\leq1-2\tau ∣ μ ∣ ≤ 1 − 2 τ , ∣ μ ∣ 4 ≤ ∣ μ ∣ 2 ≤ ( 1 − 2 τ ) 2 |\mu|^4\leq|\mu|^2\leq(1-2\tau)^2 ∣ μ ∣ 4 ≤ ∣ μ ∣ 2 ≤ ( 1 − 2 τ ) 2 , so
∥ f ∥ U 3 8 ≤ c 2 + ( 1 − c 2 ) [ c 2 + ( 1 − c 2 ) ( 1 − 2 τ ) 2 ] = 1 − ( 1 − c 2 ) 2 [ 1 − ( 1 − 2 τ ) 2 ] < 1 \|f\|_{U^3}^8\leq c^2+(1-c^2)\left[c^2+(1-c^2)(1-2\tau)^2\right]=1-(1-c^2)^2[1-(1-2\tau)^2]<1 ∥ f ∥ U 3 8 ≤ c 2 + ( 1 − c 2 ) [ c 2 + ( 1 − c 2 ) ( 1 − 2 τ ) 2 ] = 1 − ( 1 − c 2 ) 2 [ 1 − ( 1 − 2 τ ) 2 ] < 1
Therefore, choosing q : = ( 1 − ( 1 − c 2 ) 2 [ 1 − ( 1 − 2 τ ) 2 ] ) 1 / 8 < 1 q:=(1-(1-c^2)^2[1-(1-2\tau)^2])^{1/8}<1 q := ( 1 − ( 1 − c 2 ) 2 [ 1 − ( 1 − 2 τ ) 2 ] ) 1/8 < 1 suffices.
Next, we need an MDS specialization of the generalized von Neumann inequality. The standard repeated Cauchy–Schwarz argument is used in [12 , 27 ] to bound true complexity by Cauchy–Schwarz complexity. To prepare, we first show the following elementary Cauchy–Schwarz step.
Lemma 2.9. For any G , P : F p k → C G,P:\mathbb{F}_p^k\to\mathbb{C} G , P : F p k → C , suppose G G G is K K K -invariant for some subspace K ≤ F p k K\leq\mathbb{F}_p^k K ≤ F p k , i.e. G ( x + h ) = G ( x ) G(x+h)=G(x) G ( x + h ) = G ( x ) for every x ∈ F p k x\in\mathbb{F}_p^k x ∈ F p k and h ∈ K h\in K h ∈ K , and G G G is 1 1 1 -bounded, i.e. ∥ G ∥ ∞ ≤ 1 \|G\|_\infty\leq1 ∥ G ∥ ∞ ≤ 1 . Then
∣ E x ∈ F p k G ( x ) P ( x ) ∣ 2 ≤ E x ∈ F p k E h ∈ K P ( x ) P ( x + h ) ‾ = : E x ∈ F p k E h ∈ K Δ h P ( x ) . (23) \left|\mathbb{E}_{x\in\mathbb{F}_p^k}G(x)P(x)\right|^2\leq\mathbb{E}_{x\in\mathbb{F}_p^k}\mathbb{E}_{h\in K}P(x)\overline{P(x+h)}=:\mathbb{E}_{x\in\mathbb{F}_p^k}\mathbb{E}_{h\in K}\Delta_hP(x). \tag*{(23)} E x ∈ F p k G ( x ) P ( x ) 2 ≤ E x ∈ F p k E h ∈ K P ( x ) P ( x + h ) =: E x ∈ F p k E h ∈ K Δ h P ( x ) . (23)
Proof. For any x ∈ F p k x\in\mathbb{F}_p^k x ∈ F p k and h ∈ K h\in K h ∈ K , E x G ( x ) P ( x + h ) = E y G ( y ) P ( y ) \mathbb{E}_xG(x)P(x+h)=\mathbb{E}_yG(y)P(y) E x G ( x ) P ( x + h ) = E y G ( y ) P ( y ) for y = x + h y=x+h y = x + h by K K K -invariance. Therefore, E x G ( x ) P ( x ) = E x G ( x ) E h ∈ K P ( x + h ) \mathbb{E}_xG(x)P(x)=\mathbb{E}_xG(x)\mathbb{E}_{h\in K}P(x+h) E x G ( x ) P ( x ) = E x G ( x ) E h ∈ K P ( x + h ) , so by Cauchy–Schwarz,
∣ E x ∈ F p k G ( x ) P ( x ) ∣ 2 ≤ E x ∣ G ( x ) ∣ 2 ⋅ E x ∣ E h ∈ K P ( x + h ) ∣ 2 ≤ E x E h , h ′ ∈ K P ( x + h ) P ( x + h ′ ) ‾ \left|\mathbb{E}_{x\in\mathbb{F}_p^k}G(x)P(x)\right|^2\leq\mathbb{E}_x|G(x)|^2\cdot\mathbb{E}_x\left|\mathbb{E}_{h\in K}P(x+h)\right|^2\leq\mathbb{E}_{x}\mathbb{E}_{h,h'\in K}P(x+h)\overline{P(x+h')} E x ∈ F p k G ( x ) P ( x ) 2 ≤ E x ∣ G ( x ) ∣ 2 ⋅ E x ∣ E h ∈ K P ( x + h ) ∣ 2 ≤ E x E h , h ′ ∈ K P ( x + h ) P ( x + h ′ )
by 1 1 1 -boundedness of G G G . Now, setting y = x + h ∈ F p k y=x+h\in\mathbb{F}_p^k y = x + h ∈ F p k and w = h ′ − h ∈ K w=h'-h\in K w = h ′ − h ∈ K rewrites the right hand side as E y P ( y ) P ( y + w ) ‾ \mathbb{E}_yP(y)\overline{P(y+w)} E y P ( y ) P ( y + w ) , which is the desired bound up to renaming the variables. The final equality follows the definition of Δ h \Delta_h Δ h .
We now state the MDS generalized von Neumann inequality and give a standard proof specialized to the case of MDS codes. We use the K K K -invariance and 1-bounded notions in Lemma 2.9 .
Lemma 2.10 (MDS generalized von Neumann inequality). Let 1 ≤ k ≤ n 1 \le k \le n 1 ≤ k ≤ n , and let F 1 , … , F n : F p k → F p F_1,\ldots,F_n : \mathbb{F}_p^k \to\mathbb{F}_p F 1 , … , F n : F p k → F p be linear maps such that ( F i ( x ) ) i ∈ S : F p k → F p S (F_i(x))_{i\in S} : \mathbb{F}_p^k \to\mathbb{F}_p^S ( F i ( x ) ) i ∈ S : F p k → F p S is an isomorphism for every S ∈ ( [ n ] k ) S \in\binom{[n]}{k} S ∈ ( k [ n ] ) . Let J ⊂ [ n ] J \subset[n] J ⊂ [ n ] satisfy
∣ J ∣ ≤ 3 k − n 2 . (24) |J| \le\frac{3k-n}{2}. \tag*{(24)} ∣ J ∣ ≤ 2 3 k − n . (24) Then, for arbitrary functions L 1 , … , L n : F p → C L_1,\ldots,L_n : \mathbb{F}_p \to\mathbb{C} L 1 , … , L n : F p → C ,
∣ E x ∈ F p k ∏ i = 1 n L i ( F i ( x ) ) ∣ ≤ ( ∏ j ∈ J ∥ L j ∥ U 3 ) ( ∏ i ∈ [ n ] ∖ J ∥ L i ∥ ∞ ) . (25) \left|\mathbb{E}_{x\in\mathbb{F}_p^k}\prod_{i=1}^{n}L_i(F_i(x))\right|
\le\left(\prod_{j\in J}\|L_j\|_{U^3}\right)\left(\prod_{i\in[n]\setminus J}\|L_i\|_\infty\right). \tag*{(25)} E x ∈ F p k i = 1 ∏ n L i ( F i ( x )) ≤ j ∈ J ∏ ∥ L j ∥ U 3 i ∈ [ n ] ∖ J ∏ ∥ L i ∥ ∞ . (25) The same conclusion holds if each F i ( x ) F_i(x) F i ( x ) is replaced by F i ( x ) + c i F_i(x)+c_i F i ( x ) + c i for an arbitrary c i ∈ F p c_i\in\mathbb{F}_p c i ∈ F p .
Proof. First, it suffices to show the case where F i F_i F i is linear without the affine shift by c i c_i c i and that L i L_i L i is 1-bounded for every i ∈ [ n ] ∖ J i\in[n]\setminus J i ∈ [ n ] ∖ J , i.e. ∥ L i ∥ ∞ ≤ 1 \|L_i\|_\infty\le1 ∥ L i ∥ ∞ ≤ 1 . Indeed, if ∥ L i ∥ ∞ = 0 \|L_i\|_\infty=0 ∥ L i ∥ ∞ = 0 for some i ∉ J i\notin J i ∈ / J , then the left-hand side of (25) is zero. Otherwise, replace each L i L_i L i with L i / ∥ L i ∥ ∞ L_i/\|L_i\|_\infty L i /∥ L i ∥ ∞ for i ∉ J i\notin J i ∈ / J and restore the factor ∏ i ∉ J ∥ L i ∥ ∞ \prod_{i\notin J}\|L_i\|_\infty ∏ i ∈ / J ∥ L i ∥ ∞ at the end to prove the general L i L_i L i case. Now, suppose that F i ( x ) F_i(x) F i ( x ) is replaced by F i ( x ) + c i F_i(x)+c_i F i ( x ) + c i . Apply the linear case to L ~ i ( t ) : = L i ( t + c i ) \widetilde{L}_i(t):=L_i(t+c_i) L i ( t ) := L i ( t + c i ) . Observe that translations preserve both relevant norms ∥ L ~ i ∥ U 3 = ∥ L i ∥ U 3 \|\widetilde{L}_i\|_{U^3}=\|L_i\|_{U^3} ∥ L i ∥ U 3 = ∥ L i ∥ U 3 and ∥ L ~ i ∥ ∞ = ∥ L i ∥ ∞ \|\widetilde{L}_i\|_\infty=\|L_i\|_\infty ∥ L i ∥ ∞ = ∥ L i ∥ ∞ , which proves the translated statement.
Let d : = ∣ J ∣ d:=|J| d := ∣ J ∣ . Since n − d ≤ 3 ( k − d ) n-d\le3(k-d) n − d ≤ 3 ( k − d ) , partition [ n ] ∖ J = I 1 ⊔ I 2 ⊔ I 3 [n]\setminus J=I_1\sqcup I_2\sqcup I_3 [ n ] ∖ J = I 1 ⊔ I 2 ⊔ I 3 with ∣ I a ∣ ≤ k − d |I_a|\le k-d ∣ I a ∣ ≤ k − d . Define
F J ( x ) : = ( F j ( x ) ) j ∈ J , H ( z ) : = ∏ j ∈ J L j ( z j ) , G a ( x ) : = ∏ i ∈ I a L i ( F i ( x ) ) , F_J(x):=(F_j(x))_{j\in J},\qquad H(z):=\prod_{j\in J}L_j(z_j),\qquad G_a(x):=\prod_{i\in I_a}L_i(F_i(x)), F J ( x ) := ( F j ( x ) ) j ∈ J , H ( z ) := j ∈ J ∏ L j ( z j ) , G a ( x ) := i ∈ I a ∏ L i ( F i ( x )) ,
so G a G_a G a is 1-bounded since each L i L_i L i for i ∉ J i\notin J i ∈ / J is. The quantity whose norm we need to control is
Λ : = E x ∈ F p k ∏ i = 1 n L i ( F i ( x ) ) = E x ∈ F p k H ( F J ( x ) ) G 1 ( x ) G 2 ( x ) G 3 ( x ) . \Lambda:=\mathbb{E}_{x\in\mathbb{F}_p^k}\prod_{i=1}^{n}L_i(F_i(x))
=\mathbb{E}_{x\in\mathbb{F}_p^k}H(F_J(x))G_1(x)G_2(x)G_3(x). Λ := E x ∈ F p k i = 1 ∏ n L i ( F i ( x )) = E x ∈ F p k H ( F J ( x )) G 1 ( x ) G 2 ( x ) G 3 ( x ) .
Fix any a ∈ [ 3 ] a\in[3] a ∈ [ 3 ] . Observe that G a G_a G a is K a K_a K a -invariant where K a : = ⋂ i ∈ I a ker F i K_a:=\bigcap_{i\in I_a}\ker F_i K a := ⋂ i ∈ I a ker F i . We show that F J ∣ K a : K a → F p J F_J|_{K_a}:K_a\to\mathbb{F}_p^J F J ∣ K a : K a → F p J is surjective. Indeed, coordinates of the map ( F i ) i ∈ J ∪ I a : F p k → F p J × F p I a (F_i)_{i\in J\cup I_a}:\mathbb{F}_p^k\to\mathbb{F}_p^J\times\mathbb{F}_p^{I_a} ( F i ) i ∈ J ∪ I a : F p k → F p J × F p I a are independent by the MDS assumption, so the above map is surjective. In particular, for every z ∈ F p J z\in\mathbb{F}_p^J z ∈ F p J , there exists y ∈ F p k y\in\mathbb{F}_p^k y ∈ F p k such that ( F i ) i ∈ J ∪ I a ( y ) = ( z , 0 ) (F_i)_{i\in J\cup I_a}(y)=(z,0) ( F i ) i ∈ J ∪ I a ( y ) = ( z , 0 ) . Hence, F J ( y ) = z F_J(y)=z F J ( y ) = z and y ∈ K a y\in K_a y ∈ K a , as claimed.
Now, we apply Lemma 2.9 three times. We will use the following simple observations: first, Δ h ( P Q ) = Δ h P Δ h Q \Delta_h(PQ)=\Delta_hP\Delta_hQ Δ h ( P Q ) = Δ h P Δ h Q ; second, if G G G is K K K -invariant and 1-bounded, then Δ h G \Delta_hG Δ h G is also K K K -invariant and 1-bounded for every h ∈ F p k h\in\mathbb{F}_p^k h ∈ F p k . Indeed, for every u ∈ K u\in K u ∈ K ,
Δ h G ( x + u ) = G ( x + u + h ) ‾ G ( x + u ) = G ( x + h ) ‾ G ( x ) = Δ h G ( x ) , \Delta_hG(x+u)=\overline{G(x+u+h)}G(x+u)=\overline{G(x+h)}G(x)=\Delta_hG(x), Δ h G ( x + u ) = G ( x + u + h ) G ( x + u ) = G ( x + h ) G ( x ) = Δ h G ( x ) ,
and
∣ Δ h G ( x ) ∣ = ∣ G ( x + h ) ∣ ∣ G ( x ) ∣ ≤ 1. |\Delta_hG(x)|=|G(x+h)||G(x)|\le1. ∣ Δ h G ( x ) ∣ = ∣ G ( x + h ) ∣∣ G ( x ) ∣ ≤ 1.
The same therefore holds for any iterated derivative of G G G . Apply Lemma 2.9 first with G = G 1 G=G_1 G = G 1 and P = ( H ∘ F J ) G 2 G 3 P=(H\circ F_J)G_2G_3 P = ( H ∘ F J ) G 2 G 3 . Since G 1 G_1 G 1 is K 1 K_1 K 1 -invariant and 1-bounded, we obtain
∣ Λ ∣ 2 ≤ E x ∈ F p k E h 1 ∈ K 1 Δ h 1 ( ( H ∘ F J ) G 2 G 3 ) ( x ) = E x ∈ F p k E h 1 ∈ K 1 Δ h 1 ( H ∘ F J ) ( x ) Δ h 1 G 2 ( x ) Δ h 1 G 3 ( x ) . (26) |\Lambda|^2\le\mathbb{E}_{x\in\mathbb{F}_p^k}\mathbb{E}_{h_1\in K_1}\Delta_{h_1}\big((H\circ F_J)G_2G_3\big)(x)
=\mathbb{E}_{x\in\mathbb{F}_p^k}\mathbb{E}_{h_1\in K_1}\Delta_{h_1}(H\circ F_J)(x)\Delta_{h_1}G_2(x)\Delta_{h_1}G_3(x). \tag*{(26)} ∣Λ ∣ 2 ≤ E x ∈ F p k E h 1 ∈ K 1 Δ h 1 ( ( H ∘ F J ) G 2 G 3 ) ( x ) = E x ∈ F p k E h 1 ∈ K 1 Δ h 1 ( H ∘ F J ) ( x ) Δ h 1 G 2 ( x ) Δ h 1 G 3 ( x ) . (26)
Now, for each fixed h 1 ∈ K 1 h_1 \in K_1 h 1 ∈ K 1 , the function Δ h 1 G 2 \Delta_{h_1}G_2 Δ h 1 G 2 is K 2 K_2 K 2 -invariant and 1-bounded. Applying Lemma 2.9 with G = Δ h 1 G 2 G=\Delta_{h_1}G_2 G = Δ h 1 G 2 and P = Δ h 1 ( H ∘ F J ) Δ h 1 G 3 P=\Delta_{h_1}(H\circ F_J)\Delta_{h_1}G_3 P = Δ h 1 ( H ∘ F J ) Δ h 1 G 3 , and Cauchy–Schwarz over h 1 h_1 h 1 yields
∣ Λ ∣ 4 ≤ E x ∈ F p k h 1 ∈ K 1 , h 2 ∈ K 2 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) Δ h 2 Δ h 1 G 3 ( x ) . (27) |\Lambda|^4 \leq\mathbb{E}_{\substack{x\in\mathbb{F}_p^k\\h_1\in K_1,h_2\in K_2}} \Delta_{h_2}\Delta_{h_1}(H\circ F_J)(x)\Delta_{h_2}\Delta_{h_1}G_3(x). \tag*{(27)} ∣Λ ∣ 4 ≤ E x ∈ F p k h 1 ∈ K 1 , h 2 ∈ K 2 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) Δ h 2 Δ h 1 G 3 ( x ) . (27)
For each fixed h 1 , h 2 h_1,h_2 h 1 , h 2 , the function Δ h 2 Δ h 1 G 3 \Delta_{h_2}\Delta_{h_1}G_3 Δ h 2 Δ h 1 G 3 is K 3 K_3 K 3 -invariant and 1-bounded. Applying Lemma 2.9 one final time and Cauchy–Schwarz over ( h 1 , h 2 ) (h_1,h_2) ( h 1 , h 2 ) gives
∣ Λ ∣ 8 ≤ E x ∈ F p k h i ∈ K i , i ∈ [ 3 ] Δ h 3 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) . (28) |\Lambda|^8 \leq\mathbb{E}_{\substack{x\in\mathbb{F}_p^k\\h_i\in K_i,\ i\in[3]}} \Delta_{h_3}\Delta_{h_2}\Delta_{h_1}(H\circ F_J)(x). \tag*{(28)} ∣Λ ∣ 8 ≤ E x ∈ F p k h i ∈ K i , i ∈ [ 3 ] Δ h 3 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) . (28)
It remains to identify the right-hand side with the U 3 U^3 U 3 -norm of H H H . Since F J : F p k → F p J F_J:\mathbb{F}_p^k\to\mathbb{F}_p^J F J : F p k → F p J and each restriction F J ∣ K i : K i → F p J F_J|_{K_i}:K_i\to\mathbb{F}_p^J F J ∣ K i : K i → F p J are surjective linear maps, independent uniform x ∈ F p k x\in\mathbb{F}_p^k x ∈ F p k and h i ∈ K i h_i\in K_i h i ∈ K i give independent uniform variables in F p J \mathbb{F}_p^J F p J that we denote by z : = F J ( x ) z:=F_J(x) z := F J ( x ) and u a : = F J ( h a ) u_a:=F_J(h_a) u a := F J ( h a ) for a ∈ [ 3 ] a\in[3] a ∈ [ 3 ] . Moreover, by linearity of F J F_J F J , Δ h 3 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) = Δ u 3 Δ u 2 Δ u 1 H ( z ) \Delta_{h_3}\Delta_{h_2}\Delta_{h_1}(H\circ F_J)(x)=\Delta_{u_3}\Delta_{u_2}\Delta_{u_1}H(z) Δ h 3 Δ h 2 Δ h 1 ( H ∘ F J ) ( x ) = Δ u 3 Δ u 2 Δ u 1 H ( z ) . Therefore, by the definition of the U 3 U^3 U 3 -norm, the right-hand side of (28) is
E z , u 1 , u 2 , u 3 ∈ F p J Δ u 3 Δ u 2 Δ u 1 H ( z ) = ∥ H ∥ U 3 ( F p J ) 8 . (29) \mathbb{E}_{z,u_1,u_2,u_3\in\mathbb{F}_p^J}\Delta_{u_3}\Delta_{u_2}\Delta_{u_1}H(z)=\lVert H\rVert_{U^3(\mathbb{F}_p^J)}^8. \tag*{(29)} E z , u 1 , u 2 , u 3 ∈ F p J Δ u 3 Δ u 2 Δ u 1 H ( z ) = ∥ H ∥ U 3 ( F p J ) 8 . (29)
Finally, since the cube average factors over the coordinates j ∈ J j\in J j ∈ J , we see that
H ( z ) = ∏ j ∈ J L j ( z j ) ⟹ ∥ H ∥ U 3 ( F p J ) 8 = ∏ j ∈ J ∥ L j ∥ U 3 ( F p ) 8 . H(z)=\prod_{j\in J}L_j(z_j)\Longrightarrow\lVert H\rVert_{U^3(\mathbb{F}_p^J)}^8=\prod_{j\in J}\lVert L_j\rVert_{U^3(\mathbb{F}_p)}^8. H ( z ) = j ∈ J ∏ L j ( z j ) ⟹ ∥ H ∥ U 3 ( F p J ) 8 = j ∈ J ∏ ∥ L j ∥ U 3 ( F p ) 8 .
Combining with (28) and (29) , and taking eighth roots gives ∣ Λ ∣ ≤ ∏ j ∈ J ∥ L j ∥ U 3 |\Lambda|\leq\prod_{j\in J}\lVert L_j\rVert_{U^3} ∣Λ∣ ≤ ∏ j ∈ J ∥ L j ∥ U 3 . This proves the linear, 1-bounded case. Applying the initial reduction proves the general statement. □
For Theorem 1.13, we need the following higher-order version of Lemma 2.10 . Its proof is the same simultaneous Cauchy–Schwarz argument, with s s s blocks in place of three. For a complete proof, see [HMSY26, Lemma 10.1].
Fact 2.11 (Higher-order MDS inequality). Let C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n be an [ n , k ] [n,k] [ n , k ] MDS code, let v ∈ F p n v\in\mathbb{F}_p^n v ∈ F p n , and let s ≥ 2 s\geq2 s ≥ 2 . If J ⊂ [ n ] J\subset[n] J ⊂ [ n ] satisfies n − ∣ J ∣ ≤ s ( k − ∣ J ∣ ) n-|J|\leq s(k-|J|) n − ∣ J ∣ ≤ s ( k − ∣ J ∣ ) , then for all 1-bounded functions L i : F p → C L_i:\mathbb{F}_p\to\mathbb{C} L i : F p → C ,
∣ E x ∈ v + C ∏ i L i ( x i ) ∣ ≤ ∏ i ∈ J ∥ L i ∥ U s . \left|\mathbb{E}_{x\in v+C}\prod_i L_i(x_i)\right|\leq\prod_{i\in J}\lVert L_i\rVert_{U^s}. E x ∈ v + C i ∏ L i ( x i ) ≤ i ∈ J ∏ ∥ L i ∥ U s .
Computation Model and Subsampling
We describe the computation model for our algorithmic OPI statements, e.g. Theorem 1.9 . Recall that to specify the OPI instance, we need to specify the Reed–Solomon code C = RS p ( α 1 , … , α n ; k ) C=\operatorname{RS}_p(\alpha_1,\ldots,\alpha_n;k) C = RS p ( α 1 , … , α n ; k ) as well as input lists S i S_i S i with ∣ S i ∣ ≥ ρ p |S_i|\geq\rho p ∣ S i ∣ ≥ ρp . We adopt the same model as [41 HY26, 17 ] .
Definition 2.12 (Computation Model for OPI). The Reed–Solomon code C C C is passed in via inputs ( p , k , α 1 , … , α n ) (p,k,\alpha_1,\ldots,\alpha_n) ( p , k , α 1 , … , α n ) . We also give as input an integer ρ p ∈ [ p ] \rho p\in[p] ρp ∈ [ p ] satisfying ∣ S i ∣ ≥ ρ p |S_i|\geq\rho p ∣ S i ∣ ≥ ρp for every i i i . The lists S i S_i S i accessed through the coherent membership oracles: for i ∈ [ n ] i\in[n] i ∈ [ n ] , x ∈ F p x\in\mathbb{F}_p x ∈ F p , b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } ,
∣ i ⟩ ∣ x ⟩ ∣ b ⟩ ⟼ ∣ i ⟩ ∣ x ⟩ ∣ b ⊕ 1 S i ( x ) ⟩ |i\rangle|x\rangle|b\rangle\longmapsto|i\rangle|x\rangle|b\oplus1_{S_i}(x)\rangle ∣ i ⟩ ∣ x ⟩ ∣ b ⟩ ⟼ ∣ i ⟩ ∣ x ⟩ ∣ b ⊕ 1 S i ( x )⟩
The efficient classical and quantum algorithms we consider here have running time poly ( n , log p ) \operatorname{poly}(n,\log p) poly ( n , log p ) , which is polynomial whenever log p ≤ poly ( n ) \log p\leq\operatorname{poly}(n) log p ≤ poly ( n ) . When p ≤ poly ( n ) p\leq\operatorname{poly}(n) p ≤ poly ( n ) , explicit membership truth tables { 1 S i ( x ) : i ∈ [ n ] , x ∈ F p } \{1_{S_i}(x):i\in[n],x\in\mathbb{F}_p\} { 1 S i ( x ) : i ∈ [ n ] , x ∈ F p } suffice, since look-ups are in polynomial time. When p ≥ n ω ( 1 ) p\geq n^{\omega(1)} p ≥ n ω ( 1 ) but log p ≤ poly ( n ) \log p\leq\operatorname{poly}(n) log p ≤ poly ( n ) , this is not efficient, so the lists are supplied through membership oracles above.
Most of our arguments for near-optimal OPI discrepancy and quantum algorithms first treat the case where ∣ S i ∣ = ρ p |S_i|=\rho p ∣ S i ∣ = ρp for every i i i , and where ρ \rho ρ is known. In the rest of this section, we give the ingredients to extend such results to arbitrary denser and heterogeneous input lists satisfying ∣ S i ∣ ≥ ρ p |S_i|\ge\rho p ∣ S i ∣ ≥ ρp . Moreover, as discussed in Remark 2.15, these ideas can remove the need for the algorithm to receive ρ p \rho p ρp as an input. Many of the observations below were made in [HY26]; we prove a slightly different reduction for membership-oracle input setting suitable to our algorithms.
The first observation is containment: since solutions are preserved if we enlarge the input lists, any existential satisfaction guarantee, including existence of a perfect solution, transfers from lists of common size ρ p \rho p ρp to lists with ∣ S i ∣ ≥ ρ p |S_i|\ge\rho p ∣ S i ∣ ≥ ρp . In particular, a result proved in the balanced case (when ∣ S i ∣ = 1 / 2 + o ( 1 ) |S_i|=1/2+o(1) ∣ S i ∣ = 1/2 + o ( 1 ) for all i i i ) will apply to any case where min i ∣ S i ∣ ≥ 1 / 2 + o ( 1 ) \min_i|S_i|\ge1/2+o(1) min i ∣ S i ∣ ≥ 1/2 + o ( 1 ) .
To make this observation algorithmic, we can use algorithmic subsampling to reduce the general case to the case where ∣ S i ∣ |S_i| ∣ S i ∣ all have the same density. The idea is to choose ρ p \rho p ρp elements of each input list and run a common-density algorithm. If the output of this algorithm has satisfaction ratio s ′ s' s ′ constraints, then it have satisfaction ratio s ≥ s ′ s\ge s' s ≥ s ′ for the original lists. This idea works immediately when the lists are given as truth tables, which requires p = poly ( n ) p=\operatorname{poly}(n) p = poly ( n ) . If p p p is larger and the lists are given via oracle access, then Proposition 2.14 below shows how to make this idea work.
Before we get to that, however, we note that the monotonicity above (that is, that making the lists larger can only make a solution satisfy more constraints) does not by itself transfer the number of solutions, as required for near-optimal OPI discrepancy. This is handled by the second subsampling idea.
Proposition 2.13. Let C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n , let S i ⊂ F p S_i\subset\mathbb{F}_p S i ⊂ F p with density ρ i \rho_i ρ i , and let 1 ≤ t ≤ min i ∣ S i ∣ 1\le t\le\min_i|S_i| 1 ≤ t ≤ min i ∣ S i ∣ . If the T i T_i T i are independent uniformly random t t t -subsets of S i S_i S i , then
E T [ ∣ C ∩ ( T 1 × ⋯ × T n ) ∣ ∣ C ∣ ( t / p ) n ] = ∣ C ∩ ( S 1 × ⋯ × S n ) ∣ ∣ C ∣ ∏ i ρ i . \mathbb{E}_T\left[\frac{|C\cap(T_1\times\cdots\times T_n)|}{|C|(t/p)^n}\right]=\frac{|C\cap(S_1\times\cdots\times S_n)|}{|C|\prod_i\rho_i}. E T [ ∣ C ∣ ( t / p ) n ∣ C ∩ ( T 1 × ⋯ × T n ) ∣ ] = ∣ C ∣ ∏ i ρ i ∣ C ∩ ( S 1 × ⋯ × S n ) ∣ . Consequently, a uniform relative-discrepancy bound for input lists of size t t t transfers without loss to every instance with ∣ S i ∣ ≥ t |S_i|\ge t ∣ S i ∣ ≥ t .
Proof. For every fixed c ∈ C ∩ ( S 1 × ⋯ × S n ) c\in C\cap(S_1\times\cdots\times S_n) c ∈ C ∩ ( S 1 × ⋯ × S n ) , independence gives
P T ( c ∈ T 1 × ⋯ × T n ) = ∏ i = 1 n t ∣ S i ∣ . \mathbb{P}_T(c\in T_1\times\cdots\times T_n)=\prod_{i=1}^{n}\frac{t}{|S_i|}. P T ( c ∈ T 1 × ⋯ × T n ) = i = 1 ∏ n ∣ S i ∣ t .
Summing this identity over c c c and dividing by ∣ C ∣ ( t / p ) n |C|(t/p)^n ∣ C ∣ ( t / p ) n proves the displayed formula. The second bound follows by averaging. □ \square □
For coherent membership access, we can transfer an algorithm’s satisfaction guarantee without enumerating the input lists. This is inspired by the oracle thinning procedure in [HY26, Zha19].
Proposition 2.14. Fix ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) and s ∈ [ 0 , 1 ] s\in[0,1] s ∈ [ 0 , 1 ] . Suppose a poly ( n , log p ) \operatorname{poly}(n,\log p) poly ( n , log p ) time quantum algorithm with coherent membership access achieves a satisfaction ratio at least s s s with inverse-polynomial probability on every OPI instance with density ρ i = ρ \rho_i=\rho ρ i = ρ . Then there is a poly ( n , log p , ρ − 1 ) \operatorname{poly}(n,\log p,\rho^{-1}) poly ( n , log p , ρ − 1 ) time quantum algorithm in the same oracle model that achieves the same satisfaction ratio s s s with high probability whenever ρ i ≥ ρ \rho_i\ge\rho ρ i ≥ ρ .
Proof. Let A A A be the given algorithm on fixed density ρ \rho ρ , so it has at least inverse-polynomial success probability σ ∈ ( 0 , 1 ] \sigma\in(0,1] σ ∈ ( 0 , 1 ] and polynomial runtime with a polynomial Q Q Q many queries of the membership oracles for the input lists when they have size exactly ρ p \rho p ρp each. We impose these same time and query bounds on every execution, aborting if they are exceeded, so that A A A is also defined on inputs outside its density promise. Let
p 0 : = max { 16 δ , 32 n σ δ 2 } where δ : = ρ σ 2 64 Q 2 . p_0 := \max\left\{\frac{16}{\delta},\frac{32n}{\sigma\delta^2}\right\}
\qquad\text{where}\qquad
\delta:= \frac{\rho\sigma^2}{64Q^2}. p 0 := max { δ 16 , σ δ 2 32 n } where δ := 64 Q 2 ρ σ 2 .
If p ≤ p 0 p \le p_0 p ≤ p 0 , then p = poly ( n ) p = \operatorname{poly}(n) p = poly ( n ) , so we can simply compute the truth table ( 1 { a ∈ S i } ) i ∈ [ n ] , a ∈ F p (\mathbb{1}\{a \in S_i\})_{i\in[n],a\in\mathbb{F}_p} ( 1 { a ∈ S i } ) i ∈ [ n ] , a ∈ F p with polynomially many queries, arbitrarily throw out elements S i S_i S i to obtain U i U_i U i with ∣ U i ∣ = ρ p |U_i|=\rho p ∣ U i ∣ = ρp , and run A A A on ( U 1 , … , U n ) (U_1,\ldots,U_n) ( U 1 , … , U n ) . Hence, assume p ≥ p 0 p \ge p_0 p ≥ p 0 for the rest of the proof.
First, we efficiently implement membership oracles for subsets T i ⊆ S i T_i \subseteq S_i T i ⊆ S i such that for every i ∈ [ n ] i\in[n] i ∈ [ n ] :
ρ ≤ ∣ T i ∣ p ≤ ρ + δ . (30) \rho\le\frac{|T_i|}{p} \le\rho+\delta. \tag*{(30)} ρ ≤ p ∣ T i ∣ ≤ ρ + δ . (30)
For each coordinate i i i , independently draw
M : = ⌈ 128 δ 2 log 16 n σ ⌉ M := \left\lceil\frac{128}{\delta^2}\log\frac{16n}{\sigma}\right\rceil M := ⌈ δ 2 128 log σ 16 n ⌉
uniform field elements X i , 1 , … , X i , M X_{i,1},\ldots,X_{i,M} X i , 1 , … , X i , M , and query their memberships in S i S_i S i . Define
ρ ~ i : = 1 M ∑ ℓ = 1 M 1 { X i , ℓ ∈ S i } and ρ ^ i : = max ( ρ , ρ ~ i ) . \widetilde{\rho}_i := \frac{1}{M}\sum_{\ell=1}^{M}\mathbb{1}\{X_{i,\ell}\in S_i\}
\qquad\text{and}\qquad
\widehat{\rho}_i := \max(\rho,\widetilde{\rho}_i). ρ i := M 1 ℓ = 1 ∑ M 1 { X i , ℓ ∈ S i } and ρ i := max ( ρ , ρ i ) .
For fixed i i i , since ρ i ∈ [ ρ , 1 ] \rho_i\in[\rho,1] ρ i ∈ [ ρ , 1 ] , clipping cannot increase the estimation error. By Chernoff’s inequality
P ( ∣ ρ ^ i − ρ i ∣ > δ 16 ) ≤ P ( ∣ ρ ~ i − ρ i ∣ > δ 16 ) ≤ 2 exp ( − 2 M ( δ 16 ) 2 ) ≤ 2 exp ( − log 16 n σ ) = σ 8 n . \mathbb{P}\left(\left|\widehat{\rho}_i-\rho_i\right|>\frac{\delta}{16}\right)
\le
\mathbb{P}\left(\left|\widetilde{\rho}_i-\rho_i\right|>\frac{\delta}{16}\right)
\le
2\exp\left(-2M\left(\frac{\delta}{16}\right)^2\right)
\le
2\exp\left(-\log\frac{16n}{\sigma}\right)
=
\frac{\sigma}{8n}. P ( ∣ ρ i − ρ i ∣ > 16 δ ) ≤ P ( ∣ ρ i − ρ i ∣ > 16 δ ) ≤ 2 exp ( − 2 M ( 16 δ ) 2 ) ≤ 2 exp ( − log σ 16 n ) = 8 n σ .
Union bounding over i i i , the event G \mathcal{G} G that ∣ ρ ^ i − ρ i ∣ ≤ δ / 16 |\widehat{\rho}_i-\rho_i|\le\delta/16 ∣ ρ i − ρ i ∣ ≤ δ /16 occurs with probability at least 1 − σ / 8 1-\sigma/8 1 − σ /8 . Let
θ i : = min { 1 , ρ + δ / 2 ρ ^ i } . \theta_i := \min\left\{1,\frac{\rho+\delta/2}{\widehat{\rho}_i}\right\}. θ i := min { 1 , ρ i ρ + δ /2 } .
Independently sample uniform a i , b i ∈ F p a_i,b_i\in\mathbb{F}_p a i , b i ∈ F p and define T i ⊂ S i T_i\subset S_i T i ⊂ S i via
T i : = { x ∈ S i : a i x + b i ∈ { 0 , … , h i − 1 } } where h i : = ⌊ p θ i ⌋ . T_i:=\{x\in S_i:a_ix+b_i\in\{0,\ldots,h_i-1\}\}
\qquad\text{where}\qquad
h_i:=\lfloor p\theta_i\rfloor. T i := { x ∈ S i : a i x + b i ∈ { 0 , … , h i − 1 }} where h i := ⌊ p θ i ⌋ .
On event G \mathcal{G} G , we claim that (30) holds with high probability. If θ i = 1 \theta_i=1 θ i = 1 , then ρ ^ i ≤ ρ + δ / 2 \widehat{\rho}_i\le\rho+\delta/2 ρ i ≤ ρ + δ /2 and T i = S i T_i=S_i T i = S i , so
ρ ≤ ∣ T i ∣ p = ρ i ≤ ρ ^ i + δ 16 ≤ ρ + 9 δ 16 < ρ + δ , \rho\le\frac{|T_i|}{p}=\rho_i\le\widehat{\rho}_i+\frac{\delta}{16}\le\rho+\frac{9\delta}{16}<\rho+\delta, ρ ≤ p ∣ T i ∣ = ρ i ≤ ρ i + 16 δ ≤ ρ + 16 9 δ < ρ + δ ,
as claimed. If θ i < 1 \theta_i<1 θ i < 1 , then let Z i = ∣ T i ∣ / p Z_i=|T_i|/p Z i = ∣ T i ∣/ p . Since a i x + b i a_ix+b_i a i x + b i is uniform on F p \mathbb{F}_p F p for each x x x , E [ Z i ] = ρ i h i / p \mathbb{E}[Z_i]=\rho_i h_i/p E [ Z i ] = ρ i h i / p . Since ( a i , b i ) ↦ ( a i x + b i , a i y + b i ) (a_i,b_i)\mapsto(a_ix+b_i,a_iy+b_i) ( a i , b i ) ↦ ( a i x + b i , a i y + b i ) is a bijection of F p 2 \mathbb{F}_p^2 F p 2 for distinct x , y x,y x , y ,
Var ( Z i ) ≤ ∣ S i ∣ 4 p 2 ≤ 1 4 p . \operatorname{Var}(Z_i)\le\frac{|S_i|}{4p^2}\le\frac{1}{4p}. Var ( Z i ) ≤ 4 p 2 ∣ S i ∣ ≤ 4 p 1 .
Since h i = ⌊ p θ i ⌋ h_i=\lfloor p\theta_i\rfloor h i = ⌊ p θ i ⌋ and θ i ρ ^ i = ρ + δ / 2 \theta_i\widehat{\rho}_i=\rho+\delta/2 θ i ρ i = ρ + δ /2 ,
∣ E [ Z i ] − ( ρ + δ 2 ) ∣ = ∣ ρ i h i p − ( ρ + δ 2 ) ∣ ≤ θ i ∣ ρ i − ρ ^ i ∣ + 1 p ≤ δ 8 . \left|\mathbb{E}[Z_i]-\left(\rho+\frac{\delta}{2}\right)\right|
=
\left|\frac{\rho_i h_i}{p}-\left(\rho+\frac{\delta}{2}\right)\right|
\le
\theta_i|\rho_i-\widehat{\rho}_i|+\frac{1}{p}
\le\frac{\delta}{8}. E [ Z i ] − ( ρ + 2 δ ) = p ρ i h i − ( ρ + 2 δ ) ≤ θ i ∣ ρ i − ρ i ∣ + p 1 ≤ 8 δ .
where the last step uses p ≥ p 0 p \ge p_0 p ≥ p 0 . Hence, on event G \mathcal{G} G , Chebyshev gives
P ( Z i ∉ [ ρ , ρ + δ ] ∣ G ) ≤ P ( ∣ Z i − ρ i h i p ∣ > δ 4 ∣ G ) ≤ 4 p δ 2 . \mathbb{P}\left(Z_i \notin[\rho,\rho+\delta]\mid\mathcal{G}\right) \le\mathbb{P}\left(\left|Z_i-\frac{\rho_i h_i}{p}\right|>\frac{\delta}{4}\mid\mathcal{G}\right) \le\frac{4}{p\delta^2}. P ( Z i ∈ / [ ρ , ρ + δ ] ∣ G ) ≤ P ( Z i − p ρ i h i > 4 δ ∣ G ) ≤ p δ 2 4 .
Union bounding over i ∈ [ n ] i \in[n] i ∈ [ n ] and combining with p ≥ p 0 p \ge p_0 p ≥ p 0 and the bound on G \mathcal{G} G , we see that
P ( ∣ T i ∣ p ∈ [ ρ , ρ + δ ] ∀ i ∈ [ n ] ) ≥ 1 − σ 4 . (31) \mathbb{P}\left(\frac{|T_i|}{p}\in[\rho,\rho+\delta]\ \forall i\in[n]\right)\ge1-\frac{\sigma}{4}. \tag*{(31)} P ( p ∣ T i ∣ ∈ [ ρ , ρ + δ ] ∀ i ∈ [ n ] ) ≥ 1 − 4 σ . (31)
Note that algorithmically, we never enumerate T i T_i T i . We simply sample and store ( a i , b i , h i ) (a_i,b_i,h_i) ( a i , b i , h i ) . To simulate membership oracles for T i T_i T i , we query that for S i S_i S i , compute 1 { ( a i x + b i ) ∈ { 0 , … , h i } } \mathbb{1}\{(a_i x+b_i)\in\{0,\ldots,h_i\}\} 1 {( a i x + b i ) ∈ { 0 , … , h i }} , and compute the AND of the two bits coherently. This costs polynomial time overhead and allows us to run the algorithm A A A on input lists ( T 1 , … , T n ) (T_1,\ldots,T_n) ( T 1 , … , T n ) . On the high probability event in (31) , these T i T_i T i to have density in [ ρ , ρ + δ ] [\rho,\rho+\delta] [ ρ , ρ + δ ] . However, they are not yet all equal to ρ \rho ρ , so we cannot yet apply the guarantee of satisfaction ratio at least s s s with probability at least σ \sigma σ . Nevertheless, we run A A A on T i T_i T i and we show for the rest of the proof why the output has satisfaction ratio at least s s s with probability at least σ / 2 \sigma/2 σ /2 , upon which we boost to high probability with polynomially many repetitions since σ \sigma σ is at least inverse polynomial.
Fix any ( T 1 , … , T n ) (T_1,\ldots,T_n) ( T 1 , … , T n ) and condition on the high probability event in (31) . For analysis only, independently choose U i U_i U i uniformly among the ρ p \rho p ρp -element subsets of T i T_i T i . For every ( i , x ) (i,x) ( i , x ) ,
P U ( 1 T i ( x ) ≠ 1 U i ( x ) ) = ∣ T i ∣ − ρ p ∣ T i ∣ 1 T i ( x ) ≤ δ p ρ p = δ ρ . \mathbb{P}_U\left(\mathbb{1}_{T_i}(x)\ne\mathbb{1}_{U_i}(x)\right)=\frac{|T_i|-\rho p}{|T_i|}\mathbb{1}_{T_i}(x)\le\frac{\delta p}{\rho p}=\frac{\delta}{\rho}. P U ( 1 T i ( x ) = 1 U i ( x ) ) = ∣ T i ∣ ∣ T i ∣ − ρp 1 T i ( x ) ≤ ρp δ p = ρ δ .
We argue that running A A A with corresponding membership oracles O T O_T O T and O U O_U O U produce close-by quantum states. Write its state just before query j j j in the execution using T T T as
∣ ψ j T ⟩ = ∑ i , x ∣ i , x ⟩ ∣ ω j , i , x ⟩ , ∑ i , x ∥ ω j , i , x ∥ 2 = 1. |\psi_j^T\rangle=\sum_{i,x}|i,x\rangle|\omega_{j,i,x}\rangle,\qquad\sum_{i,x}\|\omega_{j,i,x}\|^2=1. ∣ ψ j T ⟩ = i , x ∑ ∣ i , x ⟩ ∣ ω j , i , x ⟩ , i , x ∑ ∥ ω j , i , x ∥ 2 = 1.
Let Δ : = { ( i , x ) : 1 T i ( x ) ≠ 1 U i ( x ) } \Delta:=\{(i,x):\mathbb{1}_{T_i}(x)\ne\mathbb{1}_{U_i}(x)\} Δ := {( i , x ) : 1 T i ( x ) = 1 U i ( x )} and let Π Δ \Pi_\Delta Π Δ project onto span { ∣ i , x ⟩ : ( i , x ) ∈ Δ } \operatorname{span}\{|i,x\rangle:(i,x)\in\Delta\} span { ∣ i , x ⟩ : ( i , x ) ∈ Δ } which depends on the random U U U , so
E U ∥ Π Δ ∣ ψ j T ⟩ ∥ 2 = ∑ i , x ∥ ω j , i , x ∥ 2 P U ( ( i , x ) ∈ Δ ) ≤ δ ρ ∑ i , x ∥ ω j , i , x ∥ 2 = δ ρ . \mathbb{E}_U\|\Pi_\Delta|\psi_j^T\rangle\|^2=\sum_{i,x}\|\omega_{j,i,x}\|^2\mathbb{P}_U((i,x)\in\Delta)\le\frac{\delta}{\rho}\sum_{i,x}\|\omega_{j,i,x}\|^2=\frac{\delta}{\rho}. E U ∥ Π Δ ∣ ψ j T ⟩ ∥ 2 = i , x ∑ ∥ ω j , i , x ∥ 2 P U (( i , x ) ∈ Δ ) ≤ ρ δ i , x ∑ ∥ ω j , i , x ∥ 2 = ρ δ .
Now, let us consider applying queries O T O_T O T and O U O_U O U to state ∣ ψ j T ⟩ |\psi_j^T\rangle ∣ ψ j T ⟩ , the outcome states overlap outside Δ \Delta Δ , and on Δ \Delta Δ the difference O T − O U O_T-O_U O T − O U has operator norm at most two, so by Cauchy–Schwarz,
E U ∥ ( O T − O U ) ∣ ψ j T ⟩ ∥ ≤ E U ∥ Π Δ U ∣ ψ j T ⟩ ∥ ≤ 2 E U ∥ Π Δ U ∣ ψ j T ⟩ ∥ 2 ≤ 2 δ ρ . \mathbb{E}_U\|(O_T-O_U)|\psi_j^T\rangle\|\le\mathbb{E}_U\|\Pi_{\Delta_U}|\psi_j^T\rangle\|\le2\sqrt{\mathbb{E}_U\|\Pi_{\Delta_U}|\psi_j^T\rangle\|^2}\le2\sqrt{\frac{\delta}{\rho}}. E U ∥ ( O T − O U ) ∣ ψ j T ⟩ ∥ ≤ E U ∥ Π Δ U ∣ ψ j T ⟩ ∥ ≤ 2 E U ∥ Π Δ U ∣ ψ j T ⟩ ∥ 2 ≤ 2 ρ δ .
Coupling the two executions, of A A A with O U O_U O U and O T O_T O T , we bound the error by telescope summing j j j over the at most Q Q Q queries, so the final outcome states ∣ Ψ T ⟩ , ∣ Ψ U ⟩ |\Psi_T\rangle,|\Psi_U\rangle ∣ Ψ T ⟩ , ∣ Ψ U ⟩ satisfy
E U ∥ ∣ Ψ T ⟩ − ∣ Ψ U ⟩ ∥ ≤ 2 Q δ ρ = σ 4 , \mathbb{E}_U\||\Psi_T\rangle-|\Psi_U\rangle\|\le2Q\sqrt{\frac{\delta}{\rho}}=\frac{\sigma}{4}, E U ∥∣ Ψ T ⟩ − ∣ Ψ U ⟩ ∥ ≤ 2 Q ρ δ = 4 σ ,
Every tuple U U U has exact density ρ \rho ρ and U i ⊂ S i U_i\subset S_i U i ⊂ S i . By the hypothesis on A A A , the outcome of measuring ∣ Ψ U ⟩ |\Psi_U\rangle ∣ Ψ U ⟩ has satisfaction ratio at least s s s with probability at least σ \sigma σ for every U U U , since it holds under the fixed event that the output satisfies at least s s s of the original constraints S S S . Since probability changes by at most the distance between the two output states, the above display shows that measuring ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ has satisfaction ratio at least s s s with probability at least 3 σ / 4 3\sigma/4 3 σ /4 , conditioned on the event in (31) . Together, we succeed on S S S with probability
( 1 − σ 4 ) 3 σ 4 = 3 σ 4 − 3 σ 2 16 ≥ 9 σ 16 . \left(1-\frac{\sigma}{4}\right)\frac{3\sigma}{4}=\frac{3\sigma}{4}-\frac{3\sigma^2}{16}\geq\frac{9\sigma}{16}. ( 1 − 4 σ ) 4 3 σ = 4 3 σ − 16 3 σ 2 ≥ 16 9 σ .
Now, we amplify this to high probability by repetition, evaluating each output’s satisfaction on the original lists S i S_i S i with n n n membership queries and returning the best output. In total, the running time and query complexity overhead is polynomial in ( n , log p , ρ − 1 , σ − 1 , Q ) (n,\log p,\rho^{-1},\sigma^{-1},Q) ( n , log p , ρ − 1 , σ − 1 , Q ) . Since σ − 1 \sigma^{-1} σ − 1 and Q Q Q are polynomial in n n n and log p \log p log p , we proved the desired proposition. In particular, U U U is a proof device, not part of the algorithm.
Thus our guarantees s ( Q ) ≥ SCL ρ ( R ) − ε s(Q)\geq\operatorname{SCL}_{\rho}(R)-\varepsilon s ( Q ) ≥ SCL ρ ( R ) − ε and s ( Q ) = 1 s(Q)=1 s ( Q ) = 1 when R + ρ > 1 R+\rho>1 R + ρ > 1 extend to unequal list densities ρ i ≥ ρ \rho_i\geq\rho ρ i ≥ ρ , with no additional loss in satisfaction.
Remark 2.15. Treating the list size lower bound ρ p \rho p ρp as a known input in Definition 2.12 is only a convenient convention. If it is unknown, use O ~ ( δ − 2 ) \widetilde{O}(\delta^{-2}) O ( δ − 2 ) membership queries per coordinate to estimate every ρ i = ∣ S i ∣ / p \rho_i=|S_i|/p ρ i = ∣ S i ∣/ p by ρ ^ i \widehat{\rho}_i ρ i to additive error δ \delta δ as in the proof of Proposition 2.14 . Then, apply Proposition 2.14 with ρ = min i ρ ^ i − δ \rho=\min_i\widehat{\rho}_i-\delta ρ = min i ρ i − δ suffices with high probability. This preprocessing costs polynomial overhead and our applications have arbitrarily small constant slack in the density parameter, so choosing δ \delta δ sufficiently small absorbs the resulting change into the stated accuracy or strict parameter gap. Thus the density lower bound ρ \rho ρ need not actually be supplied.
Fourier Proxies and Thresholding
In this section, we present variants of the Fourier proxies we need to bound LLR and OPI and discuss the implications among them. To emphasize the connections and distinctions with previous proxies in [4 HY26, 21 ] , we state them for arbitrary coordinate densities ρ i : = ∣ S i ∣ / n \rho_i:=|S_i|/n ρ i := ∣ S i ∣/ n . This generality is needed by the above-half OPI theorem and the uniform one-bit LLR theorem. We record the exact centered proxies and their positive, or “phase-forgotten”, relaxations. We usually fix C C C and S : = S 1 × ⋯ × S n S:=S_1\times\cdots\times S_n S := S 1 × ⋯ × S n (and hence the functions g i g_i g i ), and suppress them from notation. For sets S i ⊂ F p S_i\subset\mathbb{F}_p S i ⊂ F p of densities ρ i ∈ ( 0 , 1 ) \rho_i\in(0,1) ρ i ∈ ( 0 , 1 ) , define
g i ( x ) : = 1 S i ( x ) − ρ i ρ i ( 1 − ρ i ) , λ i : = 1 − ρ i ρ i . (32) g_i(x):=\frac{\mathbf{1}_{S_i}(x)-\rho_i}{\sqrt{\rho_i(1-\rho_i)}},\qquad\lambda_i:=\sqrt{\frac{1-\rho_i}{\rho_i}}. \tag*{(32)} g i ( x ) := ρ i ( 1 − ρ i ) 1 S i ( x ) − ρ i , λ i := ρ i 1 − ρ i . (32)
By centering in (5) and Parseval’s identity, E g i = g i ^ ( 0 ) = 0 \mathbb{E}g_i=\widehat{g_i}(0)=0 E g i = g i ( 0 ) = 0 and ∥ g i ∥ 2 = 1 \|g_i\|_2=1 ∥ g i ∥ 2 = 1 . We also frequently make use of Corollary 2.5 , which says that for any ξ ≠ 0 \xi\neq0 ξ = 0 , ∣ g i ^ ( ξ ) ∣ ≤ γ ( ρ i ) + O ( p − 2 ) |\widehat{g_i}(\xi)|\leq\gamma(\rho_i)+O(p^{-2}) ∣ g i ( ξ ) ∣ ≤ γ ( ρ i ) + O ( p − 2 ) where γ ( ρ i ) = sin ( π ρ i ) π ρ i ( 1 − ρ i ) \gamma(\rho_i)=\frac{\sin(\pi\rho_i)}{\pi\sqrt{\rho_i(1-\rho_i)}} γ ( ρ i ) = π ρ i ( 1 − ρ i ) s i n ( π ρ i ) .
The OPI Discrepancy Proxies
We begin by proving a slightly generalized version of (6) that introduces the OPI proxy.
Lemma 3.1 (Translated OPI Proxy). If S i S_i S i has density ρ i \rho_i ρ i and v ∈ F p n v\in\mathbb{F}_p^n v ∈ F p n , then
F O P I ( v ) = F O P I ( v ; C , S ) : = ∣ ∣ ( v + C ) ∩ S ∣ ∣ C ∣ ∏ i ρ i − 1 ∣ = ∣ ∑ 0 ≠ y ∈ C ⊥ e p ( − ⟨ v , y ⟩ ) ∏ i ∈ supp ( y ) λ i g i ^ ( y i ) ∣ . (33) F_{\mathrm{OPI}}(v)=F_{\mathrm{OPI}}(v;C,S):=\left|\frac{|(v+C)\cap S|}{|C|\prod_i\rho_i}-1\right|=\left|\sum_{0\neq y\in C^\perp}e_p(-\langle v,y\rangle)\prod_{i\in\operatorname{supp}(y)}\lambda_i\widehat{g_i}(y_i)\right|. \tag*{(33)} F OPI ( v ) = F OPI ( v ; C , S ) := ∣ C ∣ ∏ i ρ i ∣ ( v + C ) ∩ S ∣ − 1 = 0 = y ∈ C ⊥ ∑ e p ( − ⟨ v , y ⟩) i ∈ supp ( y ) ∏ λ i g i ( y i ) . (33)
Proof. Fourier inversion and orthogonality on the coset v + C v+C v + C give
∣ ( v + C ) ∩ S ∣ ∣ C ∣ = ∑ y ∈ C ⊥ e p ( − ⟨ v , y ⟩ ) ∏ i = 1 n 1 S i ^ ( y i ) . (34) \frac{\lvert(v+C)\cap S\rvert}{\lvert C\rvert}=\sum_{y\in C^\perp}e_p(-\langle v,y\rangle)\prod_{i=1}^{n}\widehat{1_{S_i}}(y_i). \tag*{(34)} ∣ C ∣ ∣( v + C ) ∩ S ∣ = y ∈ C ⊥ ∑ e p ( − ⟨ v , y ⟩) i = 1 ∏ n 1 S i ( y i ) . (34)
Now, 1 S i ^ ( 0 ) = ρ i \widehat{1_{S_i}}(0)=\rho_i 1 S i ( 0 ) = ρ i , and for ξ ≠ 0 \xi\ne0 ξ = 0 , we know by (32) that
1 S i ^ ( ξ ) = ρ i ( 1 − ρ i ) g i ^ ( ξ ) . \widehat{1_{S_i}}(\xi)=\sqrt{\rho_i(1-\rho_i)}\widehat{g_i}(\xi). 1 S i ( ξ ) = ρ i ( 1 − ρ i ) g i ( ξ ) .
The y = 0 y=0 y = 0 term in (34) is ∏ i ρ i \prod_i\rho_i ∏ i ρ i . Subtracting this term and dividing by ∏ i ρ i \prod_i\rho_i ∏ i ρ i proves (33) .
By the triangle inequality, we know that F O P I ( v ) ≤ F O P I + F_{\mathrm{OPI}}(v)\le F_{\mathrm{OPI}}^+ F OPI ( v ) ≤ F OPI + where we recall the positive relaxation F O P I + F_{\mathrm{OPI}}^+ F OPI + obtained by forgetting the phase term:
F O P I + = F O P I + ( C , S ) : = ∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) λ i ∣ g i ^ ( y i ) ∣ (35) F_{\mathrm{OPI}}^+=F_{\mathrm{OPI}}^+(C,S):=\sum_{\substack{0\ne y\in C^\perp}}\prod_{i\in\operatorname{supp}(y)}\lambda_i\lvert\widehat{g_i}(y_i)\rvert \tag*{(35)} F OPI + = F OPI + ( C , S ) := 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ λ i ∣ g i ( y i )∣ (35)
Note that F O P I + F_{\mathrm{OPI}}^+ F OPI + is an L 1 L^1 L 1 proxy. This proxy was introduced in [4 ] and the same exact and positive proxies were used for OPI in [39 HY26] .
For later use in § 7.4 , we also record the same proxy for fractional lists on an arbitrary linear code C ~ ⊂ ∏ i = 1 n V i \widetilde C\subset\prod_{i=1}^n V_i C ⊂ ∏ i = 1 n V i , so that the i i i ’th symbol of C ~ \widetilde C C lies in some vector space V i V_i V i over F p \mathbb{F}_p F p . For v ∈ ∏ i V i v\in\prod_i V_i v ∈ ∏ i V i and y ∈ ∏ i V i ∗ y\in\prod_i V_i^* y ∈ ∏ i V i ∗ , write ⟨ v , y ⟩ = ∑ i y i ( v i ) \langle v,y\rangle=\sum_i y_i(v_i) ⟨ v , y ⟩ = ∑ i y i ( v i ) .
Corollary 3.2 (Fractional OPI proxy). Let C ~ ⊂ ∏ i = 1 n V i \widetilde C\subset\prod_{i=1}^n V_i C ⊂ ∏ i = 1 n V i be any F p \mathbb{F}_p F p -linear code of length n n n , where each V i V_i V i is a finite-dimensional vector space over F p \mathbb{F}_p F p . For f i : V i → [ 0 , 1 ] f_i:V_i\to[0,1] f i : V i → [ 0 , 1 ] with mean ρ i > 0 \rho_i>0 ρ i > 0 , let
F O P I ( v ; C ~ , f ) : = ∣ E x ∈ v + C ~ ∏ i f i ( x i ) ∏ i ρ i − 1 ∣ and F O P I + ( C ~ ; f ) : = ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∣ f i ^ ( y i ) ∣ ρ i F_{\mathrm{OPI}}(v;\widetilde C,\mathbf f):=\left\lvert\frac{\mathbb{E}_{x\in v+\widetilde C}\prod_i f_i(x_i)}{\prod_i\rho_i}-1\right\rvert
\qquad\text{and}\qquad
F_{\mathrm{OPI}}^+(\widetilde C;\mathbf f):=\sum_{0\ne y\in\widetilde C^\perp}\prod_i\frac{\lvert\widehat{f_i}(y_i)\rvert}{\rho_i} F OPI ( v ; C , f ) := ∏ i ρ i E x ∈ v + C ∏ i f i ( x i ) − 1 and F OPI + ( C ; f ) := 0 = y ∈ C ⊥ ∑ i ∏ ρ i ∣ f i ( y i )∣ for any v ∈ ∏ i V i v\in\prod_i V_i v ∈ ∏ i V i and f = ( f 1 , … , f n ) \mathbf f=(f_1,\ldots,f_n) f = ( f 1 , … , f n ) . Then
F O P I ( v ; C ~ , f ) = ∣ ∑ 0 ≠ y ∈ C ~ ⊥ e p ( − ⟨ v , y ⟩ ) ∏ i f i ^ ( y i ) ρ i ∣ ≤ F O P I + ( C ~ ; f ) . (36) F_{\mathrm{OPI}}(v;\widetilde C,\mathbf f)=\left\lvert\sum_{0\ne y\in\widetilde C^\perp}e_p(-\langle v,y\rangle)\prod_i\frac{\widehat{f_i}(y_i)}{\rho_i}\right\rvert\le F_{\mathrm{OPI}}^+(\widetilde C;\mathbf f). \tag*{(36)} F OPI ( v ; C , f ) = 0 = y ∈ C ⊥ ∑ e p ( − ⟨ v , y ⟩) i ∏ ρ i f i ( y i ) ≤ F OPI + ( C ; f ) . (36)
Proof. The proof of Lemma 3.1 applies verbatim: Fourier inversion and orthogonality on v + C ~ v+\widetilde C v + C give the expansion, and its zero-frequency term is ∏ i ρ i \prod_i\rho_i ∏ i ρ i . Subtracting this term, dividing by ∏ i ρ i \prod_i\rho_i ∏ i ρ i , and applying the triangle inequality yields the desired result.
For indicator functions on F p \mathbb{F}_p F p , this recovers the Fourier proxy from Lemma 3.1. More generally, for 0 < ρ i < 1 0<\rho_i<1 0 < ρ i < 1 , retain g i = ( f i − ρ i ) / ρ i ( 1 − ρ i ) g_i=(f_i-\rho_i)/\sqrt{\rho_i(1-\rho_i)} g i = ( f i − ρ i ) / ρ i ( 1 − ρ i ) and the same λ i \lambda_i λ i ; then ∥ g i ∥ 2 ≤ 1 \lVert g_i\rVert_2\le1 ∥ g i ∥ 2 ≤ 1 and ∣ f i ^ ( ξ ) ∣ / ρ i = λ i ∣ g i ^ ( ξ ) ∣ \lvert\widehat{f_i}(\xi)\rvert/\rho_i=\lambda_i\lvert\widehat{g_i}(\xi)\rvert ∣ f i ( ξ )∣ / ρ i = λ i ∣ g i ( ξ )∣ for ξ ≠ 0 \xi\ne0 ξ = 0 .
The One-Bit LLR Proxies
For LLR, fix one-bit leakages ℓ i \ell_i ℓ i , put S i : = ℓ i − 1 ( 1 ) S_i:=\ell_i^{-1}(1) S i := ℓ i − 1 ( 1 ) , and let ρ i : = ∣ S i ∣ / p \rho_i:=\lvert S_i\rvert/p ρ i := ∣ S i ∣ / p . By deleting constant leakages, we can assume without loss of generality ρ i ∈ ( 0 , 1 ) \rho_i\in(0,1) ρ i ∈ ( 0 , 1 ) for every i i i . Let C C C be any linear code in F p n \mathbb{F}_p^n F p n , and recall from Definition 1.1 that L v L_v L v is the distribution of transcripts when the leakage functions ℓ 1 , … , ℓ n \ell_1,\ldots,\ell_n ℓ 1 , … , ℓ n are applied to a uniformly random codeword in v + C v+C v + C . Recall the LLR proxy and its relaxation from (8) and (10) :
F L L R ( v , v ′ ) = F L L R ( v , v ′ ; C , S ) : = 1 4 ∑ ∅ ≠ A ⊆ [ n ] ∣ ∑ y ∈ C ⊥ supp ( y ) = A [ e p ( − ⟨ v , y ⟩ ) − e p ( − ⟨ v ′ , y ⟩ ) ] ∏ i ∈ A g i ^ ( y i ) ∣ 2 (37) F_{\mathrm{LLR}}(v,v')=F_{\mathrm{LLR}}(v,v';C,\mathcal{S}):=\frac{1}{4}\sum_{\varnothing\ne A\subseteq[n]}\left|\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\left[e_p(-\langle v,y\rangle)-e_p(-\langle v',y\rangle)\right]\prod_{i\in A}\widehat{g_i}(y_i)\right|^2 \tag*{(37)} F LLR ( v , v ′ ) = F LLR ( v , v ′ ; C , S ) := 4 1 ∅ = A ⊆ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ [ e p ( − ⟨ v , y ⟩) − e p ( − ⟨ v ′ , y ⟩) ] i ∈ A ∏ g i ( y i ) 2 (37)
F L L R + = F L L R + ( C , S ) : = ∑ ∅ ≠ A ⊆ [ n ] ( ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ ) 2 . F_{\mathrm{LLR}}^+=F_{\mathrm{LLR}}^+(C,\mathcal{S}):=\sum_{\varnothing\ne A\subseteq[n]}\left(\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\prod_{i\in A}\left|\widehat{g_i}(y_i)\right|\right)^2. F LLR + = F LLR + ( C , S ) := ∅ = A ⊆ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣ 2 .
We now prove (9) .
Lemma 3.3 (Refined LLR Proxy). For every v , v ′ ∈ F p n v,v'\in\mathbb{F}_p^n v , v ′ ∈ F p n , we have
d T V ( L v , L v ′ ) 2 ≤ F L L R ( v , v ′ ) ≤ F L L R + . (38) d_{\mathrm{TV}}(L_v,L_{v'})^2\le F_{\mathrm{LLR}}(v,v')\le F_{\mathrm{LLR}}^+. \tag*{(38)} d TV ( L v , L v ′ ) 2 ≤ F LLR ( v , v ′ ) ≤ F LLR + . (38) In particular, d T V ( L s 1 , L s 1 ′ ) ≤ F L L R ( s 1 , s 1 ′ ) ≤ F L L R + d_{\mathrm{TV}}(L_{s_1},L_{s'_1})\le\sqrt{F_{\mathrm{LLR}}(s_1,s'_1)}\le\sqrt{F_{\mathrm{LLR}}^+} d TV ( L s 1 , L s 1 ′ ) ≤ F LLR ( s 1 , s 1 ′ ) ≤ F LLR + .
The key idea is to Fourier expand around the product Bernoulli distribution
ν : = ⨂ i = 1 n Ber ( ρ i ) , ν i ( z i ) : = ρ i z i ( 1 − ρ i ) 1 − z i , (39) \nu:=\bigotimes_{i=1}^{n}\operatorname{Ber}(\rho_i),\qquad\nu_i(z_i):=\rho_i^{z_i}(1-\rho_i)^{1-z_i}, \tag*{(39)} ν := i = 1 ⨂ n Ber ( ρ i ) , ν i ( z i ) := ρ i z i ( 1 − ρ i ) 1 − z i , (39)
using the orthonormal functions { ψ A : A ⊆ [ n ] } \{\psi_A:A\subseteq[n]\} { ψ A : A ⊆ [ n ]} in L 2 ( ν ) L^2(\nu) L 2 ( ν ) given by
ψ A ( z ) : = ∏ i ∈ A ψ i ( z i ) where ψ i ( z i ) : = z i − ρ i ρ i ( 1 − ρ i ) . (40) \psi_A(z):=\prod_{i\in A}\psi_i(z_i)\qquad\text{where}\qquad\psi_i(z_i):=\frac{z_i-\rho_i}{\sqrt{\rho_i(1-\rho_i)}}. \tag*{(40)} ψ A ( z ) := i ∈ A ∏ ψ i ( z i ) where ψ i ( z i ) := ρ i ( 1 − ρ i ) z i − ρ i . (40)
Proof of Lemma 3.3. For every x ∈ F p n x\in\mathbb{F}_p^n x ∈ F p n and z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n , we can check the identity
1 { ℓ i ( x i ) = z i } ν i ( z i ) = 1 + ψ i ( z i ) g i ( x i ) , \frac{\mathbf{1}\{\ell_i(x_i)=z_i\}}{\nu_i(z_i)}=1+\psi_i(z_i)g_i(x_i), ν i ( z i ) 1 { ℓ i ( x i ) = z i } = 1 + ψ i ( z i ) g i ( x i ) ,
for every i ∈ [ n ] i\in[n] i ∈ [ n ] . Consequently,
P ( L v = z ) ν ( z ) = E x ∈ v + C [ ∏ i = 1 n ( 1 + ψ i ( z i ) g i ( x i ) ) ] = ∑ A ⊆ [ n ] ψ A ( z ) E x ∈ v + C [ ∏ i ∈ A g i ( x i ) ] . (41) \frac{\mathbb{P}(L_v=z)}{\nu(z)}=\mathbb{E}_{x\in v+C}\left[\prod_{i=1}^{n}(1+\psi_i(z_i)g_i(x_i))\right]=\sum_{A\subseteq[n]}\psi_A(z)\mathbb{E}_{x\in v+C}\left[\prod_{i\in A}g_i(x_i)\right]. \tag*{(41)} ν ( z ) P ( L v = z ) = E x ∈ v + C [ i = 1 ∏ n ( 1 + ψ i ( z i ) g i ( x i )) ] = A ⊆ [ n ] ∑ ψ A ( z ) E x ∈ v + C [ i ∈ A ∏ g i ( x i ) ] . (41)
Applying Fourier inversion on v + C v+C v + C , we see that
E x ∈ v + C [ ∏ i ∈ A g i ( x i ) ] = ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) . (42) \mathbb{E}_{x\in v+C}\left[\prod_{i\in A}g_i(x_i)\right]=\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i). \tag*{(42)} E x ∈ v + C [ i ∈ A ∏ g i ( x i ) ] = y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) . (42)
where above we have used the fact that g i ^ ( 0 ) = 0 \widehat{g_i}(0)=0 g i ( 0 ) = 0 for all i i i . Now, subtracting (41) for v v v and v ′ v' v ′ and using (42) gives
P ( L v = z ) − P ( L v ′ = z ) ν ( z ) = ∑ A ⊆ [ n ] ψ A ( z ) ∑ y ∈ C ⊥ supp ( y ) = A [ e p ( − ⟨ v , y ⟩ ) − e p ( − ⟨ v ′ , y ⟩ ) ] ∏ i ∈ A g i ^ ( y i ) . (43) \frac{\mathbb{P}(L_v=z)-\mathbb{P}(L_{v'}=z)}{\nu(z)}=\sum_{A\subseteq[n]}\psi_A(z)\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\left[e_p(-\langle v,y\rangle)-e_p(-\langle v',y\rangle)\right]\prod_{i\in A}\widehat{g_i}(y_i). \tag*{(43)} ν ( z ) P ( L v = z ) − P ( L v ′ = z ) = A ⊆ [ n ] ∑ ψ A ( z ) y ∈ C ⊥ supp ( y ) = A ∑ [ e p ( − ⟨ v , y ⟩) − e p ( − ⟨ v ′ , y ⟩) ] i ∈ A ∏ g i ( y i ) . (43)
Therefore,
4 d T V ( L v , L v ′ ) 2 = ( E Z ∼ ν ∣ P ( L v = Z ) − P ( L v ′ = Z ) ν ( Z ) ∣ ) 2 ≤ E Z ∼ ν ∣ P ( L v = Z ) − P ( L v ′ = Z ) ν ( Z ) ∣ 2 = E Z ∼ ν ∣ ∑ A ⊆ [ n ] ψ A ( Z ) ∑ y ∈ C ⊥ supp ( y ) = A [ e ρ ( − ⟨ v , y ⟩ ) − e ρ ( − ⟨ v ′ , y ⟩ ) ] ∏ i ∈ A g i ^ ( y i ) ∣ 2 = 4 F L L R ( v , v ′ ) (44) \begin{aligned}
4d_{\mathrm{TV}}(L_v,L_{v'})^2 = \left(\mathbb{E}_{Z\sim\nu}\left|\frac{\mathbb{P}(L_v=Z)-\mathbb{P}(L_{v'}=Z)}{\nu(Z)}\right|\right)^2
\leq\mathbb{E}_{Z\sim\nu}\left|\frac{\mathbb{P}(L_v=Z)-\mathbb{P}(L_{v'}=Z)}{\nu(Z)}\right|^2 \\
&= \mathbb{E}_{Z\sim\nu}\left|\sum_{A\subseteq[n]}\psi_A(Z)\sum_{\substack{y\in\mathcal{C}^{\perp}\\ \operatorname{supp}(y)=A}}\left[e_{\rho}(-\langle v,y\rangle)-e_{\rho}(-\langle v',y\rangle)\right]\prod_{i\in A}\widehat{g_i}(y_i)\right|^2 \\
&=4F_{\mathrm{LLR}}(v,v') \tag*{(44)}
\end{aligned} 4 d TV ( L v , L v ′ ) 2 = ( E Z ∼ ν ν ( Z ) P ( L v = Z ) − P ( L v ′ = Z ) ) 2 ≤ E Z ∼ ν ν ( Z ) P ( L v = Z ) − P ( L v ′ = Z ) 2 = E Z ∼ ν A ⊆ [ n ] ∑ ψ A ( Z ) y ∈ C ⊥ supp ( y ) = A ∑ [ e ρ ( − ⟨ v , y ⟩) − e ρ ( − ⟨ v ′ , y ⟩) ] i ∈ A ∏ g i ( y i ) 2 = 4 F LLR ( v , v ′ ) (44)
where we use Cauchy–Schwarz and orthonormality of ψ A \psi_A ψ A . The empty-support contribution cancels. The bound F L L R ( v , v ′ ) ≤ F L L R + F_{\mathrm{LLR}}(v,v')\leq F_{\mathrm{LLR}}^+ F LLR ( v , v ′ ) ≤ F LLR + follows from the triangle inequality. □
We recall the following lemma from [21 ] , with normalized L 2 L^2 L 2 and Fourier conventions as in § 4.3 . [21 Lemma 5.4] states the lemma with fixed choice γ = 2 / π \gamma=2/\pi γ = 2/ π , while we replace it by some parameter and observe the proof only requires γ < 1 \gamma<1 γ < 1 .
Theorem 3.4 ([21 Lemma 5.4] ). Let C ⊆ F p n C\subseteq\mathbb{F}_p^n C ⊆ F p n be the secret-zero Shamir code from (1) of dimension k k k , and assume k + 1 ≥ n / 2 k+1\geq n/2 k + 1 ≥ n /2 . Fix γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and for i ∈ [ n ] i\in[n] i ∈ [ n ] , let u i : F p → R u_i:\mathbb{F}_p\to\mathbb{R} u i : F p → R satisfy
E u i = 0 , ∥ u i ∥ 2 ≤ 1 , max ξ ≠ 0 ∣ u i ^ ( ξ ) ∣ ≤ γ . \mathbb{E}u_i=0,\qquad\lVert u_i\rVert_2\leq1,\qquad\max_{\xi\neq0}|\widehat{u_i}(\xi)|\leq\gamma. E u i = 0 , ∥ u i ∥ 2 ≤ 1 , ξ = 0 max ∣ u i ( ξ ) ∣ ≤ γ . Then, for every ω ≠ 0 \omega\neq0 ω = 0 , we have that
∣ ∑ A ⊆ [ n ] ∣ ∑ y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∏ i ∈ A u i ^ ( y i ) ∣ 2 ∣ ≤ γ 2 ( k + 1 ) ( 1 + γ − 2 ) n − k − 1 . \left|\sum_{A\subseteq[n]}\left|\sum_{\substack{y\in\mathcal{C}^{\perp}\\ \operatorname{supp}(y)=A\\ \langle y,1\rangle=\omega}}\prod_{i\in A}\widehat{u_i}(y_i)\right|^2\right|\leq\gamma^{2(k+1)}(1+\gamma^{-2})^{n-k-1}. A ⊆ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∑ i ∈ A ∏ u i ( y i ) 2 ≤ γ 2 ( k + 1 ) ( 1 + γ − 2 ) n − k − 1 .
For one-bit leakages, applying Theorem 3.4 and Corollary 2.5 to the centered functions g i g_i g i and summing over ω ≠ 0 \omega\neq0 ω = 0 immediately gives the following bias-dependent improvement to the benchmark in [21 ] for one-bit LLRs of Shamir schemes. While this is not our strongest theorem on one-bit LLR of Shamir schemes (see Theorem 1.3 and § 6 ), we include it to demonstrate the motivation for centering the proxy this way. Recall that by complementing leaked bits if necessary, we can assume density ρ i ≥ 1 / 2 \rho_i\geq1/2 ρ i ≥ 1/2 for all one-bit leakage functions.
Corollary 3.5 (Bias-dependent improvement of [21 ] ). Fix τ ∈ [ 1 / 2 , 1 ) \tau\in[1/2,1) τ ∈ [ 1/2 , 1 ) and assume that p > n p>n p > n is an odd prime and log p ≪ n \log p\ll n log p ≪ n . Suppose that ρ i ≥ τ \rho_i\geq\tau ρ i ≥ τ for all i i i , and define
R K K ( τ ) : = log ( 1 + γ ( τ ) − 2 ) log ( 1 + γ ( τ ) − 2 ) − 2 log γ ( τ ) . (45) R_{\mathrm{KK}}(\tau):=\frac{\log(1+\gamma(\tau)^{-2})}{\log(1+\gamma(\tau)^{-2})-2\log\gamma(\tau)}. \tag*{(45)} R KK ( τ ) := log ( 1 + γ ( τ ) − 2 ) − 2 log γ ( τ ) log ( 1 + γ ( τ ) − 2 ) . (45) Every Shamir scheme of fixed rate R > R K K ( τ ) R>R_{\mathrm{KK}}(\tau) R > R KK ( τ ) is one-bit locally leakage resilient against every such leakage tuple.
Proof. For the centered functions g i g_i g i , using that γ \gamma γ is decreasing on [ 1 / 2 , 1 ) [1/2,1) [ 1/2 , 1 ) , we have
E g i = 0 , E ∣ g i ∣ 2 = 1 , max ξ ≠ 0 ∣ g i ^ ( ξ ) ∣ ≤ γ ( ρ i ) + O ( p − 2 ) ≤ γ n : = γ ( τ ) + O ( p − 2 ) < 1. \mathbb{E}g_i=0,\qquad\mathbb{E}|g_i|^2=1,\qquad\max_{\xi\ne0}|\widehat{g_i}(\xi)|\le\gamma(\rho_i)+O(p^{-2})\le\gamma_n:=\gamma(\tau)+O(p^{-2})<1. E g i = 0 , E ∣ g i ∣ 2 = 1 , ξ = 0 max ∣ g i ( ξ ) ∣ ≤ γ ( ρ i ) + O ( p − 2 ) ≤ γ n := γ ( τ ) + O ( p − 2 ) < 1.
Since R > R K K ( τ ) > 1 / 2 R>R_{\mathrm{KK}}(\tau)>1/2 R > R KK ( τ ) > 1/2 , Theorem 3.4 holds for sufficiently large n n n . Partitioning (8) according to ω = ⟨ y , 1 ⟩ \omega=\langle y,1\rangle ω = ⟨ y , 1 ⟩ , the ω = 0 \omega=0 ω = 0 contribution vanishes, and Cauchy–Schwarz gives
F L L R ( s 1 , s 1 ′ ; C , S ) = 1 4 ∑ A ∣ ∑ ω ≠ 0 ⟨ y , 1 ⟩ = ω ( e p ( − s ω ) − e p ( − s ′ ω ) ) ∑ y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∏ i ∈ A g i ^ ( y i ) ∣ 2 ≤ ( p − 1 ) ∑ ω ≠ 0 ∑ A ∣ ∑ y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∏ i ∈ A g i ^ ( y i ) ∣ 2 . F_{\mathrm{LLR}}(\mathbf{s}_1,\mathbf{s}'_1;C,S)=\frac{1}{4}\sum_A\left|\sum_{\substack{\omega\ne0\\ \langle y,1\rangle=\omega}}\left(e_p(-s\omega)-e_p(-s'\omega)\right)\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A\\ \langle y,1\rangle=\omega}}\prod_{i\in A}\widehat{g_i}(y_i)\right|^2\le(p-1)\sum_{\omega\ne0}\sum_A\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A\\ \langle y,1\rangle=\omega}}\prod_{i\in A}\widehat{g_i}(y_i)\right|^2. F LLR ( s 1 , s 1 ′ ; C , S ) = 4 1 A ∑ ω = 0 ⟨ y , 1 ⟩ = ω ∑ ( e p ( − s ω ) − e p ( − s ′ ω ) ) y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∑ i ∈ A ∏ g i ( y i ) 2 ≤ ( p − 1 ) ω = 0 ∑ A ∑ y ∈ C ⊥ supp ( y ) = A ⟨ y , 1 ⟩ = ω ∑ i ∈ A ∏ g i ( y i ) 2 .
Applying Theorem 3.4 separately for each ω ≠ 0 \omega\ne0 ω = 0 and then summing over the p − 1 p-1 p − 1 frequencies gives
F L L R ( s 1 , s 1 ′ ; C , S ) ≤ ( p − 1 ) 2 γ n 2 ( k + 1 ) ( 1 + γ n − 2 ) n − k − 1 ≤ e − Ω ( n ) . F_{\mathrm{LLR}}(\mathbf{s}_1,\mathbf{s}'_1;C,S)\le(p-1)^2\gamma_n^{2(k+1)}(1+\gamma_n^{-2})^{n-k-1}\le e^{-\Omega(n)}. F LLR ( s 1 , s 1 ′ ; C , S ) ≤ ( p − 1 ) 2 γ n 2 ( k + 1 ) ( 1 + γ n − 2 ) n − k − 1 ≤ e − Ω ( n ) .
uniformly over s , s ′ ∈ F p s,s'\in\mathbb{F}_p s , s ′ ∈ F p . Note that the rate in the exponent is strictly negative precisely when R > R K K ( τ ) R>R_{\mathrm{KK}}(\tau) R > R KK ( τ ) , with the fixed gap absorbing the o ( 1 ) o(1) o ( 1 ) error terms. Finally, Lemma 3.3 and the above displayed equation shows d T V ( L s 1 , L s 1 ′ ) d_{\mathrm{TV}}(L_{\mathbf{s}_1},L_{\mathbf{s}'_1}) d TV ( L s 1 , L s 1 ′ ) is exponentially small, proving one-bit LLR. □ \square □
Remark 3.6. At τ = 1 / 2 \tau=1/2 τ = 1/2 , (45) is exactly the threshold R K K ( 1 / 2 ) = 0.579 … R_{\mathrm{KK}}(1/2)=0.579\ldots R KK ( 1/2 ) = 0.579 … that was established by [21 ] for balanced leakage functions. The bias-aware centering in (8) removes the need for a reduction to pass from the balanced to the unbalanced case, and Figure 3 demonstrates the resulting improvement in the unbalanced case.
Implications Between OPI and LLR
In this section, we extend the techniques that derived our Fourier proxies to clarify the relation between them beyond the trivial relaxation bounds. The main message, as stated in Theorem 1.15 , is that near-optimal OPI discrepancy is harder than one-bit LLR. More precisely, we elaborate on the three levels at which this main message is realized. The first statement below is the statement of Theorem 1.15 .
Theorem 3.7 (OPI is harder than one-bit LLR). For any linear code C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n and a one-bit leakage tuple ( ℓ 1 , … , ℓ n ) (\ell_1,\ldots,\ell_n) ( ℓ 1 , … , ℓ n ) , let S : = ℓ 1 − 1 ( 1 ) × ⋯ × ℓ n − 1 ( 1 ) S := \ell_1^{-1}(1) \times\cdots\times\ell_n^{-1}(1) S := ℓ 1 − 1 ( 1 ) × ⋯ × ℓ n − 1 ( 1 ) and S z = ℓ 1 − 1 ( z 1 ) × ⋯ × ℓ n − 1 ( z n ) S_z = \ell_1^{-1}(z_1) \times\cdots\times\ell_n^{-1}(z_n) S z = ℓ 1 − 1 ( z 1 ) × ⋯ × ℓ n − 1 ( z n ) for z ∈ { 0 , 1 } n z \in\{0,1\}^n z ∈ { 0 , 1 } n . Then,
Suppose that, for all s ∈ F p s \in\mathbb{F}_p s ∈ F p , and for all z ∈ { 0 , 1 } n z \in\{0,1\}^n z ∈ { 0 , 1 } n , s 1 + C s\mathbf{1}+C s 1 + C has near-optimal OPI discrepancy for input lists S i = ℓ i − 1 ( z i ) S_i=\ell_i^{-1}(z_i) S i = ℓ i − 1 ( z i ) . Then C C C is 1-bit LLR.
Suppose that, for all v ∈ F p n v \in\mathbb{F}_p^n v ∈ F p n , and for all z ∈ { 0 , 1 } n z \in\{0,1\}^n z ∈ { 0 , 1 } n , v + C v+C v + C has near-optimal OPI discrepancy for input lists S i = ℓ i − 1 ( z i ) S_i=\ell_i^{-1}(z_i) S i = ℓ i − 1 ( z i ) . Then d T V ( L v , L v ′ ) ≤ e − Ω ( n ) d_{\mathrm{TV}}(L_v,L_{v'}) \le e^{-\Omega(n)} d TV ( L v , L v ′ ) ≤ e − Ω ( n ) uniformly over v , v ′ ∈ F p n v,v' \in\mathbb{F}_p^n v , v ′ ∈ F p n .
At the level of the Fourier proxies and the phase-forgotten Fourier proxies,
F L L R ( v , v ′ ; C , S ) ≤ max u ∈ { v , v ′ } z ∈ { 0 , 1 } n F O P I ( u ; C , S z ) \sqrt{F_{\mathrm{LLR}}(v,v';C,S)} \le\max_{\substack{u\in\{v,v'\}\\z\in\{0,1\}^n}} F_{\mathrm{OPI}}(u;C,S_z) F LLR ( v , v ′ ; C , S ) ≤ u ∈ { v , v ′ } z ∈ { 0 , 1 } n max F OPI ( u ; C , S z ) F L L R + ( C , S ) ≤ max z ∈ { 0 , 1 } n F O P I + ( C , S z ) . (46) \sqrt{F_{\mathrm{LLR}}^+(C,S)} \le\max_{z\in\{0,1\}^n} F_{\mathrm{OPI}}^+(C,S_z). \tag*{(46)} F LLR + ( C , S ) ≤ z ∈ { 0 , 1 } n max F OPI + ( C , S z ) . (46)
Proof. We first recall the product Bernoulli distribution ν \nu ν as well as the orthonormal basis { ψ A : A ⊂ [ n ] } \{\psi_A:A\subset[n]\} { ψ A : A ⊂ [ n ]} of L 2 ( ν ) L^2(\nu) L 2 ( ν ) from (39) and (40) . Then to prove (2), note that F O P I ( v ; C , S z ) = ∣ P ( L v = z ) ν ( z ) − 1 ∣ F_{\mathrm{OPI}}(v;C,S_z)=\left|\frac{\mathbb{P}(L_v=z)}{\nu(z)}-1\right| F OPI ( v ; C , S z ) = ν ( z ) P ( L v = z ) − 1 for z ∈ supp ( ν ) z\in\operatorname{supp}(\nu) z ∈ supp ( ν ) . By the triangle inequality,
d T V ( L v , L v ′ ) ≤ 1 2 ∑ z ∈ supp ( ν ) ν ( z ) ( F O P I ( v ; C , S z ) + F O P I ( v ′ ; C , S z ) ) ≤ max u ∈ { v , v ′ } z ∈ supp ( ν ) F O P I ( u ; C , S z ) . (47) d_{\mathrm{TV}}(L_v,L_{v'}) \le\frac{1}{2}\sum_{z\in\operatorname{supp}(\nu)}\nu(z)\left(F_{\mathrm{OPI}}(v;C,S_z)+F_{\mathrm{OPI}}(v';C,S_z)\right) \le\max_{\substack{u\in\{v,v'\}\\z\in\operatorname{supp}(\nu)}}F_{\mathrm{OPI}}(u;C,S_z). \tag*{(47)} d TV ( L v , L v ′ ) ≤ 2 1 z ∈ supp ( ν ) ∑ ν ( z ) ( F OPI ( v ; C , S z ) + F OPI ( v ′ ; C , S z ) ) ≤ u ∈ { v , v ′ } z ∈ supp ( ν ) max F OPI ( u ; C , S z ) . (47)
The proof of (1) is similar, replacing v , v ′ v,v' v , v ′ with s 1 , s ′ 1 s\mathbf{1},s'\mathbf{1} s 1 , s ′ 1 for s ≠ s ′ ∈ F p s\ne s'\in\mathbb{F}_p s = s ′ ∈ F p .
To prove (3), recall from (44) that
F L L R ( v , v ′ ) = 1 4 E Z ∼ ν ∣ P ( L v = Z ) − P ( L v ′ = Z ) ν ( Z ) ∣ 2 ≤ 1 2 E Z ∼ ν ( F O P I ( v ; C , S Z ) 2 + F O P I ( v ′ ; C , S Z ) 2 ) , F_{\mathrm{LLR}}(v,v')=\frac{1}{4}\mathbb{E}_{Z\sim\nu}\left|\frac{\mathbb{P}(L_v=Z)-\mathbb{P}(L_{v'}=Z)}{\nu(Z)}\right|^2\le\frac{1}{2}\mathbb{E}_{Z\sim\nu}\left(F_{\mathrm{OPI}}(v;C,S_Z)^2+F_{\mathrm{OPI}}(v';C,S_Z)^2\right), F LLR ( v , v ′ ) = 4 1 E Z ∼ ν ν ( Z ) P ( L v = Z ) − P ( L v ′ = Z ) 2 ≤ 2 1 E Z ∼ ν ( F OPI ( v ; C , S Z ) 2 + F OPI ( v ′ ; C , S Z ) 2 ) ,
so the first inequality of (46) follows by bounding the expectations with the maximum. For the second inequality, observe that by definition of F O P I + ( C ; S z ) F_{\mathrm{OPI}}^+(C;S_z) F OPI + ( C ; S z ) and ψ i \psi_i ψ i , we have that the positive OPI proxy for S z S_z S z is
F O P I + ( C , S z ) = ∑ ∅ ≠ A ⊂ [ n ] ( ∏ i ∈ A ∣ ψ i ( z i ) ∣ ) ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ . F_{\mathrm{OPI}}^+(C,S_z)=\sum_{\varnothing\ne A\subset[n]}\left(\prod_{i\in A}|\psi_i(z_i)|\right)\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\prod_{i\in A}|\widehat{g_i}(y_i)|. F OPI + ( C , S z ) = ∅ = A ⊂ [ n ] ∑ ( i ∈ A ∏ ∣ ψ i ( z i ) ∣ ) y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣.
Choose z ⋆ ∈ supp ( ν ) z^\star\in\operatorname{supp}(\nu) z ⋆ ∈ supp ( ν ) coordinatewise so that ∣ ψ i ( z i ⋆ ) ∣ = max { λ i , λ i − 1 } ≥ 1 |\psi_i(z_i^\star)|=\max\{\lambda_i,\lambda_i^{-1}\}\ge1 ∣ ψ i ( z i ⋆ ) ∣ = max { λ i , λ i − 1 } ≥ 1 . For this instance S z ⋆ S_{z^\star} S z ⋆ ,
F O P I + ( C , S z ⋆ ) ≥ ∑ ∅ ≠ A ⊂ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ ≥ ( ∑ ∅ ≠ A ⊂ [ n ] ( ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ ) 2 ) 1 / 2 = F L L R + ( C ; S ) . F_{\mathrm{OPI}}^+(C,S_{z^\star})\ge\sum_{\varnothing\ne A\subset[n]}\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\prod_{i\in A}|\widehat{g_i}(y_i)|\ge\left(\sum_{\varnothing\ne A\subset[n]}\left(\sum_{\substack{y\in C^\perp\\\operatorname{supp}(y)=A}}\prod_{i\in A}|\widehat{g_i}(y_i)|\right)^2\right)^{1/2}=\sqrt{F_{\mathrm{LLR}}^+(C;S)}. F OPI + ( C , S z ⋆ ) ≥ ∅ = A ⊂ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣ ≥ ∅ = A ⊂ [ n ] ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣ 2 1/2 = F LLR + ( C ; S ) .
this proves the second inequality of (46) upon observing F O P I + ( C , S z ⋆ ) ≤ max z F O P I + ( C , S z ) F_{\mathrm{OPI}}^+(C,S_{z^\star})\le\max_z F_{\mathrm{OPI}}^+(C,S_z) F OPI + ( C , S z ⋆ ) ≤ max z F OPI + ( C , S z ) . ▫
The converse implications of Theorem 3.7 can fail by an exponential factor even for Shamir scheme aka fixed-rate GRS codes, as shown in the following example. The gap arises because LLR averages deviations over transcripts, whereas uniform OPI discrepancy demands relative control on every individual transcript, including exponentially rare ones.
Example 3.8 (The converse to Theorem 3.7 is not true). Let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be an [ n , k ] [n,k] [ n , k ] MDS code with k = R n k=Rn k = R n , where R ∈ ( 0 , 1 ) R \in(0,1) R ∈ ( 0 , 1 ) is fixed and p ≥ n p \ge n p ≥ n , and corresponding input lists and leakage functions via S i : = F p × S_i := \mathbb{F}_p^\times S i := F p × and ℓ i ( a ) : = 1 { a ≠ 0 } \ell_i(a) := \mathbf{1}\{a \ne0\} ℓ i ( a ) := 1 { a = 0 } . For z ∈ { 0 , 1 } n z \in\{0,1\}^n z ∈ { 0 , 1 } n , uniformly over v , v ′ ∈ F p n v,v' \in\mathbb{F}_p^n v , v ′ ∈ F p n ,
∣ P ( L v = z ) − P ( L v ′ = z ) ∣ ≤ 2 n + 1 p − k (48) \left|\mathbb{P}(L_v=z)-\mathbb{P}(L_{v'}=z)\right| \le2^{n+1}p^{-k} \tag*{(48)} ∣ P ( L v = z ) − P ( L v ′ = z ) ∣ ≤ 2 n + 1 p − k (48) To see this, write
1 { L v = z } = ∏ i : z i = 0 1 { ( L v ) i = 0 } ∏ i : z i ≠ 0 ( 1 − 1 { ( L v ) i = 0 } ) = ∑ T ( − 1 ) ∣ T ∩ supp z ∣ 1 { L v ∣ T = 0 } , \mathbf{1}\{L_v=z\}=\prod_{i:z_i=0}\mathbf{1}\{(L_v)_i=0\}\prod_{i:z_i\ne0}(1-\mathbf{1}\{(L_v)_i=0\})=\sum_T(-1)^{|T\cap\operatorname{supp}z|}\mathbf{1}\{L_v|_T=0\}, 1 { L v = z } = i : z i = 0 ∏ 1 {( L v ) i = 0 } i : z i = 0 ∏ ( 1 − 1 {( L v ) i = 0 }) = T ∑ ( − 1 ) ∣ T ∩ supp z ∣ 1 { L v ∣ T = 0 } , summed over all T ⊂ [ n ] T \subset[n] T ⊂ [ n ] that contains { i : z i = 0 } \{i:z_i=0\} { i : z i = 0 } . Now, L v ∣ T = 0 L_v|_T=0 L v ∣ T = 0 imposes ∣ T ∣ |T| ∣ T ∣ zeros on coordinates of v + c v+c v + c for c ∼ Unif ( C ) c \sim\operatorname{Unif}(C) c ∼ Unif ( C ) . If ∣ T ∣ ≤ k |T| \le k ∣ T ∣ ≤ k , P ( L v ∣ T = 0 ) \mathbb{P}(L_v|_T=0) P ( L v ∣ T = 0 ) is independent of v v v by the MDS property of C C C , so the contributions to (48) cancels for v v v and v ′ v' v ′ . If ∣ T ∣ > k |T|>k ∣ T ∣ > k , there is at most one c ∈ C c \in C c ∈ C with the prescribed zeros, so P ( L v ∣ T = 0 ) ≤ p − k \mathbb{P}(L_v|_T=0) \le p^{-k} P ( L v ∣ T = 0 ) ≤ p − k . There are at most 2 n 2^n 2 n such T T T , which gives the bound in (48) . Hence, we can crudely bound d T V ( L v , L v ′ ) ≤ 2 2 n p − k d_{\mathrm{TV}}(L_v,L_{v'}) \le2^{2n}p^{-k} d TV ( L v , L v ′ ) ≤ 2 2 n p − k . Moreover, since ν ( z ) ≥ p − n \nu(z) \ge p^{-n} ν ( z ) ≥ p − n for every transcript z z z ,
F L L R ( v , v ′ ; C , S ) ≤ p n 4 ( ∑ z ∣ P ( L v = z ) − P ( L v ′ = z ) ∣ ) 2 = p n d T V ( L v , L v ′ ) 2 . F_{\mathrm{LLR}}(v,v';C,S) \le\frac{p^n}{4}\left(\sum_z\left|\mathbb{P}(L_v=z)-\mathbb{P}(L_{v'}=z)\right|\right)^2=p^n d_{\mathrm{TV}}(L_v,L_{v'})^2. F LLR ( v , v ′ ; C , S ) ≤ 4 p n ( z ∑ ∣ P ( L v = z ) − P ( L v ′ = z ) ∣ ) 2 = p n d TV ( L v , L v ′ ) 2 . Therefore, F L L R ( v , v ′ ; C , S ) = e − Ω ( n log n ) F_{\mathrm{LLR}}(v,v';C,S)=e^{-\Omega(n\log n)} F LLR ( v , v ′ ; C , S ) = e − Ω ( n l o g n ) by Lemma 3.3, whenever k = R n k=Rn k = R n , R > 1 / 2 R>1/2 R > 1/2 , and p ≥ n p \ge n p ≥ n . Nevertheless, for z = 0 n z=0^n z = 0 n we have S z = { 0 } n S_z=\{0\}^n S z = { 0 } n and C ∩ S z = { 0 } C\cap S_z=\{0\} C ∩ S z = { 0 } , so
F O P I ( 0 ; C , S z ) = ∣ p − k p − n − 1 ∣ = p n − k − 1. F_{\mathrm{OPI}}(0;C,S_z)=\left|\frac{p^{-k}}{p^{-n}}-1\right|=p^{n-k}-1. F OPI ( 0 ; C , S z ) = p − n p − k − 1 = p n − k − 1. Thus both d T V ( L v , L v ′ ) d_{\mathrm{TV}}(L_v,L_{v'}) d TV ( L v , L v ′ ) and the LLR proxy can be superexponentially small even though the worst-case OPI discrepancy is superexponentially large.
Local Leakage Resilience
In this section, we prove the first item of the following theorem.
Theorem 1.3 (Local Leakage Resilience of Shamir Schemes). Every Shamir secret sharing scheme with rate R R R over a prime field is
b b b -bit locally leakage resilient for every fixed b b b and every fixed R > 1 / 2 R>1/2 R > 1/2 ;
one-bit locally leakage resilient whenever R > 1 / 2 − δ R>1/2-\delta R > 1/2 − δ , for some absolute constant δ > 0 \delta>0 δ > 0 .
Many-bit LLR Above Rate 1/2
To prove the Theorem 1.3(1), we use the “tests” of [31 ] . These tests will bound the leakage resilience error ε \varepsilon ε , i.e. the maximum total variation of the transcript distributions for distinct secrets. We state the result below for the Shamir scheme only, whereas [31 ] proves it for more general Massey schemes corresponding to replacing the generalized Reed-Solomon code C C C with any MDS code of equal length and rate.
We state these tests. Fix σ ∈ [ 0 , 1 ] \sigma\in[0,1] σ ∈ [ 0 , 1 ] , ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N , and a > 1 a > 1 a > 1 . Every test is indexed by a tuple V = ( V 1 , … , V n ) \mathbf{V} = (V_1,\ldots,V_n) V = ( V 1 , … , V n ) of ℓ \ell ℓ -element subsets of F p \mathbb{F}_p F p and a set J ⊂ [ n ] J \subset[n] J ⊂ [ n ] of size ( 1 − σ ) n (1-\sigma)n ( 1 − σ ) n . A word y ∈ F p n \mathbf{y} \in\mathbb{F}_p^n y ∈ F p n fails the test ( V , J ) (\mathbf{V},J) ( V , J ) if y j ∈ V j y_j \in V_j y j ∈ V j for every j ∈ J j \in J j ∈ J . The code C ⊥ C^\perp C ⊥ fails the test ( V , J ) (\mathbf{V},J) ( V , J ) if at least a n a^n a n of the elements of C ⊥ C^\perp C ⊥ fail it. We say that C ⊥ C^\perp C ⊥ passes TEST C ⊥ ( σ , ℓ , a ) \operatorname{TEST}_{C^\perp}(\sigma,\ell,a) TEST C ⊥ ( σ , ℓ , a ) if it fails none of these tests ( V , J ) (\mathbf{V},J) ( V , J ) .
Lemma 4.1 (Test Criterion [31 Lemma 1] , specialized to Shamir sharing). Fix b ∈ N b \in\mathbb{N} b ∈ N . There is a constant C b > 1 C_b > 1 C b > 1 such that the following holds. Let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be the secret-zero share code of a Shamir scheme of rate R R R , and choose 0 < σ ≤ 2 R − 1 0 < \sigma\le2R-1 0 < σ ≤ 2 R − 1 , a > 1 a > 1 a > 1 , and positive integers T T T and ℓ = 2 b T 2 \ell= 2^bT^2 ℓ = 2 b T 2 . If C ⊥ C^\perp C ⊥ passes TEST C ⊥ ( σ , ℓ , a ) \operatorname{TEST}_{C^\perp}(\sigma,\ell,a) TEST C ⊥ ( σ , ℓ , a ) , then the scheme is b b b -bit locally leakage resilient with leakage error
ε ≤ 2 − [ R log 2 C b − log 2 a − H 2 ( σ ) ] n + 2 − [ σ log 2 T − ( σ + 1 − R ) b − H 2 ( σ ) ] n . \varepsilon\le2^{-[R\log_2 C_b-\log_2 a-H_2(\sigma)]n}+2^{-[\sigma\log_2 T-(\sigma+1-R)b-H_2(\sigma)]n}. ε ≤ 2 − [ R l o g 2 C b − l o g 2 a − H 2 ( σ )] n + 2 − [ σ l o g 2 T − ( σ + 1 − R ) b − H 2 ( σ )] n .
We observe that list recovery (see Definition 2.1 ) of C ⊥ C^\perp C ⊥ certifies every one of these tests simultaneously. Indeed, if C ⊥ C^\perp C ⊥ is ( σ , ℓ , L ) (\sigma,\ell,L) ( σ , ℓ , L ) -list recoverable with L < a n L < a^n L < a n , every word failing a test agrees with its list tuple on all ( 1 − σ ) n (1-\sigma)n ( 1 − σ ) n coordinates of J J J . Hence at most L < a n L < a^n L < a n words fail any test. This observation means that we can combine Lemma 4.1 with recent breakthroughs in the list-recovery of Reed–Solomon codes (Theorem 2.3) to prove part (1) of Theorem 1.3, which we do next.
Proof of Theorem 1.3(1). Fix the constant C b C_b C b from Lemma 4.1. First choose 0 < σ < 2 R − 1 0 < \sigma< 2R-1 0 < σ < 2 R − 1 so that H 2 ( σ ) < R log 2 C b H_2(\sigma) < R\log_2 C_b H 2 ( σ ) < R log 2 C b . Next choose a > 1 a > 1 a > 1 sufficiently close to one that
R log 2 C b − log 2 a − H 2 ( σ ) > 0 , R\log_2 C_b-\log_2 a-H_2(\sigma)>0, R log 2 C b − log 2 a − H 2 ( σ ) > 0 ,
and finally choose T T T sufficiently large that
σ log 2 T − ( σ + 1 − R ) b − H 2 ( σ ) > 0. \sigma\log_2 T-(\sigma+1-R)b-H_2(\sigma)>0. σ log 2 T − ( σ + 1 − R ) b − H 2 ( σ ) > 0.
Put ℓ : = 2 b T 2 \ell:= 2^bT^2 ℓ := 2 b T 2 . Our choice 0 < σ < 2 R − 1 < R 0 < \sigma< 2R-1 < R 0 < σ < 2 R − 1 < R gives agreement 1 − σ > 1 − R 1-\sigma> 1-R 1 − σ > 1 − R , strictly above the dual rate, so Theorem 2.3 implies that C ⊥ C^\perp C ⊥ is ( σ , ℓ , L ) (\sigma,\ell,L) ( σ , ℓ , L ) -list recoverable with L = n O R , b ( 1 ) ≪ a n L=n^{O_{R,b}(1)} \ll a^n L = n O R , b ( 1 ) ≪ a n as n → ∞ n \to\infty n → ∞ . Hence C ⊥ C^\perp C ⊥ passes TEST C ⊥ ( σ , ℓ , a ) \operatorname{TEST}_{C^\perp}(\sigma,\ell,a) TEST C ⊥ ( σ , ℓ , a ) , and the two exponents in the square brackets in Lemma 4.1 are positive constants. This proves exponentially small leakage error. □ \square □
Weighted Fourier Thresholding
In this section, we isolate the key mechanism by which we leverage list recoverability of RS codes (see Theorem 2.3 ) in the proofs of Theorems 1.3, 1.9 , 1.11 and 1.12. Recall the Fourier proxies F O P I + F_{\mathrm{OPI}}^+ F OPI + and F L L R + F_{\mathrm{LLR}}^+ F LLR + from § 5.1 and § 5.2 that we wish to upper bound: Their bounds reduce to weighted sums of the form
∑ 0 ≠ y ∈ C ⊥ y i ≠ 0 ∏ i w i ( y i ) (49) \sum_{\substack{0\ne\mathbf{y}\in C^\perp\\ y_i\ne0}}\prod_i w_i(y_i) \tag*{(49)} 0 = y ∈ C ⊥ y i = 0 ∑ i ∏ w i ( y i ) (49)
where w i w_i w i is the norm of some Fourier coefficients of f i f_i f i or g i g_i g i . The lemma below converts L 2 L^2 L 2 -norm bounds (via Parseval’s identity) and pointwise bounds of these Fourier coefficients into an exponentially small bound on the quantity in (49) , whenever C C C has good list recovery properties.
Lemma 1.17 (Weighted Fourier Thresholding). Fix constants γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and Γ > 0 \Gamma> 0 Γ > 0 . Let p ≥ n p \ge n p ≥ n and let C ⊆ F p n C \subseteq\mathbb{F}_p^n C ⊆ F p n be a generalized Reed–Solomon code of dimension k k k . Suppose that the weights w i : F p → R ≥ 0 w_i:\mathbb{F}_p \to\mathbb{R}_{\ge0} w i : F p → R ≥ 0 for every i ∈ [ n ] i \in[n] i ∈ [ n ] satisfies that
∥ w i ∥ ∞ ≤ γ + o ( 1 ) and ∥ w i ∥ 2 2 = ∑ ξ ≠ 0 w i ( ξ ) 2 ≤ Γ + o ( 1 ) \lVert w_i\rVert_\infty\le\gamma+ o(1) \quad\text{and}\quad\lVert w_i\rVert_2^2 = \sum_{\xi\ne0} w_i(\xi)^2 \le\Gamma+ o(1) ∥ w i ∥ ∞ ≤ γ + o ( 1 ) and ∥ w i ∥ 2 2 = ξ = 0 ∑ w i ( ξ ) 2 ≤ Γ + o ( 1 ) with both errors uniformly in i i i . Then, for every t ∈ [ n ] t \in[n] t ∈ [ n ] with 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) ,
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∏ i : y i ≠ 0 w i ( y i ) ≤ e o ( n ) γ k = e − Ω ( n ) . (50) \sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t}} \prod_{i:y_i\ne0} w_i(y_i) \le e^{o(n)}\gamma^k=e^{-\Omega(n)}. \tag*{(50)} 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∑ i : y i = 0 ∏ w i ( y i ) ≤ e o ( n ) γ k = e − Ω ( n ) . (50)
Proof. First, we claim that it suffices to show the case of exact norm bounds, i.e. without the uniform ε = o ( 1 ) \varepsilon=o(1) ε = o ( 1 ) error. Scale w ~ i : = λ − 1 w i \widetilde{w}_i:=\lambda^{-1}w_i w i := λ − 1 w i so that ∥ w ~ i ∥ ∞ ≤ γ \lVert\widetilde{w}_i\rVert_\infty\le\gamma ∥ w i ∥ ∞ ≤ γ and ∥ w ~ i ∥ 2 2 ≤ Γ \lVert\widetilde{w}_i\rVert_2^2\le\Gamma ∥ w i ∥ 2 2 ≤ Γ for every i i i , via
λ : = max { γ + ε n γ , Γ + ε n Γ } = 1 + o ( 1 ) . \lambda:=\max\left\{\frac{\gamma+\varepsilon_n}{\gamma},\sqrt{\frac{\Gamma+\varepsilon_n}{\Gamma}}\right\}=1+o(1). λ := max { γ γ + ε n , Γ Γ + ε n } = 1 + o ( 1 ) .
Then, since ∣ y ∣ ≤ n \lvert y\rvert\le n ∣ y ∣ ≤ n , the result for w i w_i w i follows from that of w ~ i \widetilde{w}_i w i as
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∏ i ∈ supp ( y ) w i ( y i ) ≤ λ n ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∏ i ∈ supp ( y ) w ~ i ( y i ) , \sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t}}\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
\le\lambda^n\sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t}}\prod_{i\in\operatorname{supp}(y)}\widetilde{w}_i(y_i), 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∑ i ∈ supp ( y ) ∏ w i ( y i ) ≤ λ n 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∑ i ∈ supp ( y ) ∏ w i ( y i ) ,
and λ n = e o ( n ) \lambda^n=e^{o(n)} λ n = e o ( n ) . Therefore assume throughout the proof that ∥ w i ∥ ∞ ≤ γ \lVert w_i\rVert_\infty\le\gamma ∥ w i ∥ ∞ ≤ γ and ∥ w i ∥ 2 2 ≤ Γ \lVert w_i\rVert_2^2\le\Gamma ∥ w i ∥ 2 2 ≤ Γ for every i i i .
Now, If t ≤ k t\le k t ≤ k , then the sum is empty by the minimum distance k + 1 k+1 k + 1 of the dual code C ⊥ C^\perp C ⊥ . For t > k t>k t > k , by assumption, σ : = ⌊ k − t / 2 ⌋ / n \sigma:=\lfloor k-t/2\rfloor/n σ := ⌊ k − t /2 ⌋ / n is bounded away from 0. Choose a constant θ ∈ ( 0 , γ ) \theta\in(0,\gamma) θ ∈ ( 0 , γ ) such that
3 ( 1 + Γ ) θ σ ≤ γ . (51) 3(1+\Gamma)\theta^\sigma\le\gamma. \tag*{(51)} 3 ( 1 + Γ ) θ σ ≤ γ . (51)
For each coordinate i ∈ [ n ] i\in[n] i ∈ [ n ] , define the heavy list H i : = { 0 } ∪ { ξ ≠ 0 : w i ( ξ ) > θ } H_i:=\{0\}\cup\{\xi\ne0:w_i(\xi)>\theta\} H i := { 0 } ∪ { ξ = 0 : w i ( ξ ) > θ } . Markov’s inequality implies that ∣ H i ∣ ≤ 1 + Γ θ − 2 \lvert H_i\rvert\le1+\Gamma\theta^{-2} ∣ H i ∣ ≤ 1 + Γ θ − 2 . Since σ < R − t / ( 2 n ) = R − Ω ( 1 ) \sigma<R-t/(2n)=R-\Omega(1) σ < R − t / ( 2 n ) = R − Ω ( 1 ) , Theorem 2.3 shows that only L = n O ( 1 ) L=n^{O(1)} L = n O ( 1 ) elements of C ⊥ C^\perp C ⊥ agree with the lists H i H_i H i on at least ( 1 − σ ) n (1-\sigma)n ( 1 − σ ) n coordinates. Write J ( y ) : = { i : y i ∈ H i } J(y):=\{i:y_i\in H_i\} J ( y ) := { i : y i ∈ H i } and split weighted sum as
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∏ i ∈ supp ( y ) w i ( y i ) = ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y ) ∣ ≥ ( 1 − σ ) n ∏ i ∈ supp ( y ) w i ( y i ) + ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y ) ∣ < ( 1 − σ ) n ∏ i ∈ supp ( y ) w i ( y i ) . (52) \sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t}}\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
=
\sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t\\ \lvert J(y)\rvert\ge(1-\sigma)n}}\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
+
\sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t\\ \lvert J(y)\rvert<(1-\sigma)n}}\prod_{i\in\operatorname{supp}(y)}w_i(y_i). \tag*{(52)} 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∑ i ∈ supp ( y ) ∏ w i ( y i ) = 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y )∣ ≥ ( 1 − σ ) n ∑ i ∈ supp ( y ) ∏ w i ( y i ) + 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y )∣ < ( 1 − σ ) n ∑ i ∈ supp ( y ) ∏ w i ( y i ) . (52)
We bound the two summands separately.
For nonzero y ∈ C ⊥ y\in C^\perp y ∈ C ⊥ with ∣ J ( y ) ∣ ≥ ( 1 − σ ) n \lvert J(y)\rvert\ge(1-\sigma)n ∣ J ( y )∣ ≥ ( 1 − σ ) n , as σ < R \sigma<R σ < R , list recovery (Theorem 2.3 ) of C ⊥ C^\perp C ⊥ of distance k + 1 k+1 k + 1 , and the pointwise weight bound give
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y ) ∣ ≥ ( 1 − σ ) n ∏ i ∈ supp ( y ) w i ( y i ) ≤ L γ k + 1 = n O ( 1 ) γ k . \sum_{\substack{0\ne y\in C^\perp\\ \lvert y\rvert\le t\\ \lvert J(y)\rvert\ge(1-\sigma)n}}\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
\le L\gamma^{k+1}=n^{O(1)}\gamma^k. 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∣ J ( y )∣ ≥ ( 1 − σ ) n ∑ i ∈ supp ( y ) ∏ w i ( y i ) ≤ L γ k + 1 = n O ( 1 ) γ k .
For nonzero y ∈ C ⊥ y\in C^\perp y ∈ C ⊥ with ∣ J ( y ) ∣ < ( 1 − σ ) n \lvert J(y)\rvert<(1-\sigma)n ∣ J ( y )∣ < ( 1 − σ ) n , because 0 ∈ H i 0\in H_i 0 ∈ H i , every coordinate i i i outside J ( y ) J(y) J ( y ) belongs to supp ( y ) \operatorname{supp}(y) supp ( y ) . For any such i ∉ J ( y ) i\notin J(y) i ∈ / J ( y ) , the weight w i ( y i ) w_i(y_i) w i ( y i ) is at most θ \theta θ by the definitions
of H i H_i H i and J ( y ) J(y) J ( y ) . Since ∣ y ∣ ≤ t |y| \le t ∣ y ∣ ≤ t , choose T ∈ ( [ n ] t ) T \in\binom{[n]}{t} T ∈ ( t [ n ] ) containing supp ( y ) \operatorname{supp}(y) supp ( y ) . Counting by T T T and the possible sets M ∈ ( T σ n ) M \in\binom{T}{\sigma n} M ∈ ( σ n T ) of σ n \sigma n σ n coordinates outside J ( y ) J(y) J ( y ) gives
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t , ∣ J ( y ) ∣ < ( 1 − σ ) n ∏ i ∈ supp ( y ) w i ( y i ) ≤ ∑ T ∈ ( [ n ] t ) ∑ M ∈ ( T σ n ) ∑ y ∈ C ⊥ supp ( y ) ⊆ T y i ∉ H i ∀ i ∈ M ∏ i ∈ supp ( y ) w i ( y i ) . \sum_{\substack{0\ne y\in C^\perp\\ |y|\le t,\ |J(y)|<(1-\sigma)n}} \prod_{i\in\operatorname{supp}(y)} w_i(y_i)
\le
\sum_{T\in\binom{[n]}{t}}\sum_{M\in\binom{T}{\sigma n}}
\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)\subseteq T\\ y_i\notin H_i\ \forall i\in M}}
\prod_{i\in\operatorname{supp}(y)} w_i(y_i). 0 = y ∈ C ⊥ ∣ y ∣ ≤ t , ∣ J ( y ) ∣ < ( 1 − σ ) n ∑ i ∈ supp ( y ) ∏ w i ( y i ) ≤ T ∈ ( t [ n ] ) ∑ M ∈ ( σ n T ) ∑ y ∈ C ⊥ supp ( y ) ⊆ T y i ∈ / H i ∀ i ∈ M ∑ i ∈ supp ( y ) ∏ w i ( y i ) .
Fix T T T and one such M M M . Since 2 k − t > 0 2k-t>0 2 k − t > 0 , we have
σ n = ⌊ k − t 2 ⌋ ≤ k − t 2 ≤ 2 k − t . \sigma n=\left\lfloor k-\frac{t}{2}\right\rfloor\le k-\frac{t}{2}\le2k-t. σ n = ⌊ k − 2 t ⌋ ≤ k − 2 t ≤ 2 k − t .
and so ∣ T ∖ M ∣ = t − σ n ≥ 2 ( t − k ) |T\setminus M|=t-\sigma n\ge2(t-k) ∣ T ∖ M ∣ = t − σ n ≥ 2 ( t − k ) . Hence, T ∖ M T\setminus M T ∖ M contains two disjoint sets J 1 , J 2 J_1,J_2 J 1 , J 2 of size t − k t-k t − k . Extracting the θ ∣ M ∣ \theta^{|M|} θ ∣ M ∣ contribution on M M M and applying Cauchy–Schwarz gives
∑ y ∈ C ⊥ supp ( y ) ⊆ T y i ∉ H i ∀ i ∈ M ∏ i ∈ supp ( y ) w i ( y i ) ≤ θ ∣ M ∣ ( ∑ y ∈ C ⊥ supp ( y ) ⊆ T ∏ i ∈ J 1 ∩ supp ( y ) w i ( y i ) 2 ) 1 / 2 ( ∑ y ∈ C ⊥ supp ( y ) ⊆ T ∏ i ∈ J 2 ∩ supp ( y ) w i ( y i ) 2 ) 1 / 2 = θ σ n ( ∏ i ∈ J 1 [ 1 + ∑ a ≠ 0 w i ( a ) 2 ] ) 1 / 2 ( ∏ i ∈ J 2 [ 1 + ∑ a ≠ 0 w i ( a ) 2 ] ) 1 / 2 ≤ θ σ n ( 1 + Γ ) t − k , \begin{aligned}
\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)\subseteq T\\ y_i\notin H_i\ \forall i\in M}}
\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
\le\theta^{|M|}
\left(
\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)\subseteq T}}
\prod_{i\in J_1\cap\operatorname{supp}(y)}w_i(y_i)^2
\right)^{1/2}
\left(
\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)\subseteq T}}
\prod_{i\in J_2\cap\operatorname{supp}(y)}w_i(y_i)^2
\right)^{1/2} \\
&= \theta^{\sigma n}
\left(\prod_{i\in J_1}\left[1+\sum_{a\ne0}w_i(a)^2\right]\right)^{1/2}
\left(\prod_{i\in J_2}\left[1+\sum_{a\ne0}w_i(a)^2\right]\right)^{1/2} \\
&\le\theta^{\sigma n}(1+\Gamma)^{t-k},
\end{aligned} y ∈ C ⊥ supp ( y ) ⊆ T y i ∈ / H i ∀ i ∈ M ∑ i ∈ supp ( y ) ∏ w i ( y i ) ≤ θ ∣ M ∣ y ∈ C ⊥ supp ( y ) ⊆ T ∑ i ∈ J 1 ∩ supp ( y ) ∏ w i ( y i ) 2 1/2 y ∈ C ⊥ supp ( y ) ⊆ T ∑ i ∈ J 2 ∩ supp ( y ) ∏ w i ( y i ) 2 1/2 = θ σ n i ∈ J 1 ∏ 1 + a = 0 ∑ w i ( a ) 2 1/2 i ∈ J 2 ∏ 1 + a = 0 ∑ w i ( a ) 2 1/2 ≤ θ σ n ( 1 + Γ ) t − k ,
where the crucial observation is that the shortening of C ⊥ C^\perp C ⊥ to T T T is an [ t , t − k ] [t,t-k] [ t , t − k ] MDS code, so projection onto either J 1 J_1 J 1 or J 2 J_2 J 2 is a bijection. The number of choices of ( T , M ) (T,M) ( T , M ) is at most 3 n 3^n 3 n as M ⊂ T ⊂ [ n ] M\subset T\subset[n] M ⊂ T ⊂ [ n ] , so by our choice (51) , we see that
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t , ∣ J ( y ) ∣ < ( 1 − σ ) n ∏ i ∈ supp ( y ) w i ( y i ) ≤ 3 n θ σ n ( 1 + Γ ) t − k ≤ [ 3 ( 1 + Γ ) θ σ ] n ≤ γ n . \sum_{\substack{0\ne y\in C^\perp\\ |y|\le t,\ |J(y)|<(1-\sigma)n}}
\prod_{i\in\operatorname{supp}(y)}w_i(y_i)
\le3^n\theta^{\sigma n}(1+\Gamma)^{t-k}
\le[3(1+\Gamma)\theta^\sigma]^n\le\gamma^n. 0 = y ∈ C ⊥ ∣ y ∣ ≤ t , ∣ J ( y ) ∣ < ( 1 − σ ) n ∑ i ∈ supp ( y ) ∏ w i ( y i ) ≤ 3 n θ σ n ( 1 + Γ ) t − k ≤ [ 3 ( 1 + Γ ) θ σ ] n ≤ γ n .
Combining the two estimates in the bullet points proves the lemma.
Remark 4.2. We remark on the requirement in Lemma 1.17 that 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) , and its implications. First, this requirement comes from the fact that the proof of Lemma 1.17 requires σ < R \sigma<R σ < R in order to apply Theorem 2.3 , and requires σ n ≤ 2 k − t \sigma n\le2k-t σ n ≤ 2 k − t so that ∣ T ∖ M ∣ |T\setminus M| ∣ T ∖ M ∣ is sufficiently large; the existence of such a σ \sigma σ is guaranteed when 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) , hence the hypothesis.
As for why this matters, it means that if we want to apply Lemma 1.17 for every t ∈ [ n ] t\in[n] t ∈ [ n ] , including t = n t=n t = n —which, for example, is what we do in the proof of a more quantitative statement of Theorem 1.3(1) below, and in the proof of Theorem 1.11(1)—we will then need 2 k − n ≳ n 2k-n\gtrsim n 2 k − n ≳ n , i.e. rate R > 1 / 2 R>1/2 R > 1/2 . This is one of the two apparent barriers at rate 1 / 2 1/2 1/2 discussed in § 1 that we will need to circumvent for our results with R < 1 / 2 R<1/2 R < 1/2 .
As a corollary of Lemma 1.17, we show a quantitative version of Theorem 1.3(1). Although the proof above using the tests in [31 ] already gives the full arbitrary-b b b bit LLR above one half, we next prove a quantitative one-bit version of Theorem 1.3(1) for two reasons.
Recall from Definition 1.1 the leakage functions ℓ 1 , … , ℓ n : F p → { 0 , 1 } \ell_1,\ldots,\ell_n:\mathbb{F}_p\to\{0,1\} ℓ 1 , … , ℓ n : F p → { 0 , 1 } and their transcript L v L_v L v on a uniformly random word of v + C v+C v + C .
Corollary 4.3. Fix R > 1 / 2 R>1/2 R > 1/2 . Let C C C be an [ n , k ] [n,k] [ n , k ] GRS code over a prime field F p \mathbb{F}_p F p , with p ≥ n p\ge n p ≥ n and k / n ≥ R k/n\ge R k / n ≥ R . Then, uniformly over the leakage functions ℓ 1 , … , ℓ n \ell_1,\ldots,\ell_n ℓ 1 , … , ℓ n and v , v ′ ∈ F p v,v'\in\mathbb{F}_p v , v ′ ∈ F p ,
d T V ( L v , L v ′ ) ≤ F L L R ( v , v ′ ) ≤ F L L R + ≤ n O R ( 1 ) ( 2 π ) k . d_{\mathrm{TV}}(L_v,L_{v'})\le\sqrt{F_{\mathrm{LLR}}(v,v')}\le\sqrt{F_{\mathrm{LLR}}^{+}}\le n^{O_R(1)}\left(\frac{2}{\pi}\right)^k. d TV ( L v , L v ′ ) ≤ F LLR ( v , v ′ ) ≤ F LLR + ≤ n O R ( 1 ) ( π 2 ) k . Proof. By Lemma 3.3 and the definition of F L L R + F_{\mathrm{LLR}}^{+} F LLR +
d T V ( L v , L v ′ ) ≤ F L L R ( v , v ′ ) ≤ F L L R + ≤ ∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ . d_{\mathrm{TV}}(L_v,L_{v'})\le\sqrt{F_{\mathrm{LLR}}(v,v')}\le\sqrt{F_{\mathrm{LLR}}^{+}}\le\sum_{0\ne y\in C^\perp}\prod_{i\in\operatorname{supp}(y)}\left|\widehat{g_i}(y_i)\right|. d TV ( L v , L v ′ ) ≤ F LLR ( v , v ′ ) ≤ F LLR + ≤ 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ . Apply Lemma 1.17 to w i ( ξ ) = ∣ g i ^ ( ξ ) ∣ w_i(\xi)=|\widehat{g_i}(\xi)| w i ( ξ ) = ∣ g i ( ξ ) ∣ with parameters t = n t=n t = n , Γ = 1 \Gamma=1 Γ = 1 , and γ = 2 / π + O ( p − 2 ) \gamma=2/\pi+O(p^{-2}) γ = 2/ π + O ( p − 2 ) from Corollary 2.5 . Since 2 k − n ≥ ( 2 R − 1 ) n 2k-n\ge(2R-1)n 2 k − n ≥ ( 2 R − 1 ) n , we obtain the bound
∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ n O R ( 1 ) ( 2 π + O ( p − 2 ) ) k ≤ n O R ( 1 ) ( 2 π ) k . \sum_{0\ne y\in C^\perp}\prod_{i\in\operatorname{supp}(y)}\left|\widehat{g_i}(y_i)\right|\le n^{O_R(1)}\left(\frac{2}{\pi}+O(p^{-2})\right)^k\le n^{O_R(1)}\left(\frac{2}{\pi}\right)^k. 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ n O R ( 1 ) ( π 2 + O ( p − 2 ) ) k ≤ n O R ( 1 ) ( π 2 ) k . Combining the two equations above gives the corollary.
One-bit LLR Below Rate 1/2
In this section, we prove Theorem 1.3(2). We begin by proving it in the balanced case where ρ i = ρ ∼ 1 / 2 \rho_i=\rho\sim1/2 ρ i = ρ ∼ 1/2 , so ∥ g i ∥ ∞ = 1 + o ( 1 ) \lVert g_i\rVert_\infty=1+o(1) ∥ g i ∥ ∞ = 1 + o ( 1 ) uniformly. The analogous statement for the arbitrary biased case is given in Section A. Fix an [ n , k ] [n,k] [ n , k ] GRS code C C C of rate R ∈ [ 1 / 2 − δ , 1 / 2 ] R\in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] where δ ∈ ( 0 , 1 / 6 ) \delta\in(0,1/6) δ ∈ ( 0 , 1/6 ) is some small constant chosen later. Our goal is to bound the Fourier proxy F L L R ( v , v ′ ) F_{\mathrm{LLR}}(v,v') F LLR ( v , v ′ ) , which amounts to bounding expressions of the form
∣ ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) ∣ . (53) \left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i)\right|. \tag*{(53)} y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) . (53)
We will bound this term in two ways, depending on how the size of A A A compares with the cutoff m = ⌊ ( 2 − δ ) k ⌋ m=\lfloor(2-\delta)k\rfloor m = ⌊( 2 − δ ) k ⌋ from (1.12); notice that with this value of m m m , it follows from 1 / 2 − δ ≤ R 1/2-\delta\le R 1/2 − δ ≤ R that
m ≥ ( 1 − 5 2 δ + δ 2 ) n − O ( 1 ) . m\ge\left(1-\frac{5}{2}\delta+\delta^2\right)n-O(1). m ≥ ( 1 − 2 5 δ + δ 2 ) n − O ( 1 ) .
When ∣ A ∣ > m |A|>m ∣ A ∣ > m , then we will bound (4.4) using Lemma 4.4 , which we state and prove below; if ∣ A ∣ ≤ m |A|\le m ∣ A ∣ ≤ m , we will ignore the phases and use Lemma 1.17. For sufficiently small δ \delta δ , Stirling’s formula bounds the number of supports above this cutoff by
∣ { A ⊂ [ n ] : ∣ A ∣ > m } ∣ ≤ 2 [ H 2 ( ( n − m ) / n ) + o ( 1 ) ] n ≤ 2 [ H 2 ( 5 δ / 2 − δ 2 ) + o ( 1 ) ] n . (54) \left|\{A\subset[n]:|A|>m\}\right|\le2^{[H_2((n-m)/n)+o(1)]n}\le2^{[H_2(5\delta/2-\delta^2)+o(1)]n}. \tag*{(54)} ∣ { A ⊂ [ n ] : ∣ A ∣ > m } ∣ ≤ 2 [ H 2 (( n − m ) / n ) + o ( 1 )] n ≤ 2 [ H 2 ( 5 δ /2 − δ 2 ) + o ( 1 )] n . (54)
For the supports A A A above the cutoff, we use Lemmas 2.8 and 2.10 to obtain the following bound.
Lemma 4.4. There exists an absolute constant q ∈ ( 0 , 1 ) q \in(0,1) q ∈ ( 0 , 1 ) such that for every v ∈ F p n v \in\mathbb{F}_p^n v ∈ F p n , every balanced leakage tuple and its centered functions g i g_i g i , and every A ⊆ [ n ] A \subseteq[n] A ⊆ [ n ] with ∣ A ∣ > m |A| > m ∣ A ∣ > m ,
∣ ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) ∣ = ∣ E x ∈ v + C [ ∏ i ∈ A g i ( x i ) ] ∣ ≤ 2 o ( n ) q ( 3 k − n ) / 2 . (55) \left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}} e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i)\right|=\left|\mathbb{E}_{x\in v+C}\left[\prod_{i\in A}g_i(x_i)\right]\right|\leq2^{o(n)}q^{(3k-n)/2}. \tag*{(55)} y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) = E x ∈ v + C [ i ∈ A ∏ g i ( x i ) ] ≤ 2 o ( n ) q ( 3 k − n ) /2 . (55) Proof. The first equality is Fourier inversion, since g i ^ ( 0 ) = 0 \widehat{g_i}(0)=0 g i ( 0 ) = 0 . In the balanced case, ρ i ∼ 1 / 2 \rho_i\sim1/2 ρ i ∼ 1/2 so centered g i g_i g i has mean zero and takes values ± 1 + o ( 1 ) \pm1+o(1) ± 1 + o ( 1 ) . Thus, Lemma 2.8 gives constant q ∈ ( 0 , 1 ) q\in(0,1) q ∈ ( 0 , 1 ) such that ∥ g i ∥ U 3 ≤ q \|g_i\|_{U^3}\leq q ∥ g i ∥ U 3 ≤ q for every i i i . Let d : = ( 3 k − n ) / 2 d := (3k-n)/2 d := ( 3 k − n ) /2 . Since δ ∈ ( 0 , 1 / 6 ) \delta\in(0,1/6) δ ∈ ( 0 , 1/6 ) and k < n / 2 k<n/2 k < n /2 , we see that 3 k − n ≥ ( 1 / 2 − δ ) n > 0 3k-n\geq(1/2-\delta)n>0 3 k − n ≥ ( 1/2 − δ ) n > 0 and 0 ≤ d ≤ k / 2 ≤ m < ∣ A ∣ 0\leq d\leq k/2\leq m<|A| 0 ≤ d ≤ k /2 ≤ m < ∣ A ∣ . Thus we may choose set J ⊂ A J\subset A J ⊂ A of size d d d .
We next apply Lemma 2.10 , where the functions F i F_i F i map a message x x x to the i i i -th symbol of its encoding in v + C v+C v + C , and where L i = g i L_i=g_i L i = g i for i ∈ A i\in A i ∈ A and L i = 1 L_i=1 L i = 1 for i ∉ A i\notin A i ∈ / A , to obtain
∣ E x ∈ v + C ∏ i ∈ A g i ( x i ) ∣ ≤ ∏ i ∈ A ∖ J ∥ g i ∥ ∞ ∏ j ∈ J ∥ g j ∥ U 3 ≤ 2 o ( n ) q d = 2 o ( n ) q ( 3 k − n ) / 2 , \left|\mathbb{E}_{x\in v+C}\prod_{i\in A}g_i(x_i)\right|\leq\prod_{i\in A\setminus J}\|g_i\|_\infty\prod_{j\in J}\|g_j\|_{U^3}\leq2^{o(n)}q^d=2^{o(n)}q^{(3k-n)/2}, E x ∈ v + C i ∈ A ∏ g i ( x i ) ≤ i ∈ A ∖ J ∏ ∥ g i ∥ ∞ j ∈ J ∏ ∥ g j ∥ U 3 ≤ 2 o ( n ) q d = 2 o ( n ) q ( 3 k − n ) /2 , where various o ( 1 ) o(1) o ( 1 ) error at each coordinate is absorbed into the 2 o ( n ) 2^{o(n)} 2 o ( n ) term. □ \square □
To show Theorem 1.3(2), it suffices by Lemma 3.3 to bound the corresponding Fourier proxy.
Lemma 4.5. There exists δ > 0 \delta>0 δ > 0 such that for every [ n , k ] [n,k] [ n , k ] generalized Reed-Solomon code C C C of rate R ≥ 1 / 2 − δ R\geq1/2-\delta R ≥ 1/2 − δ over a prime field F p \mathbb{F}_p F p with p ≥ n p\geq n p ≥ n , every balanced one-bit leakage tuple, and every v , v ′ ∈ F p n v,v'\in\mathbb{F}_p^n v , v ′ ∈ F p n ,
F L L R ( v , v ′ ) ≤ e − Ω ( n ) . (56) \mathrm{F}_{\mathrm{LLR}}(v,v')\leq e^{-\Omega(n)}. \tag*{(56)} F LLR ( v , v ′ ) ≤ e − Ω ( n ) . (56) Proof. For R > 1 / 2 R>1/2 R > 1/2 , this is true by Corollary 4.3. We assume R ∈ [ 1 / 2 − δ , 1 / 2 ] R\in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] , where we choose δ > 0 \delta>0 δ > 0 sufficiently small that
H 2 ( 5 2 δ − δ 2 ) + ( 1 2 − 3 δ ) log 2 q < 0. (57) H_2\left(\frac{5}{2}\delta-\delta^2\right)+\left(\frac{1}{2}-3\delta\right)\log_2q<0. \tag*{(57)} H 2 ( 2 5 δ − δ 2 ) + ( 2 1 − 3 δ ) log 2 q < 0. (57) Such a choice exists because the left-hand side is strictly negative at δ = 0 \delta=0 δ = 0 . Use the cutoff m = ⌈ ( 2 − δ ) k ⌉ m=\lceil(2-\delta)k\rceil m = ⌈( 2 − δ ) k ⌉ from (12) . Forgetting phases and using ∣ a − b ∣ 2 ≤ 2 ∣ a ∣ 2 + 2 ∣ b ∣ 2 |a-b|^2\leq2|a|^2+2|b|^2 ∣ a − b ∣ 2 ≤ 2∣ a ∣ 2 + 2∣ b ∣ 2 , we have
F L L R ( v , v ′ ) ≤ ∑ 0 < ∣ A ∣ ≤ m ( ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ ) 2 + 1 2 ∑ u ∈ { v , v ′ } ∑ ∣ A ∣ > m ∣ ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ u , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) ∣ 2 . (58) \mathrm{F}_{\mathrm{LLR}}(v,v')\leq\sum_{0<|A|\leq m}\left(\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}\prod_{i\in A}|\widehat{g_i}(y_i)|\right)^2+\frac{1}{2}\sum_{u\in\{v,v'\}}\sum_{|A|>m}\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}e_p(-\langle u,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i)\right|^2. \tag*{(58)} F LLR ( v , v ′ ) ≤ 0 < ∣ A ∣ ≤ m ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣ 2 + 2 1 u ∈ { v , v ′ } ∑ ∣ A ∣ > m ∑ y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ u , y ⟩) i ∈ A ∏ g i ( y i ) 2 . (58) We bound the two summands separately.
For the first term, apply Lemma 1.17 with w i = ∣ g i ^ ∣ w_i=|\widehat{g_i}| w i = ∣ g i ∣ , t = m t=m t = m , and γ = 2 / π \gamma=2/\pi γ = 2/ π via Corollary 2.5 , and Γ = 1 \Gamma=1 Γ = 1 via Parseval’s identity. We check that 2 k − m ∼ δ k ≲ n 2k-m\sim\delta k\lesssim n 2 k − m ∼ δ k ≲ n , so
∑ 0 < ∣ A ∣ ≤ m ( ∑ y ∈ C ⊥ supp ( y ) = A ∏ i ∈ A ∣ g i ^ ( y i ) ∣ ) 2 ≤ ( ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ) 2 ≤ n O ( 1 ) ( 2 π ) 2 k = e − Ω ( n ) . (59) \sum_{0<|A|\leq m}\left(\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}\prod_{i\in A}|\widehat{g_i}(y_i)|\right)^2\leq\left(\sum_{\substack{0\ne y\in C^\perp\\ |y|\leq m}}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|\right)^2\leq n^{O(1)}\left(\frac{2}{\pi}\right)^{2k}=e^{-\Omega(n)}. \tag*{(59)} 0 < ∣ A ∣ ≤ m ∑ y ∈ C ⊥ supp ( y ) = A ∑ i ∈ A ∏ ∣ g i ( y i ) ∣ 2 ≤ 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ 2 ≤ n O ( 1 ) ( π 2 ) 2 k = e − Ω ( n ) . (59)
1 2 ∑ u ∈ { v , v ′ } ∑ ∣ A ∣ > m ∣ ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ u , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) ∣ 2 ≤ ∣ { A ⊂ [ n ] : ∣ A ∣ > m } ∣ ⋅ 2 o ( n ) q 3 k − n \frac{1}{2}\sum_{u\in\{v,v'\}}\sum_{\substack{|A|>m}}\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}e_p(-\langle u,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i)\right|^2 \leq\left|\{A\subset[n]:|A|>m\}\right|\cdot2^{o(n)}q^{3k-n} 2 1 u ∈ { v , v ′ } ∑ ∣ A ∣ > m ∑ y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ u , y ⟩) i ∈ A ∏ g i ( y i ) 2 ≤ ∣ { A ⊂ [ n ] : ∣ A ∣ > m } ∣ ⋅ 2 o ( n ) q 3 k − n
≤ 2 [ H 2 ( 5 2 δ − δ 2 ) + ( 1 2 − 3 δ ) log 2 q + o ( 1 ) ] n = 2 − Ω ( n ) . (60) \begin{aligned}
\leq2^{\left[H_2\left(\frac{5}{2}\delta-\delta^2\right)+\left(\frac{1}{2}-3\delta\right)\log_2 q+o(1)\right]n} \\
&=2^{-\Omega(n)}. \tag*{(60)}
\end{aligned} ≤ 2 [ H 2 ( 2 5 δ − δ 2 ) + ( 2 1 − 3 δ ) l o g 2 q + o ( 1 ) ] n = 2 − Ω ( n ) . (60)
where the last inequality uses R ≥ 1 / 2 − δ R\geq1/2-\delta R ≥ 1/2 − δ , log 2 q < 0 \log_2 q<0 log 2 q < 0 , and (57) .
Combining the two estimates proves Lemma 4.5 .
Remark 4.6 (Where was balance needed?). We remark that balance is used only for the large-support estimate: it makes the centered functions nearly 1 1 1 -bounded while retaining a fixed U 3 U^3 U 3 gap. The low-support estimate already holds for arbitrary biases.
By Lemma 3.3 , Lemma 4.5 implies that d T V ( L v , L v ′ ) ≤ e − Ω ( n ) d_{\mathrm{TV}}(L_v,L_{v'})\leq e^{-\Omega(n)} d TV ( L v , L v ′ ) ≤ e − Ω ( n ) uniformly over the translates v , v ′ v,v' v , v ′ . Taking v = s 1 v=s1 v = s 1 and v ′ = s ′ 1 v'=s'1 v ′ = s ′ 1 proves the balanced case of Theorem 1.3(2). The arbitrary-bias extension is proved in Lemma A.4. We now collect the two parts of the main theorem on LLR, formally completing the proof of Theorem 1.3.
Proof of Theorem 1.3. Part (1) is proved in § 6.1 by combining Lemma 4.1 with Theorem 2.3 . For part (2), Lemma A.4 bounds d T V ( L v , L v ′ ) d_{\mathrm{TV}}(L_v,L_{v'}) d TV ( L v , L v ′ ) exponentially for every one-bit leakage tuple. Taking v = s 1 v=s1 v = s 1 and v ′ = s ′ 1 v'=s'1 v ′ = s ′ 1 proves the theorem.
Near-Optimal OPI Discrepancy
In this section, we prove Theorems 1.11 and 1.13. We first re-state the former for the reader’s convenience.
Theorem 1.11 (Near-optimal OPI Discrepancy for Reed–Solomon Codes). Fix any ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) . Every Reed–Solomon code of rate R R R over a prime field has near-optimal OPI discrepancy for every instance with ∣ S i ∣ ≥ ρ p |S_i|\geq\rho p ∣ S i ∣ ≥ ρp for every i i i , provided that at least one of the following holds:
R > 1 / 2 R>1/2 R > 1/2 ;
R > 1 / 2 − δ R>1/2-\delta R > 1/2 − δ and ρ ≥ 1 / 2 − δ \rho\geq1/2-\delta ρ ≥ 1/2 − δ , for some absolute constant δ > 0 \delta>0 δ > 0 ;
R + ρ > 1 R+\rho>1 R + ρ > 1 .
We prove Theorem 1.11 in its three regimes. Above rate 1 / 2 1/2 1/2 , weighted Fourier thresholding controls the full positive proxy. Near rate 1 / 2 1/2 1/2 , the balanced proof uses the same low-support and high-support split as § 6.3 . The regime where R > 1 − ρ R>1-\rho R > 1 − ρ is treated separately in § 7.3 .
OPI Above and Near Rate 1/2
In this section, we prove the first two cases of Theorem 1.11, similar to the corresponding proofs of one-bit LLR in § 6 . For the first conclusion, the Fourier weights in (35) have bounded squared ℓ 2 \ell^2 ℓ 2 mass and a pointwise bound strictly below one whenever the densities have a fixed positive lower bound, so Lemma 1.17 immediately gives exponential decay, much like the proof of Corollary 4.3.
Lemma 5.1. For every [ n , k ] [n,k] [ n , k ] generalized Reed–Solomon code C C C of fixed rate R > 1 / 2 R>1/2 R > 1/2 over a prime field F p \mathbb{F}_p F p with p ≥ n p\ge n p ≥ n , and every OPI instance S \mathsf{S} S of fixed density ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) ,
F O P I + ( C ; S ) ≤ n O ( 1 ) ( sin ( π ρ ) π ρ ) k = e − Ω ( n ) . F_{\mathrm{OPI}}^{+}(C;\mathsf{S}) \le n^{O(1)}\left(\frac{\sin(\pi\rho)}{\pi\rho}\right)^k=e^{-\Omega(n)}. F OPI + ( C ; S ) ≤ n O ( 1 ) ( π ρ sin ( π ρ ) ) k = e − Ω ( n ) .
Proof. By Parseval and Corollary 2.5 , with λ = ( 1 − ρ ) / ρ \lambda=\sqrt{(1-\rho)/\rho} λ = ( 1 − ρ ) / ρ ,
∑ ξ ≠ 0 ( λ ∣ g i ^ ( ξ ) ∣ ) 2 = 1 − ρ ρ , λ ∣ g i ^ ( ξ ) ∣ ≤ sin ( π ρ ) π ρ + O ρ ( p − 2 ) . \sum_{\xi\ne0}\left(\lambda|\widehat{g_i}(\xi)|\right)^2=\frac{1-\rho}{\rho},\qquad\lambda|\widehat{g_i}(\xi)|\le\frac{\sin(\pi\rho)}{\pi\rho}+O_\rho(p^{-2}). ξ = 0 ∑ ( λ ∣ g i ( ξ ) ∣ ) 2 = ρ 1 − ρ , λ ∣ g i ( ξ ) ∣ ≤ π ρ sin ( π ρ ) + O ρ ( p − 2 ) .
Since sin ( π ρ ) / ( π ρ ) < 1 \sin(\pi\rho)/(\pi\rho)<1 sin ( π ρ ) / ( π ρ ) < 1 , apply Lemma 1.17 to w i ( ξ ) = λ ∣ g i ^ ( ξ ) ∣ w_i(\xi)=\lambda|\widehat{g_i}(\xi)| w i ( ξ ) = λ ∣ g i ( ξ ) ∣ with t = n t=n t = n , Γ = ( 1 − ρ ) / ρ \Gamma=(1-\rho)/\rho Γ = ( 1 − ρ ) / ρ , and γ = sin ( π ρ ) / ( π ρ ) \gamma=\sin(\pi\rho)/(\pi\rho) γ = sin ( π ρ ) / ( π ρ ) . We obtain
F O P I + = ∑ 0 ≠ y ∈ C ⊥ ∏ i ∈ supp ( y ) λ ∣ g i ^ ( y i ) ∣ ≤ n O ( 1 ) ( sin ( π ρ ) π ρ ) k = e − Ω ( n ) . F_{\mathrm{OPI}}^{+}=\sum_{0\ne y\in C^\perp}\prod_{i\in\operatorname{supp}(y)}\lambda|\widehat{g_i}(y_i)|\le n^{O(1)}\left(\frac{\sin(\pi\rho)}{\pi\rho}\right)^k=e^{-\Omega(n)}. F OPI + = 0 = y ∈ C ⊥ ∑ i ∈ supp ( y ) ∏ λ ∣ g i ( y i ) ∣ ≤ n O ( 1 ) ( π ρ sin ( π ρ ) ) k = e − Ω ( n ) .
By Lemma 3.1, F O P I ( v ) ≤ F O P I + F_{\mathrm{OPI}}(v)\le F_{\mathrm{OPI}}^{+} F OPI ( v ) ≤ F OPI + uniformly over translates. This proves Theorem 1.11(1). The same bound for heterogeneous lists with a fixed positive lower density follows from Proposition 2.13 .
Next, we prove the balanced case of Theorem 1.11(2). As in § 6.3 , we split the support A A A of codewords y ∈ C ⊥ y\in C^\perp y ∈ C ⊥ at cutoff m ∼ ( 2 − δ ) k m\sim(2-\delta)k m ∼ ( 2 − δ ) k , use Lemma 1.17 to control the small-support case, and use Lemmas 2.8 and 2.10 to control the large-support case.
Lemma 5.2. There exists δ > 0 \delta>0 δ > 0 such that for every [ n , k ] [n,k] [ n , k ] generalized Reed–Solomon code C C C of fixed rate R ≥ 1 / 2 − δ R\ge1/2-\delta R ≥ 1/2 − δ over a prime field F p \mathbb{F}_p F p with p ≥ n p\ge n p ≥ n , every balanced OPI instance (that is, where ρ i = ρ = 1 / 2 + o ( 1 ) \rho_i=\rho=1/2+o(1) ρ i = ρ = 1/2 + o ( 1 ) ), and every v ∈ F p n v\in\mathbb{F}_p^n v ∈ F p n ,
F O P I ( v ) ≤ e − Ω ( n ) . F_{\mathrm{OPI}}(v)\le e^{-\Omega(n)}. F OPI ( v ) ≤ e − Ω ( n ) .
Proof. When R > 1 / 2 R>1/2 R > 1/2 , the statement follows from Lemma 5.1 , so we assume R ≤ 1 / 2 R\le1/2 R ≤ 1/2 . Otherwise, fix the absolute constant q < 1 q<1 q < 1 from Lemma 4.4 , choose δ > 0 \delta>0 δ > 0 sufficiently small, take R ∈ [ 1 / 2 − δ , 1 / 2 ] R\in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] , and use the same cutoff m = ⌊ ( 2 − δ ) k ⌋ m=\lfloor(2-\delta)k\rfloor m = ⌊( 2 − δ ) k ⌋ from (12) . Choose δ \delta δ so that
H 2 ( 5 2 δ − δ 2 ) + ( 1 4 − 3 2 δ ) log 2 q < 0. (61) H_2\left(\frac{5}{2}\delta-\delta^2\right)+\left(\frac{1}{4}-\frac{3}{2}\delta\right)\log_2q<0. \tag*{(61)} H 2 ( 2 5 δ − δ 2 ) + ( 4 1 − 2 3 δ ) log 2 q < 0. (61)
Such a choice exists because the left-hand side is strictly negative at δ = 0 \delta=0 δ = 0 . Write ρ i = ρ = 1 / 2 + o ( 1 ) \rho_i=\rho=1/2+o(1) ρ i = ρ = 1/2 + o ( 1 ) and λ = ( 1 − ρ ) / ρ \lambda=\sqrt{(1-\rho)/\rho} λ = ( 1 − ρ ) / ρ . For every support A A A , ∏ i ∈ A λ i = λ ∣ A ∣ = 2 o ( n ) \prod_{i\in A}\lambda_i=\lambda^{|A|}=2^{o(n)} ∏ i ∈ A λ i = λ ∣ A ∣ = 2 o ( n ) uniformly in A A A , so we may ignore the λ \lambda λ ’s. Applying (33) and taking the triangle inequality over supports gives
F O P I ( v ) ≤ 2 o ( n ) ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ + 2 o ( n ) ∑ A ⊂ [ n ] ∣ A ∣ > m ∣ ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g i ^ ( y i ) ∣ . (62) F_{\mathrm{OPI}}(v)\le2^{o(n)}\sum_{\substack{0\ne y\in C^\perp\\ |y|\le m}}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|+
2^{o(n)}\sum_{\substack{A\subset[n]\\ |A|>m}}\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g_i}(y_i)\right|. \tag*{(62)} F OPI ( v ) ≤ 2 o ( n ) 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ + 2 o ( n ) A ⊂ [ n ] ∣ A ∣ > m ∑ y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) . (62)
We bound the two summands separately.
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m ∏ i ∈ supp ( y ) ∣ g ^ i ( y i ) ∣ ≤ n O ( 1 ) ( 2 π ) k = e − Ω ( n ) . \sum_{\substack{0 \ne y \in C^\perp\\ |y| \le m}} \prod_{i \in\operatorname{supp}(y)} |\widehat{g}_i(y_i)| \le n^{O(1)}\left(\frac{2}{\pi}\right)^k = e^{-\Omega(n)}. 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ n O ( 1 ) ( π 2 ) k = e − Ω ( n ) .
∣ ∑ A ⊂ [ n ] ∣ A ∣ > m ∑ y ∈ C ⊥ supp ( y ) = A e p ( − ⟨ v , y ⟩ ) ∏ i ∈ A g ^ i ( y i ) ∣ ≤ 2 [ H 2 ( 5 δ δ − δ 2 ) + 3 R − 1 2 log 2 q + o ( 1 ) ] n \left|\sum_{\substack{A \subset[n]\\ |A|>m}}\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}} e_p(-\langle v,y\rangle)\prod_{i\in A}\widehat{g}_i(y_i)\right|
\le2^{\left[H_2\left(\frac{5}{\delta}\delta-\delta^2\right)+\frac{3R-1}{2}\log_2 q+o(1)\right]n} A ⊂ [ n ] ∣ A ∣ > m ∑ y ∈ C ⊥ supp ( y ) = A ∑ e p ( − ⟨ v , y ⟩) i ∈ A ∏ g i ( y i ) ≤ 2 [ H 2 ( δ 5 δ − δ 2 ) + 2 3 R − 1 l o g 2 q + o ( 1 ) ] n
≤ 2 [ H 2 ( 5 δ δ − δ 2 ) + ( 1 4 − 3 2 δ ) log 2 q + o ( 1 ) ] n = 2 − Ω ( n ) . (63) \le2^{\left[H_2\left(\frac{5}{\delta}\delta-\delta^2\right)+\left(\frac14-\frac32\delta\right)\log_2 q+o(1)\right]n}
=2^{-\Omega(n)}. \tag*{(63)} ≤ 2 [ H 2 ( δ 5 δ − δ 2 ) + ( 4 1 − 2 3 δ ) l o g 2 q + o ( 1 ) ] n = 2 − Ω ( n ) . (63)
The last inequality uses R ≥ 1 / 2 − δ R \ge1/2-\delta R ≥ 1/2 − δ , log 2 q < 0 \log_2 q<0 log 2 q < 0 , and (61) .
Combining the two estimates proves Lemma 5.2 upon multiplying by 2 o ( n ) 2^{o(n)} 2 o ( n ) .
By Lemma 3.1, this proves the balanced case of Theorem 1.11(2). The extension to fixed density ρ ≥ 1 / 2 − δ \rho\ge1/2-\delta ρ ≥ 1/2 − δ , after decreasing the constant δ \delta δ if necessary, is deferred to Section B.
Recap of the Satisfaction Expansion in [39 ]
In this section, we recall the framework in [39 ] to analyze the satisfaction ratio obtained by measuring the DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ from (15) . These tools will help us prove Theorem 1.11(3) and the algorithmic results in § 8 . To set up16 , fix an [ n , k ] [n,k] [ n , k ] GRS code C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n and input lists of common density ρ = ∣ S i ∣ / p ∈ ( 0 , 1 ) \rho=|S_i|/p \in(0,1) ρ = ∣ S i ∣/ p ∈ ( 0 , 1 ) . Recall the centered functions g i g_i g i and the j j j -wise discrepancies from the overview:
q j ( x ) : = ∑ A ∈ ( [ n ] j ) ∏ i ∈ A g i ( x i ) , β ρ : = 1 − 2 ρ ρ ( 1 − ρ ) . (64) q_j(x):=\sum_{\substack{A\in\binom{[n]}{j}}}\prod_{i\in A}g_i(x_i),\qquad\beta_\rho:=\frac{1-2\rho}{\sqrt{\rho(1-\rho)}}. \tag*{(64)} q j ( x ) := A ∈ ( j [ n ] ) ∑ i ∈ A ∏ g i ( x i ) , β ρ := ρ ( 1 − ρ ) 1 − 2 ρ . (64)
We begin with the key Fourier lemma about discrepancies.
Lemma 5.3 ([39 Lemma 4.1] ). For any 0 ≤ t ≤ n 0 \le t \le n 0 ≤ t ≤ n and every x ∈ F p n x \in\mathbb{F}_p^n x ∈ F p n
E x ∈ C [ q t ( x ) ] = ∑ y ∈ C ⊥ ∣ y ∣ = t ∏ i ∈ supp ( y ) g ^ i ( y i ) . (65) \mathbb{E}_{x\in C}[q_t(x)]=\sum_{\substack{y\in C^\perp\\ |y|=t}}\prod_{i\in\operatorname{supp}(y)}\widehat{g}_i(y_i). \tag*{(65)} E x ∈ C [ q t ( x )] = y ∈ C ⊥ ∣ y ∣ = t ∑ i ∈ supp ( y ) ∏ g i ( y i ) . (65)
In particular, the expectation E x ∈ C [ q t ( x ) ] \mathbb{E}_{x\in C}[q_t(x)] E x ∈ C [ q t ( x )] vanishes for 1 ≤ t ≤ k 1\le t\le k 1 ≤ t ≤ k , as C ⊥ C^\perp C ⊥ has distance k + 1 k+1 k + 1 . The expectation of q 0 q_0 q 0 is E x ∈ C [ q 0 ( x ) ] = 1 \mathbb{E}_{x\in C}[q_0(x)]=1 E x ∈ C [ q 0 ( x )] = 1 . Write s ( x ) : = n − 1 ∑ i 1 S i ( x i ) s(x):=n^{-1}\sum_i1_{S_i}(x_i) s ( x ) := n − 1 ∑ i 1 S i ( x i ) for the satisfaction ratio, and for ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 and a ∈ R ℓ + 1 a\in\mathbb{R}^{\ell+1} a ∈ R ℓ + 1 , define the quantum state
∣ φ ℓ ( a ) ⟩ ∝ ∑ x ∈ C ∑ j = 0 ℓ a j q j ( x ) ∣ x ⟩ . (66) |\varphi_\ell(a)\rangle\propto\sum_{x\in C}\sum_{j=0}^{\ell}a_jq_j(x)|x\rangle. \tag*{(66)} ∣ φ ℓ ( a )⟩ ∝ x ∈ C ∑ j = 0 ∑ ℓ a j q j ( x ) ∣ x ⟩ . (66)
Observe that s ( x ) = ρ + ρ ( 1 − ρ ) q 1 ( x ) / n s(x)=\rho+\sqrt{\rho(1-\rho)}q_1(x)/n s ( x ) = ρ + ρ ( 1 − ρ ) q 1 ( x ) / n and that sampling from ∣ φ ℓ ( a ) ⟩ |\varphi_\ell(a)\rangle ∣ φ ℓ ( a )⟩ produces x ∈ C x\in C x ∈ C with probability proportional to ∣ ∑ j a j q j ( x ) ∣ 2 \left|\sum_j a_jq_j(x)\right|^2 ∑ j a j q j ( x ) 2 . Therefore, the expected satisfaction ratio is
ρ + ρ ( 1 − ρ ) n ∑ j , j ′ = 0 ℓ a j a j ′ E x ∈ C [ q 1 q j q j ′ ] ∑ j , j ′ = 0 ℓ a j a j ′ E x ∈ C [ q j q j ′ ] (67) \rho+\frac{\sqrt{\rho(1-\rho)}}{n}\frac{\sum_{j,j'=0}^{\ell}a_ja_{j'}\mathbb{E}_{x\in C}[q_1q_jq_{j'}]}{\sum_{j,j'=0}^{\ell}a_ja_{j'}\mathbb{E}_{x\in C}[q_jq_{j'}]} \tag*{(67)} ρ + n ρ ( 1 − ρ ) ∑ j , j ′ = 0 ℓ a j a j ′ E x ∈ C [ q j q j ′ ] ∑ j , j ′ = 0 ℓ a j a j ′ E x ∈ C [ q 1 q j q j ′ ] (67)
when we sample from ∣ φ ℓ ( a ) ⟩ |\varphi_\ell(a)\rangle ∣ φ ℓ ( a )⟩ . This is the main expansion in [39 (4.3), (4.19)] . Unlike [39 ] , we state it with general variables a j a_j a j (rather than pre-specified weights) to allow the flexibility of different choices in § 7.3 versus § 8 . Namely, the notation u j u_j u j remains reserved for the fixed DQI weights in {(1.15)}; taking a j = u j a_j=u_j a j = u j gives F ℓ F_\ell F ℓ , while taking a j = ρ ( n − j ) / 2 ( 1 − ρ ) j / 2 a_j=\rho^{(n-j)/2}(1-\rho)^{j/2} a j = ρ ( n − j ) /2 ( 1 − ρ ) j /2 gives H ℓ H_\ell H ℓ in {(5.19)}.
Thus, to use Lemma 5.3 , we need to expand the products q j q j ′ q_jq_{j'} q j q j ′ and q 1 q j q j ′ q_1q_jq_{j'} q 1 q j q j ′ back into the functions q t q_t q t . To do so, we note that, because g i g_i g i takes only two values, [39 Lemma 4.2] gives
g i 2 = 1 + β ρ g i . (68) g_i^2=1+\beta_\rho g_i. \tag*{(68)} g i 2 = 1 + β ρ g i . (68)
This enables the following expansion of q j q j ′ q_jq_{j'} q j q j ′ by considering repeated indices and counting.
Lemma 5.4 ([39 Proposition 4.3] ). For 0 ≤ j , j ′ ≤ n 0\le j,j'\le n 0 ≤ j , j ′ ≤ n and any x ∈ F p n x\in\mathbb{F}_p^n x ∈ F p n ,
q j q j ′ = ∑ t = 0 n N ρ ( j , j ′ ; t ) q t and q 1 q j = ( j + 1 ) q j + 1 + ( n − j + 1 ) q j − 1 + β ρ j q j , (69) q_jq_{j'}=\sum_{t=0}^{n}N_\rho(j,j';t)q_t
\qquad\text{and}\qquad
q_1q_j=(j+1)q_{j+1}+(n-j+1)q_{j-1}+\beta_\rho jq_j, \tag*{(69)} q j q j ′ = t = 0 ∑ n N ρ ( j , j ′ ; t ) q t and q 1 q j = ( j + 1 ) q j + 1 + ( n − j + 1 ) q j − 1 + β ρ j q j , (69) where N ρ ( j , j ′ ; t ) N_\rho(j,j';t) N ρ ( j , j ′ ; t ) and its upper bound N ~ ρ ( j , j ′ ; t ) ≥ ∣ N ρ ( j , j ′ ; t ) ∣ \widetilde{N}_\rho(j,j';t)\geq|N_\rho(j,j';t)| N ρ ( j , j ′ ; t ) ≥ ∣ N ρ ( j , j ′ ; t ) ∣ are defined as follows:
N ρ ( j , j ′ ; t ) : = [ X j Y j ′ ] ( 1 + X Y ) n − t ( X + Y + β ρ X Y ) t N_\rho(j,j';t):=[X^jY^{j'}](1+XY)^{n-t}(X+Y+\beta_\rho XY)^t N ρ ( j , j ′ ; t ) := [ X j Y j ′ ] ( 1 + X Y ) n − t ( X + Y + β ρ X Y ) t N ~ ρ ( j , j ′ ; t ) : = [ X j Y j ′ ] ( 1 + X Y ) n − t ( X + Y + ∣ β ρ ∣ X Y ) t . (70) \widetilde{N}_\rho(j,j';t):=[X^jY^{j'}](1+XY)^{n-t}(X+Y+|\beta_\rho|XY)^t. \tag*{(70)} N ρ ( j , j ′ ; t ) := [ X j Y j ′ ] ( 1 + X Y ) n − t ( X + Y + ∣ β ρ ∣ X Y ) t . (70) Here, for P ∈ R [ X , Y ] P\in\mathbb{R}[X,Y] P ∈ R [ X , Y ] , let [ X j Y j ′ ] P ( X , Y ) [X^jY^{j'}]P(X,Y) [ X j Y j ′ ] P ( X , Y ) denote the coefficient of the X j Y j ′ X^jY^{j'} X j Y j ′ term. Now, N ρ ( j , j ′ ; 0 ) = ( n j ) 1 { j = j ′ } N_\rho(j,j';0)=\binom{n}{j}\mathbf{1}\{j=j'\} N ρ ( j , j ′ ; 0 ) = ( j n ) 1 { j = j ′ } , and N ρ ( j , j ′ ; t ) = 0 N_\rho(j,j';t)=0 N ρ ( j , j ′ ; t ) = 0 for t > j + j ′ t>j+j' t > j + j ′ . Since E F p n q t = 0 \mathbb{E}_{\mathbb{F}_p^n}q_t=0 E F p n q t = 0 for t > 0 t>0 t > 0 , this also gives
E x ∈ F p n [ q j q j ′ ] = ( n j ) 1 { j = j ′ } . (71) \mathbb{E}_{x\in\mathbb{F}_p^n}[q_jq_{j'}]=\binom{n}{j}\mathbf{1}\{j=j'\}. \tag*{(71)} E x ∈ F p n [ q j q j ′ ] = ( j n ) 1 { j = j ′ } . (71) Hence, once we expand (67) by the recurrence in Lemma 5.4, we see that the numerator and denominator of involve q t q_t q t for t ≤ 2 ℓ + 1 t\le2\ell+1 t ≤ 2 ℓ + 1 only. We now specialize the DQI state with weights u j u_j u j chosen as in (1.15): pick σ = ⌊ log log n ⌋ \sigma=\lfloor\log\log n\rfloor σ = ⌊ log log n ⌋ and let
∣ φ ℓ ⟩ ∝ ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ where F ℓ ( x ) : = ∑ j = ℓ − σ ℓ q j ( x ) ( n j ) . (72) |\varphi_\ell\rangle\propto\sum_{x\in C}F_\ell(x)|x\rangle
\qquad\text{where}\qquad
F_\ell(x):=\sum_{j=\ell-\sigma}^{\ell}\frac{q_j(x)}{\sqrt{\binom{n}{j}}}. \tag*{(72)} ∣ φ ℓ ⟩ ∝ x ∈ C ∑ F ℓ ( x ) ∣ x ⟩ where F ℓ ( x ) := j = ℓ − σ ∑ ℓ ( j n ) q j ( x ) . (72) The following main theorem of [39 ] states a sufficient condition for this DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ to attain a satisfaction ratio of SCL ρ ( ℓ / n ) \operatorname{SCL}_\rho(\ell/n) SCL ρ ( ℓ / n ) asymptotically. This sufficient condition is especially convenient for us to check since it is very similar to the condition that F O P I + F_{\mathrm{OPI}}^+ F OPI + is exponentially small, which we used to prove near-optimal OPI discrepancy in § 7.1 .
Theorem 5.5 ([39 Proposition 4.7 and (4.23)] ). Fix α ∈ ( 0 , 1 − ρ ] \alpha\in(0,1-\rho] α ∈ ( 0 , 1 − ρ ] and let ℓ = ⌊ α n ⌋ \ell=\lfloor\alpha n\rfloor ℓ = ⌊ α n ⌋ . Suppose that, for some fixed c > 0 c>0 c > 0 ,
N ~ ρ ( j , j ′ ; t ) ( n j ) ( n j ′ ) ∣ E x ∈ C q t ( x ) ∣ ≤ e − c n (73) \frac{\widetilde{N}_\rho(j,j';t)}{\sqrt{\binom{n}{j}\binom{n}{j'}}}\left|\mathbb{E}_{x\in C}q_t(x)\right|\le e^{-cn} \tag*{(73)} ( j n ) ( j ′ n ) N ρ ( j , j ′ ; t ) ∣ E x ∈ C q t ( x ) ∣ ≤ e − c n (73)
uniformly for k < t ≤ n k < t \le n k < t ≤ n and ℓ − σ − 1 ≤ j , j ′ ≤ ℓ + 1 \ell- \sigma- 1 \le j,j' \le\ell+ 1 ℓ − σ − 1 ≤ j , j ′ ≤ ℓ + 1 . Then, for some c ′ > 0 c' > 0 c ′ > 0 ,
E x ∈ C [ F ℓ ( x ) 2 ] = σ + 1 + O ( e − c ′ n ) , \mathbb{E}_{x\in C}[F_\ell(x)^2] = \sigma+ 1 + O(e^{-c'n}), E x ∈ C [ F ℓ ( x ) 2 ] = σ + 1 + O ( e − c ′ n ) ,
E x ∈ C [ s ( x ) F ℓ ( x ) 2 ] = ( σ + 1 ) [ SCL ρ ( α ) + O ρ , α ( σ n + 1 σ ) ] + O ( e − c ′ n ) . (74) \mathbb{E}_{x\in C}[s(x)F_\ell(x)^2] = (\sigma+ 1)\left[\operatorname{SCL}_{\rho}(\alpha) + O_{\rho,\alpha}\left(\frac{\sigma}{n}+\frac{1}{\sigma}\right)\right] + O(e^{-c'n}). \tag*{(74)} E x ∈ C [ s ( x ) F ℓ ( x ) 2 ] = ( σ + 1 ) [ SCL ρ ( α ) + O ρ , α ( n σ + σ 1 ) ] + O ( e − c ′ n ) . (74)
Consequently, measuring the normalized state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ gives expected satisfaction ratio SCL ρ ( α ) + o ( 1 ) \operatorname{SCL}_{\rho}(\alpha) + o(1) SCL ρ ( α ) + o ( 1 ) .
OPI with Rate R > 1 − ρ R > 1 - \rho R > 1 − ρ
In this section, we leverage the framework in Section 5.2 to prove Theorem 1.11(3). Fix density ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , so ∣ S i ∣ = ρ p |S_i| = \rho p ∣ S i ∣ = ρp for all i i i . In (70) , the generating function of N ~ ρ ( j , j ′ ; t ) \widetilde{N}_{\rho}(j,j';t) N ρ ( j , j ′ ; t ) has nonnegative coefficients, so for all z > 0 z > 0 z > 0 ,
N ~ ρ ( j , j ′ ; t ) ≤ z − j − j ′ ( 1 + z 2 ) n − t ( 2 z + ∣ β ρ ∣ z 2 ) t . (75) \widetilde{N}_{\rho}(j,j';t) \le z^{-j-j'}(1+z^2)^{n-t}(2z+|\beta_{\rho}|z^2)^t. \tag*{(75)} N ρ ( j , j ′ ; t ) ≤ z − j − j ′ ( 1 + z 2 ) n − t ( 2 z + ∣ β ρ ∣ z 2 ) t . (75)
We begin with the main Fourier proxy bound in the capacity regime.
Lemma 5.6. If t ∈ [ n ] t \in[n] t ∈ [ n ] satisfies 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) , then uniformly over the input lists,
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t β ρ ∣ y ∣ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ e − Ω ( n ) (76) \sum_{\substack{0\ne y\in C^\perp\\ |y|\le t}}\beta_{\rho}^{|y|}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)| \le e^{-\Omega(n)} \tag*{(76)} 0 = y ∈ C ⊥ ∣ y ∣ ≤ t ∑ β ρ ∣ y ∣ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ e − Ω ( n ) (76) where β ρ : = 1 − ρ ρ ( 2 ρ + ∣ 1 − 2 ρ ∣ ) \beta_{\rho}:=\sqrt{\frac{1-\rho}{\rho}}(2\rho+|1-2\rho|) β ρ := ρ 1 − ρ ( 2 ρ + ∣1 − 2 ρ ∣ ) .
Proof. We apply Lemma 1.17 to w i ( ξ ) : = β ρ ∣ g i ^ ( ξ ) ∣ w_i(\xi):=\beta_{\rho}|\widehat{g_i}(\xi)| w i ( ξ ) := β ρ ∣ g i ( ξ ) ∣ , so we first check the conditions on w i w_i w i :
If ρ ≤ 1 / 2 \rho\le1/2 ρ ≤ 1/2 , then β ρ = ( 1 − ρ ) / ρ \beta_{\rho}=\sqrt{(1-\rho)/\rho} β ρ = ( 1 − ρ ) / ρ . Thus Lemma 2.4 gives, for ξ ≠ 0 \xi\ne0 ξ = 0 ,
w i ( ξ ) = ∣ 1 S i ^ ( ξ ) ∣ ρ ≤ sin ( π ρ ) ρ p sin ( π / p ) = sin ( π ρ ) π ρ + O ρ ( p − 2 ) . w_i(\xi)=\frac{|\widehat{1_{S_i}}(\xi)|}{\rho}\le\frac{\sin(\pi\rho)}{\rho p\sin(\pi/p)}=\frac{\sin(\pi\rho)}{\pi\rho}+O_{\rho}(p^{-2}). w i ( ξ ) = ρ ∣ 1 S i ( ξ ) ∣ ≤ ρp sin ( π / p ) sin ( π ρ ) = π ρ sin ( π ρ ) + O ρ ( p − 2 ) .
The limiting bound is strictly less than one for fixed ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , uniformly over ξ ≠ 0 \xi\ne0 ξ = 0 .
If ρ ≥ 1 / 2 \rho\ge1/2 ρ ≥ 1/2 , let x : = 2 ρ − 1 ∈ [ 0 , 1 ) x:=2\rho-1\in[0,1) x := 2 ρ − 1 ∈ [ 0 , 1 ) . Then β ρ ≤ 2 \beta_{\rho}\le\sqrt{2} β ρ ≤ 2 as
β ρ 2 = 1 + 3 x − 4 x 3 1 + x = 2 − 1 − x + 4 x 3 1 + x ≤ 2. \beta_{\rho}^{2}=\frac{1+3x-4x^{3}}{1+x}=2-\frac{1-x+4x^{3}}{1+x}\le2. β ρ 2 = 1 + x 1 + 3 x − 4 x 3 = 2 − 1 + x 1 − x + 4 x 3 ≤ 2.
By Corollary 2.5, w i ( ξ ) ≤ 2 2 / π + O ( p − 2 ) < 1 w_i(\xi)\le2\sqrt{2}/\pi+O(p^{-2})<1 w i ( ξ ) ≤ 2 2 / π + O ( p − 2 ) < 1 for all sufficiently large p p p .
In both cases there is a fixed γ ρ < 1 \gamma_{\rho}<1 γ ρ < 1 bounding all w i ( ξ ) w_i(\xi) w i ( ξ ) for sufficiently large n n n . Parseval’s identity implies that
∑ ξ ≠ 0 w i ( ξ ) 2 = β ρ 2 ∑ ξ ≠ 0 ∣ g i ^ ( ξ ) ∣ 2 = β ρ 2 E ∣ g i ∣ 2 = β ρ 2 ≤ max { 1 − ρ ρ , 2 } = : Γ . \sum_{\xi\ne0}w_i(\xi)^2=\beta_{\rho}^{2}\sum_{\xi\ne0}|\widehat{g_i}(\xi)|^2=\beta_{\rho}^{2}\mathbb{E}|g_i|^2=\beta_{\rho}^{2}\le\max\left\{\frac{1-\rho}{\rho},2\right\}=:\Gamma. ξ = 0 ∑ w i ( ξ ) 2 = β ρ 2 ξ = 0 ∑ ∣ g i ( ξ ) ∣ 2 = β ρ 2 E ∣ g i ∣ 2 = β ρ 2 ≤ max { ρ 1 − ρ , 2 } =: Γ.
If t ≤ k t\le k t ≤ k , the sum on the left of (76) vanishes by the dual distance. Otherwise, by assumption that 2 k − t = Ω ( n ) 2k-t=\Omega(n) 2 k − t = Ω ( n ) , Lemma 1.17 with γ = γ ρ \gamma=\gamma_{\rho} γ = γ ρ and Γ \Gamma Γ as defined above upper bounds the left hand side of (76) by e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) . ∎
Now, assuming R + ρ > 1 R+\rho>1 R + ρ > 1 , then we there exists ℓ ∈ [ n ] \ell\in[n] ℓ ∈ [ n ] and α : = ℓ / n \alpha:=\ell/n α := ℓ / n such that
( 1 − ρ ) n + Ω ( n ) ≤ ℓ = α n ≤ k − Ω ( n ) . (77) (1-\rho)n+\Omega(n)\le\ell=\alpha n\le k-\Omega(n). \tag*{(77)} ( 1 − ρ ) n + Ω ( n ) ≤ ℓ = α n ≤ k − Ω ( n ) . (77)
We next implement the truncation idea outlined in Step 5 of § 1.4 . First, define
H ( x ) : = ∏ i = 1 n ( ρ + 1 − ρ ⋅ g i ( x i ) ) = ρ − n / 2 1 S ( x ) . (78) H(x):=\prod_{i=1}^{n}\left(\sqrt{\rho}+\sqrt{1-\rho}\cdot g_i(x_i)\right)=\rho^{-n/2}\mathbf{1}_{S}(x). \tag*{(78)} H ( x ) := i = 1 ∏ n ( ρ + 1 − ρ ⋅ g i ( x i ) ) = ρ − n /2 1 S ( x ) . (78)
The equality holds since
∏ i = 1 n ( ρ + 1 − ρ ⋅ g i ( x i ) ) = ∏ i = 1 n ( ρ + 1 − ρ ( 1 S i ( x i ) − ρ ρ ( 1 − ρ ) ) ) = ∏ i ( ρ + ( 1 S i ( x i ) ρ − ρ ) ) = ρ − n / 2 1 S ( x ) . \begin{aligned}
\prod_{i=1}^{n}\left(\sqrt{\rho}+\sqrt{1-\rho}\cdot g_i(x_i)\right)
&=\prod_{i=1}^{n}\left(\sqrt{\rho}+\sqrt{1-\rho}\left(\frac{\mathbf{1}_{S_i}(x_i)-\rho}{\sqrt{\rho(1-\rho)}}\right)\right)\\
&=\prod_i\left(\sqrt{\rho}+\left(\frac{\mathbf{1}_{S_i}(x_i)}{\sqrt{\rho}}-\sqrt{\rho}\right)\right)\\
&=\rho^{-n/2}\mathbf{1}_{S}(x).
\end{aligned} i = 1 ∏ n ( ρ + 1 − ρ ⋅ g i ( x i ) ) = i = 1 ∏ n ( ρ + 1 − ρ ( ρ ( 1 − ρ ) 1 S i ( x i ) − ρ ) ) = i ∏ ( ρ + ( ρ 1 S i ( x i ) − ρ ) ) = ρ − n /2 1 S ( x ) .
We can also expand
H ( x ) = ∑ j = 0 n ( 1 − ρ ) j / 2 ρ ( n − j ) / 2 ∑ S ∈ ( [ n ] j ) ∏ i ∈ S g i ( x i ) = ∑ j = 0 n ( 1 − ρ ) j / 2 ρ ( n − j ) / 2 q j ( x ) . H(x)=\sum_{j=0}^{n}(1-\rho)^{j/2}\rho^{(n-j)/2}\sum_{S\in\binom{[n]}{j}}\prod_{i\in S}g_i(x_i)=\sum_{j=0}^{n}(1-\rho)^{j/2}\rho^{(n-j)/2}q_j(x). H ( x ) = j = 0 ∑ n ( 1 − ρ ) j /2 ρ ( n − j ) /2 S ∈ ( j [ n ] ) ∑ i ∈ S ∏ g i ( x i ) = j = 0 ∑ n ( 1 − ρ ) j /2 ρ ( n − j ) /2 q j ( x ) .
This motivates the truncation in the sum from n n n to ℓ \ell ℓ to obtain
H ℓ ( x ) : = ∑ j = 0 ℓ ρ ( n − j ) / 2 ( 1 − ρ ) j / 2 q j ( x ) . (79) H_{\ell}(x):=\sum_{j=0}^{\ell}\rho^{(n-j)/2}(1-\rho)^{j/2}q_j(x). \tag*{(79)} H ℓ ( x ) := j = 0 ∑ ℓ ρ ( n − j ) /2 ( 1 − ρ ) j /2 q j ( x ) . (79)
Let B ∼ Bin ( n , 1 − ρ ) B\sim\operatorname{Bin}(n,1-\rho) B ∼ Bin ( n , 1 − ρ ) . For convenience, we define the density functions
π j : = P ( B = j ) = ( n j ) ρ n − j ( 1 − ρ ) j and π ≤ j : = P ( B ≤ j ) = ∑ i = 0 j π i . (80) \pi_j:=\mathbb{P}(B=j)=\binom{n}{j}\rho^{n-j}(1-\rho)^j\qquad\text{and}\qquad\pi_{\le j}:=\mathbb{P}(B\le j)=\sum_{i=0}^{j}\pi_i. \tag*{(80)} π j := P ( B = j ) = ( j n ) ρ n − j ( 1 − ρ ) j and π ≤ j := P ( B ≤ j ) = i = 0 ∑ j π i . (80)
By (71) and a Chernoff bound, we see that
E x ∈ F p n [ H ℓ ( x ) 2 ] = π ≤ ℓ = 1 − e − Ω ( n ) . (81) \mathbb{E}_{x\in\mathcal{F}_p^n}\left[H_{\ell}(x)^2\right]=\pi_{\le\ell}=1-e^{-\Omega(n)}. \tag*{(81)} E x ∈ F p n [ H ℓ ( x ) 2 ] = π ≤ ℓ = 1 − e − Ω ( n ) . (81)
While H ℓ H_{\ell} H ℓ lowers the degree to ℓ \ell ℓ from n n n , for H ℓ H_{\ell} H ℓ to still control the Fourier proxy F O P I ( v ) \operatorname{F}_{\mathrm{OPI}}(v) F OPI ( v ) , we need to ensure it preserves two properties of H ( x ) H(x) H ( x ) : it has comparable total mass on C C C , and it almost all its mass is on perfect solutions. We establish this next.
Lemma 5.7. With H ℓ H_{\ell} H ℓ defined in (79) , we have that
∣ E x ∈ C [ H ℓ ( x ) 2 ] − 1 ∣ ≤ e − Ω ( n ) and 0 ≤ E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] ≤ e − Ω ( n ) . (82) \left|\mathbb{E}_{x\in C}[H_{\ell}(x)^2]-1\right|\le e^{-\Omega(n)}
\qquad\text{and}\qquad
0\le\mathbb{E}_{x\in C}[(1-s(x))H_{\ell}(x)^2]\le e^{-\Omega(n)}. \tag*{(82)} E x ∈ C [ H ℓ ( x ) 2 ] − 1 ≤ e − Ω ( n ) and 0 ≤ E x ∈ C [( 1 − s ( x )) H ℓ ( x ) 2 ] ≤ e − Ω ( n ) . (82)
Proof. Let a j : = ρ ( n − j ) / 2 ( 1 − ρ ) j / 2 a_j:=\rho^{(n-j)/2}(1-\rho)^{j/2} a j := ρ ( n − j ) /2 ( 1 − ρ ) j /2 and z : = ( 1 − ρ ) / ρ z:=\sqrt{(1-\rho)/\rho} z := ( 1 − ρ ) / ρ , so a j = ρ n / 2 z j a_j=\rho^{n/2}z^j a j = ρ n /2 z j . Expanding H ℓ 2 H_{\ell}^2 H ℓ 2 gives
E x ∈ C [ H ℓ ( x ) 2 ] = ∑ j , j ′ = 0 ℓ a j a j ′ ∑ t = 0 n N ρ ( j , j ′ ; t ) E x ∈ C [ q t ( x ) ] = π ≤ ℓ + ∑ t = 1 min ( n , 2 ℓ ) ( ∑ j , j ′ = 0 ℓ a j a j ′ N ρ ( j , j ′ ; t ) ) E x ∈ C [ q t ( x ) ] , \mathbb{E}_{x\in C}[H_{\ell}(x)^2]
=\sum_{j,j'=0}^{\ell}a_ja_{j'}\sum_{t=0}^{n}N_{\rho}(j,j';t)\mathbb{E}_{x\in C}[q_t(x)]
=\pi_{\le\ell}+\sum_{t=1}^{\min(n,2\ell)}\left(\sum_{j,j'=0}^{\ell}a_ja_{j'}N_{\rho}(j,j';t)\right)\mathbb{E}_{x\in C}[q_t(x)], E x ∈ C [ H ℓ ( x ) 2 ] = j , j ′ = 0 ∑ ℓ a j a j ′ t = 0 ∑ n N ρ ( j , j ′ ; t ) E x ∈ C [ q t ( x )] = π ≤ ℓ + t = 1 ∑ m i n ( n , 2 ℓ ) j , j ′ = 0 ∑ ℓ a j a j ′ N ρ ( j , j ′ ; t ) E x ∈ C [ q t ( x )] ,
by Lemma 5.4. The t = 0 t=0 t = 0 term is π ≤ ℓ \pi_{\leq\ell} π ≤ ℓ because N ρ ( j , j ′ ; 0 ) = ( n j ) 1 { j = j ′ } N_{\rho}(j,j';0)=\binom{n}{j}\mathbf{1}\{j=j'\} N ρ ( j , j ′ ; 0 ) = ( j n ) 1 { j = j ′ } and q 0 = 1 q_0=1 q 0 = 1 . Now, since N ~ ρ \widetilde{N}_{\rho} N ρ are nonnegative coefficients, (70) gives for every 1 ≤ t ≤ min ( n , 2 ℓ ) 1\leq t\leq\min(n,2\ell) 1 ≤ t ≤ min ( n , 2 ℓ ) that
∣ ∑ j , j ′ = 0 ℓ a j a j ′ N ρ ( j , j ′ ; t ) ∣ ≤ ∑ j , j ′ = 0 ℓ a j a j ′ N ~ ρ ( j , j ′ ; t ) ≤ ∑ j , j ′ = 0 n a j a j ′ N ~ ρ ( j , j ′ ; t ) = ρ n ( 1 + z 2 ) n − t ( 2 z + ∣ β ρ ∣ z 2 ) t . (83) \left|\sum_{j,j'=0}^{\ell}a_ja_{j'}N_{\rho}(j,j';t)\right|\leq\sum_{j,j'=0}^{\ell}a_ja_{j'}\widetilde{N}_{\rho}(j,j';t)\leq\sum_{j,j'=0}^{n}a_ja_{j'}\widetilde{N}_{\rho}(j,j';t)=\rho^n(1+z^2)^{n-t}(2z+|\beta_{\rho}|z^2)^t. \tag*{(83)} j , j ′ = 0 ∑ ℓ a j a j ′ N ρ ( j , j ′ ; t ) ≤ j , j ′ = 0 ∑ ℓ a j a j ′ N ρ ( j , j ′ ; t ) ≤ j , j ′ = 0 ∑ n a j a j ′ N ρ ( j , j ′ ; t ) = ρ n ( 1 + z 2 ) n − t ( 2 z + ∣ β ρ ∣ z 2 ) t . (83)
We claim that the last quantity is exactly b ρ t b_{\rho}^t b ρ t . This follows from 1 + z 2 = 1 / ρ 1+z^2=1/\rho 1 + z 2 = 1/ ρ and from (64) :
β ρ : = 1 − 2 ρ ρ ( 1 − ρ ) ⟹ b ρ = 2 ρ ( 1 − ρ ) + ( 1 − ρ ) ∣ β ρ ∣ = ρ ( 2 z + z 2 ∣ β ρ ∣ ) . (84) \beta_{\rho}:=\frac{1-2\rho}{\sqrt{\rho(1-\rho)}}\Longrightarrow b_{\rho}=2\sqrt{\rho(1-\rho)}+(1-\rho)|\beta_{\rho}|=\rho(2z+z^2|\beta_{\rho}|). \tag*{(84)} β ρ := ρ ( 1 − ρ ) 1 − 2 ρ ⟹ b ρ = 2 ρ ( 1 − ρ ) + ( 1 − ρ ) ∣ β ρ ∣ = ρ ( 2 z + z 2 ∣ β ρ ∣ ) . (84)
Therefore, by Lemma 5.6 , we have that
∣ E x ∈ C [ H ℓ ( x ) 2 ] − π ≤ ℓ ∣ ≤ ∑ t = 1 min ( n , 2 ℓ ) b ρ t ∣ E x ∈ C [ q t ( x ) ] ∣ ≤ ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ min ( n , 2 ℓ ) b ρ ∣ y ∣ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ e − Ω ( n ) , (85) \left|\mathbb{E}_{x\in C}[H_{\ell}(x)^2]-\pi_{\leq\ell}\right|\leq\sum_{t=1}^{\min(n,2\ell)}b_{\rho}^t\left|\mathbb{E}_{x\in C}[q_t(x)]\right|\leq\sum_{\substack{0\ne y\in C^\perp\\ |y|\leq\min(n,2\ell)}}b_{\rho}^{|y|}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|\leq e^{-\Omega(n)}, \tag*{(85)} E x ∈ C [ H ℓ ( x ) 2 ] − π ≤ ℓ ≤ t = 1 ∑ m i n ( n , 2 ℓ ) b ρ t ∣ E x ∈ C [ q t ( x )] ∣ ≤ 0 = y ∈ C ⊥ ∣ y ∣ ≤ m i n ( n , 2 ℓ ) ∑ b ρ ∣ y ∣ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ e − Ω ( n ) , (85)
where the last inequality follows from Lemma 5.3 upon checking that, by (77) ,
2 k − min ( n , 2 ℓ + 1 ) ≥ 2 ( k − ℓ ) − 1 = Ω ( n ) . (86) 2k-\min(n,2\ell+1)\geq2(k-\ell)-1=\Omega(n). \tag*{(86)} 2 k − min ( n , 2 ℓ + 1 ) ≥ 2 ( k − ℓ ) − 1 = Ω ( n ) . (86)
Finally, the first bound in Lemma 5.7 follows triangle inequality and (81) :
∣ E x ∈ C [ H ℓ ( x ) 2 ] − 1 ∣ ≤ ∣ E x ∈ C [ H ℓ ( x ) 2 ] − π ≤ ℓ ∣ + ( 1 − π ≤ ℓ ) ≤ e − Ω ( n ) . \left|\mathbb{E}_{x\in C}[H_{\ell}(x)^2]-1\right|\leq\left|\mathbb{E}_{x\in C}[H_{\ell}(x)^2]-\pi_{\leq\ell}\right|+(1-\pi_{\leq\ell})\leq e^{-\Omega(n)}. E x ∈ C [ H ℓ ( x ) 2 ] − 1 ≤ E x ∈ C [ H ℓ ( x ) 2 ] − π ≤ ℓ + ( 1 − π ≤ ℓ ) ≤ e − Ω ( n ) .
For the second bound, recall (67) , apply Lemma 5.4, and use a j = ρ ( n − j ) / 2 ( 1 − ρ ) j / 2 a_j=\rho^{(n-j)/2}(1-\rho)^{j/2} a j = ρ ( n − j ) /2 ( 1 − ρ ) j /2 to expand
( 1 − s ) H ℓ = ( 1 − ρ ) ∑ j = 0 ℓ a j q j − ρ ( 1 − ρ ) n ∑ j = 0 ℓ a j [ ( j + 1 ) q j + 1 + ( n − j + 1 ) q j − 1 + β ρ j q j ] = ∑ j = 0 ℓ a j [ 1 − ρ − j ρ + ( n − j ) ( 1 − ρ ) + ( 1 − 2 ρ ) j n ] q j + ρ ( 1 − ρ ) n [ ( n − ℓ ) a ℓ + 1 q ℓ − ( ℓ + 1 ) a ℓ q ℓ + 1 ] = a ℓ n [ ( 1 − ρ ) ( n − ℓ ) q ℓ − ρ ( 1 − ρ ) ( ℓ + 1 ) q ℓ + 1 ] , \begin{aligned}
(1-s)H_{\ell}=(1-\rho)\sum_{j=0}^{\ell}a_jq_j-\frac{\sqrt{\rho(1-\rho)}}{n}\sum_{j=0}^{\ell}a_j\left[(j+1)q_{j+1}+(n-j+1)q_{j-1}+\beta_{\rho}jq_j\right] \\
&=\sum_{j=0}^{\ell}a_j\left[1-\rho-\frac{j\rho+(n-j)(1-\rho)+(1-2\rho)j}{n}\right]q_j+\frac{\sqrt{\rho(1-\rho)}}{n}\left[(n-\ell)a_{\ell+1}q_{\ell}-(\ell+1)a_{\ell}q_{\ell+1}\right] \\
&=\frac{a_{\ell}}{n}\left[(1-\rho)(n-\ell)q_{\ell}-\sqrt{\rho(1-\rho)}(\ell+1)q_{\ell+1}\right],
\end{aligned} ( 1 − s ) H ℓ = ( 1 − ρ ) j = 0 ∑ ℓ a j q j − n ρ ( 1 − ρ ) j = 0 ∑ ℓ a j [ ( j + 1 ) q j + 1 + ( n − j + 1 ) q j − 1 + β ρ j q j ] = j = 0 ∑ ℓ a j [ 1 − ρ − n j ρ + ( n − j ) ( 1 − ρ ) + ( 1 − 2 ρ ) j ] q j + n ρ ( 1 − ρ ) [ ( n − ℓ ) a ℓ + 1 q ℓ − ( ℓ + 1 ) a ℓ q ℓ + 1 ] = n a ℓ [ ( 1 − ρ ) ( n − ℓ ) q ℓ − ρ ( 1 − ρ ) ( ℓ + 1 ) q ℓ + 1 ] ,
where we observe in the last step that the square bracket coefficient vanishes. Multiplying by H ℓ H_{\ell} H ℓ and using ρ ( 1 − ρ ) a ℓ = ρ a ℓ + 1 \sqrt{\rho(1-\rho)}a_{\ell}=\rho a_{\ell+1} ρ ( 1 − ρ ) a ℓ = ρ a ℓ + 1 gives
E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] = ( 1 − ρ ) ( n − ℓ ) n ∑ j = 0 ℓ a ℓ a j E x ∈ C [ q ℓ ( x ) q j ( x ) ] − ρ ( ℓ + 1 ) n ∑ j = 0 ℓ a ℓ + 1 a j E x ∈ C [ q ℓ + 1 ( x ) q j ( x ) ] . \mathbb{E}_{x\in C}[(1-s(x))H_{\ell}(x)^2]=\frac{(1-\rho)(n-\ell)}{n}\sum_{j=0}^{\ell}a_{\ell}a_j\mathbb{E}_{x\in C}[q_{\ell}(x)q_j(x)]-\frac{\rho(\ell+1)}{n}\sum_{j=0}^{\ell}a_{\ell+1}a_j\mathbb{E}_{x\in C}[q_{\ell+1}(x)q_j(x)]. E x ∈ C [( 1 − s ( x )) H ℓ ( x ) 2 ] = n ( 1 − ρ ) ( n − ℓ ) j = 0 ∑ ℓ a ℓ a j E x ∈ C [ q ℓ ( x ) q j ( x )] − n ρ ( ℓ + 1 ) j = 0 ∑ ℓ a ℓ + 1 a j E x ∈ C [ q ℓ + 1 ( x ) q j ( x )] .
Now, we expand both products q ℓ ( x ) q j ( x ) q_{\ell}(x)q_j(x) q ℓ ( x ) q j ( x ) and q ℓ + 1 ( x ) q j ( x ) q_{\ell+1}(x)q_j(x) q ℓ + 1 ( x ) q j ( x ) using Lemma 5.4, which says that
q j q j ′ = ∑ t = 0 n N ρ ( j , j ′ ; t ) q t . q_jq_{j'}=\sum_{t=0}^{n}N_{\rho}(j,j';t)q_t. q j q j ′ = t = 0 ∑ n N ρ ( j , j ′ ; t ) q t .
We get
E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] = ( 1 − ρ ) ( n − ℓ ) n ∑ j = 0 ℓ a ℓ a j ∑ t = 0 n N ρ ( ℓ , j ; t ) E x ∈ C [ q t ( x ) ] \mathbb{E}_{x\in C}[(1-s(x))H_{\ell}(x)^2]=\frac{(1-\rho)(n-\ell)}{n}\sum_{j=0}^{\ell}a_{\ell}a_j\sum_{t=0}^{n}N_{\rho}(\ell,j;t)\mathbb{E}_{x\in C}[q_t(x)] E x ∈ C [( 1 − s ( x )) H ℓ ( x ) 2 ] = n ( 1 − ρ ) ( n − ℓ ) j = 0 ∑ ℓ a ℓ a j t = 0 ∑ n N ρ ( ℓ , j ; t ) E x ∈ C [ q t ( x )]
− ρ ( ℓ + 1 ) n ∑ j = 0 ℓ a ℓ + 1 a j ∑ t = 0 n N ρ ( ℓ + 1 , j ; t ) E x ∈ C [ q t ( x ) ] . -\frac{\rho(\ell+1)}{n}\sum_{j=0}^{\ell}a_{\ell+1}a_j\sum_{t=0}^{n}N_{\rho}(\ell+1,j;t)\mathbb{E}_{x\in C}[q_t(x)]. − n ρ ( ℓ + 1 ) j = 0 ∑ ℓ a ℓ + 1 a j t = 0 ∑ n N ρ ( ℓ + 1 , j ; t ) E x ∈ C [ q t ( x )] .
Since N ρ ( j , j ′ ; 0 ) = ( n j ) 1 { j = j ′ } N_{\rho}(j,j';0)=\binom{n}{j}1\{j=j'\} N ρ ( j , j ′ ; 0 ) = ( j n ) 1 { j = j ′ } , the summands with t = 0 t=0 t = 0 and any j j j together contribute a ℓ 2 ( n ℓ ) = π ℓ a_{\ell}^{2}\binom{n}{\ell}=\pi_{\ell} a ℓ 2 ( ℓ n ) = π ℓ to the first sum, ignoring the prefactor of ( 1 − ρ ) ( n − ℓ ) / n (1-\rho)(n-\ell)/n ( 1 − ρ ) ( n − ℓ ) / n , and vanishes in the second sum. For the summands with t > 0 t>0 t > 0 , we follow the same proof as the first inequality: for r ∈ { ℓ , ℓ + 1 } r\in\{\ell,\ell+1\} r ∈ { ℓ , ℓ + 1 } , we have that
∑ j = 0 ℓ a r a j ∣ N ρ ( r , j ; t ) ∣ ≤ ∑ j , j ′ = 0 n a j a j ′ N ~ ρ ( j , j ′ ; t ) = b ρ t . \sum_{j=0}^{\ell}a_{r}a_{j}\lvert N_{\rho}(r,j;t)\rvert\le\sum_{j,j'=0}^{n}a_{j}a_{j'}\widetilde{N}_{\rho}(j,j';t)=b_{\rho}^{t}. j = 0 ∑ ℓ a r a j ∣ N ρ ( r , j ; t )∣ ≤ j , j ′ = 0 ∑ n a j a j ′ N ρ ( j , j ′ ; t ) = b ρ t .
similar to (83) . Just as (85) , we now have by Lemma 5.3 and (86) that
∣ E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] − ( 1 − ρ ) ( n − ℓ ) n π ℓ ∣ ≤ 2 ∑ t = 1 min ( n , 2 ℓ + 1 ) b ρ t ∣ E x ∈ C [ q t ( x ) ] ∣ ≤ e − Ω ( n ) . \left\lvert\mathbb{E}_{x\in C}\left[(1-s(x))H_{\ell}(x)^{2}\right]-\frac{(1-\rho)(n-\ell)}{n}\pi_{\ell}\right\rvert\le2\sum_{t=1}^{\min(n,2\ell+1)}b_{\rho}^{t}\left\lvert\mathbb{E}_{x\in C}[q_{t}(x)]\right\rvert\le e^{-\Omega(n)}. E x ∈ C [ ( 1 − s ( x )) H ℓ ( x ) 2 ] − n ( 1 − ρ ) ( n − ℓ ) π ℓ ≤ 2 t = 1 ∑ m i n ( n , 2 ℓ + 1 ) b ρ t ∣ E x ∈ C [ q t ( x )] ∣ ≤ e − Ω ( n ) .
Finally, the second bound in Lemma 5.7 follows (81) and that ( 1 − s ( x ) ) H ℓ ( x ) 2 ≥ 0 (1-s(x))H_{\ell}(x)^{2}\ge0 ( 1 − s ( x )) H ℓ ( x ) 2 ≥ 0 , since
0 ≤ E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] ≤ ( 1 − ρ ) ( n − ℓ ) n π ℓ + e − Ω ( n ) ≤ e − Ω ( n ) , 0\le\mathbb{E}_{x\in C}\left[(1-s(x))H_{\ell}(x)^{2}\right]\le\frac{(1-\rho)(n-\ell)}{n}\pi_{\ell}+e^{-\Omega(n)}\le e^{-\Omega(n)}, 0 ≤ E x ∈ C [ ( 1 − s ( x )) H ℓ ( x ) 2 ] ≤ n ( 1 − ρ ) ( n − ℓ ) π ℓ + e − Ω ( n ) ≤ e − Ω ( n ) ,
and π ℓ ≤ e − Ω ( n ) \pi_{\ell}\le e^{-\Omega(n)} π ℓ ≤ e − Ω ( n ) . This concludes the proof of Lemma 5.7.
With these properties, we prove the following lemmas.
Lemma 5.8. Let p ≥ n p\ge n p ≥ n be prime, let R + ρ > 1 R+\rho>1 R + ρ > 1 , and let C C C be a [ n , k ] [n,k] [ n , k ] GRS code of rate R R R over F p \mathbb{F}_{p} F p . Fix ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) and input lists S i S_i S i with ∣ S i ∣ = ρ p \lvert S_i\rvert=\rho p ∣ S i ∣ = ρp for every i i i . Then uniformly over v ∈ F p n v\in\mathbb{F}_{p}^{n} v ∈ F p n ,
FOPI ( v ) = ∣ ∣ ( v + C ) ∩ S ∣ ∣ C ∣ ρ n − 1 ∣ ≤ e − Ω R , ρ ( n ) (87) \operatorname{FOPI}(v)=\left\lvert\frac{\lvert(v+C)\cap S\rvert}{\lvert C\rvert\rho^{n}}-1\right\rvert\le e^{-\Omega_{R,\rho}(n)} \tag*{(87)} FOPI ( v ) = ∣ C ∣ ρ n ∣( v + C ) ∩ S ∣ − 1 ≤ e − Ω R , ρ ( n ) (87)
Proof. First take v = 0 v=0 v = 0 . Every imperfect point has 1 − s ( x ) ≥ 1 / n 1-s(x)\ge1/n 1 − s ( x ) ≥ 1/ n . By Lemma 5.7,
E x ∈ C [ 1 S c ( x ) H ℓ ( x ) 2 ] ≤ n E x ∈ C [ ( 1 − s ( x ) ) H ℓ ( x ) 2 ] ≤ e − Ω ( n ) . \mathbb{E}_{x\in C}\left[1_{S^{c}}(x)H_{\ell}(x)^{2}\right]\le n\mathbb{E}_{x\in C}\left[(1-s(x))H_{\ell}(x)^{2}\right]\le e^{-\Omega(n)}. E x ∈ C [ 1 S c ( x ) H ℓ ( x ) 2 ] ≤ n E x ∈ C [ ( 1 − s ( x )) H ℓ ( x ) 2 ] ≤ e − Ω ( n ) .
Now, observe that H ℓ ( x ) = ρ − n / 2 π ≤ ℓ H_{\ell}(x)=\rho^{-n/2}\pi_{\le\ell} H ℓ ( x ) = ρ − n /2 π ≤ ℓ for every x ∈ S x\in S x ∈ S , as g i ( x i ) = ( 1 − ρ ) / ρ g_i(x_i)=\sqrt{(1-\rho)/\rho} g i ( x i ) = ( 1 − ρ ) / ρ for every i i i . Therefore,
π ≤ ℓ 2 ∣ C ∩ S ∣ ∣ C ∣ ρ n = E x ∈ C [ 1 S ( x ) H ℓ ( x ) 2 ] = E x ∈ C [ H ℓ ( x ) 2 ] − E x ∈ C [ 1 S c ( x ) H ℓ ( x ) 2 ] = 1 + e − Ω ( n ) . \frac{\pi_{\le\ell}^{2}\lvert C\cap S\rvert}{\lvert C\rvert\rho^{n}}=\mathbb{E}_{x\in C}[1_{S}(x)H_{\ell}(x)^{2}]=\mathbb{E}_{x\in C}[H_{\ell}(x)^{2}]-\mathbb{E}_{x\in C}[1_{S^{c}}(x)H_{\ell}(x)^{2}]=1+e^{-\Omega(n)}. ∣ C ∣ ρ n π ≤ ℓ 2 ∣ C ∩ S ∣ = E x ∈ C [ 1 S ( x ) H ℓ ( x ) 2 ] = E x ∈ C [ H ℓ ( x ) 2 ] − E x ∈ C [ 1 S c ( x ) H ℓ ( x ) 2 ] = 1 + e − Ω ( n ) .
by Lemma 5.7 and (81) , and the desired conclusion for v = 0 v=0 v = 0 follows. For general v v v , apply the same argument to the translated lists S i − v i S_i-v_i S i − v i . Their densities are unchanged, and
FOPI ( v ; C , S ) = FOPI ( 0 ; C , S − v ) . \operatorname{FOPI}(v;C,S)=\operatorname{FOPI}(0;C,S-v). FOPI ( v ; C , S ) = FOPI ( 0 ; C , S − v ) .
Now, applying this lemma with v = 0 v=0 v = 0 as well as Lemma 3.3 gives near optimal OPI discrepancy. At this point, we have proven all parts of Theorem 1.11, which we formally collect below.
Proof of Theorem 1.11. It suffices by Proposition 2.13, applied also to translates v + C v+C v + C , to establish a uniform relative-count bound for common-size sublists. We collect the three cases.
For (1) and (3), take t = ⌈ ρ p ⌉ t=\lceil\rho p\rceil t = ⌈ ρp ⌉ . Its actual density t / p = ρ + O ( 1 / p ) t/p=\rho+O(1/p) t / p = ρ + O ( 1/ p ) preserves the fixed density and rate gaps. Part (1) follows from Lemmas 3.1 and 5.1, and part (3) follows from Lemma 5.8.
For (2), choose the theorem’s constant δ \delta δ smaller than the constant δ 0 \delta_{0} δ 0 of Lemma B.1, and take
t = ⌈ p min { ρ , 1 / 2 } ⌉ . t=\left\lceil p\min\{\rho,1/2\}\right\rceil. t = ⌈ p min { ρ , 1/2 } ⌉ .
For sufficiently large p p p , t / p ∈ [ 1 / 2 − δ 0 , 1 / 2 + δ 0 ] t/p\in[1/2-\delta_{0},1/2+\delta_{0}] t / p ∈ [ 1/2 − δ 0 , 1/2 + δ 0 ] , so that lemma applies.
In every case, t ≤ min i ∣ S i ∣ t\le\min_i\lvert S_i\rvert t ≤ min i ∣ S i ∣ , and Proposition 2.13 transfers the exponentially small relative error to the original normalization ∣ C ∣ ∏ i ρ i \lvert C\rvert\prod_i\rho_i ∣ C ∣ ∏ i ρ i . Taking v = 0 v=0 v = 0 proves all three assertions.
Near-Optimal OPI Discrepancy for Random Reed-Solomon Codes
In this subsection, we prove Theorem 1.13, which states that that random Reed-Solomon codes of any positive rate have near-optimal OPI discrepancy with high probability. Throughout, let C = RS p ( α 1 , … , α n ; k ) C = \operatorname{RS}_p(\alpha_1,\ldots,\alpha_n;k) C = RS p ( α 1 , … , α n ; k ) be the random RS code obtained from a uniformly random ordered tuple of distinct nonzero evaluation points in F p \mathbb{F}_p F p . We write E C \mathbb{E}_C E C and P C \mathbb{P}_C P C for expectation and probability over the choice of evaluation points; E x ∈ C \mathbb{E}_{x\in C} E x ∈ C always means an average over a codeword of the fixed code C C C .
We begin by outlining the proof of one-bit LLR of random Reed-Solomon codes from [HMSY26]. The first step is to approximate each local indicator as 1 S i = G i + H i 1_{S_i}=G_i+H_i 1 S i = G i + H i , where G i G_i G i is structured and H i H_i H i has small Gowers U s U^s U s -norm for some large constant s s s . More precisely, the following decomposition holds.
Fact 5.9 (Structured decomposition, [HMSY26, Section 10.1]). For fixed s ≥ 4 s \ge4 s ≥ 4 and η > 0 \eta> 0 η > 0 , there is a class G \mathcal{G} G of functions F p → [ 0 , 1 ] \mathbb{F}_p \to[0,1] F p → [ 0 , 1 ] , such that for every S ⊂ F p S \subset\mathbb{F}_p S ⊂ F p , the indicator function 1 S 1_S 1 S has a decomposition
1 S = G + H , G ∈ G , ∣ H ∣ ≤ 1 , ∣ E H ∣ ≤ η ≤ ∥ H ∥ U s ≤ η . 1_S = G + H,\qquad G \in\mathcal{G},\qquad|H| \le1,\qquad|\mathbb{E}H| \le\eta\le\|H\|_{U^s} \le\eta. 1 S = G + H , G ∈ G , ∣ H ∣ ≤ 1 , ∣ E H ∣ ≤ η ≤ ∥ H ∥ U s ≤ η . Moreover, G \mathcal{G} G is closed under invertible affine precomposition, i.e. for every a ∈ F p a \in\mathbb{F}_p a ∈ F p and b ∈ F p × b \in\mathbb{F}_p^\times b ∈ F p × and G ∈ G G \in\mathcal{G} G ∈ G , G ( z ↦ G ( a + b z ) ) G(z \mapsto G(a+bz)) G ( z ↦ G ( a + b z )) is also in G \mathcal{G} G .
Upon expanding ∏ i 1 S i ( x i ) \prod_i 1_{S_i}(x_i) ∏ i 1 S i ( x i ) in the LLR proxy, [HMSY26] considers a set J ⊂ [ n ] J \subset[n] J ⊂ [ n ] indexing products of H i H_i H i . If ∣ J ∣ |J| ∣ J ∣ is large, the small Gowers U s U^s U s -norm gives exponential decay. To handle the terms with small ∣ J ∣ |J| ∣ J ∣ , [HMSY26] uses the structure of G i ∈ G G_i \in\mathcal{G} G i ∈ G for i ∉ J i \notin J i ∈ / J to construct a good evaluation event Good via higher order Fourier analysis. In more detail, [HMSY26] shows the following:
Fix any Reed-Solomon code C C C that satisfies the event Good. Upon revealing O ( 1 ) O(1) O ( 1 ) -many coordinates values u u u , [HMSY26] constructs an auxiliary linear code C ~ \widetilde{C} C whose Fourier proxy is close to that of C C C . Moreover, C ~ ⊥ \widetilde{C}^{\perp} C ⊥ has dimension O ( 1 ) O(1) O ( 1 ) and distance k − O ( 1 ) k-O(1) k − O ( 1 ) , where k = dim C k = \dim C k = dim C .
In contrast, C ⊥ C^{\perp} C ⊥ has dimension n − k n-k n − k and distance k k k . The reduction of dimension but not distance in C ~ ⊥ \widetilde{C}^{\perp} C ⊥ enables the Fourier and Gowers-norm bounds to show one-bit LLR at any positive rate R = k / n R=k/n R = k / n , bypassing the rate-1 / 2 1/2 1/2 barrier. This is discussed in Remark 5.12.
Good occurs with high probability for a random Reed-Solomon code.
We import Items 1 and 3 above as a black box, which we state as Fact 5.10 below. Then we adapt Item 2 above to use Fact 5.10 to apply to OPI instead of LLR; this is done in Proposition 5.11 .
Fact 5.10. (Implicit in [HMSY26, Proof of Proposition 10.3]). Fix any s ≥ 4 s \ge4 s ≥ 4 and η > 0 \eta> 0 η > 0 , and let G \mathcal{G} G be the class of functions guaranteed in Fact 5.9 . Also, fix any rate R = k / n ∈ ( 0 , 1 ) R=k/n \in(0,1) R = k / n ∈ ( 0 , 1 ) , and ν , L > 0 \nu,L>0 ν , L > 0 . For sufficiently large n n n and p p p where log p ≥ n Ω ( 1 ) \log p \ge n^{\Omega(1)} log p ≥ n Ω ( 1 ) , there exists an event Good with P C ( G o o d ) ≥ 1 − ε \mathbb{P}_C(\mathrm{Good}) \ge1-\varepsilon P C ( Good ) ≥ 1 − ε for ε : = e − L n \varepsilon:= e^{-Ln} ε := e − L n , on which the following holds simultaneously for every G = ( G 1 , … , G n ) ∈ G n \mathbf{G}=(G_1,\ldots,G_n)\in\mathcal{G}^n G = ( G 1 , … , G n ) ∈ G n with ν i : = E G i ≥ ν \nu_i := \mathbb{E}G_i \ge\nu ν i := E G i ≥ ν for every i ∈ [ n ] i \in[n] i ∈ [ n ] : there exists I ⊂ [ n ] I \subset[n] I ⊂ [ n ] , finite dimensional vector spaces V i V_i V i over F p \mathbb{F}_p F p for each i ∈ I i \in I i ∈ I , a linear code C ~ ⊂ ∏ i ∈ I V i \widetilde{C} \subset\prod_{i\in I} V_i C ⊂ ∏ i ∈ I V i , and functions G ~ i : V i → [ 0 , 1 ] \widetilde{G}_i:V_i \to[0,1] G i : V i → [ 0 , 1 ] , such that:
C ~ ⊥ \widetilde{C}^{\perp} C ⊥ has length ∣ I ∣ = n − O ( 1 ) |I|=n-O(1) ∣ I ∣ = n − O ( 1 ) , dimension k ~ = O ( 1 ) \widetilde{k}=O(1) k = O ( 1 ) , and minimum distance d ~ ≥ k − O ( 1 ) \widetilde{d}\ge k-O(1) d ≥ k − O ( 1 ) ,
E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i \le\nu_i E G i ≤ ν i for every i ∈ I i \in I i ∈ I , and
∣ E x ∈ C ∏ i = 1 n G i ( x i ) − ∏ i = 1 n ν i ∣ ≤ 2 ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I G ~ i ( y i ) + ε . (88) \left|\mathbb{E}_{x\in C}\prod_{i=1}^{n}G_i(x_i)-\prod_{i=1}^{n}\nu_i\right|
\le2\sum_{0\ne y\in\widetilde{C}^{\perp}}\prod_{i\in I}\widetilde{G}_i(y_i)+\varepsilon. \tag*{(88)} E x ∈ C i = 1 ∏ n G i ( x i ) − i = 1 ∏ n ν i ≤ 2 0 = y ∈ C ⊥ ∑ i ∈ I ∏ G i ( y i ) + ε . (88)
For completeness, we include a proof sketch of Fact 5.10 in Section C.
To use Fact 5.10 to prove near-optimal OPI discrepancy instead of one-bit LLR, we adapt Item 2 in the high-level outline of [HMSY26] above. The main idea is to apply the density-normalized OPI Fourier proxy to the auxiliary code C ~ \widetilde{C} C . This gives relative counting error in place of absolute leakage error. Combining this with the Gowers norm bounds Fact 2.11 yields near-optimal OPI discrepancy. The key step is the following control of the Fourier proxy for structured leakages G ∈ G n \mathbf{G} \in\mathcal{G}^n G ∈ G n , analogous to Lemma 1.17. We prove this next as Proposition 5.11 . After the proof of the proposition, we will put the pieces together as described above to formally prove Theorem 1.13.
Proposition 5.11. Fix any rate R = k / n R = k/n R = k / n , ν ∈ ( 0 , 1 ) \nu\in(0,1) ν ∈ ( 0 , 1 ) and G \mathbf{G} G . There exists σ ν ∈ ( 0 , 1 ) \sigma_\nu\in(0,1) σ ν ∈ ( 0 , 1 ) such that for sufficiently large n n n and prime p p p with log p = n Ω ( 1 ) \log p = n^{\Omega(1)} log p = n Ω ( 1 ) , we have that
E C [ sup G ∈ G n E G i ≥ ν F O P I ( 0 ; C , G ) ] = O ( σ ν k ) . (89) \mathbb{E}_{C}\left[\sup_{\substack{\mathbf{G}\in\mathcal{G}^n\\ \mathbb{E}G_i\geq\nu}} \operatorname{F}_{\mathrm{OPI}}(0;C,\mathbf{G})\right] = O\left(\sigma_\nu^k\right). \tag*{(89)} E C G ∈ G n E G i ≥ ν sup F OPI ( 0 ; C , G ) = O ( σ ν k ) . (89)
Proof. Define h : ( 0 , 1 ] → R ≥ 0 h:(0,1]\to\mathbb{R}_{\geq0} h : ( 0 , 1 ] → R ≥ 0 by
h ( t ) : = sin ( π min { t , 1 / 2 } ) π t . h(t) := \frac{\sin(\pi\min\{t,1/2\})}{\pi t}. h ( t ) := π t sin ( π min { t , 1/2 }) .
Observe that h h h is decreasing and h ( t ) < 1 h(t)<1 h ( t ) < 1 for every t > 0 t>0 t > 0 . Fix σ ν ∈ ( h ( ν ) , 1 ) \sigma_\nu\in(h(\nu),1) σ ν ∈ ( h ( ν ) , 1 ) and L > log ( 1 / ν ) + log ( 1 / σ ν ) L>\log(1/\nu)+\log(1/\sigma_\nu) L > log ( 1/ ν ) + log ( 1/ σ ν ) . Apply Fact 5.10 with G \mathbf{G} G , rate R R R , density lower bound ν \nu ν , and L L L , and adopt the objects and notation in Fact 5.10. Fix any C C C satisfying the event Good and G \mathbf{G} G with ν i : = E G i ≥ ν \nu_i:=\mathbb{E}G_i\geq\nu ν i := E G i ≥ ν for every i ∈ I i\in I i ∈ I . For each i ∈ I i\in I i ∈ I , define
w i ( ξ ) : = ∣ G ~ ^ i ( ξ ) ∣ ν i . w_i(\xi):=\frac{\left|\widehat{\widetilde{G}}_i(\xi)\right|}{\nu_i}. w i ( ξ ) := ν i G i ( ξ ) .
Now, E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i\leq\nu_i E G i ≤ ν i so w i ( 0 ) ≤ 1 w_i(0)\leq1 w i ( 0 ) ≤ 1 , and ∣ G ~ ^ i ( ξ ) ∣ ≤ E G ~ i \left|\widehat{\widetilde{G}}_i(\xi)\right|\leq\mathbb{E}\widetilde{G}_i G i ( ξ ) ≤ E G i gives w i ( ξ ) ≤ 1 w_i(\xi)\leq1 w i ( ξ ) ≤ 1 for all ξ \xi ξ . As 0 ≤ G ~ i ≤ 1 0\leq\widetilde{G}_i\leq1 0 ≤ G i ≤ 1 so G ~ i 2 ≤ G ~ i \widetilde{G}_i^2\leq\widetilde{G}_i G i 2 ≤ G i ,
∑ ξ ∈ V i ⊥ w i ( ξ ) 2 = ν i − 2 E G ~ i 2 ≤ ν i − 1 ≤ ν − 1 , \sum_{\xi\in V_i^\perp}w_i(\xi)^2=\nu_i^{-2}\mathbb{E}\widetilde{G}_i^2\leq\nu_i^{-1}\leq\nu^{-1}, ξ ∈ V i ⊥ ∑ w i ( ξ ) 2 = ν i − 2 E G i 2 ≤ ν i − 1 ≤ ν − 1 ,
by Parseval’s identity. Next, we show that every nonzero character ξ \xi ξ gives a decay factor, analogous to Corollary 2.5 . For ξ ≠ 0 \xi\neq0 ξ = 0 , maximizing Corollary 2.6 over means E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i\leq\nu_i E G i ≤ ν i and using ν i ≥ ν \nu_i\geq\nu ν i ≥ ν gives
w i ( ξ ) ≤ sin ( π G ~ i ) ν i p sin ( π / p ) ≤ sin ( π min { ν i , 1 / 2 } ) ν i p sin ( π / p ) = π h ( ν i ) p sin ( π / p ) ≤ π h ( ν ) p sin ( π / p ) = h ( ν ) + O ( p − 2 ) < σ ν , w_i(\xi)\leq\frac{\sin(\pi\widetilde{G}_i)}{\nu_i p\sin(\pi/p)}
\leq\frac{\sin(\pi\min\{\nu_i,1/2\})}{\nu_i p\sin(\pi/p)}
=\frac{\pi h(\nu_i)}{p\sin(\pi/p)}
\leq\frac{\pi h(\nu)}{p\sin(\pi/p)}
=h(\nu)+O(p^{-2})<\sigma_\nu, w i ( ξ ) ≤ ν i p sin ( π / p ) sin ( π G i ) ≤ ν i p sin ( π / p ) sin ( π min { ν i , 1/2 }) = p sin ( π / p ) π h ( ν i ) ≤ p sin ( π / p ) π h ( ν ) = h ( ν ) + O ( p − 2 ) < σ ν ,
for sufficiently large p p p .
Recall that C ~ ⊥ \widetilde{C}^{\perp} C ⊥ has dimension k ~ = O ( 1 ) \widetilde{k}=O(1) k = O ( 1 ) and distance d ~ ≥ k − O ( 1 ) \widetilde{d}\geq k-O(1) d ≥ k − O ( 1 ) by Fact 5.10. We next run the support splitting argument underlying the proof of Lemma 1.17 to C ~ ⊥ \widetilde{C}^{\perp} C ⊥ instead of C ⊥ C^{\perp} C ⊥ . For sufficiently large n n n , d ~ > 2 k ~ \widetilde{d}>2\widetilde{k} d > 2 k . Choose J 1 ⊂ I J_1\subset I J 1 ⊂ I with ∣ J 1 ∣ ≤ k ~ |J_1|\leq\widetilde{k} ∣ J 1 ∣ ≤ k such that projection π 1 \pi_1 π 1 onto J 1 J_1 J 1 is injective on C ~ ⊥ \widetilde{C}^{\perp} C ⊥ . Since d ~ > ∣ J 1 ∣ \widetilde{d}>|J_1| d > ∣ J 1 ∣ , projection onto I ∖ J 1 I\setminus J_1 I ∖ J 1 is also injective. Thus this complement contains a second set J 2 J_2 J 2 with ∣ J 2 ∣ ≤ k ~ |J_2|\leq\widetilde{k} ∣ J 2 ∣ ≤ k on which the projection π 2 \pi_2 π 2 is injective on C ~ ⊥ \widetilde{C}^{\perp} C ⊥ . Now, every 0 ≠ y ∈ C ~ ⊥ 0\neq y\in\widetilde{C}^{\perp} 0 = y ∈ C ⊥ has support size at least d ~ − 2 k ~ \widetilde d-2\widetilde k d − 2 k outside J 1 ∪ J 2 J_1\cup J_2 J 1 ∪ J 2 . By Cauchy–Schwarz and that w i ∈ [ 0 , 1 ] w_i\in[0,1] w i ∈ [ 0 , 1 ] ,
∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I w i ( y i ) ≤ σ ν d ~ − 2 k ~ ∑ 0 ≠ y ∈ C ~ ⊥ ( ∏ i ∈ J 1 w i ( y i ) ) ( ∏ i ∈ J 2 w i ( y i ) ) ≤ σ ν d ~ − 2 k ~ ( ∑ y ∈ C ~ ⊥ ∏ i ∈ J 1 w i ( y i ) 2 ) 1 / 2 ( ∑ y ∈ C ~ ⊥ ∏ i ∈ J 2 w i ( y i ) 2 ) 1 / 2 = σ ν d ~ − 2 k ~ ( ∑ z ∈ π 1 ( C ~ ⊥ ) ∏ i ∈ J 1 w i ( z i ) 2 ) 1 / 2 ( ∑ z ∈ π 2 ( C ~ ⊥ ) ∏ i ∈ J 2 w i ( z i ) 2 ) 1 / 2 ≤ σ ν d ~ − 2 k ~ ( ∑ z ∈ ∏ i ∈ J 1 V i ∗ ∏ i ∈ J 1 w i ( z i ) 2 ) 1 / 2 ( ∑ z ∈ ∏ i ∈ J 2 V i ∗ ∏ i ∈ J 2 w i ( z i ) 2 ) 1 / 2 = σ ν d ~ − 2 k ~ ( ∏ i ∈ J 1 ∑ ξ ∈ V i ∗ w i ( ξ ) 2 ) 1 / 2 ( ∏ i ∈ J 2 ∑ ξ ∈ V i ∗ w i ( ξ ) 2 ) 1 / 2 ≤ σ ν d ~ − 2 k ~ ν − ∣ J 1 ∣ / 2 ν − ∣ J 2 ∣ / 2 ≤ σ ν d ~ − 2 k ~ ν − k ~ . (90) \begin{aligned}
\sum_{\substack{0\ne y\in\widetilde C^\perp}}\prod_{i\in I}w_i(y_i)
&\le\sigma_\nu^{\widetilde d-2\widetilde k}\sum_{\substack{0\ne y\in\widetilde C^\perp}}\left(\prod_{i\in J_1}w_i(y_i)\right)\left(\prod_{i\in J_2}w_i(y_i)\right)\\
&\le\sigma_\nu^{\widetilde d-2\widetilde k}\left(\sum_{y\in\widetilde C^\perp}\prod_{i\in J_1}w_i(y_i)^2\right)^{1/2}\left(\sum_{y\in\widetilde C^\perp}\prod_{i\in J_2}w_i(y_i)^2\right)^{1/2}\\
&=\sigma_\nu^{\widetilde d-2\widetilde k}\left(\sum_{z\in\pi_1(\widetilde C^\perp)}\prod_{i\in J_1}w_i(z_i)^2\right)^{1/2}\left(\sum_{z\in\pi_2(\widetilde C^\perp)}\prod_{i\in J_2}w_i(z_i)^2\right)^{1/2}\\
&\le\sigma_\nu^{\widetilde d-2\widetilde k}\left(\sum_{z\in\prod_{i\in J_1}V_i^*}\prod_{i\in J_1}w_i(z_i)^2\right)^{1/2}\left(\sum_{z\in\prod_{i\in J_2}V_i^*}\prod_{i\in J_2}w_i(z_i)^2\right)^{1/2}\\
&=\sigma_\nu^{\widetilde d-2\widetilde k}\left(\prod_{i\in J_1}\sum_{\xi\in V_i^*}w_i(\xi)^2\right)^{1/2}\left(\prod_{i\in J_2}\sum_{\xi\in V_i^*}w_i(\xi)^2\right)^{1/2}\\
&\le\sigma_\nu^{\widetilde d-2\widetilde k}\nu^{-|J_1|/2}\nu^{-|J_2|/2}\\
&\le\sigma_\nu^{\widetilde d-2\widetilde k}\nu^{-\widetilde k}. \tag*{(90)}
\end{aligned} 0 = y ∈ C ⊥ ∑ i ∈ I ∏ w i ( y i ) ≤ σ ν d − 2 k 0 = y ∈ C ⊥ ∑ ( i ∈ J 1 ∏ w i ( y i ) ) ( i ∈ J 2 ∏ w i ( y i ) ) ≤ σ ν d − 2 k y ∈ C ⊥ ∑ i ∈ J 1 ∏ w i ( y i ) 2 1/2 y ∈ C ⊥ ∑ i ∈ J 2 ∏ w i ( y i ) 2 1/2 = σ ν d − 2 k z ∈ π 1 ( C ⊥ ) ∑ i ∈ J 1 ∏ w i ( z i ) 2 1/2 z ∈ π 2 ( C ⊥ ) ∑ i ∈ J 2 ∏ w i ( z i ) 2 1/2 ≤ σ ν d − 2 k z ∈ ∏ i ∈ J 1 V i ∗ ∑ i ∈ J 1 ∏ w i ( z i ) 2 1/2 z ∈ ∏ i ∈ J 2 V i ∗ ∑ i ∈ J 2 ∏ w i ( z i ) 2 1/2 = σ ν d − 2 k i ∈ J 1 ∏ ξ ∈ V i ∗ ∑ w i ( ξ ) 2 1/2 i ∈ J 2 ∏ ξ ∈ V i ∗ ∑ w i ( ξ ) 2 1/2 ≤ σ ν d − 2 k ν − ∣ J 1 ∣/2 ν − ∣ J 2 ∣/2 ≤ σ ν d − 2 k ν − k . (90)
Now, as k ~ = O ( 1 ) \widetilde k=O(1) k = O ( 1 ) , this is O ( σ ν k ) O(\sigma_\nu^k) O ( σ ν k ) . Dividing (5.28) by ∏ i = 1 n ν i ≥ ν n \prod_{i=1}^n\nu_i\ge\nu^n ∏ i = 1 n ν i ≥ ν n , we obtain
FOPI ( 0 ; C , G ) ≤ 2 ( ∏ i ∉ I ν i − 1 ) ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I w i ( y i ) + e − L n ν − n ≤ O ( σ ν k ) + e − L n ν − n . \operatorname{FOPI}(0;\mathbb C,\mathbb G)\le2\left(\prod_{i\notin I}\nu_i^{-1}\right)\sum_{\substack{0\ne y\in\widetilde C^\perp}}\prod_{i\in I}w_i(y_i)+e^{-L n}\nu^{-n}\le O(\sigma_\nu^k)+e^{-L n}\nu^{-n}. FOPI ( 0 ; C , G ) ≤ 2 i ∈ / I ∏ ν i − 1 0 = y ∈ C ⊥ ∑ i ∈ I ∏ w i ( y i ) + e − L n ν − n ≤ O ( σ ν k ) + e − L n ν − n .
since n − ∣ I ∣ = O ( 1 ) n-|I|=O(1) n − ∣ I ∣ = O ( 1 ) . On the event Good c \operatorname{Good}^{c} Good c , which happens with probability at most e − L n e^{-Ln} e − L n , the crude bound FOPI ( 0 ; C , G ) ≤ ν − n \operatorname{FOPI}(0;\mathbb C,\mathbb G)\le\nu^{-n} FOPI ( 0 ; C , G ) ≤ ν − n holds. Since every bound so far is uniform over G ∈ G n \mathbb G\in\mathcal G^n G ∈ G n with E G i ≥ ν \mathbb E G_i\ge\nu E G i ≥ ν ,
E C [ sup G ∈ G n E G i ≥ ν FOPI ( 0 ; C , G ) ] ≤ O ( σ ν k + e − L n ν − n ) = O ( σ ν k ) . \mathbb E_{\mathbb C}\left[\sup_{\substack{\mathbb G\in\mathcal G^n\\ \mathbb E G_i\ge\nu}}\operatorname{FOPI}(0;\mathbb C,\mathbb G)\right]\le O(\sigma_\nu^k+e^{-Ln}\nu^{-n})=O(\sigma_\nu^k). E C G ∈ G n E G i ≥ ν sup FOPI ( 0 ; C , G ) ≤ O ( σ ν k + e − L n ν − n ) = O ( σ ν k ) .
The last equality follows from our choice of L L L and k ≤ n k\le n k ≤ n , as desired.
Remark 5.12 (Overcoming the rate-1/2 barrier; comparison between [HMSY26] and our earlier approach). The key method to bounding the Fourier proxy in (90) is familiar: we fit two information sets in the coordinates and gain on the support outside. This is exactly the approach to the Fourier proxy bounds in the original leakage resilience works [4 , 31 ] , the connection to OPI in [39 ] , and the proof of (1.11).
The key insight of [HMSY26] in Fact 5.10 is to leverage the structured leakage G ∈ G n \mathbb G\in\mathcal G^n G ∈ G n to construct the auxiliary code C ~ ⊥ \widetilde C^\perp C ⊥ on which we apply the bound. The Fourier proxies remain close via (5.28) with high probability, and fitting two information sets J 1 , J 2 J_1,J_2 J 1 , J 2 into C ~ ⊥ \widetilde C^\perp C ⊥ is much easier since dim C ~ ⊥ = k ~ = O ( 1 ) \dim\widetilde C^\perp=\widetilde k=O(1) dim C ⊥ = k = O ( 1 ) . Indeed, C ⊥ C^\perp C ⊥ has length n n n and dimension n − k n-k n − k , so to fit two information sets, we need 2 ( n − k ) ≤ n 2(n-k)\le n 2 ( n − k ) ≤ n , which gives exactly the rate-1/2 barrier.
From this perspective, we view the overcoming of this barrier in [HMSY26] as analogous to our approach in § 6.3 and § 7.1 via the U 3 U^3 U 3 Gowers norm that achieved rate R = 1 / 2 − δ R=1/2-\delta R = 1/2 − δ , except [HMSY26] uses U s U^s U s norms for s > 1 / R s > 1/R s > 1/ R to handle any positive rate R R R . On the other hand, the construction in [HMSY26] of the key auxiliary C ~ ⊥ \widetilde{C}^{\perp} C ⊥ holds only for typical evaluations α \alpha α .
We now prove the main result of this subsection, which we restate for the reader’s convenience. The proof idea is similar to that of the analogous statement for one-bit LLR in [HMSY26]. We give a short self-contained proof, using the Fourier-analytic framework and the ingredients developed above.
Theorem 1.13 (Near-optimal OPI discrepancy for random Reed-Solomon codes). Fix R , ρ ∈ ( 0 , 1 ) R, \rho\in(0,1) R , ρ ∈ ( 0 , 1 ) . For sufficiently large n n n and prime p p p with log p = n Ω ( 1 ) \log p = n^{\Omega(1)} log p = n Ω ( 1 ) , with probability at least 1 − e − Ω ( n ) 1-e^{-\Omega(n)} 1 − e − Ω ( n ) over a uniformly random tuple of distinct evaluation points α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n \in\mathbb{F}_p α 1 , … , α n ∈ F p , the Reed-Solomon code C C C over F p \mathbb{F}_p F p with rate R R R and evaluation points α \alpha α has near-optimal OPI discrepancy for every instance with ∣ S i ∣ ≥ ρ p |S_i| \ge\rho p ∣ S i ∣ ≥ ρp for every i i i .
Proof. Without loss of generality, we assume ∣ S i ∣ = ρ p |S_i|=\rho p ∣ S i ∣ = ρp for every i i i . Indeed, the general unequal density case follows via Proposition 2.13 . Now, fix any integer s > max { 4 , 1 / R } s > \max\{4,1/R\} s > max { 4 , 1/ R } and fix σ : = σ ρ / 2 \sigma:= \sigma_{\rho/2} σ := σ ρ /2 as guaranteed by Proposition 5.11 . Choose sufficiently small positive constants τ = τ ( R , ρ ) ∈ ( 0 , R / 2 ) \tau=\tau(R,\rho)\in(0,R/2) τ = τ ( R , ρ ) ∈ ( 0 , R /2 ) and η = η ( R , ρ ) ∈ ( 0 , ρ / 2 ) \eta=\eta(R,\rho)\in(0,\rho/2) η = η ( R , ρ ) ∈ ( 0 , ρ /2 ) to be determined. Without loss of generality assume t : = τ n t:=\tau n t := τ n is an integer.
By Fact 5.9 , we can write 1 S i = G i + H i \mathbf{1}_{S_i}=G_i+H_i 1 S i = G i + H i for G i ∈ G G_i\in\mathcal{G} G i ∈ G and ν i : = E G i \nu_i:=\mathbb{E}G_i ν i := E G i such that
∣ ν i − ρ ∣ ≤ η , ν i ≥ ρ / 2 , E ∣ H i ∣ ≤ E f i + E G i ≤ 2 ρ p + η . (91) |\nu_i-\rho|\leq\eta,\qquad\nu_i\geq\rho/2,\qquad\mathbb{E}|H_i|\leq\mathbb{E}f_i+\mathbb{E}G_i\leq2\rho p+\eta. \tag*{(91)} ∣ ν i − ρ ∣ ≤ η , ν i ≥ ρ /2 , E ∣ H i ∣ ≤ E f i + E G i ≤ 2 ρp + η . (91)
Since ρ = E G i + E H i \rho=\mathbb{E}G_i+\mathbb{E}H_i ρ = E G i + E H i , we define Δ J ( C ) \Delta_J(C) Δ J ( C ) for each J ⊂ [ n ] J\subset[n] J ⊂ [ n ] and expand F O P I ( 0 ; C , S ) \operatorname{F}_{\mathrm{OPI}}(0;C,S) F OPI ( 0 ; C , S ) as follows:
ρ n F O P I ( 0 ; C , S ) = ∣ E x ∈ C ∏ i ( G i ( x i ) + H i ( x i ) ) − ∏ i ( E G i + E H i ) ∣ ≤ ∑ J ⊂ [ n ] ∣ Δ J ( C ) ∣ , \rho^n\operatorname{F}_{\mathrm{OPI}}(0;C,S)=\left|\mathbb{E}_{x\in C}\prod_{i}\bigl(G_i(x_i)+H_i(x_i)\bigr)-\prod_i\bigl(\mathbb{E}G_i+\mathbb{E}H_i\bigr)\right|\leq\sum_{J\subset[n]}|\Delta_J(C)|, ρ n F OPI ( 0 ; C , S ) = E x ∈ C i ∏ ( G i ( x i ) + H i ( x i ) ) − i ∏ ( E G i + E H i ) ≤ J ⊂ [ n ] ∑ ∣ Δ J ( C ) ∣ ,
Δ J ( C ) : = E x ∈ C ∏ i ∈ J H i ( x i ) ∏ i ∉ J G i ( x i ) − ∏ i ∈ J E H i ∏ i ∉ J ν i . (92) \Delta_J(C):=\mathbb{E}_{x\in C}\prod_{i\in J}H_i(x_i)\prod_{i\notin J}G_i(x_i)-\prod_{i\in J}\mathbb{E}H_i\prod_{i\notin J}\nu_i. \tag*{(92)} Δ J ( C ) := E x ∈ C i ∈ J ∏ H i ( x i ) i ∈ / J ∏ G i ( x i ) − i ∈ J ∏ E H i i ∈ / J ∏ ν i . (92)
Therefore, it suffices to show that ρ − n ∑ J E C [ sup S ∣ Δ J ( C ) ∣ ] \rho^{-n}\sum_{J}\mathbb{E}_C[\sup_S|\Delta_J(C)|] ρ − n ∑ J E C [ sup S ∣ Δ J ( C ) ∣ ] is exponentially small for any appropriate functions G i G_i G i and H i H_i H i . Indeed, suppose that, uniformly over every S S S with ∣ S i ∣ = ρ p |S_i|=\rho p ∣ S i ∣ = ρp , we had
E C [ sup S F O P I ( 0 ; C , S ) ] ≤ ρ − n ∑ J ⊂ [ n ] E C [ sup S ∣ Δ J ( C ) ∣ ] ≤ e − Ω ( n ) , (93) \mathbb{E}_C\left[\sup_S\operatorname{F}_{\mathrm{OPI}}(0;C,S)\right]\leq\rho^{-n}\sum_{J\subset[n]}\mathbb{E}_C\left[\sup_S|\Delta_J(C)|\right]\leq e^{-\Omega(n)}, \tag*{(93)} E C [ S sup F OPI ( 0 ; C , S ) ] ≤ ρ − n J ⊂ [ n ] ∑ E C [ S sup ∣ Δ J ( C ) ∣ ] ≤ e − Ω ( n ) , (93)
Markov’s inequality then gives sup S F O P I ( 0 ; C , S ) > e − Ω ( n ) \sup_S\operatorname{F}_{\mathrm{OPI}}(0;C,S)>e^{-\Omega(n)} sup S F OPI ( 0 ; C , S ) > e − Ω ( n ) with probability at most e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) , which proves near-optimal OPI discrepancy by Lemma 3.1. Thus, we need to prove the second inequality in (93) . To do so, we break the proof down into cases, depending on ∣ J ∣ |J| ∣ J ∣ .
n − t ≤ s ( k − t ) . (94) n-t\leq s(k-t). \tag*{(94)} n − t ≤ s ( k − t ) . (94)
By Fact 2.11 applied to the factors indexed by T T T , and by the fact that all remaining factors are 1 1 1 -bounded, we have
∣ E x ∈ C ∏ i ∈ J H i ( x i ) ∏ i ∉ J G i ( x i ) ∣ ≤ ∏ i ∈ T ∥ H i ∥ U s ≤ η t . \left|\mathbb{E}_{x\in C}\prod_{i\in J}H_i(x_i)\prod_{i\notin J}G_i(x_i)\right|\leq\prod_{i\in T}\|H_i\|_{U^s}\leq\eta^t. E x ∈ C i ∈ J ∏ H i ( x i ) i ∈ / J ∏ G i ( x i ) ≤ i ∈ T ∏ ∥ H i ∥ U s ≤ η t .
The other term in the definition (92) of Δ J ( C ) \Delta_J(C) Δ J ( C ) satisfies the same bound as ∣ E H i ∣ ≤ η |\mathbb{E}H_i|\leq\eta ∣ E H i ∣ ≤ η and ν i ≤ 1 \nu_i\leq1 ν i ≤ 1 . Therefore, for every fixed C C C and J ⊂ [ n ] J\subset[n] J ⊂ [ n ] with ∣ J ∣ = j ≥ t |J|=j\geq t ∣ J ∣ = j ≥ t ,
∣ Δ J ( C ) ∣ ≤ 2 η t . (95) |\Delta_J(C)|\leq2\eta^t. \tag*{(95)} ∣ Δ J ( C ) ∣ ≤ 2 η t . (95)
Suppose j : = ∣ J ∣ < t j := |J| < t j := ∣ J ∣ < t . We consider the smaller Reed-Solomon code C J : = RS p ( ( α i ) i ∉ J ; k − j ) C_J := \operatorname{RS}_p((\alpha_i)_{i\notin J}; k-j) C J := RS p (( α i ) i ∈ / J ; k − j ) . Then, C J C_J C J has rate at least R − τ ≥ R / 2 R-\tau\ge R/2 R − τ ≥ R /2 . The idea is that on the coordinates i ∉ J i\notin J i ∈ / J , we have structured terms G i G_i G i , which we handle via Proposition 5.11 . Let
D J ( C ) : = sup ( F i ) i ∉ J ∈ G n − j E F i ≥ ρ / 2 F O P I ( 0 ; C J , ( F i ) i ∉ J ) . D_J(C) := \sup_{\substack{(F_i)_{i\notin J}\in\mathcal{G}^{n-j}\\ \mathbb{E}F_i\ge\rho/2}} F_{\mathrm{OPI}}(0;C_J,(F_i)_{i\notin J}). D J ( C ) := ( F i ) i ∈ / J ∈ G n − j E F i ≥ ρ /2 sup F OPI ( 0 ; C J , ( F i ) i ∈ / J ) .
First, we bound Δ J ( C ) \Delta_J(C) Δ J ( C ) by D J ( C ) D_J(C) D J ( C ) for each fixed C C C . Sample x ∼ Unif ( C ) x\sim\operatorname{Unif}(C) x ∼ Unif ( C ) and consider the restriction x J x_J x J to coordinates J J J . Since j = ∣ J ∣ < t < k j=|J|<t<k j = ∣ J ∣ < t < k and C C C is MDS, x J x_J x J is uniform on F p j \mathbb{F}_p^j F p j . Conditioned on x J = u x_J=u x J = u , the remaining coordinates ( x j ) j ∉ J (x_j)_{j\notin J} ( x j ) j ∈ / J lie on an affine transformed version of C J C_J C J . Namely, there exists a i ( u ) ∈ F p a_i(u)\in\mathbb{F}_p a i ( u ) ∈ F p , b i ∈ F p ∗ b_i\in\mathbb{F}_p^* b i ∈ F p ∗ such that we have the following equality of distribution:
{ ( x j ) j ∉ J ∣ x J = u } = d ( a i ( u ) + b i z i ) i ∉ J \{(x_j)_{j\notin J}\mid x_J=u\}\mathrel{\overset{d}{=}}(a_i(u)+b_i z_i)_{i\notin J} {( x j ) j ∈ / J ∣ x J = u } = d ( a i ( u ) + b i z i ) i ∈ / J
for z ∼ Unif ( C J ) z\sim\operatorname{Unif}(C_J) z ∼ Unif ( C J ) . This follows from simple polynomial interpolation. Now, let G i ( u ) ( z ) : = G i ( a i ( u ) + b i z ) G_i^{(u)}(z):=G_i(a_i(u)+b_i z) G i ( u ) ( z ) := G i ( a i ( u ) + b i z ) . Since G \mathcal{G} G is closed under affine precomposition by Fact 5.9 and affine precompositions preserve the mean, then G i ( u ) ∈ G G_i^{(u)}\in\mathcal{G} G i ( u ) ∈ G and E G i ( u ) = E G i = ν i ≥ ρ / 2 \mathbb{E}G_i^{(u)}=\mathbb{E}G_i=\nu_i\ge\rho/2 E G i ( u ) = E G i = ν i ≥ ρ /2 . Therefore,
∣ E [ ∏ i ∉ J G i ( u ) ( x i ) ∣ x J = u ] − ∏ i ∉ J ν i ∣ ≤ D J ( C ) ∏ i ∉ J ν i . \left|\mathbb{E}\left[\prod_{i\notin J}G_i^{(u)}(x_i)\mid x_J=u\right]-\prod_{i\notin J}\nu_i\right|\le D_J(C)\prod_{i\notin J}\nu_i. E i ∈ / J ∏ G i ( u ) ( x i ) ∣ x J = u − i ∈ / J ∏ ν i ≤ D J ( C ) i ∈ / J ∏ ν i .
by the definition of D J ( C ) D_J(C) D J ( C ) and F O P I F_{\mathrm{OPI}} F OPI . Consequently,
∣ Δ J ( C ) ∣ = ∣ E u ∈ F p J [ ∏ i ∈ J H i ( u i ) ( E z ∈ C J ∏ i ∉ J G i , u ( z i ) − ∏ i ∉ J ν i ) ] ∣ ≤ D J ( C ) ∏ i ∈ J E ∣ H i ∣ ∏ i ∉ J ν i . |\Delta_J(C)|=\left|\mathbb{E}_{u\in\mathbb{F}_p^J}\left[\prod_{i\in J}H_i(u_i)\left(\mathbb{E}_{z\in C_J}\prod_{i\notin J}G_{i,u}(z_i)-\prod_{i\notin J}\nu_i\right)\right]\right|\le D_J(C)\prod_{i\in J}\mathbb{E}|H_i|\prod_{i\notin J}\nu_i. ∣ Δ J ( C ) ∣ = E u ∈ F p J i ∈ J ∏ H i ( u i ) E z ∈ C J i ∈ / J ∏ G i , u ( z i ) − i ∈ / J ∏ ν i ≤ D J ( C ) i ∈ J ∏ E ∣ H i ∣ i ∈ / J ∏ ν i .
Using ν i ≤ ρ + η \nu_i\le\rho+\eta ν i ≤ ρ + η and E ∣ H i ∣ ≤ 2 ρ + η ≤ 2 ( ρ + η ) \mathbb{E}|H_i|\le2\rho+\eta\le2(\rho+\eta) E ∣ H i ∣ ≤ 2 ρ + η ≤ 2 ( ρ + η ) , we obtain
ρ − n ∣ Δ J ( C ) ∣ ≤ 2 j ( 1 + η / ρ ) n D J ( C ) ≤ 2 j e η n / ρ D J ( C ) . (96) \rho^{-n}|\Delta_J(C)|\le2^j(1+\eta/\rho)^nD_J(C)\le2^j e^{\eta n/\rho}D_J(C). \tag*{(96)} ρ − n ∣ Δ J ( C ) ∣ ≤ 2 j ( 1 + η / ρ ) n D J ( C ) ≤ 2 j e η n / ρ D J ( C ) . (96)
Since C J C_J C J has rate at least R / 2 R/2 R /2 , Proposition 5.11 implies that there is a constant σ = σ ρ / 2 ∈ ( 0 , 1 ) \sigma=\sigma_{\rho/2}\in(0,1) σ = σ ρ /2 ∈ ( 0 , 1 ) and a constant K K K independent of J J J and n n n , such that for every J ⊂ [ n ] J\subset[n] J ⊂ [ n ] with ∣ J ∣ = j < t |J|=j<t ∣ J ∣ = j < t ,
E C D J ( C ) ≤ K σ k − j . (97) \mathbb{E}_C D_J(C)\le K\sigma^{k-j}. \tag*{(97)} E C D J ( C ) ≤ K σ k − j . (97)
In both cases, the bounds (95) to (97) hold uniformly over all lists S i S_i S i with ∣ S i ∣ = ρ p |S_i|=\rho p ∣ S i ∣ = ρp . Taking their supremum in (92) , and then averaging over C C C (i.e. over the evaluation points α \alpha α ), gives
E C [ sup S F O P I ( 0 ; C , S ) ] ≤ ρ − n ⋅ 2 η t ⋅ 2 n + e η n / ρ ∑ J ⊂ [ n ] ∣ J ∣ < t 2 ∣ J ∣ E C D J ( C ) \mathbb{E}_C\left[\sup_{\mathcal{S}}F_{\mathrm{OPI}}(0;C,\mathcal{S})\right]\le\rho^{-n}\cdot2\eta^t\cdot2^n+e^{\eta n/\rho}\sum_{\substack{J\subset[n]\\ |J|<t}}2^{|J|}\mathbb{E}_C D_J(C) E C [ S sup F OPI ( 0 ; C , S ) ] ≤ ρ − n ⋅ 2 η t ⋅ 2 n + e η n / ρ J ⊂ [ n ] ∣ J ∣ < t ∑ 2 ∣ J ∣ E C D J ( C )
≤ 2 ( 2 / ρ ) n η t + K σ k e η n / ρ ∑ j < t ( n j ) ( 2 / σ ) j . (98) \le2(2/\rho)^n\eta^t+K\sigma^k e^{\eta n/\rho}\sum_{j<t}\binom{n}{j}(2/\sigma)^j. \tag*{(98)} ≤ 2 ( 2/ ρ ) n η t + K σ k e η n / ρ j < t ∑ ( j n ) ( 2/ σ ) j . (98)
By (93) , it suffices to show that both terms are exponentially small, by choosing our parameters τ \tau τ and η \eta η . We first choose τ \tau τ sufficiently small to satisfy (94) and that binary natural log entropy H ( z ) : = − z log z − ( 1 − z ) log ( 1 − z ) H(z):=-z\log z-(1-z)\log(1-z) H ( z ) := − z log z − ( 1 − z ) log ( 1 − z ) , we have that
H ( τ ) + τ log ( 2 / σ ) < R 4 log ( 1 / σ ) . (99) H(\tau)+\tau\log(2/\sigma)<\frac{R}{4}\log(1/\sigma). \tag*{(99)} H ( τ ) + τ log ( 2/ σ ) < 4 R log ( 1/ σ ) . (99)
Next, choose η ∈ ( 0 , ρ / 2 ) \eta\in(0,\rho/2) η ∈ ( 0 , ρ /2 ) sufficiently small that
η < ρ R 4 log ( 1 / σ ) and ln ( 2 / ρ ) + τ log η < − R 2 log ( 1 / σ ) . (100) \eta< \frac{\rho R}{4}\log(1/\sigma) \quad\text{and}\quad\ln(2/\rho) + \tau\log\eta< -\frac{R}{2}\log(1/\sigma). \tag*{(100)} η < 4 ρR log ( 1/ σ ) and ln ( 2/ ρ ) + τ log η < − 2 R log ( 1/ σ ) . (100)
Now, (99) and (100) shows that both terms in (98) are e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) , via the entropy estimate
∑ j < t ( n j ) ( 2 / σ ) j ≤ exp ( n [ H ( τ ) + τ log ( 2 / σ ) + o ( 1 ) ] ) . \sum_{j<t} \binom{n}{j}(2/\sigma)^j \le\exp(n[H(\tau)+\tau\log(2/\sigma)+o(1)]). j < t ∑ ( j n ) ( 2/ σ ) j ≤ exp ( n [ H ( τ ) + τ log ( 2/ σ ) + o ( 1 )]) .
Note that the parameter dependencies are noncircular: σ \sigma σ depends only on ρ / 2 \rho/2 ρ /2 , so we choose s , τ , η s,\tau,\eta s , τ , η first, then fix the class G \mathcal{G} G from Fact 5.9 , and the large constant in the requirement log p ≥ n Ω ( 1 ) \log p \ge n^{\Omega(1)} log p ≥ n Ω ( 1 ) .
Quantum Algorithms for OPI
In this section, we leave random Reed-Solomon codes aside and develop quantum algorithms for worst-case OPI for arbitrary Reed-Solomon codes. Throughout, we use the machinery and notation developed in Section 5.2 and the quantum algorithm model in § 4.4 . For convenience, the state analysis first assumes common known density ρ \rho ρ ; the final proofs use Proposition 2.14 to handle unequal densities.
Recap of the Algorithm in sjo
We begin by recapping the algorithmic results of [17 ] . Recall from (72) that
F ℓ ( x ) : = ∑ j = ℓ − σ ℓ q j ( x ) ( n j ) . F_{\ell}(x) := \sum_{j=\ell-\sigma}^{\ell}\frac{q_j(x)}{\sqrt{\binom{n}{j}}}. F ℓ ( x ) := j = ℓ − σ ∑ ℓ ( j n ) q j ( x ) .
where σ = ⌊ log log n ⌋ \sigma=\lfloor\log\log n\rfloor σ = ⌊ log log n ⌋ . The algorithm of [17 ] samples from the distribution proportional to F ℓ ( x ) 2 F_{\ell}(x)^2 F ℓ ( x ) 2 on C C C and prepares the DQI state ∣ φ ℓ ⟩ ∝ ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ |\varphi_{\ell}\rangle\propto\sum_{x\in C}F_{\ell}(x)|x\rangle ∣ φ ℓ ⟩ ∝ ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ as in (72) . First, define normalizations
Z ℓ : = E x ∈ C ∣ F ℓ ( x ) ∣ 2 , and Z 0 : = E x ∈ F p n ∣ F ℓ ( x ) ∣ 2 . (101) Z_{\ell}:=\mathbb{E}_{x\in C}|F_{\ell}(x)|^2,\qquad\text{and}\qquad Z_0:=\mathbb{E}_{x\in\mathbb{F}_p^n}|F_{\ell}(x)|^2. \tag*{(101)} Z ℓ := E x ∈ C ∣ F ℓ ( x ) ∣ 2 , and Z 0 := E x ∈ F p n ∣ F ℓ ( x ) ∣ 2 . (101)
We now state a main result of [17 ] that we will use as a black-box.
Theorem 6.1 ([Jo26, Theorem 5.2 and Propositions 6.2–6.3]). Let C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n be a linear code. Suppose some deterministic classical algorithm that takes as input a received word r ∈ F p n r\in\mathbb{F}_p^n r ∈ F p n and returns the set L ( r ) = { c ∈ C ⊥ : ∣ r − c ∣ ≤ ℓ } \mathcal{L}(r)=\{c\in C^\perp:|r-c|\le\ell\} L ( r ) = { c ∈ C ⊥ : ∣ r − c ∣ ≤ ℓ } , with running time T = T ( n , log p ) T=T(n,\log p) T = T ( n , log p ) .
If ∣ L ( r ) ∣ ≤ L |\mathcal{L}(r)|\le L ∣ L ( r ) ∣ ≤ L for every r ∈ F p n r\in\mathbb{F}_p^n r ∈ F p n , then there is a quantum algorithm that prepares ∣ φ ℓ ⟩ |\varphi_{\ell}\rangle ∣ φ ℓ ⟩ exactly under coherent membership oracle access to the input lists S i S_i S i with known common density ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , and with running time poly ( T , n , log p ) \operatorname{poly}(T,n,\log p) poly ( T , n , log p ) and flagged success probability Z ℓ L Z 0 \frac{Z_{\ell}}{LZ_0} L Z 0 Z ℓ .
Before explaining how we apply Theorem 6.1, we briefly walk through the algorithm behind it to explain how to prepare the state ∣ φ ℓ ⟩ |\varphi_{\ell}\rangle ∣ φ ℓ ⟩ in a few steps. We note that the details of the algorithm are not needed for our result, as we use Theorem 6.1 as a black box. But we include them for completeness, and in particular because we have synthesized a few results of [17 ] (Theorem 5.2 and Propositions 6.2 and 6.3 in that paper) in the statement of Theorem 6.1 , and we wish to explain how they fit together to give Theorem 6.1 . Our synthesis is very similar to the approach in [Jo26, Theorem 7.1].
Step 1: Local Preparations. First, the algorithm prepares the Fourier contributions separately. Let B ∈ F p n × k B \in\mathbb{F}_p^{n \times k} B ∈ F p n × k generate C C C , so ker B T = C ⊥ \ker B^{\mathsf{T}} = C^\perp ker B T = C ⊥ . With the coefficients u j u_j u j from (15) , so that F ℓ ( x ) = ∑ j u j q j ( x ) F_\ell(x) = \sum_j u_j q_j(x) F ℓ ( x ) = ∑ j u j q j ( x ) and ∣ φ ℓ ⟩ = ∣ φ ℓ ( u ) ⟩ |\varphi_\ell\rangle= |\varphi_\ell(u)\rangle ∣ φ ℓ ⟩ = ∣ φ ℓ ( u )⟩ . Write its Fourier amplitudes as
F ^ ℓ ( y ) : = u ∣ y ∣ ∏ i ∈ supp ( y ) g i ^ ( y i ) , where g i ( x ) = 1 S i ( x ) − ρ ρ ( 1 − ρ ) (102) \widehat{F}_\ell(y) := u_{|y|} \prod_{i \in\operatorname{supp}(y)} \widehat{g_i}(y_i), \qquad\text{where } g_i(x) = \frac{1_{S_i}(x)-\rho}{\sqrt{\rho(1-\rho)}} \tag*{(102)} F ℓ ( y ) := u ∣ y ∣ i ∈ supp ( y ) ∏ g i ( y i ) , where g i ( x ) = ρ ( 1 − ρ ) 1 S i ( x ) − ρ (102)
as usual, per the common density case where ρ i = ρ \rho_i = \rho ρ i = ρ . For each coordinate, [17 Proposition 6.3] prepares the coordinate i i i state
∑ ξ ≠ 0 g i ^ ( ξ ) ∣ ξ ⟩ . \sum_{\xi\ne0} \widehat{g_i}(\xi)|\xi\rangle. ξ = 0 ∑ g i ( ξ ) ∣ ξ ⟩ .
Now, prepare a uniform superposition over support sizes j ∈ [ ℓ − σ , ℓ ] j \in[\ell-\sigma,\ell] j ∈ [ ℓ − σ , ℓ ] and, for each j j j , over all j j j -subsets, and place the local Fourier states on that subset. Since the resulting vector y y y determines both j = ∣ y ∣ j = |y| j = ∣ y ∣ and the chosen subset supp y \operatorname{supp} y supp y , we can erase auxiliary labels and compute syndrome B T y B^{\mathsf{T}}y B T y . By [17 Proposition 6.2] , we obtain the state
1 Z 0 ∑ y F ^ ℓ ( y ) ∣ y ⟩ ∣ B T y ⟩ = 1 Z 0 ∑ s ( ∑ B T y = s ∣ y ∣ ≤ ℓ F ^ ℓ ( y ) ∣ y ⟩ ) ∣ s ⟩ . (103) \frac{1}{\sqrt{Z_0}}\sum_y \widehat{F}_\ell(y)|y\rangle|B^{\mathsf{T}}y\rangle= \frac{1}{\sqrt{Z_0}}\sum_s\left(\sum_{\substack{B^{\mathsf{T}}y=s\\|y|\le\ell}}\widehat{F}_\ell(y)|y\rangle\right)|s\rangle. \tag*{(103)} Z 0 1 y ∑ F ℓ ( y ) ∣ y ⟩ ∣ B T y ⟩ = Z 0 1 s ∑ B T y = s ∣ y ∣ ≤ ℓ ∑ F ℓ ( y ) ∣ y ⟩ ∣ s ⟩ . (103)
Here, Parseval’s identity on the ambient space gives normalization Z 0 = ∑ y ∣ F ^ ℓ ( y ) ∣ 2 Z_0 = \sum_y |\widehat{F}_\ell(y)|^2 Z 0 = ∑ y ∣ F ℓ ( y ) ∣ 2 . Note that the sum over y y y versus over y y y with ∣ y ∣ ≤ ℓ |y| \le\ell ∣ y ∣ ≤ ℓ are identical since u ∣ y ∣ u_{|y|} u ∣ y ∣ and F ^ ℓ ( y ) \widehat{F}_\ell(y) F ℓ ( y ) vanish otherwise.
Step 2: Applying the Decoder. This is the key step: we must add the contributions having the same syndrome s s s coherently and erase the states ∣ y ⟩ |y\rangle ∣ y ⟩ . For each s s s , choose r s r_s r s with B T r s = s B^{\mathsf{T}}r_s=s B T r s = s , so
{ y : B T y = s , ∣ y ∣ ≤ ℓ } = { r s − c : c ∈ C ⊥ , ∣ r s − c ∣ ≤ ℓ } . \{y:B^{\mathsf{T}}y=s,|y|\le\ell\}=\{r_s-c:c\in C^\perp,|r_s-c|\le\ell\}. { y : B T y = s , ∣ y ∣ ≤ ℓ } = { r s − c : c ∈ C ⊥ , ∣ r s − c ∣ ≤ ℓ } .
Thus, a classical list decoder that finds all codewords within radius ℓ \ell ℓ of r s r_s r s will enumerate all errors y y y that appear in the sum in (103) for the same syndrome s s s . Now, the reversible indexing construction of [17 Lemma 5.1] replaces the error register by the word’s index in a canonically ordered list padded to some common length L L L . That is, for some j s ( y ) ∈ [ L ] j_s(y) \in[L] j s ( y ) ∈ [ L ] , from the state in (103) , we can efficiently prepare the state
1 Z 0 ∑ s ( ∑ B T y = s ∣ y ∣ ≤ ℓ F ^ ℓ ( y ) ∣ j s ( y ) ⟩ ) ∣ s ⟩ . (104) \frac{1}{\sqrt{Z_0}}\sum_s\left(\sum_{\substack{B^{\mathsf{T}}y=s\\|y|\le\ell}}\widehat{F}_\ell(y)|j_s(y)\rangle\right)|s\rangle. \tag*{(104)} Z 0 1 s ∑ B T y = s ∣ y ∣ ≤ ℓ ∑ F ℓ ( y ) ∣ j s ( y )⟩ ∣ s ⟩ . (104)
To erase the index, we take the projective measurement as in [17 Theorem 5.2] given by
∣ + L ⟩ ⟨ + L ∣ ⊗ I where ∣ + L ⟩ : = 1 L ∑ j ∈ [ L ] ∣ j ⟩ . |+_L\rangle\langle+_L|\otimes I \qquad\text{where } |+_L\rangle:= \frac{1}{\sqrt{L}}\sum_{j\in[L]}|j\rangle. ∣ + L ⟩ ⟨ + L ∣ ⊗ I where ∣ + L ⟩ := L 1 j ∈ [ L ] ∑ ∣ j ⟩ .
As ⟨ + L ∣ j s ( y ) ⟩ = L − 1 / 2 \langle+_L|j_s(y)\rangle=L^{-1/2} ⟨ + L ∣ j s ( y )⟩ = L − 1/2 , the success probability and the unnormalized successful branch are
1 L Z 0 ∑ s ∣ ∑ B T y = s F ^ ℓ ( y ) ∣ 2 = Z ℓ L Z 0 and 1 L Z 0 ∑ s ( ∑ B T y = s F ^ ℓ ( y ) ) ∣ s ⟩ , (105) \frac{1}{LZ_0}\sum_s\left|\sum_{B^{\mathsf{T}}y=s}\widehat{F}_\ell(y)\right|^2=\frac{Z_\ell}{LZ_0}
\qquad\text{and}\qquad
\frac{1}{\sqrt{LZ_0}}\sum_s\left(\sum_{B^{\mathsf{T}}y=s}\widehat{F}_\ell(y)\right)|s\rangle, \tag*{(105)} L Z 0 1 s ∑ B T y = s ∑ F ℓ ( y ) 2 = L Z 0 Z ℓ and L Z 0 1 s ∑ B T y = s ∑ F ℓ ( y ) ∣ s ⟩ , (105)
respectively. Here, we used Parseval’s identity on the message space to obtain
Z ℓ = E z ∈ F p k ∣ F ℓ ( B z ) ∣ 2 = ∑ s ∣ ∑ B ⊤ y = s F ^ ℓ ( y ) ∣ 2 . Z_{\ell}=\mathbb{E}_{z\in\mathbb{F}_p^k}\lvert F_{\ell}(Bz)\rvert^2=\sum_s\left\lvert\sum_{B^{\top}y=s}\widehat{F}_{\ell}(y)\right\rvert^2. Z ℓ = E z ∈ F p k ∣ F ℓ ( B z ) ∣ 2 = s ∑ B ⊤ y = s ∑ F ℓ ( y ) 2 .
Note that padding ensures the common factor L − 1 / 2 L^{-1/2} L − 1/2 ; using a different length normalization for each list would change the target amplitudes.
Step 3: Inverse Fourier Transform. Finally, the inverse Fourier transform and the encoding z ↦ B z z\mapsto Bz z ↦ B z turn (105) into the scaled version of ∣ φ ℓ ⟩ \lvert\varphi_{\ell}\rangle ∣ φ ℓ ⟩ , with squared norm Z ℓ / ( L Z 0 ) Z_{\ell}/(LZ_0) Z ℓ / ( L Z 0 )
1 L Z 0 ∣ C ∣ ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ ∝ ∣ φ ℓ ⟩ . (106) \frac{1}{\sqrt{LZ_0\lvert C\rvert}}\sum_{x\in C}F_{\ell}(x)\lvert x\rangle\propto\lvert\varphi_{\ell}\rangle. \tag*{(106)} L Z 0 ∣ C ∣ 1 x ∈ C ∑ F ℓ ( x ) ∣ x ⟩ ∝ ∣ φ ℓ ⟩ . (106)
Indeed, the square-norm calculation follows (105) . The inverse Fourier transform of the syndrome amplitudes is exactly F ℓ ( B z ) / ∣ C ∣ F_{\ell}(Bz)/\sqrt{\lvert C\rvert} F ℓ ( B z ) / ∣ C ∣ , and encoding z ↦ B z z\mapsto Bz z ↦ B z gives (106) . This is via Fourier inversion:
F ℓ ( B z ) = ∑ y F ^ ℓ ( y ) e p ( − ⟨ B z , y ⟩ ) = ∑ s e p ( − ⟨ z , s ⟩ ) ( ∑ B ⊤ y = s F ^ ℓ ( y ) ) . F_{\ell}(Bz)=\sum_y\widehat{F}_{\ell}(y)e_p(-\langle Bz,y\rangle)=\sum_s e_p(-\langle z,s\rangle)\left(\sum_{B^{\top}y=s}\widehat{F}_{\ell}(y)\right). F ℓ ( B z ) = y ∑ F ℓ ( y ) e p ( − ⟨ B z , y ⟩) = s ∑ e p ( − ⟨ z , s ⟩) B ⊤ y = s ∑ F ℓ ( y ) .
Improved Semicircle Law
In this section, we prove Theorem 1.9 (1). We will reduce to the case where ∣ S i ∣ = ρ p \lvert S_i\rvert=\rho p ∣ S i ∣ = ρp for every i i i via Proposition 2.14 , so fix ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) . Also fix a rate R ∈ ( 0 , 1 ) R\in(0,1) R ∈ ( 0 , 1 ) , and an arbitrarily small error parameter ϵ > 0 \epsilon>0 ϵ > 0 . We wish use the algorithm in Theorem 6.1 to prepare ∣ φ ℓ ⟩ \lvert\varphi_{\ell}\rangle ∣ φ ℓ ⟩ , where ℓ = ⌊ α n ⌋ \ell=\lfloor\alpha n\rfloor ℓ = ⌊ α n ⌋ and we choose
α ∈ ( 0 , min ( 1 − ρ , R ) ) such that SCL ρ ( α ) ≥ SCL ρ ( R ) − ϵ 10 . (107) \alpha\in(0,\min(1-\rho,R))\quad\text{such that}\quad\operatorname{SCL}_{\rho}(\alpha)\geq\operatorname{SCL}_{\rho}(R)-\frac{\epsilon}{10}. \tag*{(107)} α ∈ ( 0 , min ( 1 − ρ , R )) such that SCL ρ ( α ) ≥ SCL ρ ( R ) − 10 ϵ . (107)
To apply Theorem 6.1 effectively and prove Theorem 1.9 (1), we must first establish both that L Z 0 / Z ℓ LZ_0/Z_{\ell} L Z 0 / Z ℓ is polynomially bounded (so that the success probability is not too small) and that the prepared state yields a sufficiently good solution with nonnegligible probability. We verify these conditions in the following below.
Lemma 6.2. For any 0 < α ≤ 1 − ρ 0<\alpha\leq1-\rho 0 < α ≤ 1 − ρ with α < R \alpha<R α < R , let ℓ = ⌊ α n ⌋ \ell=\lfloor\alpha n\rfloor ℓ = ⌊ α n ⌋ and define ∣ φ ℓ ⟩ \lvert\varphi_{\ell}\rangle ∣ φ ℓ ⟩ , F ℓ F_{\ell} F ℓ as in (72) . Then, Z 0 = σ + 1 Z_0=\sigma+1 Z 0 = σ + 1 and Z ℓ = σ + 1 + e − Ω ( n ) Z_{\ell}=\sigma+1+e^{-\Omega(n)} Z ℓ = σ + 1 + e − Ω ( n ) . Moreover, the expected satisfaction ratio of the outcome x x x obtained by measuring the DQI state ∣ φ ℓ ⟩ \lvert\varphi_{\ell}\rangle ∣ φ ℓ ⟩ is SCL ρ ( α ) + o ( 1 ) \operatorname{SCL}_{\rho}(\alpha)+o(1) SCL ρ ( α ) + o ( 1 ) .
Proof. By orthogonality in (71) , we see that Z 0 = σ + 1 Z_0=\sigma+1 Z 0 = σ + 1 . We verify (73) to apply Theorem 5.5 to bound Z ℓ Z_{\ell} Z ℓ and the expected satisfaction ratio. Let π j ( α ) : = P ( B = j ) = ( n j ) α j ( 1 − α ) n − j \pi_j(\alpha):=\mathbb{P}(B=j)=\binom{n}{j}\alpha^j(1-\alpha)^{n-j} π j ( α ) := P ( B = j ) = ( j n ) α j ( 1 − α ) n − j for B ∼ Bin ( n , α ) B\sim\operatorname{Bin}(n,\alpha) B ∼ Bin ( n , α ) . Note that h ( t ) : = 2 t ( 1 − t ) + t ∣ β ρ ∣ h(t):=2\sqrt{t(1-t)}+t\lvert\beta_{\rho}\rvert h ( t ) := 2 t ( 1 − t ) + t ∣ β ρ ∣ is nondecreasing for t ∈ [ 0 , 1 − ρ ] t\in[0,1-\rho] t ∈ [ 0 , 1 − ρ ] , so it attains maximum at h ( 1 − ρ ) = b ρ h(1-\rho)=b_{\rho} h ( 1 − ρ ) = b ρ . Now, substituting z = α / ( 1 − α ) z=\sqrt{\alpha/(1-\alpha)} z = α / ( 1 − α ) into (75) gives
N ~ ρ ( j , j ′ ; t ) ( n j ) ( n j ′ ) ≤ ( 2 α ( 1 − α ) + α ∣ β ρ ∣ ) t π j ( α ) π j ′ ( α ) ≤ b ρ t π j ( α ) π j ′ ( α ) = Θ ( b ρ t n ) . (108) \frac{\widetilde{N}_{\rho}(j,j';t)}{\sqrt{\binom{n}{j}\binom{n}{j'}}}\leq\frac{\left(2\sqrt{\alpha(1-\alpha)}+\alpha\lvert\beta_{\rho}\rvert\right)^t}{\sqrt{\pi_j(\alpha)\pi_{j'}(\alpha)}}\leq\frac{b_{\rho}^t}{\sqrt{\pi_j(\alpha)\pi_{j'}(\alpha)}}=\Theta\left(b_{\rho}^t\sqrt{n}\right). \tag*{(108)} ( j n ) ( j ′ n ) N ρ ( j , j ′ ; t ) ≤ π j ( α ) π j ′ ( α ) ( 2 α ( 1 − α ) + α ∣ β ρ ∣ ) t ≤ π j ( α ) π j ′ ( α ) b ρ t = Θ ( b ρ t n ) . (108)
where we justify the last step as follows: for j , j ′ ∈ [ ℓ − σ − 1 , ℓ + 1 ] j,j'\in[\ell-\sigma-1,\ell+1] j , j ′ ∈ [ ℓ − σ − 1 , ℓ + 1 ] , recalling that σ = ⌊ log log n ⌋ \sigma=\lfloor\log\log n\rfloor σ = ⌊ log log n ⌋ , we have that ∣ j − α n ∣ = O ( log log n ) \lvert j-\alpha n\rvert=O(\log\log n) ∣ j − α n ∣ = O ( log log n ) , so Stirling’s formula gives π j ( α ) = Θ ( n − 1 / 2 ) \pi_j(\alpha)=\Theta(n^{-1/2}) π j ( α ) = Θ ( n − 1/2 ) and π j ′ ( α ) = \pi_{j'}(\alpha)= π j ′ ( α ) = Θ ( n − 1 / 2 ) \Theta(n^{-1/2}) Θ ( n − 1/2 ) uniformly for such pairs j , j ′ j,j' j , j ′ . Thus, by Lemma 5.3 , for every pair in (73) and every k < t ≤ min { n , j + j ′ } k<t\le\min\{n,j+j'\} k < t ≤ min { n , j + j ′ } ,
N ~ ρ ( j , j ′ ; t ) ( n j ) ( n j ′ ) ∣ E x ∈ C q t ( x ) ∣ ≤ O ( n ) ∑ y ∈ C ⊥ ∣ y ∣ = t b ∣ y ∣ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ e − Ω ( n ) . \frac{\widetilde{N}_{\rho}(j,j';t)}{\sqrt{\binom{n}{j}\binom{n}{j'}}}\left|\mathbb{E}_{x\in C^{q_t}(x)}\right|\le O(\sqrt{n})\sum_{\substack{y\in C^\perp\\ |y|=t}} b^{|y|}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|\le e^{-\Omega(n)}. ( j n ) ( j ′ n ) N ρ ( j , j ′ ; t ) E x ∈ C q t ( x ) ≤ O ( n ) y ∈ C ⊥ ∣ y ∣ = t ∑ b ∣ y ∣ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ e − Ω ( n ) .
where the last inequality is by Lemma 5.6 . Its support assumption holds uniformly here since t ≤ min { n , 2 ℓ + 2 } t\le\min\{n,2\ell+2\} t ≤ min { n , 2 ℓ + 2 } and 2 k − ( 2 ℓ + 2 ) = 2 ( R − α ) n − O ( 1 ) = Ω ( n ) 2k-(2\ell+2)=2(R-\alpha)n-O(1)=\Omega(n) 2 k − ( 2 ℓ + 2 ) = 2 ( R − α ) n − O ( 1 ) = Ω ( n ) . Now, Theorem 5.5 gives Z ℓ = σ + 1 + O ( e − Ω ( n ) ) Z_\ell=\sigma+1+O(e^{-\Omega(n)}) Z ℓ = σ + 1 + O ( e − Ω ( n ) ) and expected satisfaction ratio SCL ρ ( ℓ / n ) + o ( 1 ) = SCL ρ ( α ) + o ( 1 ) \operatorname{SCL}_{\rho}(\ell/n)+o(1)=\operatorname{SCL}_{\rho}(\alpha)+o(1) SCL ρ ( ℓ / n ) + o ( 1 ) = SCL ρ ( α ) + o ( 1 ) .
Since ℓ / n ∼ α < R \ell/n\sim\alpha<R ℓ / n ∼ α < R , the list decoder in Theorem 2.2 satisfies the condition in Theorem 6.1 with L = n O ( 1 ) L=n^{O(1)} L = n O ( 1 ) . Next, we put this together to prove Theorem 1.9 (1) via the algorithm in Theorem 6.1 .
Proof of Theorem 1.9 (1). First suppose that all lists have common exact density ρ \rho ρ . Since C ⊥ C^\perp C ⊥ has rate 1 − R 1-R 1 − R and α < R \alpha<R α < R with a fixed gap, Theorems 2.2 and 2.3 give a deterministic list decoder with polynomial running time and a uniform list bound L = n O ( 1 ) L=n^{O(1)} L = n O ( 1 ) , as required by Theorem 6.1 . By Lemma 6.2 and (107) , measuring ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ gives expected satisfaction at least SCL ρ ( R ) − ε / 2 \operatorname{SCL}_{\rho}(R)-\varepsilon/2 SCL ρ ( R ) − ε /2 for sufficiently large n n n . Since satisfaction lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] , the probability of obtaining satisfaction at least SCL ρ ( R ) − ε \operatorname{SCL}_{\rho}(R)-\varepsilon SCL ρ ( R ) − ε is at least ε / 2 \varepsilon/2 ε /2 by applying Markov’s inequality to 1 − s ( x ) 1-s(x) 1 − s ( x ) .
Lemma 6.2 implies that Z ℓ / Z 0 ≥ 1 / 2 Z_\ell/Z_0\ge1/2 Z ℓ / Z 0 ≥ 1/2 , so the algorithm from Theorem 6.1 prepares the state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ successfully with probability at least 1 / ( 2 L ) 1/(2L) 1/ ( 2 L ) . By the above reasoning, this returns a solution with satisfaction at least SCL ρ ( R ) − ε \operatorname{SCL}_{\rho}(R)-\varepsilon SCL ρ ( R ) − ε with probability at least ε / ( 4 L ) \varepsilon/(4L) ε / ( 4 L ) . The final algorithm then runs this algorithm T = O ( L log n ) T=O(L\log n) T = O ( L log n ) times independently, evaluates the successful outputs’ scores exactly, and retains the best. The fact that L = n O ( 1 ) L=n^{O(1)} L = n O ( 1 ) gives the claimed running time, and shows that the success probability is at least
1 − ( 1 − ε 4 L ) T ≥ 1 − 1 n Ω ( ε ) = 1 − o ( 1 ) . 1-\left(1-\frac{\varepsilon}{4L}\right)^T\ge1-\frac{1}{n^{\Omega(\varepsilon)}}=1-o(1). 1 − ( 1 − 4 L ε ) T ≥ 1 − n Ω ( ε ) 1 = 1 − o ( 1 ) .
Finally, if lists sizes satisfy ∣ S i ∣ ≥ ρ p |S_i|\ge\rho p ∣ S i ∣ ≥ ρp , the common-size algorithm above succeeds on every tuple of ρ p \rho p ρp -element lists. For truth-table input, trim each list to size ρ p \rho p ρp ; for oracle input, apply Proposition 2.14 to this common-size algorithm. Both reductions preserve satisfaction on the original lists and give the claimed high-probability guarantee in polynomial time.
Finally, we leverage Lemma 6.2 to prove Theorem 1.12, which we restate below.
Theorem 1.12 (Existential improvement beyond the double semicircle law). Fix ρ ∈ ( 0 , 1 / 2 ) \rho\in(0,1/2) ρ ∈ ( 0 , 1/2 ) and ε > 0 \varepsilon>0 ε > 0 . For sufficiently large n n n , every Reed–Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n of fixed rate R ∈ ( ρ , 1 / 2 ] R\in(\rho,1/2] R ∈ ( ρ , 1/2 ] over a prime field with p ≥ n p\ge n p ≥ n admits, for every instance with ∣ S i ∣ ≥ ρ p |S_i|\ge\rho p ∣ S i ∣ ≥ ρp for all i i i , a solution Q ∈ F p [ X ] Q\in\mathbb{F}_p[X] Q ∈ F p [ X ] with deg Q < k \deg Q<k deg Q < k with satisfaction ratio s ( Q ) ≥ V ρ ( R ) − ε s(Q)\ge V_\rho(R)-\varepsilon s ( Q ) ≥ V ρ ( R ) − ε , where
V ρ ( R ) : = 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) . (109) V_\rho(R):=1-(1-2\rho)(1-2R). \tag*{(109)} V ρ ( R ) := 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) . (109)
Before proving Theorem 1.12, which give a quick overview of the proof. Choose a set T T T of t t t coordinates and consider the DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ on the OPI instance with constraints T c T^c T c . The state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ induces a distribution on codewords x x x in the punctured code, and hence a distribution on codewords x ∈ C x\in C x ∈ C (the original code of length n n n ). To see this, lift each punctured word uniformly to its fiber in C C C and observe that all fibers have the same size. Condition on the event that x ∈ C x\in C x ∈ C from this distribution satisfies all constraints indexed by T T T , using the normalized indicator
A T ( x ) : = ρ − t ∏ i ∈ T 1 { x i ∈ S i } . (110) A_T(x):=\rho^{-t}\prod_{i\in T}\mathbf{1}\{x_i\in S_i\}. \tag*{(110)} A T ( x ) := ρ − t i ∈ T ∏ 1 { x i ∈ S i } . (110)
The resulting conditioned state has amplitude A T F ℓ \sqrt{A_TF_\ell} A T F ℓ . We follow the proof of Lemma 6.2 to show that this conditioned state satisfies every constraint in T T T and satisfies a double semicircle law fraction of constraints on T c T^c T c whenever t + 2 ℓ ≤ 2 k − Ω ( n ) t+2\ell\le2k-\Omega(n) t + 2 ℓ ≤ 2 k − Ω ( n ) , for a total satisfaction ratio of
E C [ s A T F ℓ 2 ] E C [ A T F ℓ 2 ] = t n + n − t n SCL ρ ( ℓ n − t ) + o ( 1 ) . \frac{\mathbb{E}_C[sA_TF_\ell^2]}{\mathbb{E}_C[A_TF_\ell^2]}=\frac{t}{n}+\frac{n-t}{n}\operatorname{SCL}_{\rho}\left(\frac{\ell}{n-t}\right)+o(1). E C [ A T F ℓ 2 ] E C [ s A T F ℓ 2 ] = n t + n n − t SCL ρ ( n − t ℓ ) + o ( 1 ) .
Then, optimizing t , ℓ t,\ell t , ℓ subject to t + 2 ℓ ≤ 2 k − Ω ( n ) t+2\ell\le2k-\Omega(n) t + 2 ℓ ≤ 2 k − Ω ( n ) gives satisfaction ratio arbitrarily close to V ρ ( R ) V_\rho(R) V ρ ( R ) . For simplicity, in the proof below we set t t t and ℓ \ell ℓ to be these optimizers from the outset.
Proof of Theorem 1.12. By thinning to a common list size (see § 4.4 ), it suffices to consider a common density ρ \rho ρ . Choose a fixed η ∈ ( 0 , R − ρ ) \eta\in(0,R-\rho) η ∈ ( 0 , R − ρ ) sufficiently small relative to ε \varepsilon ε , and set
t : = ⌊ 2 ( R − η − ρ ) 1 − 2 ρ n ⌋ t:=\left\lfloor\frac{2(R-\eta-\rho)}{1-2\rho}n\right\rfloor t := ⌊ 1 − 2 ρ 2 ( R − η − ρ ) n ⌋
Fix any set T ∈ ( [ n ] t ) T\in\binom{[n]}{t} T ∈ ( t [ n ] ) , let N : = n − t N:=n-t N := n − t , and let ℓ : = ⌊ ρ N ⌋ \ell:=\lfloor\rho N\rfloor ℓ := ⌊ ρN ⌋ . Then, we see that
N = Θ ( n ) and t + 2 ℓ = 2 ( R − η ) n ≤ 2 k − Ω ( n ) . (111) N=\Theta(n)\qquad\text{and}\qquad t+2\ell=2(R-\eta)n\le2k-\Omega(n). \tag*{(111)} N = Θ ( n ) and t + 2 ℓ = 2 ( R − η ) n ≤ 2 k − Ω ( n ) . (111)
Now, let C ∣ T c ⊆ F p T c C|_{T^c}\subseteq\mathbb{F}_p^{T^c} C ∣ T c ⊆ F p T c be the puncturing of C C C to the coordinates indexed by T c T^c T c . Consider the OPI instance given by C ∣ T c C|_{T^c} C ∣ T c with the corresponding input lists S i S_i S i for i ∈ T c i\in T^c i ∈ T c . We will consider the DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ on this instance with parameters ℓ : = ⌊ ρ N ⌋ \ell:=\lfloor\rho N\rfloor ℓ := ⌊ ρN ⌋ , σ : = ⌊ log log N ⌋ \sigma:=\lfloor\log\log N\rfloor σ := ⌊ log log N ⌋ . That is, let
∣ φ ℓ ⟩ ∝ ∑ x ∈ C ∣ T c F ℓ ( x ) ∣ x ⟩ , |\varphi_\ell\rangle\propto\sum_{x\in C|_{T^c}}F_\ell(x)|x\rangle, ∣ φ ℓ ⟩ ∝ x ∈ C ∣ T c ∑ F ℓ ( x ) ∣ x ⟩ ,
where
F ℓ ( x ) : = ∑ j = ℓ − σ ℓ q j ( x ) ( N j ) where q j ( x ) : = ∑ B ∈ ( T c j ) ∏ i ∈ B g i ( x i ) and g i ( x i ) : = 1 S i ( x i ) − ρ ρ ( 1 − ρ ) . (112) F_\ell(x):=\sum_{j=\ell-\sigma}^{\ell}\frac{q_j(x)}{\sqrt{\binom{N}{j}}}
\qquad\text{where}\qquad
q_j(x):=\sum_{B\in\binom{T^c}{j}}\prod_{i\in B}g_i(x_i)
\qquad\text{and}\qquad
g_i(x_i):=\frac{\boldsymbol{1}_{S_i}(x_i)-\rho}{\sqrt{\rho(1-\rho)}}. \tag*{(112)} F ℓ ( x ) := j = ℓ − σ ∑ ℓ ( j N ) q j ( x ) where q j ( x ) := B ∈ ( j T c ) ∑ i ∈ B ∏ g i ( x i ) and g i ( x i ) := ρ ( 1 − ρ ) 1 S i ( x i ) − ρ . (112)
Here, we abuse notation and overload F ℓ , q j , g i F_\ell,q_j,g_i F ℓ , q j , g i to refer to the versions defined on the punctured instance for the rest of this proof. However, we distinguish between the satisfaction ratios
s ~ ( x ) : = 1 N ∑ i ∉ T 1 S i ( x i ) and s ( x ) = 1 n ∑ i = 1 n 1 S i ( x i ) . \widetilde{s}(x):=\frac{1}{N}\sum_{i\notin T}\boldsymbol{1}_{S_i}(x_i)
\qquad\text{and}\qquad
s(x)=\frac{1}{n}\sum_{i=1}^{n}\boldsymbol{1}_{S_i}(x_i). s ( x ) := N 1 i ∈ / T ∑ 1 S i ( x i ) and s ( x ) = n 1 i = 1 ∑ n 1 S i ( x i ) .
We consider the distribution μ \mu μ on C C C where μ ( x ) ∝ A T ( x ) F ℓ ( x ) 2 \mu(x)\propto A_T(x)F_\ell(x)^2 μ ( x ) ∝ A T ( x ) F ℓ ( x ) 2 , with A T ( x ) : = ρ − t ∏ i ∈ T 1 { x i ∈ S i } A_T(x):=\rho^{-t}\prod_{i\in T}\boldsymbol{1}\{x_i\in S_i\} A T ( x ) := ρ − t ∏ i ∈ T 1 { x i ∈ S i } . We think of μ \mu μ as the distribution on x ∈ C x\in C x ∈ C (or equivalently, on polynomials of degree less than k k k ) given by the DQI state ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ for the punctured instance to coordinates T c T^c T c , conditioned on satisfying every constraint in T T T . For h : F p n → R h:\mathbb{F}_p^n\to\mathbb{R} h : F p n → R , we adopt shorthand notation E h : = E x ∈ F p n [ h ( x ) ] \mathbb{E}h:=\mathbb{E}_{x\in\mathbb{F}_p^n}[h(x)] E h := E x ∈ F p n [ h ( x )] and E C h : = E x ∈ C [ h ( x ) ] \mathbb{E}_Ch:=\mathbb{E}_{x\in C}[h(x)] E C h := E x ∈ C [ h ( x )] . Then, the expected satisfaction s ( x ) s(x) s ( x ) for x ∼ μ x\sim\mu x ∼ μ is given by
E x ∼ μ [ s ( x ) ] = E C [ s A T F ℓ 2 ] E C [ A T F ℓ 2 ] = t n + n − t n E C [ s ~ A T F ℓ 2 ] E C [ A T F ℓ 2 ] . (113) \mathbb{E}_{x\sim\mu}[s(x)]=\frac{\mathbb{E}_C[sA_TF_\ell^2]}{\mathbb{E}_C[A_TF_\ell^2]}=\frac{t}{n}+\frac{n-t}{n}\frac{\mathbb{E}_C[\widetilde{s}A_TF_\ell^2]}{\mathbb{E}_C[A_TF_\ell^2]}. \tag*{(113)} E x ∼ μ [ s ( x )] = E C [ A T F ℓ 2 ] E C [ s A T F ℓ 2 ] = n t + n n − t E C [ A T F ℓ 2 ] E C [ s A T F ℓ 2 ] . (113)
To compute the numerator and denominator, we compute them first over x ∈ F p n x\in\mathbb{F}_p^n x ∈ F p n rather than x ∈ C x\in C x ∈ C , and argue that passing from the uniform distribution on F p n \mathbb{F}_p^n F p n to that on C C C changes the expectations by an exponentially small amount. By (71) , and by the fact that q j , q j ′ q_j,q_{j'} q j , q j ′ depend only on the coordinates x i x_i x i for i ∈ T c i \in T^c i ∈ T c while A T A_T A T depends only on coordinates x i x_i x i for i ∈ T i \in T i ∈ T , we see that
E [ A T q j q j ′ ] = E [ q j q j ′ ] = ( N j ) 1 { j = j ′ } . (114) \mathbb{E}[A_Tq_jq_{j'}]=\mathbb{E}[q_jq_{j'}]=\binom{N}{j}\mathbb{1}\{j=j'\}. \tag*{(114)} E [ A T q j q j ′ ] = E [ q j q j ′ ] = ( j N ) 1 { j = j ′ } . (114)
Therefore, conditioning on A T A_T A T preserves the expectations over F p n \mathbb{F}_p^n F p n , i.e.
E [ A T F ℓ 2 ] = E [ F ℓ 2 ] = σ + 1 , E [ s ~ A T F ℓ 2 ] = E [ s ~ F ℓ 2 ] = [ SCL ρ ( ρ ) + o ( 1 ) ] ( σ + 1 ) . (115) \begin{aligned}
\mathbb{E}[A_TF_\ell^2]&=\mathbb{E}[F_\ell^2]=\sigma+1,\\
\mathbb{E}[\widetilde{s}A_TF_\ell^2]&=\mathbb{E}[\widetilde{s}F_\ell^2]=[\operatorname{SCL}_\rho(\rho)+o(1)](\sigma+1). \tag*{(115)}
\end{aligned} E [ A T F ℓ 2 ] E [ s A T F ℓ 2 ] = E [ F ℓ 2 ] = σ + 1 , = E [ s F ℓ 2 ] = [ SCL ρ ( ρ ) + o ( 1 )] ( σ + 1 ) . (115)
where the semicircle law is evaluated at ρ \rho ρ since ℓ ∼ ρ N \ell\sim\rho N ℓ ∼ ρN . The equalities follow (71) and the three-term recurrence in Lemma 5.4. Next, recall Lemma 5.6 . As ρ ≤ 1 / 2 \rho\le1/2 ρ ≤ 1/2 by assumption, b ρ = λ = ( 1 − ρ ) / ρ b_\rho=\lambda=\sqrt{(1-\rho)/\rho} b ρ = λ = ( 1 − ρ ) / ρ . Now, apply the proof of Lemma 6.2 verbatim to the punctured instance and with N N N in place of n n n and α = ρ \alpha=\rho α = ρ to obtain the following analog of (108) : for ℓ − σ − 1 ≤ j , j ′ ≤ ℓ + 1 \ell-\sigma-1\le j,j'\le\ell+1 ℓ − σ − 1 ≤ j , j ′ ≤ ℓ + 1 ,
q j ( x ) q j ′ ( x ) ( N j ) ( N j ′ ) = ∑ B ⊂ T c c B ∏ i ∈ B g i ( x i ) . \frac{q_j(x)q_{j'}(x)}{\sqrt{\binom{N}{j}\binom{N}{j'}}}
=\sum_{B\subset T^c}c_B\prod_{i\in B}g_i(x_i). ( j N ) ( j ′ N ) q j ( x ) q j ′ ( x ) = B ⊂ T c ∑ c B i ∈ B ∏ g i ( x i ) .
where c ∅ = 1 { j = j ′ } c_\varnothing=\mathbb{1}\{j=j'\} c ∅ = 1 { j = j ′ } , c B = 0 c_B=0 c B = 0 if ∣ B ∣ > j + j ′ |B|>j+j' ∣ B ∣ > j + j ′ , and otherwise ∣ c B ∣ = O ( b ρ ∣ B ∣ N ) = O ( λ ∣ B ∣ N ) |c_B|=O(b_\rho^{|B|}\sqrt{N})=O(\lambda^{|B|}\sqrt{N}) ∣ c B ∣ = O ( b ρ ∣ B ∣ N ) = O ( λ ∣ B ∣ N ) . Observe that A T ( x ) = ∏ i ∈ T ( 1 + λ g i ( x i ) ) A_T(x)=\prod_{i\in T}(1+\lambda g_i(x_i)) A T ( x ) = ∏ i ∈ T ( 1 + λ g i ( x i )) by definition of g i g_i g i . Applying this and taking expectations over x ∈ C x\in C x ∈ C ,
E C [ A T q j q j ′ ] ( N j ) ( N j ′ ) = c ∅ + ∑ ∅ ≠ D ⊂ [ n ] λ ∣ D ∩ T ∣ c D ∩ T c E x ∈ C [ ∏ i ∈ D g i ( x i ) ] . \frac{\mathbb{E}_C[A_Tq_jq_{j'}]}{\sqrt{\binom{N}{j}\binom{N}{j'}}}
=c_\varnothing+\sum_{\varnothing\ne D\subset[n]}\lambda^{|D\cap T|}c_{D\cap T^c}\mathbb{E}_{x\in C}\left[\prod_{i\in D}g_i(x_i)\right]. ( j N ) ( j ′ N ) E C [ A T q j q j ′ ] = c ∅ + ∅ = D ⊂ [ n ] ∑ λ ∣ D ∩ T ∣ c D ∩ T c E x ∈ C [ i ∈ D ∏ g i ( x i ) ] .
Now, we obtain the key comparison inequality that says switching distributions from x ∈ F p n x\in\mathbb{F}_p^n x ∈ F p n to x ∈ C x\in C x ∈ C incurs exponentially small error for the relevant expectations in (113) :
∣ E C [ A T q j q j ′ ] − E [ A T q j q j ′ ] ( N j ) ( N j ′ ) ∣ = ∣ E C [ A T q j q j ′ ] ( N j ) ( N j ′ ) − 1 { j = j ′ } ∣ ≤ O ( N ) ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ t + j + j ′ ∏ i ∈ supp ( y ) ∣ λ g i ^ ( y i ) ∣ ≤ e − Ω ( n ) . \begin{aligned}
\left|\frac{\mathbb{E}_C[A_Tq_jq_{j'}]-\mathbb{E}[A_Tq_jq_{j'}]}{\sqrt{\binom{N}{j}\binom{N}{j'}}}\right|
=\left|\frac{\mathbb{E}_C[A_Tq_jq_{j'}]}{\sqrt{\binom{N}{j}\binom{N}{j'}}}-\mathbb{1}\{j=j'\}\right| \\
&\le O(\sqrt{N})\sum_{\substack{0\ne y\in C^\perp\\ |y|\le t+j+j'}}\prod_{i\in\operatorname{supp}(y)}|\lambda^{\widehat{g_i}(y_i)}| \\
&\le e^{-\Omega(n)}.
\end{aligned} ( j N ) ( j ′ N ) E C [ A T q j q j ′ ] − E [ A T q j q j ′ ] = ( j N ) ( j ′ N ) E C [ A T q j q j ′ ] − 1 { j = j ′ } ≤ O ( N ) 0 = y ∈ C ⊥ ∣ y ∣ ≤ t + j + j ′ ∑ i ∈ supp ( y ) ∏ ∣ λ g i ( y i ) ∣ ≤ e − Ω ( n ) .
We justify the steps as follows: the first step holds by (114) , the second step follows from Lemma 5.3 and our computation of c B c_B c B above, and the last step is given by Lemma 5.6 where we check its hypothesis holds by (111) and that j , j ′ ≤ ℓ + 1 ∼ ρ N j,j'\le\ell+1\sim\rho N j , j ′ ≤ ℓ + 1 ∼ ρN , so 2 k − ( t + j + j ′ ) ≥ 2 η n − O ( 1 ) 2k-(t+j+j')\ge2\eta n-O(1) 2 k − ( t + j + j ′ ) ≥ 2 η n − O ( 1 ) . Now, by expanding F ℓ 2 F_\ell^2 F ℓ 2 and s ~ F ℓ 2 \widetilde{s}F_\ell^2 s F ℓ 2 in terms of q j q_j q j and q j ′ q_{j'} q j ′ via Lemma 5.4, we see that
∣ E C [ s ~ A T F ℓ 2 ] − E [ s ~ A T F ℓ 2 ] ∣ ≤ e − Ω ( n ) \left|\mathbb{E}_C[\widetilde{s}A_TF_\ell^2]-\mathbb{E}[\widetilde{s}A_TF_\ell^2]\right|\le e^{-\Omega(n)} E C [ s A T F ℓ 2 ] − E [ s A T F ℓ 2 ] ≤ e − Ω ( n )
and
∣ E C [ A T F ℓ 2 ] − E [ A T F ℓ 2 ] ∣ ≤ e − Ω ( n ) . \left|\mathbb{E}_C[A_TF_\ell^2]-\mathbb{E}[A_TF_\ell^2]\right|\le e^{-\Omega(n)}. E C [ A T F ℓ 2 ] − E [ A T F ℓ 2 ] ≤ e − Ω ( n ) .
Combining with (115) and (113) , we see that
E x ∼ μ [ s ( x ) ] = t n + n − t n E C [ s ~ A T F ℓ 2 ] E C [ A T F ℓ 2 ] = t n + n − t n SCL ρ ( ρ ) + o ( 1 ) \begin{aligned}
\mathbb{E}_{x\sim\mu}[s(x)]
=\frac{t}{n}+\frac{n-t}{n}\frac{\mathbb{E}_C[\widetilde{s}A_TF_\ell^2]}{\mathbb{E}_C[A_TF_\ell^2]} \\
&=\frac{t}{n}+\frac{n-t}{n}\operatorname{SCL}_\rho(\rho)+o(1)
\end{aligned} E x ∼ μ [ s ( x )] = n t + n n − t E C [ A T F ℓ 2 ] E C [ s A T F ℓ 2 ] = n t + n n − t SCL ρ ( ρ ) + o ( 1 )
= 1 − n − t n ( 1 − 2 ρ ) 2 + o ( 1 ) = 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) − 2 ( 1 − 2 ρ ) η + o ( 1 ) . \begin{aligned}
&= 1 - \frac{n-t}{n}(1-2\rho)^2 + o(1)\\
&= 1 - (1-2\rho)(1-2R) - 2(1-2\rho)\eta+ o(1).
\end{aligned} = 1 − n n − t ( 1 − 2 ρ ) 2 + o ( 1 ) = 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) − 2 ( 1 − 2 ρ ) η + o ( 1 ) .
where the computation follows our choice of parameters of ℓ \ell ℓ and t t t . Hence, some x ∈ C x \in C x ∈ C has score
s ( x ) ≥ 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) − ε , s(x) \ge1 - (1-2\rho)(1-2R) - \varepsilon, s ( x ) ≥ 1 − ( 1 − 2 ρ ) ( 1 − 2 R ) − ε ,
upon choosing η \eta η sufficiently small and then n n n sufficiently large. This proves the theorem.
Remark 6.3. The crucial idea in the proof is the puncturing to T c T^c T c and conditioning via A T A_T A T . In comparison to the proof of Theorem 1.11(3) (near-optimal OPI discrepancy in the case when R + ρ > 1 R+\rho>1 R + ρ > 1 ), which also uses Lemma 5.6 , here A T F ℓ 2 A_TF_\ell^2 A T F ℓ 2 has support degree at most t + 2 ℓ t+2\ell t + 2 ℓ —rather than 2 ( t + ℓ ) 2(t+\ell) 2 ( t + ℓ ) —by paying for the coordinates in T T T once. We are then able to apply Lemma 5.6 with t + 2 ℓ < 2 k − Ω ( n ) t+2\ell<2k-\Omega(n) t + 2 ℓ < 2 k − Ω ( n ) even when t + ℓ > k t+\ell>k t + ℓ > k . This is the parameter regime in Theorem 1.12, and why the proof of Theorem 1.11(3) for R + ρ > 1 R+\rho>1 R + ρ > 1 does not apply.
This parameter regime also explains why the satisfaction ratio in Theorem 1.12 cannot immediately be attained quantum algorithmically. One might be tempted to use the algorithm in Section 6.1 to prepare the state whose corresponding distribution is μ \mu μ . This state has amplitudes given by A T F ℓ \sqrt{A_TF_\ell} A T F ℓ , and directly using that implementation would require list decoding of C ⊥ C^\perp C ⊥ through radius t + ℓ t+\ell t + ℓ . The dual has rate 1 − R 1-R 1 − R , so the list-decoding capacity theorem implies that it cannot be reliably list-decoded (with polynomial list sizes) beyond radius R R R . On the other hand, our parameters give
t + ℓ n = R − η + t 2 n > R \frac{t+\ell}{n}=R-\eta+\frac{t}{2n}>R n t + ℓ = R − η + 2 n t > R
for sufficiently small fixed η \eta η . Therefore, the associated list sizes in the list-decoding steps are then exponentially large, and our implementation in Section 6.1 fails to prepare this state efficiently.
Perfect Solution at Capacity
Lastly, we prove Theorem 1.9 (2). In this case, assume R + ρ > 1 R+\rho>1 R + ρ > 1 . Then, the guarantee in Theorem 1.9 (1) gives an near perfect solution, that is, a satisfaction ratio at least 1 − ε 1-\varepsilon 1 − ε for every fixed ε > 0 \varepsilon>0 ε > 0 . We refine the analysis to show that in this case we can find a perfect solution that satisfies every constraint.
We run the same algorithm (Theorem 6.1 ) with the capacity list decoder (Theorem 2.2 ) with
ℓ : = ⌊ ( 1 − ρ ) n ⌋ (116) \ell:= \lfloor(1-\rho)n\rfloor \tag*{(116)} ℓ := ⌊( 1 − ρ ) n ⌋ (116)
to prepare ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ . Both the theorems apply as ℓ < k − Ω ( n ) \ell<k-\Omega(n) ℓ < k − Ω ( n ) , as checked in Lemma 6.2 . Now, we show that measuring ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ gives decent probability of obtaining a perfect solution.
Lemma 6.4. Fix ℓ \ell ℓ from (116) and ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ from (72) . Then, the probability of obtaining a perfect solution upon measuring ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ is
( 1 + o ( 1 ) ) σ + 1 2 π n ρ ( 1 − ρ ) ≥ n − O ( 1 ) (117) (1+o(1))\frac{\sigma+1}{\sqrt{2\pi n\rho(1-\rho)}} \ge n^{-O(1)} \tag*{(117)} ( 1 + o ( 1 )) 2 π n ρ ( 1 − ρ ) σ + 1 ≥ n − O ( 1 ) (117)
Proof. For every “perfect” codeword x ∈ C ∩ S x\in C\cap S x ∈ C ∩ S , all coordinates i ∈ [ n ] i\in[n] i ∈ [ n ] satisfy g i ( x i ) = ( 1 − ρ ) / ρ g_i(x_i)=\sqrt{(1-\rho)/\rho} g i ( x i ) = ( 1 − ρ ) / ρ . Thus, with the binomial probabilities π j \pi_j π j defined in (80) ,
F ℓ ( x ) = ∑ j = ℓ − σ ℓ ( n j ) ( 1 − ρ ρ ) j / 2 = ρ − n / 2 ∑ j = ℓ − σ ℓ π j . F_\ell(x)=\sum_{j=\ell-\sigma}^{\ell}\sqrt{\binom{n}{j}\left(\frac{1-\rho}{\rho}\right)^{j/2}}=\rho^{-n/2}\sum_{j=\ell-\sigma}^{\ell}\sqrt{\pi_j}. F ℓ ( x ) = j = ℓ − σ ∑ ℓ ( j n ) ( ρ 1 − ρ ) j /2 = ρ − n /2 j = ℓ − σ ∑ ℓ π j .
Since the squared norm of ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ \sum_{x\in C} F_\ell(x) |x\rangle ∑ x ∈ C F ℓ ( x ) ∣ x ⟩ is ∣ C ∣ Z ℓ |C|Z_\ell ∣ C ∣ Z ℓ , the probability of a perfect measurement is
∣ C ∩ S ∣ ∣ C ∣ ρ n 1 Z ℓ ( ∑ j = ℓ − σ ℓ π j ) 2 \frac{|C\cap S|}{|C|\rho^n}\frac{1}{Z_\ell}\left(\sum_{j=\ell-\sigma}^{\ell}\sqrt{\pi_j}\right)^2 ∣ C ∣ ρ n ∣ C ∩ S ∣ Z ℓ 1 j = ℓ − σ ∑ ℓ π j 2
The first factor is 1 + O ( e − Ω ( n ) ) 1+O(e^{-\Omega(n)}) 1 + O ( e − Ω ( n ) ) by Lemma 5.8 . Because 1 − ρ < R 1-\rho<R 1 − ρ < R , Lemma 6.2 applies at α = 1 − ρ \alpha=1-\rho α = 1 − ρ and gives Z ℓ = σ + 1 + O ( e − Ω ( n ) ) Z_\ell=\sigma+1+O(e^{-\Omega(n)}) Z ℓ = σ + 1 + O ( e − Ω ( n ) ) . Each j j j in the summand satisfies ∣ j − ( 1 − ρ ) n ∣ = O ( log log n ) |j-(1-\rho)n|=O(\log\log n) ∣ j − ( 1 − ρ ) n ∣ = O ( log log n ) , so Stirling's formula gives that, uniformly over all j j j ,
π j = 1 + o ( 1 ) 2 π n ρ ( 1 − ρ ) . \pi_j=\frac{1+o(1)}{\sqrt{2\pi n\rho(1-\rho)}}. π j = 2 π n ρ ( 1 − ρ ) 1 + o ( 1 ) .
The squared sum is therefore ∼ ( σ + 1 ) 2 / 2 π n ρ ( 1 − ρ ) \sim(\sigma+1)^2/\sqrt{2\pi n\rho(1-\rho)} ∼ ( σ + 1 ) 2 / 2 π n ρ ( 1 − ρ ) , which proves the desired bound. □
Now, we can repeatedly prepare ∣ φ ℓ ⟩ |\varphi_\ell\rangle ∣ φ ℓ ⟩ and measure until the outcome solution x x x satisfies every constraint. This will prove Theorem 1.9 (2); we give the formal proof below.
Proof of Theorem 1.9 (2). First suppose that all lists have common exact density ρ \rho ρ . Since R + ρ > 1 R+\rho>1 R + ρ > 1 , the choice ℓ = ⌊ ( 1 − ρ ) n ⌋ \ell=\lfloor(1-\rho)n\rfloor ℓ = ⌊( 1 − ρ ) n ⌋ satisfies ℓ < k − Ω ( n ) \ell<k-\Omega(n) ℓ < k − Ω ( n ) . Thus Theorem 2.2 supplies the decoder required by Theorem 6.1 , with L = poly ( n ) L=\operatorname{poly}(n) L = poly ( n ) .
By Lemma 6.2 , Z ℓ / Z 0 ≥ 1 / 2 Z_\ell/Z_0\ge1/2 Z ℓ / Z 0 ≥ 1/2 , so each preparation succeeds with probability at least 1 / ( 2 L ) 1/(2L) 1/ ( 2 L ) . Conditioned on success, Lemma 6.4 implies that measurement yields a perfect solution with probability n − O ( 1 ) n^{-O(1)} n − O ( 1 ) . Hence each attempt returns a perfect solution with inverse-polynomial probability n − O ( 1 ) n^{-O(1)} n − O ( 1 ) . Polynomially many independent attempts, followed by exact verification of every constraint, give a perfect solution with high probability and the claimed running time.
Finally, if lists have different sizes but ∣ S i ∣ ≥ ρ p |S_i|\ge\rho p ∣ S i ∣ ≥ ρp for all i i i , the common-size algorithm described above succeeds on every tuple of ρ p \rho p ρp -element lists. For truth-table input, trim each list to size ρ p \rho p ρp ; for oracle input, apply Proposition 2.14 to this common-size algorithm. Both reductions preserve satisfaction on the original lists and give the claimed high-probability guarantee in polynomial time. □
Remark 6.5 (An alternative algorithm). As an alternative proof of Theorem 1.9 (2), could instead sample the state with amplitudes H ℓ ( x ) H_\ell(x) H ℓ ( x ) from the proof of Theorem 1.11(3), defined in (79) , where ( 1 − ρ ) n + Ω ( n ) ≤ ℓ ≤ k − Ω ( n ) (1-\rho)n+\Omega(n)\le\ell\le k-\Omega(n) ( 1 − ρ ) n + Ω ( n ) ≤ ℓ ≤ k − Ω ( n ) . By Lemma 5.7 , measuring it attains a perfect solution with high probability, since
n E C [ ( 1 − s ) H ℓ 2 ] E C [ H ℓ 2 ] = e − Ω ( n ) . \frac{n\mathbb{E}_C[(1-s)H_\ell^2]}{\mathbb{E}_C[H_\ell^2]}=e^{-\Omega(n)}. E C [ H ℓ 2 ] n E C [( 1 − s ) H ℓ 2 ] = e − Ω ( n ) .
The proof of Theorem 6.1 (adapted to use the coefficients defining H ℓ H_\ell H ℓ ) implies that we can prepare this state efficiently. The reason that we prove the theorem as we do (with coefficients from the original DQI state) is for simplicity, so that Theorem 6.1 applies in its stated form.
Quantum Advantage for OPI Relative to a Membership Oracle
In this section, we construct structured OPI ensembles for which efficient quantum algorithms find perfect solutions, but efficient classical algorithms cannot find decent solutions with non-negligible probability. The proof is based on the random-oracle search problem of Yamakawa and Zhandry [41 ] (henceforth referred to as the YZ problem ). We give two constructions that encode that problem as an ensemble of OPI instances:
The first construction uses a simple encoding of the YZ problem, and can have arbitrary rate and upper bound on classical algorithm performance, but the input lists do not have the same density. In fact, some input lists are exponentially sparse, i.e. ∣ S i ∣ = 2 − Θ ( n ) p |S_i| = 2^{-\Theta(n)}p ∣ S i ∣ = 2 − Θ ( n ) p .
The second construction uses a more elaborate encoding of the YZ problem. All sets are balanced with ∣ S i ∣ = ⌊ p / 2 ⌋ |S_i| = \lfloor p/2 \rfloor ∣ S i ∣ = ⌊ p /2 ⌋ , but the code has inverse polylogarithmic rate. Efficient classical algorithms can provably only attain 1 / 2 + o ( 1 ) 1/2 + o(1) 1/2 + o ( 1 ) , i.e. Prange’s algorithm is near optimal.
We highlight two caveats in comparison to the quantum algorithms in § 8 . To enable the two encodings described above, we require super-polynomial alphabet size p p p . The source construction of [41 ] likewise has a super-polynomial folded alphabet, although its underlying field has polynomial size. Then, we can no longer pass in the input lists S i S_i S i via a truth table, so we assume membership oracles F i = 1 S i F_i = 1_{S_i} F i = 1 S i for i ∈ [ n ] i \in[n] i ∈ [ n ] (see § 4.4 ). This is in contrast to [18 ] and the previous sections of our paper, where we may take p = poly ( n ) p = \operatorname{poly}(n) p = poly ( n ) and avoid the need for a membership oracle in order to obtain efficient quantum algorithms.
Moreover, the general-purpose guarantees in § 8 do not provide efficient perfect search for these ensembles, which have either vanishing density or vanishing rate. Our quantum algorithms instead exploit the encodings to simulate the Yamakawa–Zhandry source problem, solve it using Theorem 7.2 , and translate the result back to a target polynomial.
Recap of the Source Ensemble in [41 ]
We build the “source” ensemble of our quantum advantage claim. This problem is related to OPI, but the underlying code is the Folded Reed-Solomon code C 0 C_0 C 0 rather than the Reed-Solomon code. We fix parameter choices in [41 ] , Section 4.3.2 and use the guarantees as a black box.
Definition 7.1 (Source Ensemble). Let m + 1 m+1 m + 1 be a power of two, let F q \mathbb{F}_q F q be the finite field with order q = ( m + 1 ) 2 q=(m+1)^2 q = ( m + 1 ) 2 , and choose an alphabet Σ = F q m + 2 \Sigma=\mathbb{F}_q^{m+2} Σ = F q m + 2 . The code C 0 ⊂ Σ m C_0\subset\Sigma^m C 0 ⊂ Σ m is given by evaluating degree polynomials Q ∈ F q [ X ] Q\in\mathbb{F}_q[X] Q ∈ F q [ X ] with deg Q ≤ 9 ( q − 1 ) / 10 \deg Q\le9(q-1)/10 deg Q ≤ 9 ( q − 1 ) /10 at consecutive powers of a primitive element of F q \mathbb{F}_q F q , and folding consecutive m + 2 m+2 m + 2 evaluations. That is, if γ \gamma γ is the chosen primitive element,
C 0 = { ( [ Q ( 1 ) Q ( γ ) ⋮ Q ( γ m + 1 ) ] , [ Q ( γ m + 2 ) Q ( γ m + 3 ) ⋮ Q ( γ 2 m + 3 ) ] , … , [ Q ( γ ( m − 1 ) ( m + 2 ) ) Q ( γ ( m − 1 ) ( m + 2 ) + 1 ) ⋮ Q ( γ m ( m + 2 ) − 1 ) ] ) : deg ( Q ) ≤ 9 ( q − 1 ) / 10 } ⊂ Σ m . C_0 =
\left\{
\left(
\left[
\begin{matrix}
Q(1)\\
Q(\gamma)\\
\vdots\\
Q(\gamma^{m+1})
\end{matrix}
\right],
\left[
\begin{matrix}
Q(\gamma^{m+2})\\
Q(\gamma^{m+3})\\
\vdots\\
Q(\gamma^{2m+3})
\end{matrix}
\right],
\ldots,
\left[
\begin{matrix}
Q(\gamma^{(m-1)(m+2)})\\
Q(\gamma^{(m-1)(m+2)+1})\\
\vdots\\
Q(\gamma^{m(m+2)-1})
\end{matrix}
\right]
\right)
:
\deg(Q)\le9(q-1)/10
\right\}
\subset\Sigma^m. C 0 = ⎩ ⎨ ⎧ Q ( 1 ) Q ( γ ) ⋮ Q ( γ m + 1 ) , Q ( γ m + 2 ) Q ( γ m + 3 ) ⋮ Q ( γ 2 m + 3 ) , … , Q ( γ ( m − 1 ) ( m + 2 ) ) Q ( γ ( m − 1 ) ( m + 2 ) + 1 ) ⋮ Q ( γ m ( m + 2 ) − 1 ) : deg ( Q ) ≤ 9 ( q − 1 ) /10 ⎭ ⎬ ⎫ ⊂ Σ m . The ensemble is given by C 0 C_0 C 0 as well as by a tuple O = ( O 1 , … , O m ) O=(O_1,\ldots,O_m) O = ( O 1 , … , O m ) of independent uniform functions O j : Σ → { 0 , 1 } O_j:\Sigma\to\{0,1\} O j : Σ → { 0 , 1 } , interpreted as membership oracles for the input lists.
With this ensemble, the goal in the YZ problem is to find x ∈ C 0 x\in C_0 x ∈ C 0 so that O i ( x i ) = 1 O_i(x_i)=1 O i ( x i ) = 1 for all i i i .
For convenience, let us consider the message space F 2 D \mathbb{F}_2^D F 2 D of C 0 C_0 C 0 and the encoder
E : F 2 D → C 0 ⊂ ( F q m + 2 ) m , where D = dim F 2 C 0 = Θ ( m 2 log m ) . (118) E:\mathbb{F}_2^D\to C_0\subset(\mathbb{F}_q^{m+2})^m,\qquad\text{where }D=\dim_{\mathbb{F}_2}C_0=\Theta(m^2\log m). \tag*{(118)} E : F 2 D → C 0 ⊂ ( F q m + 2 ) m , where D = dim F 2 C 0 = Θ ( m 2 log m ) . (118) We fix the field representations once, identifying binary messages in F 2 D \mathbb{F}_2^D F 2 D , integers { 0 , … , 2 D − 1 } \{0,\ldots,2^D-1\} { 0 , … , 2 D − 1 } , and coefficient vectors of polynomials Q ∈ F q [ X ] Q\in\mathbb{F}_q[X] Q ∈ F q [ X ] of degree at most 9 ( q − 1 ) / 10 9(q-1)/10 9 ( q − 1 ) /10 , without further notation. We note that applying E E E to a ∈ F 2 D a\in\mathbb{F}_2^D a ∈ F 2 D to get E ( a ) ∈ C 0 E(a)\in C_0 E ( a ) ∈ C 0 can be done efficiently. For every j ∈ [ m ] j\in[m] j ∈ [ m ] , let E j : F 2 D → F q m + 2 E_j:\mathbb{F}_2^D\to\mathbb{F}_q^{m+2} E j : F 2 D → F q m + 2 be the j j j -th block of the encoding map E E E . Then, interpolation on the j j j th block’s m + 2 m+2 m + 2 evaluation points efficiently finds a message a a a with E j ( a ) = z E_j(a)=z E j ( a ) = z . While there may
be many such a a a , we choose a canonical one by using the unique interpolant of degree at most m + 1 m+1 m + 1 . Denote the satisfaction ratio by
r : F 2 D → [ 0 , 1 ] where r ( a ) : = 1 m ∑ j = 1 m O j ( E j ( a ) ) . (119) r:\mathbb{F}_2^D \to[0,1]\quad\text{where}\quad r(a):=\frac{1}{m}\sum_{j=1}^{m} O_j(E_j(a)). \tag*{(119)} r : F 2 D → [ 0 , 1 ] where r ( a ) := m 1 j = 1 ∑ m O j ( E j ( a )) . (119)
If r ( a ) = 1 r(a)=1 r ( a ) = 1 , we refer to a a a as a perfect source message . (That is, it is a perfect message for the source YZ problem).
We next state the separation guarantees of [41 ] on this ensemble. For technical reasons, we will extend the guarantee from the original statement in [41 ] with two trivial changes: first, we observe from the proofs in [41 ] that the negl ( m ) \operatorname{negl}(m) negl ( m ) error is in fact exponentially small; second, we show not only can no classical algorithm find a particularly good solution, it cannot find a particularly bad one.
Theorem 7.2 ([41 ] ). For the ensemble in Definition 7.1 and all sufficiently large m m m :
There is a uniform polynomial-time quantum algorithm Q O Q^O Q O that finds a perfect source message with probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) over O O O and the algorithm.
Every randomized classical algorithm A O A^O A O making at most 2 m 2 / 3 − m 2^{m^{2/3}}-m 2 m 2/3 − m queries to O O O satisfies
P O , A ( r ( A O ) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] ) ≤ e − Ω ( m ) where η : = 1 80 . (120) \mathbb{P}_{O,A}\left(r(A^O)\in[0,\eta)\cup(1-\eta,1]\right)\leq e^{-\Omega(m)}
\quad\text{where}\quad\eta:=\frac{1}{80}. \tag*{(120)} P O , A ( r ( A O ) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] ) ≤ e − Ω ( m ) where η := 80 1 . (120)
Proof. The quantum algorithm is [41 ] , Lemma 6.3. For the classical claim, use [41 ] , Lemma 4.2 and Section 4.3.2 with list-recovery exponents 2 / 3 2/3 2/3 and 3 / 4 3/4 3/4 and agreement fraction 19 / 20 19/20 19/20 . We apply the proof of [41 ] , Lemma 6.9 with two-sided Chernoff bound to handle both tails in (120) . In both statements, the failure probability bound of [41 ] is given as negl ( m ) \operatorname{negl}(m) negl ( m ) , but a closer inspection of the proofs review it is actually e − Ω ( m ) e^{-\Omega(m)} e − Ω ( m ) .
The Sparse Target OPI Ensemble
In this section, we give the first target OPI ensemble of OPI instances over F p \mathbb{F}_p F p with log p = Θ ( m 2 log m ) \log p=\Theta(m^2\log m) log p = Θ ( m 2 log m ) , with length n = m n=m n = m and any dimension k k k . More specifically, let
m 2 D < p < 2 m 2 D . (121) m2^D<p<2m2^D. \tag*{(121)} m 2 D < p < 2 m 2 D . (121)
We fix the canonical encoding of ( j , a ) ∈ [ m ] × F 2 D (j,a)\in[m]\times\mathbb{F}_2^D ( j , a ) ∈ [ m ] × F 2 D as a field element via
( j , a ) ⟷ u ( j , a ) : = ( j − 1 ) 2 D + a ( m o d p ) (122) (j,a)\longleftrightarrow u(j,a):=(j-1)2^D+a\pmod p \tag*{(122)} ( j , a ) ⟷ u ( j , a ) := ( j − 1 ) 2 D + a ( mod p ) (122)
and for every u ∈ F p u\in\mathbb{F}_p u ∈ F p , we view it as an integer in { 0 , … , p − 1 } \{0,\ldots,p-1\} { 0 , … , p − 1 } and parse ( j ( u ) , a ( u ) ) ∈ [ m ] × F 2 D (j(u),a(u))\in[m]\times\mathbb{F}_2^D ( j ( u ) , a ( u )) ∈ [ m ] × F 2 D via
u m o d m 2 D = ( j ( u ) − 1 ) 2 D + a ( u ) . (123) u\bmod m2^D=(j(u)-1)2^D+a(u). \tag*{(123)} u mod m 2 D = ( j ( u ) − 1 ) 2 D + a ( u ) . (123)
Note that the encoding is injective by our choice of field size p p p , and parsing recovers ( j , a ) (j,a) ( j , a ) on its image. This allows us to interpret each field symbol as a solution a a a and block coordinate j j j of the hard instance Definition 7.1 .
Definition 7.3 (Sparse Target Ensemble). Fix any k ∈ [ n ] k\in[n] k ∈ [ n ] and any Reed-Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n of dimension k k k . Sample an instance from the ensemble in Definition 7.1 , given by oracles
O = ( O 1 , … , O m ) O=(O_1,\ldots,O_m) O = ( O 1 , … , O m ) with m = n m=n m = n . Construct the OPI instance given by C C C and membership oracles F 1 , … , F n F_1,\ldots,F_n F 1 , … , F n of the input lists as follows. Define functions φ O , φ a l l : F p → { 0 , 1 } \varphi_O,\varphi_{\mathrm{all}}:\mathbb{F}_p\to\{0,1\} φ O , φ all : F p → { 0 , 1 } via
φ O ( u ) = O j ( u ) ( E j ( u ) ( a ( u ) ) ) and φ a l l ( u ) = ∏ j = 1 m O j ( E j ( a ( u ) ) ) . (124) \varphi_O(u)=O_{j(u)}(E_{j(u)}(a(u))) \quad\text{and}\quad\varphi_{\mathrm{all}}(u)=\prod_{j=1}^{m}O_j(E_j(a(u))). \tag*{(124)} φ O ( u ) = O j ( u ) ( E j ( u ) ( a ( u ))) and φ all ( u ) = j = 1 ∏ m O j ( E j ( a ( u ))) . (124)
Then, let F i = φ a l l F_i=\varphi_{\mathrm{all}} F i = φ all for every i ∈ [ n − 1 ] i\in[n-1] i ∈ [ n − 1 ] and F n = φ O F_n=\varphi_O F n = φ O .
Since each O j O_j O j is uniformly random, so with high probability F n F_n F n is roughly balanced while F i F_i F i is exponentially sparse for i ∈ [ n − 1 ] i\in[n-1] i ∈ [ n − 1 ] . On the other hand, since k k k is arbitrary, the code can have any rate. Let the evaluation points of C C C be α 1 , … , α n ∈ F p \alpha_1,\ldots,\alpha_n\in\mathbb{F}_p α 1 , … , α n ∈ F p . The intuition behind the above construction is that we have one “easy” constraint F n F_n F n that we use to simulate oracle queries to O j ( z j ) O_j(z_j) O j ( z j ) , together with n − 1 n-1 n − 1 “difficult” constraints where satisfying any of them perfectly solves the hard Yamakawa-Zhandry instance. Here, solving it as a scalar is already hard, so we enforce no consistency on the evaluations Q ( α i ) Q(\alpha_i) Q ( α i ) ; this means that the code can have any rate.
Theorem 7.4. For sufficiently large n n n , the ensemble in Definition 7.3 admits a uniform polynomial time quantum algorithm that returns a perfect polynomial with probability 1 − e − Ω ( n ) 1-e^{-\Omega(n)} 1 − e − Ω ( n ) . Moreover, every classical polynomial-query algorithm returns a polynomial satisfying more than one constraint with probability at most e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) .
Proof. For the quantum algorithm, we solve the underlying instance from Definition 7.1 via the quantum algorithm in Theorem 7.2 . To simulate oracle query O j ( z j ) O_j(z_j) O j ( z j ) for j ∈ [ m ] j\in[m] j ∈ [ m ] and some z j ∈ Σ z_j\in\Sigma z j ∈ Σ , we efficiently find via (118) some a ∈ F 2 D a\in\mathbb{F}_2^D a ∈ F 2 D with E j ( a ) = z j E_j(a)=z_j E j ( a ) = z j , compute u = u ( j , a ) ∈ F p u=u(j,a)\in\mathbb{F}_p u = u ( j , a ) ∈ F p via (122) , and return the query outcome
F n ( u ) = O j ( u ) ( E j ( u ) ( a ( u ) ) ) = O j ( z j ) . F_n(u)=O_{j(u)}(E_{j(u)}(a(u)))=O_j(z_j). F n ( u ) = O j ( u ) ( E j ( u ) ( a ( u ))) = O j ( z j ) .
With probability 1 − e − Ω ( n ) 1-e^{-\Omega(n)} 1 − e − Ω ( n ) , we find some perfect solution z ∈ C 0 z\in C_0 z ∈ C 0 to the corresponding instance in Definition 7.1 , i.e. O j ( z j ) = 1 O_j(z_j)=1 O j ( z j ) = 1 for every j j j . Then, we find via (118) some a ∈ F 2 D a\in\mathbb{F}_2^D a ∈ F 2 D with E ( a ) = z E(a)=z E ( a ) = z , and output the constant polynomial Q ( X ) = u Q(X)=u Q ( X ) = u where u = u ( 1 , a ) ∈ F p u=u(1,a)\in\mathbb{F}_p u = u ( 1 , a ) ∈ F p via (122) . We see that this polynomial satisfies every constraint F i F_i F i by definition (124) .
Conversely, we efficiently simulate each classical target query F i ( u ) F_i(u) F i ( u ) as follows: compute j ( u ) , a ( u ) j(u),a(u) j ( u ) , a ( u ) via (123) , and query O j ( E j ( a ( u ) ) ) O_j(E_j(a(u))) O j ( E j ( a ( u ))) for every j ∈ [ m ] j\in[m] j ∈ [ m ] via (118) . Then, F n ( u ) F_n(u) F n ( u ) is the j = j ( u ) j=j(u) j = j ( u ) outcome and F i ( u ) F_i(u) F i ( u ) is the product of the m m m outcomes for every i ∈ [ n − 1 ] i\in[n-1] i ∈ [ n − 1 ] . Hence, any efficient classical algorithm on the target ensemble of Definition 7.3 can be turned into an efficient classical algorithm on the source ensemble of Definition 7.1 . If on some instances of the target ensemble the output polynomial Q Q Q satisfies constraint F i ( Q ( α i ) ) = 1 F_i(Q(\alpha_i))=1 F i ( Q ( α i )) = 1 for some i ∈ [ n − 1 ] i\in[n-1] i ∈ [ n − 1 ] , find such an i i i by querying these n − 1 n-1 n − 1 constraints, and compute a = a ( Q ( α i ) ) ∈ F 2 D a=a(Q(\alpha_i))\in\mathbb{F}_2^D a = a ( Q ( α i )) ∈ F 2 D via (123) . Then, r ( a ) = 1 r(a)=1 r ( a ) = 1 by (124) , i.e. E ( a ) E(a) E ( a ) is a perfect solution for the corresponding source instance. Now, the classical hardness in Theorem 7.4 follows that in Theorem 7.2 . □
The Balanced Target OPI Ensemble
In this section, we consider an alternative encoding of the same source ensemble in Definition 7.1 to obtain a target OPI ensemble with balanced input lists and prove Theorem 1.14, which we restate below.
Theorem 1.14 (Quantum Advantage for OPI, Relative to a Membership Oracle—Informal, see Theorem 7.7 ). There exists a random ensemble of balanced OPI instances of length n n n with rate 1 / poly ( n ) 1/\operatorname{poly}(n) 1/ poly ( n ) over prime fields F p \mathbb{F}_p F p with quasipolynomial p = exp ( polylog ( n ) ) p=\exp(\operatorname{polylog}(n)) p = exp ( polylog ( n )) such that the following hold, given access to a membership oracle for the input lists S i S_i S i :
The intuition and comparison to Definition 7.3 is as follows: to ensure the input lists are balanced, we cannot encode “perfectly solving the source instance in Definition 7.1 ” into one constraint F i ( Q ( α i ) ) = 1 F_i(Q(\alpha_i))=1 F i ( Q ( α i )) = 1 . Instead, we distribute this test into many constraints F i F_i F i , where each F i F_i F i counts the parity of failures among a t t t -element subset of the m m m -constraints in the source instance.
The main technical difficulty is “consistency”, meaning that a polynomial Q Q Q satisfying many local tests F i ( Q ( α i ) ) = 1 F_i(Q(\alpha_i))=1 F i ( Q ( α i )) = 1 must be the constant polynomial encoding a solution to the source instance with very high (or very low) satisfaction ratio. To arrange this, we construct an ensemble with randomness both from the source ensemble in Definition 7.1 but also independently its own randomness in setup. With quasi-polynomial large field size, we can union bound over the polynomials Q Q Q .
To define the construction, recall the source ensemble in Definition 7.1 parametrized by m m m . We fix the remaining parameters now, all asymptotically as m → ∞ m\to\infty m → ∞ . Let ε = 1 / log 2 m \varepsilon=1/\log_2 m ε = 1/ log 2 m and let δ = ε / 100 \delta=\varepsilon/100 δ = ε /100 . Recall that η = 1 / 80 \eta=1/80 η = 1/80 from (120) . Choose the least even t ≥ 4 t\ge4 t ≥ 4 such that
( 1 − 2 η ) t ≤ ε 8 . (125) (1-2\eta)^t\le\frac{\varepsilon}{8}. \tag*{(125)} ( 1 − 2 η ) t ≤ 8 ε . (125)
so t = Θ ( log log m ) t=\Theta(\log\log m) t = Θ ( log log m ) . We now specify the code parameters. The field size is some prime p p p where
m 2 D + 2 δ < p < m 2 D + 3 δ ⟹ log p ≍ m 2 log m , (126) \frac{m2^{D+2}}{\delta}<p<\frac{m2^{D+3}}{\delta}\quad\Longrightarrow\quad\log p\asymp m^2\log m, \tag*{(126)} δ m 2 D + 2 < p < δ m 2 D + 3 ⟹ log p ≍ m 2 log m , (126)
the Reed-Solomon code C C C has length n = N + 2 n=N+2 n = N + 2 and dimension k k k where
H : = ⌈ 2 m ( m t ) ⌉ = 2 Θ ( m ) , N : = ( m t ) H ∼ 2 m , k : = ⌊ δ 2 N 4 log 2 p ⌋ . (127) \begin{aligned}
H&:=\left\lceil\frac{2^{\sqrt{m}}}{\binom{m}{t}}\right\rceil=2^{\Theta(\sqrt{m})},\\
N&:=\binom{m}{t}H\sim2^{\sqrt{m}},\\
k&:=\left\lfloor\frac{\delta^2N}{4\log_2p}\right\rfloor. \tag*{(127)}
\end{aligned} H N k := ⌈ ( t m ) 2 m ⌉ = 2 Θ ( m ) , := ( t m ) H ∼ 2 m , := ⌊ 4 log 2 p δ 2 N ⌋ . (127)
While the prime p p p here replaces the choice (121) in the previous section, we keep the same encoding and parser from (122) and (123) . We now construct our target OPI ensemble.
Definition 7.5 (Balanced Target Ensemble). Fix the parameters in (126) and (127) . We define an ensemble of OPI instances on code C ⊆ F p n C\subseteq\mathbb{F}_p^n C ⊆ F p n of dimension k k k as follows. Index the n n n coordinates by
I : = { O , B } ∪ ( ( [ m ] t ) × [ H ] ) . (128) I:=\{O,B\}\cup\left(\binom{[m]}{t}\times[H]\right). \tag*{(128)} I := { O , B } ∪ ( ( t [ m ] ) × [ H ] ) . (128) We describe setup randomness S S S : independently of the source oracle O O O , and independent of each other, sample the following:
Sample random bits B ( u ) ∼ Ber ( δ ) B(u) \sim\operatorname{Ber}(\delta) B ( u ) ∼ Ber ( δ ) for each u ∈ U : = { 0 , … , ( p − 3 ) / 2 } u \in\mathcal{U} := \{0,\ldots,(p-3)/2\} u ∈ U := { 0 , … , ( p − 3 ) /2 } . If B ( u ) = 1 B(u)=1 B ( u ) = 1 , we refer to u u u as active
Sample random bits C J , h ( u ) ∼ Ber ( 1 / 2 ) C_{J,h}(u) \sim\operatorname{Ber}(1/2) C J , h ( u ) ∼ Ber ( 1/2 ) for each u ∈ U u \in\mathcal{U} u ∈ U and ( J , h ) ∈ ( [ m ] t ) × [ H ] (J,h) \in\binom{[m]}{t} \times[H] ( J , h ) ∈ ( t [ m ] ) × [ H ] .
For each setup S = ( α , B , C ) S=(\alpha,B,C) S = ( α , B , C ) , define φ i : U → { 0 , 1 } \varphi_i:\mathcal{U}\to\{0,1\} φ i : U → { 0 , 1 } for i ∈ I i\in I i ∈ I as follows: let
φ O ( u ) : = O j ( u ) ( E j ( u ) ( a ( u ) ) ) and φ B ( u ) : = B ( u ) , (129) \varphi_O(u):=O_{j(u)}(E_{j(u)}(a(u))) \quad\text{and}\quad\varphi_B(u):=B(u), \tag*{(129)} φ O ( u ) := O j ( u ) ( E j ( u ) ( a ( u ))) and φ B ( u ) := B ( u ) , (129)
and for each ( J , h ) ∈ ( [ m ] t ) × [ H ] (J,h)\in\binom{[m]}{t}\times[H] ( J , h ) ∈ ( t [ m ] ) × [ H ] let
φ J , h ( u ) : = { 1 { # { j ∈ J : O j ( E j ( a ( u ) ) ) = 0 } is even } , if B ( u ) = 1 , C J , h ( u ) , if B ( u ) = 0. (130) \varphi_{J,h}(u):=
\begin{cases}
\mathbf{1}\{\#\{j\in J:O_j(E_j(a(u)))=0\}\text{ is even}\}, & \text{if }B(u)=1,\\
C_{J,h}(u), & \text{if }B(u)=0.
\end{cases} \tag*{(130)} φ J , h ( u ) := { 1 { # { j ∈ J : O j ( E j ( a ( u ))) = 0 } is even } , C J , h ( u ) , if B ( u ) = 1 , if B ( u ) = 0. (130)
For each i ∈ I i\in I i ∈ I , we define the input lists given by membership oracles F i : F p → { 0 , 1 } F_i:\mathbb{F}_p\to\{0,1\} F i : F p → { 0 , 1 } by
F i ( 2 u + b ) : = φ i ( u ) ⊕ b , (131) F_i(2u+b):=\varphi_i(u)\oplus b, \tag*{(131)} F i ( 2 u + b ) := φ i ( u ) ⊕ b , (131)
for u ∈ U u\in\mathcal{U} u ∈ U and b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , and let F i ( p − 1 ) = 0 F_i(p-1)=0 F i ( p − 1 ) = 0 .
We would like to reduce the target ensemble defined above to and from instances of the source ensemble in Definition 7.1 , with the same oracle realization O 1 , … , O m O_1,\ldots,O_m O 1 , … , O m . To this end, we prove the following proposition, which says that an active constant u u u that encodes a perfect source message corresponds to a constant polynomial with perfect satisfaction in the target ensemble; and on the other hand any polynomial with perfect (or even good) satisfaction in the target ensemble must correspond to a u u u whose encoding has extreme satisfaction in the source ensemble.
Proposition 7.6 (Consistency). With probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) over the setup S = ( α , B , C ) S=(\alpha,B,C) S = ( α , B , C ) , the following holds simultaneously for every source oracle O O O and every polynomial Q ∈ F p [ X ] Q\in\mathbb{F}_p[X] Q ∈ F p [ X ] with deg Q < k \deg Q<k deg Q < k : if s ( Q ) > 1 / 2 + ε s(Q)>1/2+\varepsilon s ( Q ) > 1/2 + ε , then Q ( X ) = 2 u Q(X)=2u Q ( X ) = 2 u is constant for some u ∈ U u\in\mathcal{U} u ∈ U such that B ( u ) = 1 B(u)=1 B ( u ) = 1 and
r ( a ( u ) ) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] . (132) r(a(u))\in[0,\eta)\cup(1-\eta,1]. \tag*{(132)} r ( a ( u )) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] . (132) Moreover, if Q ( X ) = 2 u Q(X)=2u Q ( X ) = 2 u with B ( u ) = 1 B(u)=1 B ( u ) = 1 and r ( a ( u ) ) = 1 r(a(u))=1 r ( a ( u )) = 1 , then s ( Q ) = 1 s(Q)=1 s ( Q ) = 1 .
Proof. If Q ( X ) = 2 u Q(X)=2u Q ( X ) = 2 u with B ( u ) = 1 B(u)=1 B ( u ) = 1 and r ( a ( u ) ) = 1 r(a(u))=1 r ( a ( u )) = 1 , then φ O ( u ) = 1 \varphi_O(u)=1 φ O ( u ) = 1 as O j ( E j ( a ( u ) ) ) = 1 O_j(E_j(a(u)))=1 O j ( E j ( a ( u ))) = 1 for every j j j , and so φ J , h ( u ) = 1 \varphi_{J,h}(u)=1 φ J , h ( u ) = 1 for every ( J , h ) (J,h) ( J , h ) . Moreover, φ B ( u ) = B ( u ) = 1 \varphi_B(u)=B(u)=1 φ B ( u ) = B ( u ) = 1 . Hence, F i ( 2 u ) = φ i ( u ) = 1 F_i(2u)=\varphi_i(u)=1 F i ( 2 u ) = φ i ( u ) = 1 for every i ∈ I i\in I i ∈ I , so s ( Q ) = 1 s(Q)=1 s ( Q ) = 1 . For the rest of the proof, we show that with high probability over setup S = ( α , B , C ) S=(\alpha,B,C) S = ( α , B , C ) , every Q Q Q with s ( Q ) > 1 / 2 + ε s(Q)>1/2+\varepsilon s ( Q ) > 1/2 + ε has the form asserted in (132) , simultaneously for every realization O O O in the source ensemble. We will then union bound over Q Q Q , agnostic over O O O .
Suppose that Q Q Q is nonconstant, for each “main coordinate” i ∈ ( [ m ] t ) × [ H ] i\in\binom{[m]}{t}\times[H] i ∈ ( t [ m ] ) × [ H ] , write Q ( α i ) Q(\alpha_i) Q ( α i ) uniquely as Q ( α i ) = 2 u i + b i Q(\alpha_i)=2u_i+b_i Q ( α i ) = 2 u i + b i for some u i ∈ U u_i\in\mathcal{U} u i ∈ U and b i ∈ { 0 , 1 } b_i\in\{0,1\} b i ∈ { 0 , 1 } . First, we show that it is unlikely for there to be at most ( 1 − δ ) N (1-\delta)N ( 1 − δ ) N many distinct u i u_i u i ’s. That is, it is unlikely that ∣ { u i : i ∈ [ N ] } ∣ ≤ ( 1 − δ ) N |\{u_i:i\in[N]\}|\le(1-\delta)N ∣ { u i : i ∈ [ N ]} ∣ ≤ ( 1 − δ ) N . Fix any set U ⊂ U U\subset\mathcal{U} U ⊂ U of size ( 1 − δ ) N (1-\delta)N ( 1 − δ ) N and any nonconstant polynomial Q Q Q . Then, for every i ∈ ( [ m ] t ) × [ H ] i\in\binom{[m]}{t}\times[H] i ∈ ( t [ m ] ) × [ H ] , Q ( α i ) Q(\alpha_i) Q ( α i ) must be one of at most 2 ∣ U ∣ + 1 ≤ 3 N 2|U|+1\le3N 2∣ U ∣ + 1 ≤ 3 N fixed values in F p \mathbb{F}_p F p since each u ∈ U u\in U u ∈ U corresponds to 2 u 2u 2 u and 2 u + 1 2u+1 2 u + 1 , with possibly additionally p − 1 p-1 p − 1 . Now, for random evaluations α \alpha α , by counting roots,
Pr S ( u i ∈ U ∀ i ∈ ( [ m ] t ) × [ H ] ) ≤ ( 2 N k ) N p ( p − 1 ) ⋯ ( p − N + 1 ) . \Pr_S\left(u_i\in U\ \forall i\in\binom{[m]}{t}\times[H]\right)
\le\frac{(2Nk)^N}{p(p-1)\cdots(p-N+1)}. S Pr ( u i ∈ U ∀ i ∈ ( t [ m ] ) × [ H ] ) ≤ p ( p − 1 ) ⋯ ( p − N + 1 ) ( 2 N k ) N .
Now, we union bound over Q , U Q,U Q , U and apply our parameter choices (126) and (127) to obtain
Pr S ( ∃ nonconstant Q with ≤ ( 1 − δ ) N distinct u i ) ≤ p k + ( 1 − δ ) N ( 2 N k ) N p ( p − 1 ) ⋯ ( p − N + 1 ) ≤ exp ( ( k − δ N ) log p + N log ( 2 N k ) + O ( N 2 / p ) ) = e − Ω ( δ N log p ) ≤ e − Ω ( m ) . \begin{aligned}
\Pr_S\left(\exists\text{ nonconstant }Q\text{ with }\le(1-\delta)N\text{ distinct }u_i\right)
\le\frac{p^{k+(1-\delta)N}(2Nk)^N}{p(p-1)\cdots(p-N+1)} \\
&\le\exp\left((k-\delta N)\log p+N\log(2Nk)+O(N^2/p)\right) \\
&=e^{-\Omega(\delta N\log p)} \\
&\le e^{-\Omega(m)}.
\end{aligned} S Pr ( ∃ nonconstant Q with ≤ ( 1 − δ ) N distinct u i ) ≤ p ( p − 1 ) ⋯ ( p − N + 1 ) p k + ( 1 − δ ) N ( 2 N k ) N ≤ exp ( ( k − δ N ) log p + N log ( 2 N k ) + O ( N 2 / p ) ) = e − Ω ( δ N l o g p ) ≤ e − Ω ( m ) .
Second, assume that some nonconstant Q Q Q has more than ( 1 − δ ) N (1-\delta)N ( 1 − δ ) N distinct u i u_i u i ’s; collect these values of u i u_i u i into U ⊂ U U\subset\mathcal{U} U ⊂ U . We show that it is unlikely for there to be more than 3 δ N 3\delta N 3 δ N many main coordinates i i i where B ( u i ) = 1 B(u_i)=1 B ( u i ) = 1 . Indeed, if the N N N choices of u i u_i u i were all distinct, we would have Bin ( N , δ ) \operatorname{Bin}(N,\delta) Bin ( N , δ ) such i i i . Since there are at most N − ∣ U ∣ ≤ δ N N-|U|\le\delta N N − ∣ U ∣ ≤ δ N duplicate labels u i u_i u i by the first step, the number of main coordinates i i i where B ( u i ) = 1 B(u_i)=1 B ( u i ) = 1 is at most δ N + Bin ( N , δ ) \delta N+\operatorname{Bin}(N,\delta) δ N + Bin ( N , δ ) . Temporarily letting Z 2 ∼ Bin ( N , δ ) Z_2\sim\operatorname{Bin}(N,\delta) Z 2 ∼ Bin ( N , δ ) , we see that
P S ( ∃ nonconstant Q with ≥ 3 δ N many i ∈ ( [ m ] t ) × [ H ] where B ( u i ) = 1 ) ≤ e − Ω ( m ) + p k P ( Z 2 ≥ 2 δ N ) ≤ e − Ω ( m ) + p k e − 2 δ 2 N ≤ e − Ω ( m ) + e − Ω ( δ 2 N ) ≤ e − Ω ( m ) . \begin{aligned}
\mathbb{P}_{S}\left(\exists\text{ nonconstant }Q\text{ with }\ge3\delta N\text{ many }i\in\binom{[m]}{t}\times[H]\text{ where }B(u_i)=1\right)
\le e^{-\Omega(m)}+p^k\mathbb{P}(Z_2\ge2\delta N) \\
&\le e^{-\Omega(m)}+p^k e^{-2\delta^2N} \\
&\le e^{-\Omega(m)}+e^{-\Omega(\delta^2N)} \\
&\le e^{-\Omega(m)}.
\end{aligned} P S ( ∃ nonconstant Q with ≥ 3 δ N many i ∈ ( t [ m ] ) × [ H ] where B ( u i ) = 1 ) ≤ e − Ω ( m ) + p k P ( Z 2 ≥ 2 δ N ) ≤ e − Ω ( m ) + p k e − 2 δ 2 N ≤ e − Ω ( m ) + e − Ω ( δ 2 N ) ≤ e − Ω ( m ) .
Third, suppose that some nonconstant Q Q Q satisfies the first two steps, so Q Q Q has at least ( 1 − δ ) N (1-\delta)N ( 1 − δ ) N distinct values of u i u_i u i , and that there are at most 3 δ N 3\delta N 3 δ N main active coordinates i i i . Let
I ′ : = { i ∈ ( [ m ] t ) × [ H ] : B ( u i ) = 1 } I' := \left\{i\in\binom{[m]}{t}\times[H]:B(u_i)=1\right\} I ′ := { i ∈ ( t [ m ] ) × [ H ] : B ( u i ) = 1 }
be this set of main active coordinates. For every main coordinate i ∉ I ′ i\notin I' i ∈ / I ′ , B ( u i ) = 0 B(u_i)=0 B ( u i ) = 0 so i.i.d. random bits C i ( u i ) C_i(u_i) C i ( u i ) are used. Then, the number of such constraints satisfied by each Q Q Q is bounded by Bin ( N − ∣ I ′ ∣ , 1 / 2 ) \operatorname{Bin}(N-|I'|,1/2) Bin ( N − ∣ I ′ ∣ , 1/2 ) , conditional on α \alpha α and B B B . For the constraints i ∈ I ′ i\in I' i ∈ I ′ , we assume they automatically hold, which allows us to bound the satisfaction ratio simultaneously for every Q Q Q as follows: for such Q Q Q , n ⋅ s ( Q ) ≤ ∣ I ′ ∣ + 2 + Z 3 n\cdot s(Q)\le|I'|+2+Z_3 n ⋅ s ( Q ) ≤ ∣ I ′ ∣ + 2 + Z 3 where Z 3 ∼ Bin ( N , 1 / 2 ) Z_3\sim\operatorname{Bin}(N,1/2) Z 3 ∼ Bin ( N , 1/2 ) temporarily, so s ( Q ) ≥ 1 2 + ε s(Q)\ge\frac{1}{2}+\varepsilon s ( Q ) ≥ 2 1 + ε implies
Z 3 ≥ ( 1 2 + ε ) ( N + 2 ) − 3 δ N − 2 ≥ N 2 + δ N , Z_3\ge\left(\frac{1}{2}+\varepsilon\right)(N+2)-3\delta N-2\ge\frac{N}{2}+\delta N, Z 3 ≥ ( 2 1 + ε ) ( N + 2 ) − 3 δ N − 2 ≥ 2 N + δ N ,
since δ = ε / 100 \delta=\varepsilon/100 δ = ε /100 . Therefore, we see that
P S ( ∃ O , ∃ nonconstant Q with s ( Q ) ≥ 1 2 + ε ) ≤ e − Ω ( m ) + p k P ( Z 3 ≥ N / 2 + δ N ) ≤ e − Ω ( m ) + p k e − 2 δ 2 N ≤ e − Ω ( m ) + e − Ω ( δ 2 N ) ≤ e − Ω ( m ) . \begin{aligned}
\mathbb{P}_{S}\left(\exists O,\exists\text{ nonconstant }Q\text{ with }s(Q)\ge\frac{1}{2}+\varepsilon\right)
\le e^{-\Omega(m)}+p^k\mathbb{P}(Z_3\ge N/2+\delta N) \\
&\le e^{-\Omega(m)}+p^k e^{-2\delta^2N} \\
&\le e^{-\Omega(m)}+e^{-\Omega(\delta^2N)} \\
&\le e^{-\Omega(m)}.
\end{aligned} P S ( ∃ O , ∃ nonconstant Q with s ( Q ) ≥ 2 1 + ε ) ≤ e − Ω ( m ) + p k P ( Z 3 ≥ N /2 + δ N ) ≤ e − Ω ( m ) + p k e − 2 δ 2 N ≤ e − Ω ( m ) + e − Ω ( δ 2 N ) ≤ e − Ω ( m ) .
Fourth, suppose Q Q Q is constant, so we assume Q ( X ) = 2 u + b Q(X)=2u+b Q ( X ) = 2 u + b for some u ∈ U u\in\mathcal{U} u ∈ U and b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , as F i ( p − 1 ) = 0 F_i(p-1)=0 F i ( p − 1 ) = 0 for every i i i . Now, if B ( u ) = 0 B(u)=0 B ( u ) = 0 , then i.i.d. random bits C i ( u ) C_i(u) C i ( u ) are used at every main coordinate i i i . Exactly as the third case, the probability of existing such Q Q Q with s ( Q ) ≥ 1 / 2 + ε s(Q)\ge1/2+\varepsilon s ( Q ) ≥ 1/2 + ε is e − Ω ( m ) e^{-\Omega(m)} e − Ω ( m ) .
Finally, it suffices to consider Q ( X ) = 2 u + b Q(X)=2u+b Q ( X ) = 2 u + b where B ( u ) = 1 B(u)=1 B ( u ) = 1 . Let a = a ( u ) a=a(u) a = a ( u ) , fix any realization of the source membership oracles O = ( O 1 , … , O m ) O=(O_1,\ldots,O_m) O = ( O 1 , … , O m ) from Definition 7.1 , and let r = r ( a ) r=r(a) r = r ( a ) be the fraction of constraints of the source instance z = E ( a ) z = E(a) z = E ( a ) satisfies. We show that s ( Q ) > 1 / 2 + ε s(Q) > 1/2 + \varepsilon s ( Q ) > 1/2 + ε forces b = 0 b = 0 b = 0 and r ∉ [ η , 1 − η ] r \notin[\eta, 1-\eta] r ∈ / [ η , 1 − η ] . Fix any b b b and r r r . Recall that for every ( J , h ) ∈ ( [ m ] t ) × [ H ] (J,h) \in\binom{[m]}{t} \times[H] ( J , h ) ∈ ( t [ m ] ) × [ H ] , by some parity arithmetic
F J , h ( Q ( α J , h ) ) = F J , h ( 2 u + b ) = φ J , h ( u ) ⊕ b = 1 { # { j ∈ J : O j ( E j ( a ) ) = 0 } is even } ⊕ b . F_{J,h}(Q(\alpha_{J,h})) = F_{J,h}(2u+b) = \varphi_{J,h}(u) \oplus b = \mathbf{1}\{\#\{j \in J : O_j(E_j(a)) = 0\}\text{ is even}\} \oplus b. F J , h ( Q ( α J , h )) = F J , h ( 2 u + b ) = φ J , h ( u ) ⊕ b = 1 { # { j ∈ J : O j ( E j ( a )) = 0 } is even } ⊕ b .
For active u u u , the value F J , h ( 2 u + b ) F_{J,h}(2u+b) F J , h ( 2 u + b ) is independent of h h h . Every t t t -subset J J J occurs exactly H H H times among the main constraints, so averaging their satisfaction is the same as averaging over a uniform J J J . Now, we claim that
s ( 2 u ) = P J ∈ ( [ m ] t ) ( # { j ∈ J : O j ( E j ( a ) ) = 0 } is even ) ± O ( 1 n ) = 1 + ( 2 r − 1 ) t 2 ± O ( 1 n + t 2 m ) , s ( 2 u + 1 ) = P J ∈ ( [ m ] t ) ( # { j ∈ J : O j ( E j ( a ) ) = 0 } is odd ) ± O ( 1 n ) = 1 − ( 2 r − 1 ) t 2 ± O ( 1 n + t 2 m ) . (133) \begin{aligned}
s(2u) &= \mathbb{P}_{J \in\binom{[m]}{t}}\left(\#\{j \in J : O_j(E_j(a)) = 0\}\text{ is even}\right) \pm O\left(\frac{1}{n}\right) \\
&= \frac{1+(2r-1)^t}{2} \pm O\left(\frac{1}{n}+\frac{t^2}{m}\right),\\
s(2u+1) &= \mathbb{P}_{J \in\binom{[m]}{t}}\left(\#\{j \in J : O_j(E_j(a)) = 0\}\text{ is odd}\right) \pm O\left(\frac{1}{n}\right) \\
&= \frac{1-(2r-1)^t}{2} \pm O\left(\frac{1}{n}+\frac{t^2}{m}\right). \tag*{(133)}
\end{aligned} s ( 2 u ) s ( 2 u + 1 ) = P J ∈ ( t [ m ] ) ( # { j ∈ J : O j ( E j ( a )) = 0 } is even ) ± O ( n 1 ) = 2 1 + ( 2 r − 1 ) t ± O ( n 1 + m t 2 ) , = P J ∈ ( t [ m ] ) ( # { j ∈ J : O j ( E j ( a )) = 0 } is odd ) ± O ( n 1 ) = 2 1 − ( 2 r − 1 ) t ± O ( n 1 + m t 2 ) . (133)
The O ( 1 / n ) O(1/n) O ( 1/ n ) term corresponds to constraints F O F_O F O and F B F_B F B . We justify this inequality as follows: consider sampling J J J instead as t t t many i.i.d. uniform random indices j 1 , … , j t ∈ [ m ] j_1,\ldots,j_t \in[m] j 1 , … , j t ∈ [ m ] , in which case the desired parity event—say the even case—is exactly the event that a Bin ( t , 1 − r ) \operatorname{Bin}(t,1-r) Bin ( t , 1 − r ) random variable is even, which has probability 1 / 2 + ( 2 r − 1 ) t / 2 1/2+(2r-1)^t/2 1/2 + ( 2 r − 1 ) t /2 . Sampling with replacement in (133) , the total variation is at most
P ( j 1 , … , j t not distinct ) ≤ P ( ∃ distinct t 1 , t 2 ∈ [ t ] : j t 1 = j t 2 ) ≤ t 2 m . \mathbb{P}(j_1,\ldots,j_t\text{ not distinct}) \le\mathbb{P}(\exists\text{ distinct }t_1,t_2 \in[t] : j_{t_1}=j_{t_2}) \le\frac{t^2}{m}. P ( j 1 , … , j t not distinct ) ≤ P ( ∃ distinct t 1 , t 2 ∈ [ t ] : j t 1 = j t 2 ) ≤ m t 2 .
Using (133) , we see that by our parameter choices (125) to (127) , s ( 2 u + 1 ) ≤ 1 / 2 + ε s(2u+1) \le1/2+\varepsilon s ( 2 u + 1 ) ≤ 1/2 + ε and that
s ( Q ) ≤ 1 + ( 1 − 2 η ) t 2 + O ( 1 n + t 2 m ) < 1 2 + ε s(Q) \le\frac{1+(1-2\eta)^t}{2}+O\left(\frac{1}{n}+\frac{t^2}{m}\right)<\frac{1}{2}+\varepsilon s ( Q ) ≤ 2 1 + ( 1 − 2 η ) t + O ( n 1 + m t 2 ) < 2 1 + ε
whenever r ∈ [ η , 1 − η ] r \in[\eta,1-\eta] r ∈ [ η , 1 − η ] . This depends on O O O only through the event that r ( a ( u ) ) ∈ [ η , 1 − η ] r(a(u)) \in[\eta,1-\eta] r ( a ( u )) ∈ [ η , 1 − η ] .
Therefore, with probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) over the setup S S S , the first four steps hold, in which case we have that, for every realization O O O , the only Q ( X ) Q(X) Q ( X ) with s ( Q ) > 1 / 2 + ε s(Q)>1/2+\varepsilon s ( Q ) > 1/2 + ε are Q ( X ) = 2 u Q(X)=2u Q ( X ) = 2 u such that B ( u ) = 1 B(u)=1 B ( u ) = 1 and the satisfaction ratio of E ( a ( u ) ) E(a(u)) E ( a ( u )) on the source instance given by realization O O O is less than η \eta η or greater than 1 − η 1-\eta 1 − η .
Now, we prove Theorem 1.14, which follows from the following theorem.
Theorem 7.7. Consider the ensemble in Definition 7.5, with parameters chosen in (125) to (127) . Every such OPI instance is balanced, with rate
R = k n = Θ ( 1 ( log n ) 4 ( log log n ) 3 ) R=\frac{k}{n}=\Theta\left(\frac{1}{(\log n)^4(\log\log n)^3}\right) R = n k = Θ ( ( log n ) 4 ( log log n ) 3 1 ) and log p = Θ ( ( log n ) 4 log log n ) \log p=\Theta((\log n)^4\log\log n) log p = Θ (( log n ) 4 log log n ) as m → ∞ m\to\infty m → ∞ . Under membership-oracle access to the input lists, the following hold:
There is a uniform quantum algorithm running in polynomial time that outputs a polynomial Q Q Q with deg Q < k \deg Q<k deg Q < k and s ( Q ) = 1 s(Q)=1 s ( Q ) = 1 with probability at least
1 − e − Ω ( m ) = 1 − e − Ω ( ( log n ) 2 ) . 1-e^{-\Omega(m)}=1-e^{-\Omega((\log n)^2)}. 1 − e − Ω ( m ) = 1 − e − Ω (( l o g n ) 2 ) . Every randomized classical algorithm with polynomially many membership queries and unrestricted computation between queries, and outputting a polynomial Q Q Q with deg Q < k \deg Q<k deg Q < k satisfies
P ( s ( Q ) > 1 2 + ε ) ≤ e − Ω ( m ) = e − Ω ( ( log n ) 2 ) \mathbb{P}\left(s(Q)>\frac{1}{2}+\varepsilon\right)\le e^{-\Omega(m)}=e^{-\Omega((\log n)^2)} P ( s ( Q ) > 2 1 + ε ) ≤ e − Ω ( m ) = e − Ω (( l o g n ) 2 ) where ε = Θ ( 1 log log n ) \varepsilon=\Theta\left(\frac{1}{\log\log n}\right) ε = Θ ( l o g l o g n 1 ) .
As a sanity check, observe that this is an unconditional relative separation, and that Prange’s algorithm is close to optimal, i.e. it has expected satisfaction
1 + R 2 = 1 2 + 1 log O ( 1 ) n ≤ 1 2 + ε . \frac{1+R}{2}=\frac{1}{2}+\frac{1}{\log^{O(1)} n}\leq\frac{1}{2}+\varepsilon. 2 1 + R = 2 1 + log O ( 1 ) n 1 ≤ 2 1 + ε .
Proof. The instances are balanced by definition. We first check the parameters. Since t = Θ ( log log m ) t=\Theta(\log\log m) t = Θ ( log log m ) ,
( m t ) ≤ m t = 2 O ( log m log log m ) = 2 o ( m ) , \binom{m}{t}\leq m^t=2^{O(\log m\log\log m)}=2^{o(\sqrt{m})}, ( t m ) ≤ m t = 2 O ( l o g m l o g l o g m ) = 2 o ( m ) ,
and so n = N + 2 ∼ 2 m n=N+2\sim2^{\sqrt{m}} n = N + 2 ∼ 2 m . Hence, failure probabilities are e − Ω ( m ) = e − Ω ( ( log n ) 2 ) e^{-\Omega(m)}=e^{-\Omega((\log n)^2)} e − Ω ( m ) = e − Ω (( l o g n ) 2 ) , slack ε = Θ ( 1 / log log n ) \varepsilon=\Theta(1/\log\log n) ε = Θ ( 1/ log log n ) , and alphabet size log p = Θ ( m 2 log m ) \log p=\Theta(m^2\log m) log p = Θ ( m 2 log m ) . Finally,
k n = Θ ( δ 2 log p ) = Θ ( 1 m 2 ( log m ) 3 ) = Θ ( 1 ( log n ) 4 ( log log n ) 3 ) . (134) \frac{k}{n}=\Theta\left(\frac{\delta^2}{\log p}\right)=\Theta\left(\frac{1}{m^2(\log m)^3}\right)=\Theta\left(\frac{1}{(\log n)^4(\log\log n)^3}\right). \tag*{(134)} n k = Θ ( log p δ 2 ) = Θ ( m 2 ( log m ) 3 1 ) = Θ ( ( log n ) 4 ( log log n ) 3 1 ) . (134)
For (1), we construct the quantum algorithm by solving the underlying instance from Definition 7.1 via the quantum algorithm in Theorem 7.2 . To simulate oracle query O j ( z j ) O_j(z_j) O j ( z j ) for j ∈ [ m ] j\in[m] j ∈ [ m ] and some z j ∈ Σ z_j\in\Sigma z j ∈ Σ , we efficiently find via (118) some a ∈ F 2 D a\in\mathbb{F}_2^D a ∈ F 2 D with E j ( a ) = z j E_j(a)=z_j E j ( a ) = z j , compute u = u ( j , a ) ∈ F p u=u(j,a)\in\mathbb{F}_p u = u ( j , a ) ∈ F p via (122) , and return the query outcome
F O ( 2 u ) = O j ( u ) ( E j ( u ) ( a ( u ) ) ) = O j ( z j ) . F_O(2u)=O_{j(u)}(E_{j(u)}(a(u)))=O_j(z_j). F O ( 2 u ) = O j ( u ) ( E j ( u ) ( a ( u ))) = O j ( z j ) .
With probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) , we find some perfect solution z ∈ C 0 z\in C_0 z ∈ C 0 to the corresponding instance in Definition 7.1 , i.e. O j ( z j ) = 1 O_j(z_j)=1 O j ( z j ) = 1 for every j j j . Then, we find via (118) some a ∈ F 2 D a\in\mathbb{F}_2^D a ∈ F 2 D with E ( a ) = z E(a)=z E ( a ) = z . Now, we test u ( j , a ) = a + ( j − 1 ) 2 D u(j,a)=a+(j-1)2^D u ( j , a ) = a + ( j − 1 ) 2 D for j = 1 , 2 , … , ⌈ m / δ ⌉ j=1,2,\ldots,\lceil m/\delta\rceil j = 1 , 2 , … , ⌈ m / δ ⌉ until we find j j j where B ( u ( j , a ) ) = 1 B(u(j,a))=1 B ( u ( j , a )) = 1 . We test this by computing u ( j , a ) u(j,a) u ( j , a ) via (122) and querying
F B ( 2 u ) = φ B ( u ) = B ( u ) . F_B(2u)=\varphi_B(u)=B(u). F B ( 2 u ) = φ B ( u ) = B ( u ) .
Since p ≫ ( m / δ ) 2 D p\gg(m/\delta)2^D p ≫ ( m / δ ) 2 D , the u ( j , a ) u(j,a) u ( j , a ) are distinct and they all belong to U U U , so the probability that we cannot find some j j j where B ( u ( j , a ) ) = 1 B(u(j,a))=1 B ( u ( j , a )) = 1 is at most
( 1 − δ ) ⌈ m / δ ⌉ ≤ e − m (1-\delta)^{\lceil m/\delta\rceil}\leq e^{-m} ( 1 − δ ) ⌈ m / δ ⌉ ≤ e − m
If we find some j j j where B ( u ( j , a ) ) = 1 B(u(j,a))=1 B ( u ( j , a )) = 1 , output the constant polynomial Q ( X ) = 2 u ( j , a ) Q(X)=2u(j,a) Q ( X ) = 2 u ( j , a ) . We see that this polynomial satisfies every constraint F i F_i F i by Proposition 7.6 . Finally, the number of queries and all arithmetic are polynomial in m m m and log p \log p log p , hence polynomial in n n n .
For (2), fix any classical algorithm A \mathcal{A} A for the target ensemble, making polynomially many target queries, say at most n d n^d n d for a fixed d d d . We build a classical algorithm to solve the underlying source ensemble of Definition 7.1 . To do so, we first sample a random setup S = ( α , B , C ) S=(\alpha,B,C) S = ( α , B , C ) as in Definition 7.5. We sample gate and filler bits only when first needed and store them for repeated queries; all setup randomness is independent of O O O . With probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) , the setup S S S is consistent, i.e. Proposition 7.6 holds.
Now, fix any source instance given by any realization of oracles O = ( O 1 , … , O m ) O=(O_1,\ldots,O_m) O = ( O 1 , … , O m ) , and solve it by running A \mathcal{A} A on the target instance given by O , S O,S O , S and simulating each classical target queries F i F_i F i via O O O as follows. We return F i ( p − 1 ) = 0 F_i(p-1)=0 F i ( p − 1 ) = 0 for every i i i . For a query F i ( 2 u + b ) F_i(2u+b) F i ( 2 u + b ) with u ∈ U u\in U u ∈ U and b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , compute j ( u ) , a ( u ) j(u),a(u) j ( u ) , a ( u ) via (123) and proceed as follows:
O j ( u ) ( E j ( u ) ( a ( u ) ) ) ⊕ b = φ O ( u ) ⊕ b = F O ( 2 u + b ) . O_{j(u)}(E_{j(u)}(a(u)))\oplus b=\varphi_O(u)\oplus b=F_O(2u+b). O j ( u ) ( E j ( u ) ( a ( u ))) ⊕ b = φ O ( u ) ⊕ b = F O ( 2 u + b ) .
If i = ( J , h ) i = (J, h) i = ( J , h ) , first inspect B ( u ) B(u) B ( u ) . If B ( u ) = 0 B(u) = 0 B ( u ) = 0 , return C J , h ( u ) ⊕ b C_{J,h}(u) \oplus b C J , h ( u ) ⊕ b . Otherwise, query O j ( E j ( a ( u ) ) ) O_j(E_j(a(u))) O j ( E j ( a ( u ))) for every j ∈ J j \in J j ∈ J and compute the parity to return F i ( 2 u + b ) F_i(2u+b) F i ( 2 u + b ) via (130) . This requires at most t t t source queries.
Now, suppose A \mathcal{A} A on this instance ( O , S ) (O,S) ( O , S ) outputs polynomial Q Q Q , if Q ( X ) = 2 u Q(X) = 2u Q ( X ) = 2 u for some u ∈ U u \in U u ∈ U , output a ( u ) a(u) a ( u ) ; otherwise, output any fixed message in F 2 D \mathbb{F}_2^D F 2 D .
We analyze this algorithm on the source ensemble from Definition 7.1 parametrized by O O O . This simulation has exactly the distribution of the target ensemble and uses at most
t n d = 2 O d ( m ) < 2 m 2 / 3 − m tn^d = 2^{O_d(\sqrt{m})} < 2^{m^{2/3}} - m t n d = 2 O d ( m ) < 2 m 2/3 − m
source queries for sufficiently large m m m . By Theorem 7.2 , the satisfaction ratio of the output must be in [ η , 1 − η ] [\eta,1-\eta] [ η , 1 − η ] with probability 1 − e − Ω ( m ) 1-e^{-\Omega(m)} 1 − e − Ω ( m ) over the source ensemble. By Proposition 7.6 , except on a setup event of probability e − Ω ( m ) e^{-\Omega(m)} e − Ω ( m ) , consistency implies that every output with s ( Q ) > 1 / 2 + ε s(Q)>1/2+\varepsilon s ( Q ) > 1/2 + ε satisfies Q ( X ) = 2 u Q(X)=2u Q ( X ) = 2 u for some B ( u ) = 1 B(u)=1 B ( u ) = 1 and r ( a ( u ) ) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] r(a(u))\in[0,\eta)\cup(1-\eta,1] r ( a ( u )) ∈ [ 0 , η ) ∪ ( 1 − η , 1 ] . Together, the output Q Q Q of A \mathcal{A} A has satisfaction ratio s ( Q ) > 1 / 2 + ε s(Q)>1/2+\varepsilon s ( Q ) > 1/2 + ε with probability at most e − Ω ( m ) e^{-\Omega(m)} e − Ω ( m ) . This holds for every algorithm A \mathcal{A} A making polynomially many queries, proving (2).
We remark that the quantum algorithm we apply is not the generic DQI algorithm in [18 ] or the related algorithms in [7 , 6 HY26, 17 ] , nor the algorithm in § 8 . Indeed, generically applying these quantum algorithms give 1 / 2 + o ( 1 ) 1/2+o(1) 1/2 + o ( 1 ) satisfaction ratio guarantee since the rate of the code is vanishing. Instead, we apply the algorithm from [41 ] to the Yamakawa-Zhandry source ensemble (Definition 7.1 ) that we transform the OPI ensemble into, and then translate back. We remark that one could also use the original DQI algorithm of [18 ] (adapted for a folded version) on the transformed YZ ensemble.
Remark 7.8 (Alternative Parametrization). By tuning the parameter choices, we obtain an analogous version of Theorem 7.7 as follows: Let ε > 0 \varepsilon> 0 ε > 0 be any absolute constant. Then we may choose any sufficiently large fixed even t t t satisfying (7.8), rather than the least such t t t . If we take H = 1 H=1 H = 1 and N = ( m t ) N=\binom{m}{t} N = ( t m ) , then C C C has length n ≍ m t n\asymp m^t n ≍ m t and rate
R = Θ ε , t ( 1 m 2 log m ) = Θ ε , t ( n − 2 / t log n ) . R=\Theta_{\varepsilon,t}\left(\frac{1}{m^2\log m}\right)=\Theta_{\varepsilon,t}\left(\frac{n^{-2/t}}{\log n}\right). R = Θ ε , t ( m 2 log m 1 ) = Θ ε , t ( log n n − 2/ t ) .
Since n n n is now polynomial in m m m (rather than 2 Θ ( m ) 2^{\Theta(\sqrt{m})} 2 Θ ( m ) ), hardness of polynomial-query classical algorithms (rather than 2 O ( m ) 2^{O(\sqrt{m})} 2 O ( m ) queries) for the source ensemble Definition 7.1 suffices for this target ensemble. In this version, for any constant ε > 0 \varepsilon>0 ε > 0 and c > 0 c>0 c > 0 , choosing also t > 2 / c t>2/c t > 2/ c gives such a target ensemble with field size p = exp ( n Θ ( 1 ) ) p=\exp(n^{\Theta(1)}) p = exp ( n Θ ( 1 ) ) , rate R ≫ n − c R\gg n^{-c} R ≫ n − c , polynomial-query classical algorithms have ceiling 1 / 2 + ε 1/2+\varepsilon 1/2 + ε , and error probability e − Ω ( m ) = e − Ω ( n 1 / t ) e^{-\Omega(m)}=e^{-\Omega(n^{1/t})} e − Ω ( m ) = e − Ω ( n 1/ t ) .
Arbitrary Bias One-bit LLR Below Rate 1/2
In this appendix, we complete the proof of Theorem 1.3(2) by removing the balance assumption from § 6.3 . The idea is that for very biased leakages, g i g_i g i may have large supremum norm when ρ i \rho_i ρ i approaches zero or one, and the L 2 ( ν ) L^2(\nu) L 2 ( ν ) proxy recalled below need not be small in that regime.
F L L R ( ν , ν ′ ) = 1 4 E Z ∼ ν ∣ P ( L ν = Z ) − P ( L ν ′ = Z ) ν ( Z ) ∣ 2 where ν : = ⨂ i = 1 n Ber ( ρ i ) . (135) F_{\mathrm{LLR}}(\nu,\nu')=\frac{1}{4}\mathbb{E}_{Z\sim\nu}\left|\frac{\mathbb{P}(L_\nu=Z)-\mathbb{P}(L_{\nu'}=Z)}{\nu(Z)}\right|^2
\qquad\text{where}\quad\nu:=\bigotimes_{i=1}^{n}\operatorname{Ber}(\rho_i). \tag*{(135)} F LLR ( ν , ν ′ ) = 4 1 E Z ∼ ν ν ( Z ) P ( L ν = Z ) − P ( L ν ′ = Z ) 2 where ν := i = 1 ⨂ n Ber ( ρ i ) . (135)
This is illustrated in the following example.
Example A.1. Take ℓ i ( x ) = 1 { x = 0 } \ell_i(x)=\mathbf{1}\{x=0\} ℓ i ( x ) = 1 { x = 0 } , ν = 0 \nu=0 ν = 0 , and ν ′ ∉ C \nu'\notin C ν ′ ∈ / C . The all-one transcript has probabilities p − k p^{-k} p − k and zero under the two translates, but probability p − n p^{-n} p − n under ν \nu ν , giving
F L L R ( 0 , ν ′ ) ≥ 1 4 p n − 2 k . F_{\mathrm{LLR}}(0,\nu')\geq\frac{1}{4}p^{n-2k}. F LLR ( 0 , ν ′ ) ≥ 4 1 p n − 2 k .
which blows up when rate R = k / n < 1 / 2 R=k/n<1/2 R = k / n < 1/2 .
To handle this, we instead apply the L 1 ( ν ) L^1(\nu) L 1 ( ν ) triangle inequality directly. While it is weaker than the L 2 ( ν ) L^2(\nu) L 2 ( ν ) proxy at balance, it retains the density factor that helps when g i g_i g i leakages are biased.
Lemma A.2. Define c i : = 2 ρ i ( 1 − ρ i ) c_i:=2\sqrt{\rho_i(1-\rho_i)} c i := 2 ρ i ( 1 − ρ i ) for each i ∈ [ n ] i\in[n] i ∈ [ n ] . For every ν , ν ′ ∈ F p n \nu,\nu'\in\mathbb{F}_p^n ν , ν ′ ∈ F p n ,
2 d T V ( L ν , L ν ′ ) ≤ ∑ ∅ ≠ A ⊆ [ n ] ( ∏ i ∈ A c i ) ∣ ∑ y ∈ C ⊥ supp ( y ) = A [ e p ( − ⟨ ν , y ⟩ ) − e p ( − ⟨ ν ′ , y ⟩ ) ] ∏ i ∈ A g i ^ ( y i ) ∣ . (136) 2d_{\mathrm{TV}}(L_\nu,L_{\nu'})\leq\sum_{\varnothing\ne A\subseteq[n]}\left(\prod_{i\in A}c_i\right)\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}\left[e_p(-\langle\nu,y\rangle)-e_p(-\langle\nu',y\rangle)\right]\prod_{i\in A}\widehat{g_i}(y_i)\right|. \tag*{(136)} 2 d TV ( L ν , L ν ′ ) ≤ ∅ = A ⊆ [ n ] ∑ ( i ∈ A ∏ c i ) y ∈ C ⊥ supp ( y ) = A ∑ [ e p ( − ⟨ ν , y ⟩) − e p ( − ⟨ ν ′ , y ⟩) ] i ∈ A ∏ g i ( y i ) . (136)
Proof. By (43) and the triangle inequality,
2 d T V ( L ν , L ν ′ ) = E Z ∼ ν ∣ P ( L ν = Z ) − P ( L ν ′ = Z ) ν ( Z ) ∣ ≤ ∑ ∅ ≠ A ⊆ [ n ] ∣ E Z ∼ ν ∣ ψ A ( Z ) ∣ ∣ ∣ ∑ y ∈ C ⊥ supp ( y ) = A [ e p ( − ⟨ ν , y ⟩ ) − e p ( − ⟨ ν ′ , y ⟩ ) ] ∏ i ∈ A g i ^ ( y i ) ∣ . \begin{aligned}
2d_{\mathrm{TV}}(L_\nu,L_{\nu'})=\mathbb{E}_{Z\sim\nu}\left|\frac{\mathbb{P}(L_\nu=Z)-\mathbb{P}(L_{\nu'}=Z)}{\nu(Z)}\right| \\
&\leq\sum_{\varnothing\ne A\subseteq[n]}\left|\mathbb{E}_{Z\sim\nu}\left|\psi_A(Z)\right|\right|\left|\sum_{\substack{y\in C^\perp\\ \operatorname{supp}(y)=A}}\left[e_p(-\langle\nu,y\rangle)-e_p(-\langle\nu',y\rangle)\right]\prod_{i\in A}\widehat{g_i}(y_i)\right|.
\end{aligned} 2 d TV ( L ν , L ν ′ ) = E Z ∼ ν ν ( Z ) P ( L ν = Z ) − P ( L ν ′ = Z ) ≤ ∅ = A ⊆ [ n ] ∑ ∣ E Z ∼ ν ∣ ψ A ( Z ) ∣ ∣ y ∈ C ⊥ supp ( y ) = A ∑ [ e p ( − ⟨ ν , y ⟩) − e p ( − ⟨ ν ′ , y ⟩) ] i ∈ A ∏ g i ( y i ) .
The empty-support term vanishes. Since ν \nu ν is a product distribution,
E Z ∼ ν ∣ ψ A ( Z ) ∣ = ∏ i ∈ A E Z i ∼ ν i ∣ ψ i ( Z i ) ∣ = ∏ i ∈ A ( ρ i 1 − ρ i ρ i + ( 1 − ρ i ) ρ i 1 − ρ i ) = ∏ i ∈ A c i . \mathbb{E}_{Z\sim\nu}\left|\psi_A(Z)\right|=\prod_{i\in A}\mathbb{E}_{Z_i\sim\nu_i}\left|\psi_i(Z_i)\right|=\prod_{i\in A}\left(\rho_i\sqrt{\frac{1-\rho_i}{\rho_i}}+(1-\rho_i)\sqrt{\frac{\rho_i}{1-\rho_i}}\right)=\prod_{i\in A}c_i. E Z ∼ ν ∣ ψ A ( Z ) ∣ = i ∈ A ∏ E Z i ∼ ν i ∣ ψ i ( Z i ) ∣ = i ∈ A ∏ ( ρ i ρ i 1 − ρ i + ( 1 − ρ i ) 1 − ρ i ρ i ) = i ∈ A ∏ c i .
Substituting this identity proves (A.2). □ \square □
For the strongly biased coordinates, we apply the L 1 ( ν ) L^1(\nu) L 1 ( ν ) proxy together with the following Brascamp–Lieb inequality. This inequality was proved by an entropy argument in [HY26]; we include a short Hölder proof.
Lemma A.3 (Affine MDS Brascamp–Lieb). Let C ⊂ F p n C \subset\mathbb{F}_p^n C ⊂ F p n be an [ n , k ] [n,k] [ n , k ] MDS code of rate R = k / n R=k/n R = k / n , and let u ∈ F p n u \in\mathbb{F}_p^n u ∈ F p n . Then, for arbitrary functions h 1 , … , h n : F p → R ≥ 0 h_1,\ldots,h_n:\mathbb{F}_p\to\mathbb{R}_{\ge0} h 1 , … , h n : F p → R ≥ 0 ,
E x ∈ u + C ∏ i = 1 n h i ( x i ) ≤ ∏ i = 1 n ( E a ∈ F p h i ( a ) 1 / R ) R . (137) \mathbb{E}_{x\in u+C}\prod_{i=1}^{n}h_i(x_i)\le\prod_{i=1}^{n}\left(\mathbb{E}_{a\in\mathbb{F}_p}h_i(a)^{1/R}\right)^R. \tag*{(137)} E x ∈ u + C i = 1 ∏ n h i ( x i ) ≤ i = 1 ∏ n ( E a ∈ F p h i ( a ) 1/ R ) R . (137) Equivalently, writing ∥ ⋅ ∥ 1 / R \|\cdot\|_{1/R} ∥ ⋅ ∥ 1/ R for the unnormalized ℓ 1 / R ( F p ) \ell^{1/R}(\mathbb{F}_p) ℓ 1/ R ( F p ) norm,
∑ x ∈ u + C ∏ i = 1 n h i ( x i ) ≤ ∏ i = 1 n ∥ h i ∥ 1 / R . \sum_{x\in u+C}\prod_{i=1}^{n}h_i(x_i)\le\prod_{i=1}^{n}\|h_i\|_{1/R}. x ∈ u + C ∑ i = 1 ∏ n h i ( x i ) ≤ i = 1 ∏ n ∥ h i ∥ 1/ R . Proof. Every coordinate belongs to exactly ( n − 1 k − 1 ) = R ( n k ) \binom{n-1}{k-1}=R\binom{n}{k} ( k − 1 n − 1 ) = R ( k n ) sets in ( [ n ] k ) \binom{[n]}{k} ( k [ n ] ) . Hence
∏ i = 1 n h i ( x i ) = ∏ J ∈ ( [ n ] k ) ( ∏ j ∈ J h j ( x j ) ) 1 / ( R ( n k ) ) . \prod_{i=1}^{n}h_i(x_i)=\prod_{J\in\binom{[n]}{k}}\left(\prod_{j\in J}h_j(x_j)\right)^{1/\left(R\binom{n}{k}\right)}. i = 1 ∏ n h i ( x i ) = J ∈ ( k [ n ] ) ∏ j ∈ J ∏ h j ( x j ) 1/ ( R ( k n ) ) . Applying Hölder’s inequality with exponent ( n k ) \binom{n}{k} ( k n ) to each of the ( n k ) \binom{n}{k} ( k n ) factors gives
E x ∈ u + C ∏ i = 1 n h i ( x i ) ≤ ∏ J ∈ ( [ n ] k ) ( E x ∈ u + C ∏ j ∈ J h j ( x j ) 1 / R ) 1 / ( n k ) . \mathbb{E}_{x\in u+C}\prod_{i=1}^{n}h_i(x_i)\le\prod_{J\in\binom{[n]}{k}}\left(\mathbb{E}_{x\in u+C}\prod_{j\in J}h_j(x_j)^{1/R}\right)^{1/\binom{n}{k}}. E x ∈ u + C i = 1 ∏ n h i ( x i ) ≤ J ∈ ( k [ n ] ) ∏ E x ∈ u + C j ∈ J ∏ h j ( x j ) 1/ R 1/ ( k n ) . Since C C C is MDS, projection onto every J ∈ ( [ n ] k ) J\in\binom{[n]}{k} J ∈ ( k [ n ] ) is a bijection from u + C u+C u + C to F p J \mathbb{F}_p^J F p J . Therefore
E x ∈ u + C ∏ j ∈ J h j ( x j ) 1 / R = ∏ j ∈ J E a ∈ F p h j ( a ) 1 / R . \mathbb{E}_{x\in u+C}\prod_{j\in J}h_j(x_j)^{1/R}=\prod_{j\in J}\mathbb{E}_{a\in\mathbb{F}_p}h_j(a)^{1/R}. E x ∈ u + C j ∈ J ∏ h j ( x j ) 1/ R = j ∈ J ∏ E a ∈ F p h j ( a ) 1/ R . Substituting this identity and using that each coordinate belongs to an R R R fraction of the sets in ( [ n ] k ) \binom{[n]}{k} ( k [ n ] ) , we obtain
E x ∈ u + C ∏ i = 1 n h i ( x i ) ≤ ∏ J ∈ ( [ n ] k ) ( ∏ j ∈ J E a ∈ F p h j ( a ) 1 / R ) 1 / ( n k ) = ∏ i = 1 n ( E a ∈ F p h i ( a ) 1 / R ) R . \mathbb{E}_{x\in u+C}\prod_{i=1}^{n}h_i(x_i)\le\prod_{J\in\binom{[n]}{k}}\left(\prod_{j\in J}\mathbb{E}_{a\in\mathbb{F}_p}h_j(a)^{1/R}\right)^{1/\binom{n}{k}}=\prod_{i=1}^{n}\left(\mathbb{E}_{a\in\mathbb{F}_p}h_i(a)^{1/R}\right)^R. E x ∈ u + C i = 1 ∏ n h i ( x i ) ≤ J ∈ ( k [ n ] ) ∏ j ∈ J ∏ E a ∈ F p h j ( a ) 1/ R 1/ ( k n ) = i = 1 ∏ n ( E a ∈ F p h i ( a ) 1/ R ) R . This proves (A.3). Multiplying by ∣ C ∣ = p k = p R n |C|=p^k=p^{Rn} ∣ C ∣ = p k = p R n gives the equivalent unnormalized formulation. ∎
We now prove the arbitrary bias case of Theorem 1.3(3).
Lemma A.4. There exists an absolute constant δ > 0 \delta>0 δ > 0 such that for every generalized Reed–Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n of fixed rate R ≥ 1 / 2 − δ R\ge1/2-\delta R ≥ 1/2 − δ over a prime field F p \mathbb{F}_p F p with p ≥ n p\ge n p ≥ n , and every one-bit leakage tuple, uniformly over v , v ′ ∈ F p n v,v'\in\mathbb{F}_p^n v , v ′ ∈ F p n ,
d T V ( L v , L v ′ ) ≤ e − Ω ( n ) . d_{\mathrm{TV}}(L_v,L_{v'})\le e^{-\Omega(n)}. d TV ( L v , L v ′ ) ≤ e − Ω ( n ) .
We briefly highlight the proof idea, in comparison to the proof of Lemma 4.5 . We split by support size in comparison with m : = ⌊ ( 2 − δ ) k ⌋ m:=\lfloor(2-\delta)k\rfloor m := ⌊( 2 − δ ) k ⌋ as usual. The small supports are handled by the same F L L R + F^+_{\mathrm{LLR}} F LLR + and Lemma 1.17 as in the proof of Lemma 4.5 . For large supports, we use the U 3 U^3 U 3 bound when few coordinates are strongly biased, since the functions g i g_i g i are uniformly bounded near balance and have a U 3 U^3 U 3 gap, so we follow the proof of Lemma 4.5 ; when many coordinates are strongly biased, ∥ g i ∥ ∞ \|g_i\|_\infty ∥ g i ∥ ∞ may be large, but c i c_i c i is small and c i ∥ g i ∥ ∞ ≤ 2 c_i\|g_i\|_\infty\le2 c i ∥ g i ∥ ∞ ≤ 2 , so we use Lemma A.3 to exploit these small factors using E ∣ g i ∣ 2 = 1 \mathbb{E}|g_i|^2=1 E ∣ g i ∣ 2 = 1 , without paying the full ∥ g i ∥ ∞ \|g_i\|_\infty ∥ g i ∥ ∞ .
Proof. For R > 1 / 2 R > 1/2 R > 1/2 , it follows Corollary 4.3, so we fix R ∈ [ 1 / 2 − δ , 1 / 2 ] R \in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] . Fix q 0 < 1 q_0 < 1 q 0 < 1 supplied by Lemma 2.8 with τ = 1 / 4 \tau= 1/4 τ = 1/4 . Complementing individual leaked bits, we assume ρ i ≥ 1 / 2 \rho_i \ge1/2 ρ i ≥ 1/2 . Recall that
E ∣ g i ∣ 2 = 1 , c i ∥ g i ∥ ∞ = 2 ρ i ≤ 2. \mathbb{E}|g_i|^2 = 1, \qquad c_i\lVert g_i\rVert_\infty= 2\rho_i \le2. E ∣ g i ∣ 2 = 1 , c i ∥ g i ∥ ∞ = 2 ρ i ≤ 2.
We choose ε > 0 \varepsilon> 0 ε > 0 sufficiently small and then δ > 0 \delta> 0 δ > 0 sufficiently small depending on ε \varepsilon ε . Define support cutoff m : = ⌊ ( 2 − δ ) k ⌋ m := \lfloor(2-\delta)k\rfloor m := ⌊( 2 − δ ) k ⌋ . By Lemma A.2 and Fourier inversion,
d T V ( L v , L v ′ ) ≤ 1 2 ∑ u ∈ { v , v ′ } ∑ ∅ ≠ A ⊆ [ n ] ( ∏ i ∈ A c i ) ∣ E x ∈ u + C ∏ i ∈ A g i ( x i ) ∣ . d_{\mathrm{TV}}(L_v,L_{v'}) \le\frac{1}{2}\sum_{u\in\{v,v'\}}\sum_{\varnothing\ne A\subseteq[n]}\left(\prod_{i\in A}c_i\right)\left|\mathbb{E}_{x\in u+C}\prod_{i\in A}g_i(x_i)\right|. d TV ( L v , L v ′ ) ≤ 2 1 u ∈ { v , v ′ } ∑ ∅ = A ⊆ [ n ] ∑ ( i ∈ A ∏ c i ) E x ∈ u + C i ∈ A ∏ g i ( x i ) .
Fix a translate u u u . We bound the sum over A A A in three cases, depending on
t : = ∣ { i ∈ A : ρ i > 1 + ε 2 } ∣ . t := \left|\left\{i\in A:\rho_i>\frac{1+\varepsilon}{2}\right\}\right|. t := { i ∈ A : ρ i > 2 1 + ε } .
Suppose 0 < ∣ A ∣ ≤ m 0<|A|\le m 0 < ∣ A ∣ ≤ m . Forgetting phases and using c i ≤ 1 c_i\le1 c i ≤ 1 , we proceed exactly as the proof of Lemma 4.5 : we apply Lemma 1.17 with t = m t=m t = m , γ = 2 / π + O ( p − 2 ) \gamma=2/\pi+O(p^{-2}) γ = 2/ π + O ( p − 2 ) via Corollary 2.5 , and Γ = 1 \Gamma=1 Γ = 1 via Parseval. These verifications hold uniformly over the biases. Since 2 k − m ∼ δ k ∼ n 2k-m\sim\delta k\sim n 2 k − m ∼ δ k ∼ n ,
∑ 0 < ∣ A ∣ ≤ m ( ∏ i ∈ A c i ) ∣ E x ∈ u + C ∏ i ∈ A g i ( x i ) ∣ ≤ ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ n O ( 1 ) ( 2 π ) k = e − Ω ( n ) . (138) \sum_{0<|A|\le m}\left(\prod_{i\in A}c_i\right)\left|\mathbb{E}_{x\in u+C}\prod_{i\in A}g_i(x_i)\right|
\le\sum_{\substack{0\ne y\in C^\perp\\ |y|\le m}}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|
\le n^{O(1)}\left(\frac{2}{\pi}\right)^k=e^{-\Omega(n)}. \tag*{(138)} 0 < ∣ A ∣ ≤ m ∑ ( i ∈ A ∏ c i ) E x ∈ u + C i ∈ A ∏ g i ( x i ) ≤ 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ n O ( 1 ) ( π 2 ) k = e − Ω ( n ) . (138)
d : = ⌊ 3 k − n 2 ⌋ ≥ ( 1 4 − 3 2 δ ) n − O ( 1 ) . d:=\left\lfloor\frac{3k-n}{2}\right\rfloor\ge\left(\frac14-\frac32\delta\right)n-O(1). d := ⌊ 2 3 k − n ⌋ ≥ ( 4 1 − 2 3 δ ) n − O ( 1 ) .
For sufficiently small ε , δ \varepsilon,\delta ε , δ , there are at least d d d near-balanced coordinates in A A A , since ∣ A ∣ − t > m − ε n > d |A|-t>m-\varepsilon n>d ∣ A ∣ − t > m − ε n > d . Choose J J J of size d d d among them. For j ∈ J j\in J j ∈ J , we have 2 ρ j − 1 ∈ [ 0 , ε ] 2\rho_j-1\in[0,\varepsilon] 2 ρ j − 1 ∈ [ 0 , ε ] . Since c j g j = 21 S j − 2 ρ j c_jg_j=2\mathbf{1}_{S_j}-2\rho_j c j g j = 2 1 S j − 2 ρ j , Lemma 2.8 and the triangle inequality give
c j ∥ g j ∥ U 3 ≤ ∥ 21 S j − 1 ∥ U 3 + 2 ρ j − 1 ≤ q 0 + ε . c_j\lVert g_j\rVert_{U^3}\le\lVert2\mathbf{1}_{S_j}-1\rVert_{U^3}+2\rho_j-1\le q_0+\varepsilon. c j ∥ g j ∥ U 3 ≤ ∥ 2 1 S j − 1 ∥ U 3 + 2 ρ j − 1 ≤ q 0 + ε .
Moreover, c i ∥ g i ∥ ∞ = 2 ρ i c_i\lVert g_i\rVert_\infty=2\rho_i c i ∥ g i ∥ ∞ = 2 ρ i is at most 1 + ε 1+\varepsilon 1 + ε on near-balanced coordinates and at most two everywhere. Apply Lemma 2.10 to c i g i c_ig_i c i g i on A A A and the constant function one outside A A A , we obtain
( ∏ i ∈ A c i ) ∣ E x ∈ u + C ∏ i ∈ A g i ( x i ) ∣ ≤ 2 t ( 1 + ε ) n ( q 0 + ε ) d ≤ 2 [ ε + log 2 ( 1 + ε ) + ( 1 4 − 3 2 δ ) log 2 ( q 0 + ε ) + o ( 1 ) ] n . \left(\prod_{i\in A}c_i\right)\left|\mathbb{E}_{x\in u+C}\prod_{i\in A}g_i(x_i)\right|
\le2^t(1+\varepsilon)^n(q_0+\varepsilon)^d
\le2^{[\varepsilon+\log_2(1+\varepsilon)+(\frac14-\frac32\delta)\log_2(q_0+\varepsilon)+o(1)]n}. ( i ∈ A ∏ c i ) E x ∈ u + C i ∈ A ∏ g i ( x i ) ≤ 2 t ( 1 + ε ) n ( q 0 + ε ) d ≤ 2 [ ε + l o g 2 ( 1 + ε ) + ( 4 1 − 2 3 δ ) l o g 2 ( q 0 + ε ) + o ( 1 )] n .
Suppose ∣ A ∣ > m |A|>m ∣ A ∣ > m and t > ε n t>\varepsilon n t > ε n , then each of these t t t coordinates satisfies c i 2 = 4 ρ i ( 1 − ρ i ) ≤ 1 − ε 2 c_i^2=4\rho_i(1-\rho_i)\le1-\varepsilon^2 c i 2 = 4 ρ i ( 1 − ρ i ) ≤ 1 − ε 2 . Apply Lemma A.3 to u + C u+C u + C , taking h i = ∣ g i ∣ h_i=|g_i| h i = ∣ g i ∣ for i ∈ A i\in A i ∈ A and h i = 1 h_i=1 h i = 1 otherwise. We obtain
( ∏ i ∈ A c i ) ∣ E x ∈ u + C ∏ i ∈ A g i ( x i ) ∣ ≤ ∏ i ∈ A c i ( E ∣ g i ∣ 1 / R ) R . \left(\prod_{i\in A}c_i\right)\left|\mathbb{E}_{x\in u+C}\prod_{i\in A}g_i(x_i)\right|
\le\prod_{i\in A}c_i\left(\mathbb{E}|g_i|^{1/R}\right)^R. ( i ∈ A ∏ c i ) E x ∈ u + C i ∈ A ∏ g i ( x i ) ≤ i ∈ A ∏ c i ( E ∣ g i ∣ 1/ R ) R .
Since R ≤ 1 / 2 R\le1/2 R ≤ 1/2 and E ∣ g i ∣ 2 = 1 \mathbb{E}|g_i|^2=1 E ∣ g i ∣ 2 = 1 , E ∣ g i ∣ 1 / R ≤ ∥ g i ∥ ∞ 1 / R − 2 E ∣ g i ∣ 2 = ∥ g i ∥ ∞ 1 / R − 2 \mathbb{E}|g_i|^{1/R}\le\lVert g_i\rVert_\infty^{1/R-2}\mathbb{E}|g_i|^2=\lVert g_i\rVert_\infty^{1/R-2} E ∣ g i ∣ 1/ R ≤ ∥ g i ∥ ∞ 1/ R − 2 E ∣ g i ∣ 2 = ∥ g i ∥ ∞ 1/ R − 2 . Hence, as c i ∥ g i ∥ ∞ ≤ 2 c_i\lVert g_i\rVert_\infty\le2 c i ∥ g i ∥ ∞ ≤ 2 ,
c i ( E ∣ g i ∣ 1 / R ) R ≤ c i ∥ g i ∥ ∞ 1 − 2 R ≤ 2 1 − 2 R c i 2 R . c_i\left(\mathbb{E}|g_i|^{1/R}\right)^R\le c_i\lVert g_i\rVert_\infty^{1-2R}\le2^{1-2R}c_i^{2R}. c i ( E ∣ g i ∣ 1/ R ) R ≤ c i ∥ g i ∥ ∞ 1 − 2 R ≤ 2 1 − 2 R c i 2 R .
Multiplying over A A A and recalling that c i 2 ≤ 1 − ε 2 c_i^2 \le1-\varepsilon^2 c i 2 ≤ 1 − ε 2 for t t t -many coordinates i i i , we have
( ∏ i ∈ A c i ) ∣ E x ∈ u + C ∏ i ∈ A g i ( x i ) ∣ ≤ 2 ( 1 − 2 R ) ∣ A ∣ ∏ i ∈ A c i 2 R ≤ 2 ( 1 − 2 R ) n ( 1 − ε 2 ) R t ≤ 2 [ 2 δ + ( 1 2 − δ ) ε log 2 ( 1 − ε 2 ) ] n . \left(\prod_{i\in A}c_i\right)\left|\mathbb{E}_{x\in u+C}\prod_{i\in A}g_i(x_i)\right|\le2^{(1-2R)|A|}\prod_{i\in A}c_i^{2R}\le2^{(1-2R)n}(1-\varepsilon^2)^{Rt}\le2^{\left[2\delta+\left(\frac{1}{2}-\delta\right)\varepsilon\log_2(1-\varepsilon^2)\right]n}. ( i ∈ A ∏ c i ) E x ∈ u + C i ∈ A ∏ g i ( x i ) ≤ 2 ( 1 − 2 R ) ∣ A ∣ i ∈ A ∏ c i 2 R ≤ 2 ( 1 − 2 R ) n ( 1 − ε 2 ) R t ≤ 2 [ 2 δ + ( 2 1 − δ ) ε l o g 2 ( 1 − ε 2 ) ] n .
To sum the last two cases, (54) bounds the number of supports with ∣ A ∣ > m |A|>m ∣ A ∣ > m by 2 [ H 2 ( 5 2 δ − δ 2 ) + o ( 1 ) ] n 2^{[H_2(\frac{5}{2}\delta-\delta^2)+o(1)]n} 2 [ H 2 ( 2 5 δ − δ 2 ) + o ( 1 )] n . Now, we choose δ , ε > 0 \delta,\varepsilon>0 δ , ε > 0 depending on constant q 0 < 1 q_0<1 q 0 < 1 . First choose ε > 0 \varepsilon>0 ε > 0 sufficiently small that
ε + log 2 ( 1 + ε ) + 1 4 log 2 ( q 0 + ε ) < 0. \varepsilon+\log_2(1+\varepsilon)+\frac{1}{4}\log_2(q_0+\varepsilon)<0. ε + log 2 ( 1 + ε ) + 4 1 log 2 ( q 0 + ε ) < 0.
Then choose δ > 0 \delta>0 δ > 0 sufficiently small that
H 2 ( 5 2 δ − δ 2 ) + ε + log 2 ( 1 + ε ) + ( 1 4 − 3 2 δ ) log 2 ( q 0 + ε ) < 0 , H_2\left(\frac{5}{2}\delta-\delta^2\right)+\varepsilon+\log_2(1+\varepsilon)+\left(\frac{1}{4}-\frac{3}{2}\delta\right)\log_2(q_0+\varepsilon)<0, H 2 ( 2 5 δ − δ 2 ) + ε + log 2 ( 1 + ε ) + ( 4 1 − 2 3 δ ) log 2 ( q 0 + ε ) < 0 ,
H 2 ( 5 2 δ − δ 2 ) + 2 δ + ( 1 2 − δ ) ε log 2 ( 1 − ε 2 ) < 0. H_2\left(\frac{5}{2}\delta-\delta^2\right)+2\delta+\left(\frac{1}{2}-\delta\right)\varepsilon\log_2(1-\varepsilon^2)<0. H 2 ( 2 5 δ − δ 2 ) + 2 δ + ( 2 1 − δ ) ε log 2 ( 1 − ε 2 ) < 0.
Both expressions are strictly negative at δ = 0 \delta=0 δ = 0 . Thus all three cases contribute e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) , uniformly over the leakage tuple and the translates, proving the claim.
Near-balanced OPI Discrepancy Below Rate 1/2
We complete Theorem 1.11(2). Unlike the preceding appendix on the arbitrary-bias case of Theorem 1.3(2), we only need to perturb the balanced OPI argument by a small constant in the density. Then, in the same support split by m = ⌊ ( 2 − δ ) k ⌋ m=\lfloor(2-\delta)k\rfloor m = ⌊( 2 − δ ) k ⌋ as in (12) , the low-support estimate remains valid. For the high supports, we need to be a bit more careful.
Lemma B.1. There exists an absolute constant δ > 0 \delta>0 δ > 0 such that for every generalized Reed–Solomon code C ⊂ F p n C\subset\mathbb{F}_p^n C ⊂ F p n of fixed rate R ≥ 1 / 2 − δ R\ge1/2-\delta R ≥ 1/2 − δ over a prime field F p \mathbb{F}_p F p with p ≥ n p\ge n p ≥ n , then uniformly over every OPI instance with common density ρ i = ρ ≥ 1 / 2 − δ \rho_i=\rho\ge1/2-\delta ρ i = ρ ≥ 1/2 − δ and v ∈ F p n v\in\mathbb{F}_p^n v ∈ F p n ,
F O P I ( v ) ≤ e − Ω ( n ) . F_{\mathrm{OPI}}(v)\le e^{-\Omega(n)}. F OPI ( v ) ≤ e − Ω ( n ) .
Proof. For R > 1 / 2 R>1/2 R > 1/2 , it follows Lemma 5.1 , so we fix R ∈ [ 1 / 2 − δ , 1 / 2 ] R\in[1/2-\delta,1/2] R ∈ [ 1/2 − δ , 1/2 ] . Let m : = ⌊ ( 2 − δ ) k ⌋ m:=\lfloor(2-\delta)k\rfloor m := ⌊( 2 − δ ) k ⌋ and λ : = ( 1 − ρ ) / ρ \lambda:=\sqrt{(1-\rho)/\rho} λ := ( 1 − ρ ) / ρ . As in the proof of Lemma 5.2 , we split by m m m the support size and bound
F O P I ( v ) ≤ ∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m λ ∣ y ∣ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ + ∑ ∣ A ∣ > m λ ∣ A ∣ ∣ E x ∈ v + C ∏ i ∈ A g i ( x i ) ∣ . F_{\mathrm{OPI}}(v)\le\sum_{\substack{0\ne y\in C^\perp\\ |y|\le m}}\lambda^{|y|}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|+\sum_{|A|>m}\lambda^{|A|}\left|\mathbb{E}_{x\in v+C}\prod_{i\in A}g_i(x_i)\right|. F OPI ( v ) ≤ 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ λ ∣ y ∣ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ + ∣ A ∣ > m ∑ λ ∣ A ∣ E x ∈ v + C i ∈ A ∏ g i ( x i ) .
We bound the two terms separately.
∑ ξ ≠ 0 ( λ ∣ g i ^ ( ξ ) ∣ ) 2 = 1 − ρ ρ , λ ∣ g i ^ ( ξ ) ∣ ≤ sin ( π ρ ) π ρ + O ρ ( p − 2 ) . \sum_{\xi\ne0}(\lambda|\widehat{g_i}(\xi)|)^2=\frac{1-\rho}{\rho},\qquad\lambda|\widehat{g_i}(\xi)|\le\frac{\sin(\pi\rho)}{\pi\rho}+O_\rho(p^{-2}). ξ = 0 ∑ ( λ ∣ g i ( ξ ) ∣ ) 2 = ρ 1 − ρ , λ ∣ g i ( ξ ) ∣ ≤ π ρ sin ( π ρ ) + O ρ ( p − 2 ) .
On the fixed interval ∣ ρ − 1 / 2 ∣ ≤ δ |\rho-1/2|\le\delta ∣ ρ − 1/2∣ ≤ δ , the first quantity is bounded and the second has a uniform limiting bound below one. Since 2 k − m ∼ δ k ≍ n 2k-m\sim\delta k\asymp n 2 k − m ∼ δ k ≍ n , Lemma 1.17 gives
∑ 0 ≠ y ∈ C ⊥ ∣ y ∣ ≤ m λ ∣ y ∣ ∏ i ∈ supp ( y ) ∣ g i ^ ( y i ) ∣ ≤ n O ( 1 ) ( sin ( π ρ ) π ρ ) k = e − Ω ( n ) . \sum_{\substack{0\ne y\in C^\perp\\ |y|\le m}}\lambda^{|y|}\prod_{i\in\operatorname{supp}(y)}|\widehat{g_i}(y_i)|\le n^{O(1)}\left(\frac{\sin(\pi\rho)}{\pi\rho}\right)^k=e^{-\Omega(n)}. 0 = y ∈ C ⊥ ∣ y ∣ ≤ m ∑ λ ∣ y ∣ i ∈ supp ( y ) ∏ ∣ g i ( y i ) ∣ ≤ n O ( 1 ) ( π ρ sin ( π ρ ) ) k = e − Ω ( n ) .
λ g i = 1 S i − ρ ρ = 21 S i − 1 − ( 2 ρ − 1 ) 2 ρ ⟹ λ ∥ g i ∥ ∞ = max { 1 , 1 − ρ ρ } ≤ 1 + 2 δ 1 − 2 δ . \lambda g_i=\frac{1_{S_i}-\rho}{\rho}=\frac{2 1_{S_i}-1-(2\rho-1)}{2\rho}\Longrightarrow\lambda\lVert g_i\rVert_\infty=\max\left\{1,\frac{1-\rho}{\rho}\right\}\le\frac{1+2\delta}{1-2\delta}. λ g i = ρ 1 S i − ρ = 2 ρ 2 1 S i − 1 − ( 2 ρ − 1 ) ⟹ λ ∥ g i ∥ ∞ = max { 1 , ρ 1 − ρ } ≤ 1 − 2 δ 1 + 2 δ .
Fix q 0 < 1 q_0<1 q 0 < 1 from Lemma 2.8 with τ = 1 / 4 \tau=1/4 τ = 1/4 . Since ∣ 2 ρ − 1 ∣ ≤ 2 δ |2\rho-1|\le2\delta ∣2 ρ − 1∣ ≤ 2 δ , the same lemma and the triangle inequality give
λ ∥ g i ∥ U 3 ≤ ∥ 21 S i − 1 ∥ U 3 + ∣ 2 ρ − 1 ∣ 2 ρ ≤ q 0 + 2 δ 1 − 2 δ < 1. \lambda\lVert g_i\rVert_{U^3}\le\frac{\lVert2 1_{S_i}-1\rVert_{U^3}+|2\rho-1|}{2\rho}\le\frac{q_0+2\delta}{1-2\delta}<1. λ ∥ g i ∥ U 3 ≤ 2 ρ ∥ 2 1 S i − 1 ∥ U 3 + ∣2 ρ − 1∣ ≤ 1 − 2 δ q 0 + 2 δ < 1.
for sufficiently small δ \delta δ . Let
d : = ⌊ 3 k − n 2 ⌋ ≥ ( 1 4 − 3 2 δ ) n − O ( 1 ) . d:=\left\lfloor\frac{3k-n}{2}\right\rfloor\ge\left(\frac14-\frac32\delta\right)n-O(1). d := ⌊ 2 3 k − n ⌋ ≥ ( 4 1 − 2 3 δ ) n − O ( 1 ) .
Apply Lemma 2.10 , using λ g i \lambda g_i λ g i on A A A , the constant function one outside A A A , and any d d d coordinates from A A A for the U 3 U^3 U 3 bounds. We obtain
λ ∣ A ∣ ∣ E x ∈ v + C ∏ i ∈ A g i ( x i ) ∣ ≤ ( 1 + 2 δ 1 − 2 δ ) n ( q 0 + 2 δ 1 − 2 δ ) d . \lambda^{|A|}\left|\mathbb{E}_{x\in v+C}\prod_{i\in A}g_i(x_i)\right|\le\left(\frac{1+2\delta}{1-2\delta}\right)^n\left(\frac{q_0+2\delta}{1-2\delta}\right)^d. λ ∣ A ∣ E x ∈ v + C i ∈ A ∏ g i ( x i ) ≤ ( 1 − 2 δ 1 + 2 δ ) n ( 1 − 2 δ q 0 + 2 δ ) d .
Counting supports by (54) , their total contribution is at most
2 [ H 2 ( 5 2 δ − δ 2 ) + log 2 ( 1 + 2 δ 1 − 2 δ ) + ( 1 4 − 3 2 δ ) log 2 ( q 0 + 2 δ 1 − 2 δ ) + o ( 1 ) ] n . 2^{\left[H_2\left(\frac52\delta-\delta^2\right)+\log_2\left(\frac{1+2\delta}{1-2\delta}\right)+\left(\frac14-\frac32\delta\right)\log_2\left(\frac{q_0+2\delta}{1-2\delta}\right)+o(1)\right]n}. 2 [ H 2 ( 2 5 δ − δ 2 ) + l o g 2 ( 1 − 2 δ 1 + 2 δ ) + ( 4 1 − 2 3 δ ) l o g 2 ( 1 − 2 δ q 0 + 2 δ ) + o ( 1 ) ] n .
The limiting exponent at δ = 0 \delta=0 δ = 0 is 1 4 log 2 q 0 < 0 \frac14\log_2q_0<0 4 1 log 2 q 0 < 0 . Choosing δ > 0 \delta>0 δ > 0 sufficiently small therefore makes this contribution e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) .
Combining the two estimates proves the lemma. □
Finally, suppose only that ρ i ≥ 1 / 2 − δ \rho_i\ge1/2-\delta ρ i ≥ 1/2 − δ . Put t : = ⌈ ( 1 / 2 − δ ) p ⌉ t:=\lceil(1/2-\delta)p\rceil t := ⌈( 1/2 − δ ) p ⌉ , and choose each T i T_i T i independently and uniformly among the t t t -subsets of S i S_i S i . For sufficiently large p p p , their common density t / p t/p t / p belongs to [ 1 / 2 − δ , 1 / 2 + δ ] [1/2-\delta,1/2+\delta] [ 1/2 − δ , 1/2 + δ ] . Apply Proposition 2.13 to v + C v+C v + C :
F O P I ( v ; C , S ) ≤ E T F O P I ( v ; C , T 1 × ⋯ × T n ) ≤ e − Ω R ( n ) . F_{\mathrm{OPI}}(v;C,\mathbf{S})\le\mathbb{E}_{T}F_{\mathrm{OPI}}(v;C,T_1\times\cdots\times T_n)\le e^{-\Omega_R(n)}. F OPI ( v ; C , S ) ≤ E T F OPI ( v ; C , T 1 × ⋯ × T n ) ≤ e − Ω R ( n ) .
This proves the discrepancy bound for lists S \mathbf{S} S and completes Theorem 1.11(2) at v = 0 v=0 v = 0 by Lemma 3.1.
Proof sketch of Fact 5.10
In this appendix, we sketch the proof of Fact 5.10, which is implicit in [HMSY26]. For the reader’s convenience, we first re-state the fact.
Fact 5.10. (Implicit in [HMSY26, Proof of Proposition 10.3]). Fix any s ≥ 4 s\ge4 s ≥ 4 and η > 0 \eta>0 η > 0 , and let G \mathcal{G} G be the class of functions guaranteed in Fact 5.9 . Also, fix any rate R = k / n ∈ ( 0 , 1 ) R=k/n\in(0,1) R = k / n ∈ ( 0 , 1 ) , and ν , L > 0 \nu,L>0 ν , L > 0 . For sufficiently large n n n and p p p where log p ≥ n Ω ( 1 ) \log p\ge n^{\Omega(1)} log p ≥ n Ω ( 1 ) , there exists an event G o o d \mathrm{Good} Good with P C ( G o o d ) ≥ 1 − ε \mathbb{P}_{\mathcal{C}}(\mathrm{Good})\ge1-\varepsilon P C ( Good ) ≥ 1 − ε for ε : = e − L n \varepsilon:=e^{-Ln} ε := e − L n , on which the following holds simultaneously for every G = ( G 1 , … , G n ) ∈ G n \mathbf{G}=(G_1,\ldots,G_n)\in\mathcal{G}^n G = ( G 1 , … , G n ) ∈ G n with ν i : = E G i ≥ ν \nu_i:=\mathbb{E}G_i\ge\nu ν i := E G i ≥ ν for every i ∈ [ n ] i\in[n] i ∈ [ n ] : there exists I ⊂ [ n ] I\subset[n] I ⊂ [ n ] , finite dimensional vector spaces V i V_i V i over F p \mathbb{F}_p F p for each i ∈ I i\in I i ∈ I , a linear code C ~ ⊂ ∏ i ∈ I V i \widetilde{C}\subset\prod_{i\in I}V_i C ⊂ ∏ i ∈ I V i , and functions G ~ i : V i → [ 0 , 1 ] \widetilde{G}_i:V_i\to[0,1] G i : V i → [ 0 , 1 ] , such that:
C ~ ⊥ \widetilde{C}^{\perp} C ⊥ has length ∣ I ∣ = n − O ( 1 ) |I| = n - O(1) ∣ I ∣ = n − O ( 1 ) , dimension k ~ = O ( 1 ) \widetilde{k} = O(1) k = O ( 1 ) , and minimum distance d ~ ≥ k − O ( 1 ) \widetilde{d} \ge k - O(1) d ≥ k − O ( 1 ) ,
E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i \le\nu_i E G i ≤ ν i for every i ∈ I i \in I i ∈ I , and
∣ E x ∈ C ∏ i = 1 n G i ( x i ) − ∏ i = 1 n ν i ∣ ≤ 2 ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I ∣ G ~ ^ i ( y i ) ∣ + ε . (139) \left|\mathbb{E}_{x \in C} \prod_{i=1}^{n} G_i(x_i) - \prod_{i=1}^{n} \nu_i\right| \le2 \sum_{0 \ne y \in\widetilde{C}^{\perp}} \prod_{i \in I} \left|\widehat{\widetilde{G}}_i(y_i)\right| + \varepsilon. \tag*{(139)} E x ∈ C i = 1 ∏ n G i ( x i ) − i = 1 ∏ n ν i ≤ 2 0 = y ∈ C ⊥ ∑ i ∈ I ∏ G i ( y i ) + ε . (139)
Proof sketch. The proof of Fact 5.10 is implicit in the proof of Proposition 10.3 in [HMSY26]. For completeness, we sketch here how to put together the pieces in [HMSY26] to obtain this result. Below, when we refer to “steps” in the proof, we are referring to the steps in the proof of Proposition 10.3 in [HMSY26]. We emphasize that this proof sketch is meant to be read alongside [HMSY26], and is not a stand-alone proof.
For notations, our code C C C has length n n n and dimension k k k , the Gowers norm is U s U^s U s , the evaluation points are α ∈ F p n \alpha\in\mathbb{F}_p^n α ∈ F p n , and the structured family is G \mathcal{G} G ; in [HMSY26], the code has length m m m , dimension r r r , the Gowers norm is U ℓ U^\ell U ℓ , the evaluation points are a ∈ F p m a \in\mathbb{F}_p^m a ∈ F p m , and the structured class is G p , ℓ \mathcal{G}_{p,\ell} G p , ℓ .
In Step 1(a) and 1(b) of the proof of Proposition 10.3 in [HMSY26], they define a quantity called q c e r t q_{\mathrm{cert}} q cert , and observe that q c e r t = O ( 1 ) q_{\mathrm{cert}} = O(1) q cert = O ( 1 ) . By equation (79) of [HMSY26], the total number of revealed coordinates is at most ( s − 1 ) 2 q c e r t = O ( 1 ) (s-1)^2q_{\mathrm{cert}} = O(1) ( s − 1 ) 2 q cert = O ( 1 ) . This is the source of the O ( 1 ) O(1) O ( 1 ) terms in Fact 5.10(1).
Now, the event Good is defined in Step 1(d) and equations (82)–(84) in [HMSY26], which depends only on evaluation places and the fixed parameters. Moreover, P ( G o o d c ) ≤ p − 1 exp ( n O ( 1 ) ) \mathbb{P}(\mathrm{Good}^{c}) \le p^{-1}\exp(n^{O(1)}) P ( Good c ) ≤ p − 1 exp ( n O ( 1 ) ) , which is exponentially small under our choice of p p p . We condition on Good for the rest of the proof.
In Step 5(c), [HMSY26] reveals the O ( 1 ) O(1) O ( 1 ) coordinates and calls u u u the information encoding both the positions revealed and the values of a random codeword at these positions. In Step 6, [HMSY26] defines E i f i n E_i^{\mathrm{fin}} E i fin in equation (97), which is V i V_i V i in Fact 5.10; and also defines A i ⋆ : V i → [ 0 , 1 ] A_i^\star: V_i \to[0,1] A i ⋆ : V i → [ 0 , 1 ] , which is G ~ i \widetilde{G}_i G i in Fact 5.10. Then, the Fourier coefficients μ i \mu_i μ i in equation (98) has support exactly S i S_i S i in our notation, so their relation space V 0 V_0 V 0 on I I I from page 86 is precisely our dual auxiliary code C ~ ⊥ \widetilde{C}^{\perp} C ⊥ . On page 86, [HMSY26] checks exactly that it has dimension O ( 1 ) O(1) O ( 1 ) and distance k − O ( 1 ) k-O(1) k − O ( 1 ) , proving Fact 5.10(1).
Note that in Step 5(b), before conversion to the total variation bounds needed for LLR which sums over bit strings y y y , [HMSY26] derives on page 84 pointwise upper bounds on
∣ P f ( y ) − Q f ( y ) ∣ ≤ ∣ P f ( y ) − P ~ f ( y ) ∣ + ∣ Q f ( y ) − Q ~ f ( y ) ∣ + ∣ P ~ f ( y ) − Q ~ f ( y ) ∣ (140) |P_f(y) - Q_f(y)| \le|P_f(y) - \widetilde{P}_f(y)| + |Q_f(y) - \widetilde{Q}_f(y)| + |\widetilde{P}_f(y) - \widetilde{Q}_f(y)| \tag*{(140)} ∣ P f ( y ) − Q f ( y ) ∣ ≤ ∣ P f ( y ) − P f ( y ) ∣ + ∣ Q f ( y ) − Q f ( y ) ∣ + ∣ P f ( y ) − Q f ( y ) ∣ (140)
and shows the first two terms are exponentially small. To deduce (5.28), we observe that the first two terms are chosen small enough to be absorbed by ε \varepsilon ε and that E x ∈ C ∏ i = 1 n G i ( x i ) = P f ( 1 ) \mathbb{E}_{x \in C} \prod_{i=1}^{n} G_i(x_i) = P_f(1) E x ∈ C ∏ i = 1 n G i ( x i ) = P f ( 1 ) and ∏ i = 1 n ν i = Q f ( 1 ) \prod_{i=1}^{n} \nu_i = Q_f(1) ∏ i = 1 n ν i = Q f ( 1 ) , so it suffices to bound the last term in the display above.
We turn to bounding the last term of (C.1) for y = 1 y=1 y = 1 and fixing any revealed coordinates u u u , which [HMSY26] calls P u t o r ( 1 ) − Q u t o r ( 1 ) P_u^{\mathrm{tor}}(1)-Q_u^{\mathrm{tor}}(1) P u tor ( 1 ) − Q u tor ( 1 ) on page 88 in Step 7. The revealed-coordinate factors are common and lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , so their average is bounded by the largest conditional discrepancy. The errors in (96) and (101) are absorbed into ε \varepsilon ε as well. [HMSY26] bounds for y = 1 y=1 y = 1 and γ \gamma γ renamed to y y y below (and in Fact 5.10) that
∣ P u t o r ( 1 ) − Q u t o r ( 1 ) ∣ ≤ ( 1 + O ( ρ s − 1 , p ) ) ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I ∣ A i ⋆ ( y i ) ∣ ⋅ ∣ M y − N y ∣ ≤ ( 1 + O ( ρ s − 1 , p ) ) ∑ 0 ≠ y ∈ C ~ ⊥ ∏ i ∈ I ∣ A i ⋆ ( y i ) ∣ + e − Ω ( n ) . (141) \begin{aligned}
|P_u^{\mathrm{tor}}(1)-Q_u^{\mathrm{tor}}(1)|
&\le(1+O(\rho_{s-1,p}))\sum_{0\ne y\in\widetilde{C}^{\perp}}\prod_{i\in I}|A_i^\star(y_i)|\cdot|M_y-N_y| \\
&\le(1+O(\rho_{s-1,p}))\sum_{0\ne y\in\widetilde{C}^{\perp}}\prod_{i\in I}|A_i^\star(y_i)|+\mathrm{e}^{-\Omega(n)}. \tag*{(141)}
\end{aligned} ∣ P u tor ( 1 ) − Q u tor ( 1 ) ∣ ≤ ( 1 + O ( ρ s − 1 , p )) 0 = y ∈ C ⊥ ∑ i ∈ I ∏ ∣ A i ⋆ ( y i ) ∣ ⋅ ∣ M y − N y ∣ ≤ ( 1 + O ( ρ s − 1 , p )) 0 = y ∈ C ⊥ ∑ i ∈ I ∏ ∣ A i ⋆ ( y i ) ∣ + e − Ω ( n ) . (141)
where ρ s − 1 , p \rho_{s-1,p} ρ s − 1 , p is exponentially small by equations (100) and (102) of [HMSY26], and the second inequality follows the bounds in the main display on page 88 and equation (103) of [HMSY26]. They also immediately sum over all bit strings, but we retain only 1. At this point, upon identifying A i ⋆ = G ~ i A_i^\star=\widetilde{G}_i A i ⋆ = G i , we have essentially proven Fact 5.10 except for E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i\le\nu_i E G i ≤ ν i . To do so, we recall that ν i : = E z ∈ F p G i ( z ) \nu_i:=\mathbb{E}_{z\in\mathbb{F}_p}G_i(z) ν i := E z ∈ F p G i ( z ) and define a i : = E v ∈ V i A i ⋆ ( v ) a_i:=\mathbb{E}_{v\in V_i}A_i^\star(v) a i := E v ∈ V i A i ⋆ ( v ) and m i = E z ∈ F p A i ⋆ ( v i ( z ) ) m_i=\mathbb{E}_{z\in\mathbb{F}_p}A_i^\star(v_i(z)) m i = E z ∈ F p A i ⋆ ( v i ( z )) where polynomials v i ( z ) = ∑ h = 1 s − 1 β i , h z h v_i(z)=\sum_{h=1}^{s-1}\beta_{i,h}z^h v i ( z ) = ∑ h = 1 s − 1 β i , h z h are defined in (97) and Step 6.
Returning to Step 5(b), we note that d T V ( Q f , Q ~ f ) d_{\mathrm{TV}}(Q_f,\widetilde{Q}_f) d TV ( Q f , Q f ) is exponentially small, which implies as we reveal the O ( 1 ) O(1) O ( 1 ) coordinates in u u u one by one, the mean changes by e − Ω ( n ) e^{-\Omega(n)} e − Ω ( n ) upon taking marginals. The affine precomposition in Step 5(c) permutes F p \mathbb{F}_p F p , so it preserves the mean. Hence, ∣ ν i − m i ∣ ≤ e − Ω ( n ) |\nu_i-m_i|\le e^{-\Omega(n)} ∣ ν i − m i ∣ ≤ e − Ω ( n ) including the approximation error in equation (96).
Moreover, averaging over uniform v ∈ V i v\in V_i v ∈ V i versus v i ( z ) v_i(z) v i ( z ) for uniform z ∈ F p z\in\mathbb{F}_p z ∈ F p incurs exponentially small additive error at most ρ s − 1 , p ∑ ξ ≠ 0 ∣ A i ⋆ ^ ( ξ ) ∣ \rho_{s-1,p}\sum_{\xi\ne0}|\widehat{A_i^\star}(\xi)| ρ s − 1 , p ∑ ξ = 0 ∣ A i ⋆ ( ξ ) ∣ from equations (100) and (102) of [HMSY26], using the support bound (98) and field-size estimate (104). Hence, ∣ ν i − a i ∣ ≤ δ |\nu_i-a_i|\le\delta ∣ ν i − a i ∣ ≤ δ for exponentially small δ \delta δ . Then, we can rescale down G ~ i = c i A i ⋆ \widetilde{G}_i=c_iA_i^\star G i = c i A i ⋆ where c i = min { 1 , ν i / a i } c_i=\min\{1,\nu_i/a_i\} c i = min { 1 , ν i / a i } to ensure E G ~ i ≤ ν i \mathbb{E}\widetilde{G}_i\le\nu_i E G i ≤ ν i , which preserves the range [ 0 , 1 ] [0,1] [ 0 , 1 ] and changes the constant 1 + O ( ρ s − 1 , p ) 1+O(\rho_{s-1,p}) 1 + O ( ρ s − 1 , p ) in (C.2) by a factor of
∏ i ∈ I c i − 1 ≤ ( 1 + δ ν ) ∣ I ∣ ≤ e n δ / ν = 1 + o ( 1 ) , \prod_{i\in I}c_i^{-1}\le\left(1+\frac{\delta}{\nu}\right)^{|I|}\le e^{n\delta/\nu}=1+o(1), i ∈ I ∏ c i − 1 ≤ ( 1 + ν δ ) ∣ I ∣ ≤ e n δ / ν = 1 + o ( 1 ) ,
as δ \delta δ is exponentially small and ν \nu ν is constant. We relax the constant simply to 2 in (5.28). □ \square □