Introduction
Recently, [WLZH26] constructed asymptotically good quantum codes that can be encoded and unencoded by quantum circuits consisting of a linear number of gates. These codes are relevant to the channel capacity setting, where a sender may perfectly encode a state before sending it over a noisy channel. Even when perfect encoding and unencoding is not guaranteed, a quantum processor can use an error-correcting code to run the encoding and unencoding operations at the logical level; low complexity encoding and unencoding is highly desirable to avoid blowup in the task being performed.
[WLZH26]’s construction is inspired by [24 ] ’s construction of classical linear time encodable and decodable codes. While these codes have linear rate and distance, the rate-distance tradeoffs depend on the underlying expander graph and remain far from optimal. The same holds for [WLZH26]’s construction of linear time encodable and unencodable quantum error-correcting codes.
In the 2000s, a line of work [8 , 20 , 19 , 5 , 9 , 22 KZKJ08] analyzed (classical) error-correcting codes with very fast encoding, called repeat multiple accumulate (RMA) codes. In an RMA code, the encoder starts by repeating each of the n / s n/s n / s bits of the plaintext s s s times. It then performs several rounds of permute and accumulate on the resulting n n n bits. In each permute and accumulate round, first a random coordinate permutation is applied, followed by an accumulation, which is a prefix sum modulo 2 2 2 . Importantly, accumulation can be implemented very quickly, in a log n \log n log n depth circuit consisting of just 2 n − 1 2n - 1 2 n − 1 XORs [16 ] .
The distance of this very simple iterative encoder was analyzed in [9 ] , who showed that as the number m m m of accumulation rounds grows, the distance of the resulting RMA code approaches the Gilbert-Varshamov (GV) bound. The GV bound represents the best known achievable tradeoff of rate and distance in binary codes. The fact that such a simple encoder approaches it is quite beautiful.
In this work, we quantize RMA codes. Our main result is a construction of a quantum CSS code with an extremely efficient encoder, whose rate-distance tradeoff lies near the quantum CSS GV bound. By extremely efficient, we mean not only that the encoding circuit is of linear size and logarithmic depth, but the constants are also very reasonable.
Theorem 1.1. For any even s ≥ 4 s \ge4 s ≥ 4 and ε > 0 \varepsilon> 0 ε > 0 , there is a quantum CSS code with rate R = 1 − 2 / s R = 1 - 2/s R = 1 − 2/ s and also has both X X X -distance and Z Z Z -distance ≥ ( δ C S S - G V ( R ) − ε ) ⋅ n \ge(\delta_{\mathrm{CSS\text{-}GV}}(R) - \varepsilon) \cdot n ≥ ( δ CSS - GV ( R ) − ε ) ⋅ n . The encoding circuit acts on ( 1 − 2 / s ) n (1 - 2/s)n ( 1 − 2/ s ) n logical qubits and n / s n/s n / s ∣ 0 ⟩ \lvert0 \rangle ∣ 0 ⟩ and n / s n/s n / s ∣ + ⟩ \lvert+ \rangle ∣ + ⟩ ancilla qubits, has depth O ( log n ) O(\log n) O ( log n ) , and consists of O ( n ) O(n) O ( n ) CNOT gates.
In the above theorem, δ G V ( R ) \delta_{\mathrm{GV}}(R) δ GV ( R ) represents the largest relative distance we know to be achievable by a rate R R R CSS code. It is achieved by a CSS code with randomly sampled X X X and Z Z Z stabilizers.
Definition 1.2 ([7 ] ). δ C S S - G V ( R ) = h − 1 ( 1 − R 2 ) ∈ [ 0 , 1 2 ] \delta_{\mathrm{CSS\text{-}GV}}(R) = h^{-1}\left(\frac{1-R}{2}\right) \in[0, \frac{1}{2}] δ CSS - GV ( R ) = h − 1 ( 2 1 − R ) ∈ [ 0 , 2 1 ] .
In this work, we prove that the relative distance of our quantum code approaches δ C S S - G V \delta_{\mathrm{CSS\text{-}GV}} δ CSS - GV as the number m m m of accumulation rounds grows, but we do not give an explicit characterization of the rate of convergence. However, in practice, it appears that distance converges quite quickly to the CSS GV bound. In Figure 1 , we numerically estimate the distances of our quantum code for a few code rates and number of encoding rounds. We see that after just 4 encoding rounds, the relative distance of our code is within 0.001 of the CSS GV bound; after 6, it is within 10 − 7 10^{-7} 1 0 − 7 .
Figure 1. Rates and numerically estimated asymptotic distances of our quantum code. The parameter m m m describes the number of encoding rounds and controls the size of the encoding circuit, which has depth ≤ 2 s + 4 m log 2 ( n ) \le2s+4m\log_2(n) ≤ 2 s + 4 m log 2 ( n ) and consists of ≤ ( 4 m + 2 ) n \le(4m+2)n ≤ ( 4 m + 2 ) n CNOT gates acting on ( 1 − 2 s ) n (1-\frac{2}{s})n ( 1 − s 2 ) n logical qubits and n / s n/s n / s ∣ 0 ⟩ |0\rangle ∣0 ⟩ and n / s n/s n / s ∣ + ⟩ |+\rangle ∣ + ⟩ ancillas qubits.
Overview
A direct attempt to interpret a RMA code as a quantum code leads to horrible quantum distance. The reason is that, assuming the number of accumulation rounds is constant (as is typically the case), the dual of an RMA code contains codewords of constant weight.
Seeking to construct quickly encodable classical codes whose dual and itself both lie near the GV bound, [6 ] get around this by interleaving not just accumulation rounds, but also “derivative” rounds. A derivative simply takes, at every coordinate, the XOR of the current and immediately preceding coordinate, treating the 0’th coordinate as having value 0. It is also the inverse of the accumulation (prefix-sum) operation. The idea is that, while a derivative is unlikely to increase the distance of the code, it is likely to increase the distance of the dual code.
[6 ] thereby define a new family of codes where after the initial repetition step, permuted accumulation steps are interleaved with permuted derivative steps for m m m rounds. They call this family of codes a R ( A D ) m R(AD)^m R ( A D ) m code. They analyze this code where the repetition factor is 2, obtaining a rate-1 2 \frac{1}{2} 2 1 code lying near the GV bound. Importantly, the dual code can be viewed as a R ( D A ) m R(DA)^m R ( D A ) m code, where after an initial 2-repetition, permuted derivatives and permuted accumulations are interleaved. They analyze the dual and show that it too is a rate-1 2 \frac{1}{2} 2 1 code lying near the GV bound.
Interpreted as a quantum code, [6 ] ’s construction is a CSS code encoding 0 qubits. We will modify their construction to obtain a CSS code encoding a linear number of qubits. Let us view the primary R ( A D ) m R(AD)^m R ( A D ) m code as the X X X stabilizers, and the dual R ( D A ) m R(DA)^m R ( D A ) m code as the Z Z Z stabilizers. By taking the repetition factor to be a larger even s ≥ 4 s\ge4 s ≥ 4 , we obtain stabilizers for a CSS code C C C of rate 1 − 2 s 1-\frac{2}{s} 1 − s 2 . The Z Z Z and X X X distances respectively reduce to understanding the distance of a classical P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m code, which we define to have an s s s -parity code as the outer encoder instead of the repetition code. The s s s -parity code encodes ( 1 − 1 s ) n (1-\frac{1}{s})n ( 1 − s 1 ) n bits by appending a single check-sum bit to each block of s − 1 s-1 s − 1 bits. We remark that our analysis of the distance of P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m codes follows the same general outline as [6 ] , but some work is needed to get suitable bounds on the outer weight enumerator (see Proposition 3.5). In particular, instead of working with exact spectral approximations to the weight enumerator, we will only give a suitable upper bound (see Definition 3.1), so that all the computed spectral shapes are loose upper bounds on the logarithm of the expected number of codewords of a given weight. This choice of upper bound on the outer weight enumerator cannot be too loose, however: we will need it to be tight enough to prove convergence to the CSS GV bound (see § 4 ).
One point to note is that this description of a CSS code by its X X X and Z Z Z stabilizer code spaces does not automatically permit a linear time encoding, even if P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m themselves have fast encoding algorithms. The reason is that a quantum encoding algorithm needs to coherently encode the logical information into appropriate coset superpositions, which requires a compatible choice of bases for the two nested classical code spaces, not merely efficient encoders for the spaces individually. Instead, we show that one can encode C \mathcal{C} C by first applying a quantum outer code, then applying interleaved accumulation and derivative rounds (see § 2.1 ).
We did not study error-correction/decoding complexity in this work. We remark that there is a vast literature on decoding classical RMA codes via belief propagation [3 , 18 , 13 , 23 , 17 , 12 ] – it would be interesting to extend these techniques to our quantum code.
Related Work
The history of RMA codes can be traced back to the early work of [8 ] , who introduced R A RA R A codes consisting of a single repetition and accumulation round. Unfortunately, [14 ] showed that these single round codes do not have linear distance. This led Pfister and Siegel [20 ] to first study R A m RA^m R A m codes with multiple permute and accumulate rounds. They numerically estimated the expected number of low weight codewords, and found that with two or more rounds, R A m RA^m R A m codes appeared to have positive relative distance quite close to the GV bound. This was extended in Chapter 3 of Pfister’s thesis [19 ] , which contains the first formal proof that R A m RA^m R A m codes have positive relative distance for m ≥ 2 m \ge2 m ≥ 2 , as well as precise numerical estimates of the minimum distance attained by R A m RA^m R A m codes of varying rates and number of rounds. At this point, Pfister’s proof only showed small positive relative distance, still far from the simulated distances approaching the GV bound.
It was a few years before [KZKJ08] used Stirling’s approximation to simplify the complicated IOWEF formulas, leading to the first formal proof of the distances in Pfister’s numerical estimates. This work only showed that as n n n grows, the R A m RA^m R A m codes were increasingly likely to have the described minimum distances, but did not dictate how quickly this convergence happened. [9 ] first showed that the probability an R A m RA^m R A m code has the prescribed distance grows as 1 − 1 / poly ( n ) 1 - 1/\operatorname{poly}(n) 1 − 1/ poly ( n ) . Moreover, they prove that this minimum distance converges to the GV bound as m m m grows (previously, this was conjectured, but not formally proven). Much more recently, [2 ] characterize this probability more precisely, proving that we can expect R A m RA^m R A m codes to have good distance for concrete block lengths n n n .
We work in our paper with generalized RMA codes, where the first outer encoder is a parity encoder rather than a repetition encoder. Repeat accumulate codes with a different outer encoder were studied by [19 , 11 , 22 ] . Pfister studied in his thesis [19 ] the case where the outer encoder is a parity code. The work of [11 ] studied repeat accumulate codes with a Hamming outer encoder. [22 ] generalized this and proved distance approaching the GV bound under general assumptions on the outer encoder and the interleavers.
There have been some attempts to import these classical techniques to the quantum front. [25 ] construct entanglement assisted quantum codes using classical quaternary irregular repeat-accumulate codes as an underlying graphical architecture, where the sender and receiver are assumed to pre-share some entangled bits. [21 ] , using ideas of recursive encoding, developed quantum serial turbo codes in the standard setting without pre-shared entanglement. They found a fundamental difference in the quantum setting compared to classical: for ordinary stabilizer convolutional codes, the recursive encoder is necessarily catastrophic , which means roughly that small errors are undetectably propagated into large logical errors by the inverse encoder. [10 ] later gave a proof of the same limitation. They therefore instantiate their code using nonrecursive, noncatastrophic convolutional constituents, resulting in a code with bounded minimum distance. [26 ] found entanglement-assistance bypasses this limitation and constructed an entanglement-assisted quantum convolutional encoder with improved iterative-decoding on the depolarizing channel. We remark that in all these works above, the focus was on decoders against randomized noise (such as the depolarizing channel). The work of [1 ] analyzes the minimum distance of a quantum turbo-code, though they only showed small polynomial distance for their particular ensemble. As far as we know, we are the first to prove good (in fact, near the CSS GV bound) quantum distance of a quantum code with an iterated encoder.
The Code
We will build our code by first defining an “outer code” C 0 C_0 C 0 , then amplifying its distance by applying a sequence of unitaries to obtain the final code C C C .
The Outer Code. Let s ≥ 4 s \ge4 s ≥ 4 be an even integer, and let P s P_s P s denote the (classical) parity code of block length s s s : that is, it consists of length s s s binary strings with an even number of 1’s. Note that P s P_s P s has dimension s − 1 s-1 s − 1 as the first s − 1 s-1 s − 1 bits fix the last, and its dual code is R s R_s R s , the s s s -repetition code consisting of just two codewords, 0 s 0^s 0 s and 1 s 1^s 1 s .
The code P ~ s : = P s n / s \widetilde{P}_s := P_s^{n/s} P s := P s n / s is an n n n -bit code where codewords consist of x 1 ∥ x 2 ∥ ⋯ ∥ x n / s x_1 \Vert x_2 \Vert\cdots\Vert x_{n/s} x 1 ∥ x 2 ∥ ⋯ ∥ x n / s where each x i ∈ P s x_i \in P_s x i ∈ P s . It has rate R = 1 − 1 / s R = 1 - 1/s R = 1 − 1/ s , and its dual code is R ~ s : = R s n / s \widetilde{R}_s := R_s^{n/s} R s := R s n / s consisting of n n n -bit codewords y 1 ∥ y 2 ∥ ⋯ ∥ y n / s y_1 \Vert y_2 \Vert\cdots\Vert y_{n/s} y 1 ∥ y 2 ∥ ⋯ ∥ y n / s where each y i ∈ R s y_i \in R_s y i ∈ R s . Since s s s is even, we have that R ~ s T R ~ s = 0 \widetilde{R}_s^{\mathsf{T}}\widetilde{R}_s = 0 R s T R s = 0 . In particular, S x 0 = R ~ s S_x^0 = \widetilde{R}_s S x 0 = R s , S z 0 = R ~ s S_z^0 = \widetilde{R}_s S z 0 = R s defines a CSS code C 0 C_0 C 0 on n n n qubits with k = ( 1 − 2 s ) ⋅ n k = (1 - \frac{2}{s}) \cdot n k = ( 1 − s 2 ) ⋅ n logical qubits.
Amplifier Operators. We define two (classical) operators on n n n bits. The first is the “accumulation” operator, defined as
A = ( 1 0 0 ⋯ 0 1 1 0 ⋯ 0 1 1 1 ⋯ 0 ⋮ ⋮ ⋮ ⋱ ⋮ 1 1 1 ⋯ 1 ) A = \begin{pmatrix}
1 & 0 & 0 & \cdots& 0 \\
1 & 1 & 0 & \cdots& 0 \\
1 & 1 & 1 & \cdots& 0 \\
\vdots& \vdots& \vdots& \ddots& \vdots\\
1 & 1 & 1 & \cdots& 1
\end{pmatrix} A = 1 1 1 ⋮ 1 0 1 1 ⋮ 1 0 0 1 ⋮ 1 ⋯ ⋯ ⋯ ⋱ ⋯ 0 0 0 ⋮ 1
The second classical operator is the “derivative” operator, defined as
D = ( 1 0 0 0 ⋯ 0 0 1 1 0 0 ⋯ 0 0 0 1 1 0 ⋯ 0 0 0 0 1 1 ⋯ 0 0 ⋮ ⋮ ⋮ ⋮ ⋱ ⋮ ⋮ 0 0 0 0 ⋯ 1 1 ) D = \begin{pmatrix}
1 & 0 & 0 & 0 & \cdots& 0 & 0 \\
1 & 1 & 0 & 0 & \cdots& 0 & 0 \\
0 & 1 & 1 & 0 & \cdots& 0 & 0 \\
0 & 0 & 1 & 1 & \cdots& 0 & 0 \\
\vdots& \vdots& \vdots& \vdots& \ddots& \vdots& \vdots\\
0 & 0 & 0 & 0 & \cdots& 1 & 1
\end{pmatrix} D = 1 1 0 0 ⋮ 0 0 1 1 0 ⋮ 0 0 0 1 1 ⋮ 0 0 0 0 1 ⋮ 0 ⋯ ⋯ ⋯ ⋯ ⋱ ⋯ 0 0 0 0 ⋮ 1 0 0 0 0 ⋮ 1
One can check that D = A − 1 D = A^{-1} D = A − 1 .
The Amplified Code. Let Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m denote 2 m 2m 2 m uniformly random permutations. Define the classical operator
L = D ∘ Π 2 m ∘ A ∘ Π 2 m − 1 ∘ ⋯ ∘ D ∘ Π 4 ∘ A ∘ Π 3 ∘ D ∘ Π 2 ∘ A ∘ Π 1 ∈ G L n ( F 2 ) L = D \circ\Pi_{2m} \circ A \circ\Pi_{2m-1} \circ\cdots\circ D \circ\Pi_4 \circ A \circ\Pi_3 \circ D \circ\Pi_2 \circ A \circ\Pi_1 \in\mathrm{GL}_n(\mathbb{F}_2) L = D ∘ Π 2 m ∘ A ∘ Π 2 m − 1 ∘ ⋯ ∘ D ∘ Π 4 ∘ A ∘ Π 3 ∘ D ∘ Π 2 ∘ A ∘ Π 1 ∈ GL n ( F 2 )
which iteratively applies a random permutation then an accumulation, then a random permutation then a derivative, and repeats m m m times. Let U L U_L U L denote the (quantum) unitary that implements L L L . Our amplified code is defined as C = U L C 0 \mathcal{C}=U_L\mathcal{C}_0 C = U L C 0 , that is, it consists of the quantum states obtained by applying U L U_L U L to some state in C 0 \mathcal{C}_0 C 0 .
Stabilizers. Note that
U L X ( a ) U L − 1 = X ( L a ) U L Z ( b ) U L − 1 = Z ( L − T b ) , \begin{aligned}
U_L X(a) U_L^{-1} &= X(La)\\
U_L Z(b) U_L^{-1} &= Z(L^{-\mathsf{T}}b),
\end{aligned} U L X ( a ) U L − 1 U L Z ( b ) U L − 1 = X ( L a ) = Z ( L − T b ) ,
therefore C \mathcal{C} C is stabilized by X X X -stabilizers S x = L S x 0 S_x=LS_x^0 S x = L S x 0 and by Z Z Z -stabilizers S z = L − T S z 0 S_z=L^{-\mathsf{T}}S_z^0 S z = L − T S z 0 . This is a complete set of stabilizers.
Linear Time Encoder
An encoder for C \mathcal{C} C begins with an arbitrary s − 2 s ⋅ n \frac{s-2}{s}\cdot n s s − 2 ⋅ n -qubit state, applies an encoder for the outer code C 0 \mathcal{C}_0 C 0 , and then iteratively applies unitaries implementing each of Π i \Pi_i Π i and A A A or D D D . Applying Π i \Pi_i Π i can be viewed as a reordering of the n n n qubits, so it does not contribute to the total gate count. Therefore, let us describe linear-size circuits for encoding C 0 \mathcal{C}_0 C 0 , and for applying A A A and D D D .
Encoder for C 0 \mathcal{C}_0 C 0 . An explicit encoder for C 0 \mathcal{C}_0 C 0 can be given as follows. For x = x 1 ⋯ x s − 2 ∈ { 0 , 1 } s − 2 x=x_1\cdots x_{s-2}\in\{0,1\}^{s-2} x = x 1 ⋯ x s − 2 ∈ { 0 , 1 } s − 2 , let x s − 1 : = ⨁ i = 1 s − 2 x i x_{s-1}:=\bigoplus_{i=1}^{s-2}x_i x s − 1 := ⨁ i = 1 s − 2 x i , and define E s ∣ x ⟩ ∝ ∣ x , x s − 1 , 0 ⟩ + ∣ ( x , x s − 1 , 0 ) ⊕ 1 s ⟩ E_s|x\rangle\propto|x,x_{s-1},0\rangle+|(x,x_{s-1},0)\oplus1^s\rangle E s ∣ x ⟩ ∝ ∣ x , x s − 1 , 0 ⟩ + ∣ ( x , x s − 1 , 0 ) ⊕ 1 s ⟩ . E s E_s E s can be implemented by the below (constant-size) circuit consisting of 2 s − 3 2s-3 2 s − 3 CNOTs:
Figure 2.
One can check that E s ∣ x ⟩ E_s|x\rangle E s ∣ x ⟩ is stabilized by X ⊗ s X^{\otimes s} X ⊗ s and by Z ⊗ s Z^{\otimes s} Z ⊗ s . Then, we have that E s ⊗ n / s ∣ ψ ⟩ E_s^{\otimes n/s}|\psi\rangle E s ⊗ n / s ∣ ψ ⟩ is stabilized by X ( S x 0 ) X(S_x^0) X ( S x 0 ) and Z ( S z 0 ) Z(S_z^0) Z ( S z 0 ) , i.e. E s ⊗ n / s E_s^{\otimes n/s} E s ⊗ n / s is an encoder for C 0 \mathcal{C}_0 C 0 . The separate s s s -blocks can be encoded in parallel, resulting in an encoding circuit of depth 2 s − 3 2s-3 2 s − 3 consisting of 2 s − 3 s ⋅ n \frac{2s-3}{s}\cdot n s 2 s − 3 ⋅ n CNOTs.
Accumulation. Next, A A A simply computes the running prefix-sums, which [16 ] showed can be computed in log ( n ) \log(n) log ( n ) depth and O ( n ) O(n) O ( n ) gates. We describe this circuit PREFIX ( n ) \operatorname{PREFIX}(n) PREFIX ( n ) below.
PREFIX ( n ) \operatorname{PREFIX}(n) PREFIX ( n ) will be constructed recursively. Suppose we have a circuit PREFIX ( ⌊ n / 2 ⌋ ) \operatorname{PREFIX}(\lfloor n/2\rfloor) PREFIX (⌊ n /2 ⌋) which takes as input ⌊ n / 2 ⌋ \lfloor n/2\rfloor ⌊ n /2 ⌋ bits and in place (and reversibly) outputs its prefix sum. Then, we can construct the circuit PREFIX ( n ) \operatorname{PREFIX}(n) PREFIX ( n ) as follows:
Figure 3 (PDF p. 8).
In the above diagram, the PREFIX ( ⌊ n / 2 ⌋ ) \operatorname{PREFIX}(\lfloor n/2\rfloor) PREFIX (⌊ n /2 ⌋) gate only touches the even wires. (The gap for the odd wires is meant to illustrate this: we did not know how else to illustrate this in a circuit diagram.) Also, we drew the circuit for even n n n : the odd case is similar.
After the first set of ⌊ n / 2 ⌋ \lfloor n/2\rfloor ⌊ n /2 ⌋ CNOTs, the even wires contain ∣ x 2 i + x 2 i − 1 ⟩ \lvert x_{2i}+x_{2i-1}\rangle ∣ x 2 i + x 2 i − 1 ⟩ while the odd wires contain their original value ∣ x 2 i − 1 ⟩ \lvert x_{2i-1}\rangle ∣ x 2 i − 1 ⟩ . After the PREFIX ( ⌊ n / 2 ⌋ ) \operatorname{PREFIX}(\lfloor n/2\rfloor) PREFIX (⌊ n /2 ⌋) gate, the even wires now contain the prefixes ∣ ∑ j ≤ 2 i x j ⟩ \left\lvert\sum_{j\leq2i}x_j\right\rangle ∑ j ≤ 2 i x j ⟩ . Finally, the last layer of ⌈ n / 2 ⌉ − 1 \lceil n/2\rceil-1 ⌈ n /2 ⌉ − 1 CNOTs add each even prefix to the following odd wire, so that the odd wires also contain the prefix sums.
Altogether, this circuit has depth 2 log 2 ( n ) 2\log_2(n) 2 log 2 ( n ) , and consists of ≤ 2 n − log 2 ( n ) ≤ 2 n \leq2n-\log_2(n)\leq2n ≤ 2 n − log 2 ( n ) ≤ 2 n CNOT gates.
Derivative. Finally, since D D D is the inverse of A A A , it can be implemented by the circuit PREFIX ( n ) \operatorname{PREFIX}(n) PREFIX ( n ) run backwards.
Total. Therefore, C C C can be encoded by a circuit of depth 2 s − 3 + 4 m ⌈ log 2 ( n ) ⌉ 2s-3+4m\lceil\log_2(n)\rceil 2 s − 3 + 4 m ⌈ log 2 ( n )⌉ , consisting of ( 4 m + 2 s − 3 s ) ⋅ n \left(4m+\frac{2s-3}{s}\right)\cdot n ( 4 m + s 2 s − 3 ) ⋅ n CNOTs.
Reducing Quantum Distance to Multiple Interleaved Codes
Recall that C C C is defined by X X X -stabilizers S x = L S x 0 S_x=LS_x^0 S x = L S x 0 and by Z Z Z -stabilizers S z = L − T S z 0 S_z=L^{-\mathsf{T}}S_z^0 S z = L − T S z 0 .
Let us begin with the X X X -distance. The X X X -distance of C C C is lower bounded by the (classical) distance of the classical code C x = S z ⊥ C_x=S_z^\perp C x = S z ⊥ , which consists of all strings that arise as L x 0 Lx_0 L x 0 for x 0 ∈ ( S z 0 ) ⊥ = P ~ s x_0\in(S_z^0)^\perp=\widetilde{P}_s x 0 ∈ ( S z 0 ) ⊥ = P s . Recall that we defined L = D ∘ Π 2 m ∘ A ∘ Π 2 m − 1 ∘ ⋯ ∘ D ∘ Π 2 ∘ A ∘ Π 1 L=D\circ\Pi_{2m}\circ A\circ\Pi_{2m-1}\circ\cdots\circ D\circ\Pi_2\circ A\circ\Pi_1 L = D ∘ Π 2 m ∘ A ∘ Π 2 m − 1 ∘ ⋯ ∘ D ∘ Π 2 ∘ A ∘ Π 1 . So an encoding procedure for C x C_x C x is to start with a string in P ~ s \widetilde{P}_s P s and then repeatedly apply a randomly permuted accumulation and a randomly permuted derivative m m m times. We wish to analyze the distance of such a code, which we call P s ( A D ) m P_s(AD)^m P s ( A D ) m code.
The Z Z Z -distance will reduce to a very similar classical code. The Z Z Z -distance of C C C is lower bounded by the distance of the classical code C Z = S X ⊥ C_Z = S_X^\perp C Z = S X ⊥ , which consists of all strings obtained as L − ⊤ z 0 L^{-\top}z_0 L − ⊤ z 0 for z 0 ∈ ( S X 0 ) ⊥ = P ~ s z_0 \in(S_X^0)^\perp= \widetilde{P}_s z 0 ∈ ( S X 0 ) ⊥ = P s . Using that D = A − 1 D = A^{-1} D = A − 1 , we can compute L − ⊤ = A ⊤ ∘ Π 2 m ⊤ ∘ D ⊤ ∘ Π 2 m − 1 ⊤ ∘ ⋯ ∘ A ⊤ ∘ Π 2 ⊤ ∘ D ⊤ ∘ Π 1 ⊤ L^{-\top} = A^\top\circ\Pi_{2m}^\top\circ D^\top\circ\Pi_{2m-1}^\top\circ\cdots\circ A^\top\circ\Pi_2^\top\circ D^\top\circ\Pi_1^\top L − ⊤ = A ⊤ ∘ Π 2 m ⊤ ∘ D ⊤ ∘ Π 2 m − 1 ⊤ ∘ ⋯ ∘ A ⊤ ∘ Π 2 ⊤ ∘ D ⊤ ∘ Π 1 ⊤ . But note that
A ⊤ = [ 1 1 1 ⋯ 1 0 1 1 ⋯ 1 0 0 1 ⋯ 1 ⋮ ⋮ ⋮ ⋱ ⋮ 0 0 0 ⋯ 1 ] = F A F A^\top=
\begin{bmatrix}
1 & 1 & 1 & \cdots& 1 \\
0 & 1 & 1 & \cdots& 1 \\
0 & 0 & 1 & \cdots& 1 \\
\vdots& \vdots& \vdots& \ddots& \vdots\\
0 & 0 & 0 & \cdots& 1
\end{bmatrix}
= FAF A ⊤ = 1 0 0 ⋮ 0 1 1 0 ⋮ 0 1 1 1 ⋮ 0 ⋯ ⋯ ⋯ ⋱ ⋯ 1 1 1 ⋮ 1 = F A F
is simply another accumulator matrix where accumulation begins with the last bit and goes backwards, and
D ⊤ = [ 1 1 0 0 ⋯ 0 0 0 1 1 0 ⋯ 0 0 0 0 1 1 ⋯ 0 0 0 0 0 1 ⋯ 0 0 ⋮ ⋮ ⋮ ⋮ ⋱ ⋮ ⋮ 0 0 0 0 ⋯ 1 1 0 0 0 0 ⋯ 0 1 ] = F D F D^\top=
\begin{bmatrix}
1 & 1 & 0 & 0 & \cdots& 0 & 0 \\
0 & 1 & 1 & 0 & \cdots& 0 & 0 \\
0 & 0 & 1 & 1 & \cdots& 0 & 0 \\
0 & 0 & 0 & 1 & \cdots& 0 & 0 \\
\vdots& \vdots& \vdots& \vdots& \ddots& \vdots& \vdots\\
0 & 0 & 0 & 0 & \cdots& 1 & 1 \\
0 & 0 & 0 & 0 & \cdots& 0 & 1
\end{bmatrix}
= FDF D ⊤ = 1 0 0 0 ⋮ 0 0 1 1 0 0 ⋮ 0 0 0 1 1 0 ⋮ 0 0 0 0 1 1 ⋮ 0 0 ⋯ ⋯ ⋯ ⋯ ⋱ ⋯ ⋯ 0 0 0 0 ⋮ 1 0 0 0 0 0 ⋮ 1 1 = F D F
is the derivative matrix also applied backwards. Here, F F F is the “flip” matrix with 1’s in entries ( i , n + 1 − i ) (i,n+1-i) ( i , n + 1 − i ) and 0 elsewhere. Therefore,
L − ⊤ = ( F A F ) ∘ Π 2 m ⊤ ∘ ( F D F ) ∘ Π 2 m − 1 ⊤ ∘ ⋯ ∘ ( F A F ) ∘ Π 2 ⊤ ∘ ( F D F ) ∘ Π 1 ⊤ = F ∘ A ∘ ( F Π 2 m ⊤ F ) ∘ D ∘ ( F Π 2 m − 1 ⊤ F ) ∘ ⋯ ∘ A ∘ ( F Π 2 ⊤ F ) ∘ D ∘ ( F Π 1 ⊤ F ) = F ∘ A ∘ Π 2 m ′ ∘ D ∘ Π 2 m − 1 ′ ∘ ⋯ ∘ A ∘ Π 2 ′ ∘ D ∘ Π 1 ′ , \begin{aligned}
L^{-\top} &= (FAF) \circ\Pi_{2m}^\top\circ(FDF) \circ\Pi_{2m-1}^\top\circ\cdots\circ(FAF) \circ\Pi_2^\top\circ(FDF) \circ\Pi_1^\top\\
&= F \circ A \circ(F\Pi_{2m}^\top F) \circ D \circ(F\Pi_{2m-1}^\top F) \circ\cdots\circ A \circ(F\Pi_2^\top F) \circ D \circ(F\Pi_1^\top F) \\
&= F \circ A \circ\Pi'_{2m} \circ D \circ\Pi'_{2m-1} \circ\cdots\circ A \circ\Pi'_2 \circ D \circ\Pi'_1,
\end{aligned} L − ⊤ = ( F A F ) ∘ Π 2 m ⊤ ∘ ( F D F ) ∘ Π 2 m − 1 ⊤ ∘ ⋯ ∘ ( F A F ) ∘ Π 2 ⊤ ∘ ( F D F ) ∘ Π 1 ⊤ = F ∘ A ∘ ( F Π 2 m ⊤ F ) ∘ D ∘ ( F Π 2 m − 1 ⊤ F ) ∘ ⋯ ∘ A ∘ ( F Π 2 ⊤ F ) ∘ D ∘ ( F Π 1 ⊤ F ) = F ∘ A ∘ Π 2 m ′ ∘ D ∘ Π 2 m − 1 ′ ∘ ⋯ ∘ A ∘ Π 2 ′ ∘ D ∘ Π 1 ′ ,
where Π 1 ′ , … , Π 2 m ′ \Pi'_1,\ldots,\Pi'_{2m} Π 1 ′ , … , Π 2 m ′ are still random permutations. Since we are interested in the distance of C Z C_Z C Z , and applying F F F at the end does not affect the weight of a word, it suffices to understand the distance of the code C Z ′ C'_Z C Z ′ generated by applying L ′ : = A ∘ Π 2 m ′ ∘ D ∘ Π 2 m − 1 ′ ∘ ⋯ ∘ A ∘ Π 2 ′ ∘ D ∘ Π 1 ′ L' := A \circ\Pi'_{2m} \circ D \circ\Pi'_{2m-1} \circ\cdots\circ A \circ\Pi'_2 \circ D \circ\Pi'_1 L ′ := A ∘ Π 2 m ′ ∘ D ∘ Π 2 m − 1 ′ ∘ ⋯ ∘ A ∘ Π 2 ′ ∘ D ∘ Π 1 ′ to z 0 ∈ P ~ s z_0 \in\widetilde{P}_s z 0 ∈ P s . We call this code a P s ( D A ) m P_s(DA)^m P s ( D A ) m code.
Similar codes obtained by serially applying permuted A A A and D D D operators to the repetition code (instead of the parity code in our case) were proposed and analyzed in [6 ] . They showed that if the outer code is a 2-repetition code, the resulting R 2 ( D A ) m R_2(DA)^m R 2 ( D A ) m and R 2 ( A D ) m R_2(AD)^m R 2 ( A D ) m codes are likely (over the choice of random permutations) to have distance approaching the GV bound. Our analysis of our P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m codes will follow the same line of attack laid out by [6 ] . However, we will not be able to black-box their analysis for a couple reasons: First, they wrote their analysis specifically for the case of the outer encoder being the 2-repetition code, whereas we will need to generalize their analysis to our s s s -parity codes. Second, we found several bugs within their proofs (fortunately, none fatal), and will provide corrected proofs for our setting.
In the rest of this paper, we will analyze the distance of P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m codes. In particular, we will show:
Theorem 2.1. Let s ≥ 2 s \ge2 s ≥ 2 be an even integer. Let δ G V ∈ [ 0 , 1 2 ] \delta_{\mathrm{GV}} \in[0,\frac{1}{2}] δ GV ∈ [ 0 , 2 1 ] be such that h ( δ G V ) = 1 / s h(\delta_{\mathrm{GV}})=1/s h ( δ GV ) = 1/ s . There is an increasing sequence { δ ( m ) } m ≥ 2 \{\delta^{(m)}\}_{m\ge2} { δ ( m ) } m ≥ 2 of positive values converging to δ G V \delta_{\mathrm{GV}} δ GV , such that for any ε > 0 \varepsilon> 0 ε > 0 ,
For m ≥ 2 m \ge2 m ≥ 2 , the resulting P s ( D A ) m P_s(\mathrm{DA})^m P s ( DA ) m code has rate 1 − 1 s 1-\frac{1}{s} 1 − s 1 and relative distance ≥ δ ( m ) − ε \ge\delta^{(m)}-\varepsilon ≥ δ ( m ) − ε with probability ≥ 1 − O ~ ( n 1 − m ) \ge1-\widetilde{O}(n^{1-m}) ≥ 1 − O ( n 1 − m ) over the choice of Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m .
For m ≥ 3 m \ge3 m ≥ 3 , the resulting P s ( A D ) m P_s(\mathrm{AD})^m P s ( AD ) m code has rate 1 − 1 s 1-\frac{1}{s} 1 − s 1 and relative distance ≥ δ ( m ) − ε \ge\delta^{(m)}-\varepsilon ≥ δ ( m ) − ε with probability ≥ 1 − O ~ ( n 2 − m ) \ge1-\widetilde{O}(n^{2-m}) ≥ 1 − O ( n 2 − m ) over the choice of Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m .
Corollary 2.2 (C C C Approaches the CSS GV Bound). For any even s ≥ 4 s \ge4 s ≥ 4 and ε > 0 \varepsilon> 0 ε > 0 , there is some m ≥ 3 m \ge3 m ≥ 3 such that the quantum code C C C has rate 1 − 2 / s 1-2/s 1 − 2/ s and also has both X X X -distance and Z Z Z -distance ≥ ( h − 1 ( 1 / s ) − ε ) ⋅ n \ge(h^{-1}(1/s)-\varepsilon)\cdot n ≥ ( h − 1 ( 1/ s ) − ε ) ⋅ n with probability ≥ 1 − O ~ ( n 2 − m ) \ge1-\widetilde{O}(n^{2-m}) ≥ 1 − O ( n 2 − m ) over the choice of uniformly random Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m .
Distance Analysis: Setup and Definitions
Average Weight Enumerators
The analysis proceeds by computing the average weight enumerators W A D ( m ) , W D A ( m ) : { 0 , … , n } → R W_{AD}^{(m)}, W_{DA}^{(m)}:\{0,\ldots,n\}\to\mathbb{R} W A D ( m ) , W D A ( m ) : { 0 , … , n } → R , where W A D ( m ) ( i ) W_{AD}^{(m)}(i) W A D ( m ) ( i ) is the expected number of weight-i i i codewords in a P s ( A D ) m P_s(AD)^m P s ( A D ) m code and W D A ( m ) ( i ) W_{DA}^{(m)}(i) W D A ( m ) ( i ) is the expected number of weight-i i i codewords in a P s ( D A ) m P_s(DA)^m P s ( D A ) m code. Here the randomness is over choice of random permutations Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m .
Our goal is to bound W A D ( m ) ( i ) W_{AD}^{(m)}(i) W A D ( m ) ( i ) (and similar for W D A ( m ) W_{DA}^{(m)} W D A ( m ) ). If we can show that ∑ 0 < i < δ W A D ( m ) ( i ) ≪ 1 \sum_{0<i<\delta}W_{AD}^{(m)}(i)\ll1 ∑ 0 < i < δ W A D ( m ) ( i ) ≪ 1 for some δ > 0 \delta>0 δ > 0 , then by Markov’s inequality it follows that with high probability a randomly generated code will have distance ≥ δ \ge\delta ≥ δ .
The base case of m = 0 m=0 m = 0 is simply the weight enumerator for the code P ~ s \widetilde{P}_s P s , which we denote by Φ : { 0 , … , n } → Z ≥ 0 \Phi:\{0,\ldots,n\}\to\mathbb{Z}_{\ge0} Φ : { 0 , … , n } → Z ≥ 0 . We note that P ~ s \widetilde{P}_s P s has no odd weight codewords, so Φ ( c ) = 0 \Phi(c)=0 Φ ( c ) = 0 for all odd c c c .
Let
p A ( a , b ) = ( n − b ⌊ a / 2 ⌋ ) ( b − 1 ⌈ a / 2 ⌉ − 1 ) ( n a ) = ( n − a b − ⌈ a / 2 ⌉ ) ( a ⌈ a / 2 ⌉ ) ( n b ) ⋅ ⌈ a / 2 ⌉ b . (1) p_A(a,b)=\frac{\binom{n-b}{\lfloor a/2\rfloor}\binom{b-1}{\lceil a/2\rceil-1}}{\binom{n}{a}}=\frac{\binom{n-a}{b-\lceil a/2\rceil}\binom{a}{\lceil a/2\rceil}}{\binom{n}{b}}\cdot\frac{\lceil a/2\rceil}{b}. \tag*{(1)} p A ( a , b ) = ( a n ) ( ⌊ a /2 ⌋ n − b ) ( ⌈ a /2 ⌉ − 1 b − 1 ) = ( b n ) ( b − ⌈ a /2 ⌉ n − a ) ( ⌈ a /2 ⌉ a ) ⋅ b ⌈ a /2 ⌉ . (1)
denote the expected number of weight-b b b codewords mapped to by a given word of weight a a a after applying a random permutation Π \Pi Π followed by the accumulation operator A A A . Note that because of the random permutation, this probability does not depend on the specific starting word and only on the weights a a a and b b b . Similarly, define
p D ( a , b ) = ( n − a ⌊ b / 2 ⌋ ) ( a − 1 ⌈ b / 2 ⌉ − 1 ) ( n a ) = ( n − a ⌊ b / 2 ⌋ ) ( a ⌈ b / 2 ⌉ ) ( n a ) ⋅ ⌊ b / 2 ⌋ a (2) p_D(a,b)=\frac{\binom{n-a}{\lfloor b/2\rfloor}\binom{a-1}{\lceil b/2\rceil-1}}{\binom{n}{a}}=\frac{\binom{n-a}{\lfloor b/2\rfloor}\binom{a}{\lceil b/2\rceil}}{\binom{n}{a}}\cdot\frac{\lfloor b/2\rfloor}{a} \tag*{(2)} p D ( a , b ) = ( a n ) ( ⌊ b /2 ⌋ n − a ) ( ⌈ b /2 ⌉ − 1 a − 1 ) = ( a n ) ( ⌊ b /2 ⌋ n − a ) ( ⌈ b /2 ⌉ a ) ⋅ a ⌊ b /2 ⌋ (2)
to be the expected number of weight-b b b words obtained from a word of weight a a a by applying Π \Pi Π followed by D D D .
We can write recursions for W A D ( m ) W_{AD}^{(m)} W A D ( m ) and W D A ( m ) W_{DA}^{(m)} W D A ( m ) :
W A D ( m ) ( c ) = ∑ 0 ≤ a ≤ n ∑ 0 ≤ b ≤ n W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) . (3) W_{AD}^{(m)}(c)=\sum_{0\le a\le n}\sum_{0\le b\le n}W_{AD}^{(m-1)}(a)\cdot p_A(a,b)\cdot p_D(b,c). \tag*{(3)} W A D ( m ) ( c ) = 0 ≤ a ≤ n ∑ 0 ≤ b ≤ n ∑ W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) . (3)
W D A ( m ) ( c ) = ∑ 0 ≤ a ≤ n ∑ 0 ≤ b ≤ n W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) . (4) W_{DA}^{(m)}(c)=\sum_{0\le a\le n}\sum_{0\le b\le n}W_{DA}^{(m-1)}(a)\cdot p_D(a,b)\cdot p_A(b,c). \tag*{(4)} W D A ( m ) ( c ) = 0 ≤ a ≤ n ∑ 0 ≤ b ≤ n ∑ W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) . (4)
We remark that for c > 0 c > 0 c > 0 , we need only sum over weights a , b > 0 a,b > 0 a , b > 0 . This is because the only 0-weight codeword is 0 n 0^n 0 n , which will only ever map to itself under A A A and D D D operations. Since we will be interested in bounding the number of positive weight codewords under δ \delta δ , we can generally exclude 0 from the range for the recursion.
Spectral Shape Analysis
We will analyze the spectral shape of the functions W A D ( m ) W_{AD}^{(m)} W A D ( m ) and W D A ( m ) W_{DA}^{(m)} W D A ( m ) . That is, we will study functions r D A ( m ) , r A D ( m ) : [ 0 , 1 ] → R r_{DA}^{(m)},r_{AD}^{(m)} : [0,1] \to\mathbb{R} r D A ( m ) , r A D ( m ) : [ 0 , 1 ] → R such that
W A D ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n ) W_{AD}^{(m)}(c) \le\operatorname{poly}(n) \cdot2^{n \cdot r_{AD}^{(m)}(c/n)} W A D ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n )
W D A ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r D A ( m ) ( c / n ) . W_{DA}^{(m)}(c) \le\operatorname{poly}(n) \cdot2^{n \cdot r_{DA}^{(m)}(c/n)}. W D A ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r D A ( m ) ( c / n ) .
For m = 0 m=0 m = 0 , we have that W A D ( 0 ) ( c ) = W D A ( 0 ) ( c ) = Φ ( c ) W_{AD}^{(0)}(c) = W_{DA}^{(0)}(c) = \Phi(c) W A D ( 0 ) ( c ) = W D A ( 0 ) ( c ) = Φ ( c ) , where we defined Φ \Phi Φ to be the weight enumerator of the code P ~ s \widetilde{P}_s P s . Ideally, we could set r A D ( 0 ) ( γ ) = r D A ( 0 ) ( γ ) r_{AD}^{(0)}(\gamma) = r_{DA}^{(0)}(\gamma) r A D ( 0 ) ( γ ) = r D A ( 0 ) ( γ ) to be exactly 1 n \frac{1}{n} n 1 of the logarithm of Φ ( γ n ) \Phi(\gamma n) Φ ( γ n ) , however, we do not know a nice closed form for this expression. Instead, we will choose a slightly loose but convenient upper bound on log 2 Φ ( γ n ) \log_2 \Phi(\gamma n) log 2 Φ ( γ n ) , defined below.
Definition 3.1 (φ \varphi φ ). We define
φ ( γ ) : = min { h ( γ ) + 1 s ⋅ log 2 ( 1 + ( 1 − 2 γ ) s 2 ) , log 2 ( s − 1 ) 2 ⋅ min { γ , 1 − γ } + 1 2 ⋅ h ( γ ) } . \varphi(\gamma) := \min\left\{h(\gamma) + \frac{1}{s} \cdot\log_2 \left(\frac{1 + (1 - 2\gamma)^s}{2}\right),\frac{\log_2(s - 1)}{2} \cdot\min\{\gamma,1-\gamma\} + \frac{1}{2} \cdot h(\gamma)\right\}. φ ( γ ) := min { h ( γ ) + s 1 ⋅ log 2 ( 2 1 + ( 1 − 2 γ ) s ) , 2 log 2 ( s − 1 ) ⋅ min { γ , 1 − γ } + 2 1 ⋅ h ( γ ) } .
where recall R = 1 − 1 / s R = 1 - 1/s R = 1 − 1/ s is the rate of P ~ s \widetilde{P}_s P s .
The first term in the minimization describes the general behavior of log 2 Φ ( γ n ) \log_2 \Phi(\gamma n) log 2 Φ ( γ n ) when γ \gamma γ is bounded away from 0 or 1. The latter term is a tighter bound when γ \gamma γ is very close to 0 or 1, and will be necessary to show convergence to the GV bound (in particular, for showing that the candidate distances δ ( m ) \delta^{(m)} δ ( m ) defined below become strictly positive; see Proposition 4.4 ). A corollary of the bounds on Φ ( c ) \Phi(c) Φ ( c ) (see Proposition 3.5, Items 3 and 4) is that Φ ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ φ ( c / n ) \Phi(c) \le\operatorname{poly}(n) \cdot2^{n \cdot\varphi(c/n)} Φ ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ φ ( c / n ) .
Now, let us proceed to the recursion. Asymptotically, using Stirling’s approximation, we have loosely that
p A ( a , b ) ≤ poly ( n ) ⋅ 2 n ⋅ f A ( ≈ a / n , ≈ b / n ) p_A(a,b) \le\operatorname{poly}(n) \cdot2^{n \cdot f_A(\approx a/n,\approx b/n)} p A ( a , b ) ≤ poly ( n ) ⋅ 2 n ⋅ f A ( ≈ a / n , ≈ b / n )
where
f A ( α , β ) = α − h ( β ) + ( 1 − α ) ⋅ h ( β − α / 2 1 − α ) , f_A(\alpha,\beta) = \alpha- h(\beta) + (1-\alpha) \cdot h\left(\frac{\beta-\alpha/2}{1-\alpha}\right), f A ( α , β ) = α − h ( β ) + ( 1 − α ) ⋅ h ( 1 − α β − α /2 ) ,
and
p D ( a , b ) ≤ poly ( n ) ⋅ 2 n ⋅ f D ( ≈ a / n , ≈ b / n ) p_D(a,b) \le\operatorname{poly}(n) \cdot2^{n \cdot f_D(\approx a/n,\approx b/n)} p D ( a , b ) ≤ poly ( n ) ⋅ 2 n ⋅ f D ( ≈ a / n , ≈ b / n )
where
f D ( α , β ) = ( 1 − α ) ⋅ h ( β 2 ( 1 − α ) ) + α ⋅ h ( β 2 α ) − h ( α ) . f_D(\alpha,\beta) = (1-\alpha) \cdot h\left(\frac{\beta}{2(1-\alpha)}\right) + \alpha\cdot h\left(\frac{\beta}{2\alpha}\right) - h(\alpha). f D ( α , β ) = ( 1 − α ) ⋅ h ( 2 ( 1 − α ) β ) + α ⋅ h ( 2 α β ) − h ( α ) .
In the above expressions, we used ≈ a / n \approx a/n ≈ a / n and ≈ b / n \approx b/n ≈ b / n in the exponents instead of exact a / n a/n a / n and b / n b/n b / n because of the rounding errors due to the floors and ceilings. For instance, p A ( 1 , n ) = 1 n p_A(1,n) = \frac{1}{n} p A ( 1 , n ) = n 1 but α = 1 n , β = 1 \alpha= \frac{1}{n}, \beta= 1 α = n 1 , β = 1 falls outside the range for which f A ( α , β ) f_A(\alpha,\beta) f A ( α , β ) is defined. Nonetheless, we will see in Proposition 3.3 that we can use f A + f D f_A + f_D f A + f D and f D + f A f_D + f_A f D + f A without error in the arguments as a bound on the spectral shape of the transition probabilities of applying D A DA D A or A D AD A D .
Using f A f_A f A and f D f_D f D , we can write the logarithmic versions of the recursions in Eq. (3) and (4) :
Definition 3.2. The asymptotic spectral shape functions of a P s ( A D ) m P_{\mathrm{s}}(AD)^m P s ( A D ) m and P s ( D A ) m P_{\mathrm{s}}(DA)^m P s ( D A ) m code are defined recursively as r A D ( 0 ) ( γ ) = r D A ( 0 ) ( γ ) = φ ( γ ) r_{AD}^{(0)}(\gamma)=r_{DA}^{(0)}(\gamma)=\varphi(\gamma) r A D ( 0 ) ( γ ) = r D A ( 0 ) ( γ ) = φ ( γ ) , and for m ≥ 1 m\ge1 m ≥ 1 ,
r A D ( m ) ( γ ) : = max α , β { r A D ( m − 1 ) ( α ) + f A D ( α , β , γ ) } r_{AD}^{(m)}(\gamma):=\max_{\alpha,\beta}\{r_{AD}^{(m-1)}(\alpha)+f_{AD}(\alpha,\beta,\gamma)\} r A D ( m ) ( γ ) := α , β max { r A D ( m − 1 ) ( α ) + f A D ( α , β , γ )} r D A ( m ) ( γ ) : = max α , β { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ ) } . r_{DA}^{(m)}(\gamma):=\max_{\alpha,\beta}\{r_{DA}^{(m-1)}(\alpha)+f_{DA}(\alpha,\beta,\gamma)\}. r D A ( m ) ( γ ) := α , β max { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ )} .
Here, we’ve used the shorthands f A D ( α , β , γ ) = f A ( α , β ) + f D ( β , γ ) f_{AD}(\alpha,\beta,\gamma)=f_A(\alpha,\beta)+f_D(\beta,\gamma) f A D ( α , β , γ ) = f A ( α , β ) + f D ( β , γ ) and f D A ( α , β , γ ) = f D ( α , β ) + f A ( β , γ ) f_{DA}(\alpha,\beta,\gamma)=f_D(\alpha,\beta)+f_A(\beta,\gamma) f D A ( α , β , γ ) = f D ( α , β ) + f A ( β , γ ) . All intervals for α , β \alpha,\beta α , β should be taken over the valid domains over which f A f_A f A and f D f_D f D are defined.
Proposition 3.3. It holds for all m ≥ 0 m\ge0 m ≥ 0 and 0 ≤ c ≤ n 0\le c\le n 0 ≤ c ≤ n that
W A D ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n ) W_{AD}^{(m)}(c)\le\operatorname{poly}(n)\cdot2^{n\cdot r_{AD}^{(m)}(c/n)} W A D ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n ) W D A ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r D A ( m ) ( c / n ) . W_{DA}^{(m)}(c)\le\operatorname{poly}(n)\cdot2^{n\cdot r_{DA}^{(m)}(c/n)}. W D A ( m ) ( c ) ≤ poly ( n ) ⋅ 2 n ⋅ r D A ( m ) ( c / n ) .
Proof. In fact, we will show (and it suffices to show) that
∑ 0 ≤ b ≤ n p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ max β f A D ( a / n , β , c / n ) (5) \sum_{0\le b\le n}p_A(a,b)p_D(b,c)\le\operatorname{poly}(n)\cdot2^{n\cdot\max_\beta f_{AD}(a/n,\beta,c/n)} \tag*{(5)} 0 ≤ b ≤ n ∑ p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ m a x β f A D ( a / n , β , c / n ) (5)
∑ 0 ≤ b ≤ n p D ( a , b ) p A ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ max β f D A ( a / n , β , c / n ) . (6) \sum_{0\le b\le n}p_D(a,b)p_A(b,c)\le\operatorname{poly}(n)\cdot2^{n\cdot\max_\beta f_{DA}(a/n,\beta,c/n)}. \tag*{(6)} 0 ≤ b ≤ n ∑ p D ( a , b ) p A ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ m a x β f D A ( a / n , β , c / n ) . (6)
Then, by induction
W A D ( m ) ( c ) = ∑ 0 ≤ a ≤ n W A D ( m − 1 ) ( a ) ⋅ ∑ 0 ≤ b ≤ n p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ max 0 ≤ a ≤ n 2 n ⋅ r A D ( m − 1 ) ( a / n ) ⋅ 2 n ⋅ max β f A D ( a / n , β , c / n ) ≤ poly ( n ) ⋅ max 0 ≤ α ≤ 1 0 ≤ β ≤ 1 2 n ⋅ ( r A D ( m − 1 ) ( α ) + f A D ( α , β , c / n ) ) = poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n ) . \begin{aligned}
W_{AD}^{(m)}(c)=\sum_{0\le a\le n}W_{AD}^{(m-1)}(a)\cdot\sum_{0\le b\le n}p_A(a,b)p_D(b,c) \\
&\le\operatorname{poly}(n)\cdot\max_{0\le a\le n}2^{n\cdot r_{AD}^{(m-1)}(a/n)}\cdot2^{n\cdot\max_\beta f_{AD}(a/n,\beta,c/n)} \\
&\le\operatorname{poly}(n)\cdot\max_{\substack{0\le\alpha\le1\\0\le\beta\le1}}2^{n\cdot\left(r_{AD}^{(m-1)}(\alpha)+f_{AD}(\alpha,\beta,c/n)\right)} \\
&=\operatorname{poly}(n)\cdot2^{n\cdot r_{AD}^{(m)}(c/n)}.
\end{aligned} W A D ( m ) ( c ) = 0 ≤ a ≤ n ∑ W A D ( m − 1 ) ( a ) ⋅ 0 ≤ b ≤ n ∑ p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ 0 ≤ a ≤ n max 2 n ⋅ r A D ( m − 1 ) ( a / n ) ⋅ 2 n ⋅ m a x β f A D ( a / n , β , c / n ) ≤ poly ( n ) ⋅ 0 ≤ α ≤ 1 0 ≤ β ≤ 1 max 2 n ⋅ ( r A D ( m − 1 ) ( α ) + f A D ( α , β , c / n ) ) = poly ( n ) ⋅ 2 n ⋅ r A D ( m ) ( c / n ) .
as desired. The same holds for W D A ( m ) W_{DA}^{(m)} W D A ( m ) .
For Eq. (5) , the issue with plugging β = b / n \beta=b/n β = b / n into f A D f_{AD} f A D is that β = b / n \beta=b/n β = b / n may result in the functions f A ( a / n , β ) f_A(a/n,\beta) f A ( a / n , β ) or f D ( β , c / n ) f_D(\beta,c/n) f D ( β , c / n ) being undefined (due to the ceilings and floors in p A p_A p A and p D p_D p D ). Indeed, p A p_A p A restricts b ∈ [ ⌈ a / 2 ⌉ , n − ⌈ a / 2 ⌉ + 1 ] b\in[\lceil a/2\rceil,n-\lceil a/2\rceil+1] b ∈ [⌈ a /2 ⌉ , n − ⌈ a /2 ⌉ + 1 ] and p D p_D p D restricts b ∈ [ ⌈ c / 2 ⌉ , n − ⌈ c / 2 ⌉ + 1 ] b\in[\lceil c/2\rceil,n-\lceil c/2\rceil+1] b ∈ [⌈ c /2 ⌉ , n − ⌈ c /2 ⌉ + 1 ] , but the functions f A f_A f A and f D f_D f D have ranges β ∈ [ a / ( 2 n ) , 1 − a / ( 2 n ) ] \beta\in[a/(2n),1-a/(2n)] β ∈ [ a / ( 2 n ) , 1 − a / ( 2 n )] and β ∈ [ c / ( 2 n ) , 1 − c / ( 2 n ) ] \beta\in[c/(2n),1-c/(2n)] β ∈ [ c / ( 2 n ) , 1 − c / ( 2 n )] respectively. Notice that these intervals are nearly identical (after normalization by n n n ), up to a ± 1 / ( 2 n ) \pm1/(2n) ± 1/ ( 2 n ) in the normalized upper bound. Therefore, when b / n b/n b / n already falls in the range for f A f_A f A and f D f_D f D , Stirling’s approximation immediately gives p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ f A D ( a / n , b / n , c / n ) p_A(a,b)p_D(b,c)\le\operatorname{poly}(n)\cdot2^{n\cdot f_{AD}(a/n,b/n,c/n)} p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ 2 n ⋅ f A D ( a / n , b / n , c / n ) . When b / n b/n b / n does not, defining β = b / n − 1 / n \beta=b/n-1/n β = b / n − 1/ n places β \beta β within the defined range for f A f_A f A and f D f_D f D , and we get that p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ p A ( a , b − 1 ) p D ( b − 1 , c ) ≤ poly ( n ) ⋅ 2 n ⋅ f A D ( a / n , β , c / n ) p_A(a,b)p_D(b,c)\le\operatorname{poly}(n)\cdot p_A(a,b-1)p_D(b-1,c)\le\operatorname{poly}(n)\cdot2^{n\cdot f_{AD}(a/n,\beta,c/n)} p A ( a , b ) p D ( b , c ) ≤ poly ( n ) ⋅ p A ( a , b − 1 ) p D ( b − 1 , c ) ≤ poly ( n ) ⋅ 2 n ⋅ f A D ( a / n , β , c / n ) .
We will handle Eq. (6) similarly. Here again, the issue is that plugging in β = b / n \beta=b/n β = b / n may result in the functions f D ( a / n , β ) f_D(a/n,\beta) f D ( a / n , β ) or f A ( β , c / n ) f_A(\beta,c/n) f A ( β , c / n ) being undefined. The functions p D ( a , b ) p_D(a,b) p D ( a , b ) and p A ( b , c ) p_A(b,c) p A ( b , c ) restrict b ≤ min { 2 a , 2 ( n − a ) + 1 , 2 c , 2 ( n − c ) + 1 } b\le\min\{2a,2(n-a)+1,2c,2(n-c)+1\} b ≤ min { 2 a , 2 ( n − a ) + 1 , 2 c , 2 ( n − c ) + 1 } , whereas f D ( a / n , β ) f_D(a/n,\beta) f D ( a / n , β ) and f A ( β , c / n ) f_A(\beta,c/n) f A ( β , c / n ) only restrict β ≤ min { 2 a n , 2 ( n − a ) n , 2 c n , 2 ( n − c ) n } \beta\le\min\left\{\frac{2a}{n},\frac{2(n-a)}{n},\frac{2c}{n},\frac{2(n-c)}{n}\right\} β ≤ min { n 2 a , n 2 ( n − a ) , n 2 c , n 2 ( n − c ) } . So, when b / n b/n b / n falls within the valid range for f D f_D f D and f A f_A f A , Stirling’s approximation gives the desired conclusion. Otherwise, we must round β \beta β from b / n b/n b / n by at most 1 / n 1/n 1/ n , which will affect the approximation by at most a polynomial factor.
[6 ] analyzes r A D ( m ) r_{AD}^{(m)} r A D ( m ) and r D A ( m ) r_{DA}^{(m)} r D A ( m ) by first relating these quantities to the analogous quantity for R 2 ( A ) m R_2(A)^m R 2 ( A ) m codes where only permuted accumulations (no permuted derivatives) are applied, which have been intensively studied. We will follow their approach and relate our quantities to the code P s ( A ) m P_s(A)^m P s ( A ) m which is encoded by taking words in P ~ s \widetilde{P}_s P s and applying m m m rounds of a random permutation Π \Pi Π followed by an accumulation operation A A A . That is, P s ( A ) m = A ∘ Π m ∘ ⋯ ∘ A ∘ Π 1 ∘ P ~ s P_s(A)^m=A\circ\Pi_m\circ\cdots\circ A\circ\Pi_1\circ\widetilde{P}_s P s ( A ) m = A ∘ Π m ∘ ⋯ ∘ A ∘ Π 1 ∘ P s . The analogous quantity is r A ( m ) r_A^{(m)} r A ( m ) , defined as follows:
Definition 3.4. The asymptotic spectral shape function of a P s ( A ) m P_s(A)^m P s ( A ) m code is defined recursively as
r A ( m ) ( γ ) : = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { r A ( m − 1 ) ( α ) + f A ( α , γ ) } . r_A^{(m)}(\gamma):=\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\left\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\right\}. r A ( m ) ( γ ) := 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { r A ( m − 1 ) ( α ) + f A ( α , γ ) } . with base case r A ( 0 ) ( γ ) = φ ( γ ) r_A^{(0)}(\gamma)=\varphi(\gamma) r A ( 0 ) ( γ ) = φ ( γ ) . We also define
δ ( m ) : = max { δ ∈ [ 0 , 1 / 2 ) : ∀ δ ′ ≤ δ , r A ( m ) ( δ ′ ) ≤ 0 } . \delta^{(m)}:=\max\left\{\delta\in[0,1/2):\forall\delta'\le\delta,\ r_A^{(m)}(\delta')\le0\right\}. δ ( m ) := max { δ ∈ [ 0 , 1/2 ) : ∀ δ ′ ≤ δ , r A ( m ) ( δ ′ ) ≤ 0 } . Intuitively, δ ( m ) \delta^{(m)} δ ( m ) represents the threshold below which there are sub-exponentially many codewords in P s ( A ) m P_s(A)^m P s ( A ) m . It turns out that δ ( m ) \delta^{(m)} δ ( m ) will also represent the distance of P s ( A ) m P_s(A)^m P s ( A ) m codes. (Note that we have not yet shown that below δ ( m ) \delta^{(m)} δ ( m ) there should be no codewords; a priori there may be as many as sub-exponentially many codewords. Bounding the expected number of codewords below δ ( m ) \delta^{(m)} δ ( m ) will be an important part of our analysis.) We will show that the distance of P s ( D A ) m P_s(DA)^m P s ( D A ) m and P s ( A D ) m P_s(AD)^m P s ( A D ) m codes approaches δ ( m ) \delta^{(m)} δ ( m ) as well.
Properties of the Initial Encoder, Spectral Shape, and Update Function
In this section, we state properties about Φ \Phi Φ , f A f_A f A , and r A ( m ) r_A^{(m)} r A ( m ) that we will use later. Their proofs are given in Section A.
Proposition 3.5 (Facts about Φ \Phi Φ and φ \varphi φ ). The following properties hold for the outer encoder. Recall that we defined φ ( γ ) : = min { h ( γ ) + 1 s ⋅ log 2 ( 1 + ( 1 − 2 γ ) s 2 ) , log 2 ( s − 1 ) 2 ⋅ min { γ , 1 − γ } + 1 2 ⋅ h ( γ ) } \varphi(\gamma):=\min\left\{h(\gamma)+\frac{1}{s}\cdot\log_2\left(\frac{1+(1-2\gamma)^s}{2}\right),\frac{\log_2(s-1)}{2}\cdot\min\{\gamma,1-\gamma\}+\frac{1}{2}\cdot h(\gamma)\right\} φ ( γ ) := min { h ( γ ) + s 1 ⋅ log 2 ( 2 1 + ( 1 − 2 γ ) s ) , 2 l o g 2 ( s − 1 ) ⋅ min { γ , 1 − γ } + 2 1 ⋅ h ( γ ) } .
Φ ( a ) \Phi(a) Φ ( a ) is symmetric around a = n / 2 a=n/2 a = n /2 .
Φ ( 1 ) = Φ ( n − 1 ) = 0 \Phi(1)=\Phi(n-1)=0 Φ ( 1 ) = Φ ( n − 1 ) = 0 .
Φ ( a ) ≤ ( s − 1 ) a ′ / 2 ( n / 2 a ′ / 2 ) \Phi(a)\le(s-1)^{a'/2}\binom{n/2}{a'/2} Φ ( a ) ≤ ( s − 1 ) a ′ /2 ( a ′ /2 n /2 ) , where a ′ : = min { a , n − a } a':=\min\{a,n-a\} a ′ := min { a , n − a } . This is the tighter bound when a a a is close to 0 or n n n .
Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 1 + ( 1 − 2 α ) s 2 ) n / s \Phi(a)\cdot\alpha^a(1-\alpha)^{n-a}\le\left(\frac{1+(1-2\alpha)^s}{2}\right)^{n/s} Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 2 1 + ( 1 − 2 α ) s ) n / s . This is the tighter bound when a a a is bounded away from 0 and n n n . We will only need this bound to define φ \varphi φ so that Item 7 holds. For many of the bounds in this paper, we will only need the below weaker bound (Item 5) on Φ ( a ) \Phi(a) Φ ( a ) .
Φ ( a ) ≤ poly ( n ) ⋅ ( n a ) 1 − 1 / s \Phi(a)\le\operatorname{poly}(n)\cdot\binom{n}{a}^{1-1/s} Φ ( a ) ≤ poly ( n ) ⋅ ( a n ) 1 − 1/ s .
φ ( γ ) \varphi(\gamma) φ ( γ ) is symmetric around 1 / 2 1/2 1/2 , and increasing between 0 and 1 / 2 1/2 1/2 .
φ ( γ ) − h ( γ ) \varphi(\gamma)-h(\gamma) φ ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 , and decreasing between 0 and 1 2 \frac{1}{2} 2 1 .
φ ( γ ) ≥ h ( γ ) − 1 / s \varphi(\gamma) \ge h(\gamma)-1/s φ ( γ ) ≥ h ( γ ) − 1/ s .
We remark that one could pick a different outer encoder Φ \Phi Φ , and the analysis should mostly work assuming one proves the statements (or similar statements to the ones) above. Let us explain the role of each statement in the proofs. Items 1, 6 and 7 are needed to prove the necessary facts about r A ( m ) r_A^{(m)} r A ( m ) in Proposition 3.7. Items 2, 3 and 5 are used to get bounds on the number of codewords with weight super close to 0 or n n n after 1 or 2 rounds (see § 5.2 ). As mentioned above, Item 4 is a tighter bound on the number of middle weight codewords that is useful to prove Item 7. Finally, Item 8 is used in § 4 as a lower bound on φ \varphi φ to show that δ ( m ) \delta^{(m)} δ ( m ) go to the desired GV bound as m m m grows. Also necessary to the GV bound convergence is Item 3, which shows that there are quite few codewords with weight close to 0 or n n n , and is used to show that r A ( 2 ) r_A^{(2)} r A ( 2 ) has a positive length 0 stretch starting at 0 (i.e., δ ( 2 ) \delta^{(2)} δ ( 2 ) is strictly positive).
The below facts about f A f_A f A were mostly proved in [6 ] .
Proposition 3.6 (Facts about f A f_A f A ). The following hold for f A f_A f A .
f A ( α , γ ) ≤ 0 f_A(\alpha,\gamma) \le0 f A ( α , γ ) ≤ 0 , with equality if and only if α = 0 \alpha=0 α = 0 or γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 .
f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is decreasing in α \alpha α .
f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is symmetric around γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 and is increasing in γ \gamma γ between 0 and 1 2 \frac{1}{2} 2 1 .
For fixed γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , the function h ( α ) + f A ( α , γ ) − h ( γ ) : ( 0 , min { 2 γ , 2 ( 1 − γ ) } ] → R h(\alpha)+f_A(\alpha,\gamma)-h(\gamma):(0,\min\{2\gamma,2(1-\gamma)\}]\to\mathbb{R} h ( α ) + f A ( α , γ ) − h ( γ ) : ( 0 , min { 2 γ , 2 ( 1 − γ )}] → R is concave and is maximized at α = λ γ : = 2 γ ( 1 − γ ) \alpha=\lambda_\gamma:=2\gamma(1-\gamma) α = λ γ := 2 γ ( 1 − γ ) , at which point h ( λ γ ) + f A ( λ γ , γ ) − h ( γ ) = 0 h(\lambda_\gamma)+f_A(\lambda_\gamma,\gamma)-h(\gamma)=0 h ( λ γ ) + f A ( λ γ , γ ) − h ( γ ) = 0 .
Finally, the below facts about r A ( m ) r_A^{(m)} r A ( m ) follow from the properties stated above about φ \varphi φ and about f A f_A f A .
Proposition 3.7 (Facts about r A ( m ) r_A^{(m)} r A ( m ) ). The following hold for r A ( m ) r_A^{(m)} r A ( m ) for m ≥ 0 m\ge0 m ≥ 0 .
r A ( m ) ( γ ) ≥ 0 r_A^{(m)}(\gamma)\ge0 r A ( m ) ( γ ) ≥ 0 .
r A ( m ) ( γ ) r_A^{(m)}(\gamma) r A ( m ) ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 , and is increasing between 0 and 1 2 \frac{1}{2} 2 1 .
r A ( m ) ( γ ) − h ( γ ) r_A^{(m)}(\gamma)-h(\gamma) r A ( m ) ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 and is decreasing between 0 and 1 2 \frac{1}{2} 2 1 .
For m ≥ 1 m\ge1 m ≥ 1 , r A ( m ) ( γ ) ≤ r A ( m − 1 ) ( γ ) r_A^{(m)}(\gamma)\le r_A^{(m-1)}(\gamma) r A ( m ) ( γ ) ≤ r A ( m − 1 ) ( γ ) . In particular, δ ( m ) ≥ δ ( m − 1 ) \delta^{(m)}\ge\delta^{(m-1)} δ ( m ) ≥ δ ( m − 1 ) for all m ≥ 1 m\ge1 m ≥ 1 .
Convergence of ( m ) (m) ( m ) to the GV Bound
In this section, we will show that the sequence { δ ( m ) } m ≥ 0 \{\delta^{(m)}\}_{m\ge0} { δ ( m ) } m ≥ 0 converges to δ G V \delta_{\mathrm{GV}} δ GV , defined as the value ∈ [ 0 , 1 2 ] \in[0,\frac{1}{2}] ∈ [ 0 , 2 1 ] for which h ( δ G V ) = 1 − R = 1 / s h(\delta_{\mathrm{GV}})=1-R=1/s h ( δ GV ) = 1 − R = 1/ s .
Theorem 4.1. { δ ( m ) } m ≥ 0 → δ G V \{\delta^{(m)}\}_{m\ge0}\to\delta_{\mathrm{GV}} { δ ( m ) } m ≥ 0 → δ GV .
This theorem will be proved by a combination of Propositions 4.2 , 4.3 and 4.5.
Proposition 4.2. δ ( m ) ≥ δ ( m − 1 ) \delta^{(m)}\ge\delta^{(m-1)} δ ( m ) ≥ δ ( m − 1 ) for all m > 0 m>0 m > 0 .
Proof. This follows from r A ( m ) ≤ r A ( m − 1 ) r_A^{(m)} \le r_A^{(m-1)} r A ( m ) ≤ r A ( m − 1 ) (Proposition 3.7, Item 4). In particular, if r A ( m − 1 ) ( γ ) = 0 r_A^{(m-1)}(\gamma)=0 r A ( m − 1 ) ( γ ) = 0 for all γ ≤ δ ( m − 1 ) \gamma\le\delta^{(m-1)} γ ≤ δ ( m − 1 ) , then the same will be true for r A ( m ) r_A^{(m)} r A ( m ) .
Proposition 4.3. δ ( m ) ≤ δ G V \delta^{(m)} \le\delta_{GV} δ ( m ) ≤ δ G V for all m ≥ 0 m \ge0 m ≥ 0 .
Proof. We will show via induction that r A ( m ) ( γ ) ≥ h ( γ ) − 1 / s r_A^{(m)}(\gamma) \ge h(\gamma)-1/s r A ( m ) ( γ ) ≥ h ( γ ) − 1/ s . The case of m = 0 m=0 m = 0 is Proposition 3.5, Item 8. For m ≥ 1 m \ge1 m ≥ 1 , suppose that r A ( m − 1 ) ( γ ) ≥ h ( γ ) − 1 / s r_A^{(m-1)}(\gamma) \ge h(\gamma)-1/s r A ( m − 1 ) ( γ ) ≥ h ( γ ) − 1/ s . Then
r A ( m ) ( γ ) = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { r A ( m − 1 ) ( α ) + f A ( α , γ ) } ≥ max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { h ( α ) − 1 / s + f A ( α , γ ) } = h ( γ ) − 1 / s , \begin{aligned}
r_A^{(m)}(\gamma) &= \max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\}\\
&\ge\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\{h(\alpha)-1/s+f_A(\alpha,\gamma)\}\\
&=h(\gamma)-1/s,
\end{aligned} r A ( m ) ( γ ) = 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { r A ( m − 1 ) ( α ) + f A ( α , γ )} ≥ 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { h ( α ) − 1/ s + f A ( α , γ )} = h ( γ ) − 1/ s , where in the last line we use Proposition 3.6, Item 4. Recall that δ G V ∈ [ 0 , 1 2 ] \delta_{GV}\in[0,\frac{1}{2}] δ G V ∈ [ 0 , 2 1 ] is defined such that h ( δ G V ) = 1 − R = 1 / s h(\delta_{GV})=1-R=1/s h ( δ G V ) = 1 − R = 1/ s . Then for any γ ∈ ( δ G V , 1 2 ] \gamma\in(\delta_{GV},\frac{1}{2}] γ ∈ ( δ G V , 2 1 ] , we have that r A ( m ) ( γ ) > 0 r_A^{(m)}(\gamma)>0 r A ( m ) ( γ ) > 0 , implying that δ ( m ) ≤ δ G V \delta^{(m)}\le\delta_{GV} δ ( m ) ≤ δ G V .
Proposition 4.4. δ ( 2 ) > 0 \delta^{(2)}>0 δ ( 2 ) > 0 .
Proof. Let us first bound r A ( 1 ) ( γ ) r_A^{(1)}(\gamma) r A ( 1 ) ( γ ) for γ ≤ 1 2 \gamma\le\frac{1}{2} γ ≤ 2 1 (recall γ > 1 2 \gamma>\frac{1}{2} γ > 2 1 is handled by r A ( 1 ) r_A^{(1)} r A ( 1 ) being symmetric around 1 2 \frac{1}{2} 2 1 ). We have that
r A ( 1 ) ( γ ) = max 0 ≤ α ≤ 2 γ { φ ( α ) + f A ( α , γ ) } ≤ max 0 ≤ α ≤ 2 γ { α 2 ⋅ log 2 ( s − 1 ) + 1 2 ⋅ h ( α ) + f A ( α , γ ) } . \begin{aligned}
r_A^{(1)}(\gamma)&=\max_{0\le\alpha\le2\gamma}\{\varphi(\alpha)+f_A(\alpha,\gamma)\}\\
&\le\max_{0\le\alpha\le2\gamma}\left\{\frac{\alpha}{2}\cdot\log_2(s-1)+\frac{1}{2}\cdot h(\alpha)+f_A(\alpha,\gamma)\right\}.
\end{aligned} r A ( 1 ) ( γ ) = 0 ≤ α ≤ 2 γ max { φ ( α ) + f A ( α , γ )} ≤ 0 ≤ α ≤ 2 γ max { 2 α ⋅ log 2 ( s − 1 ) + 2 1 ⋅ h ( α ) + f A ( α , γ ) } . Let F ( α ) : = α 2 ⋅ log 2 ( s − 1 ) + 1 2 ⋅ h ( α ) + f A ( α , γ ) F(\alpha):=\frac{\alpha}{2}\cdot\log_2(s-1)+\frac{1}{2}\cdot h(\alpha)+f_A(\alpha,\gamma) F ( α ) := 2 α ⋅ log 2 ( s − 1 ) + 2 1 ⋅ h ( α ) + f A ( α , γ ) denote the term being maximized. Deriving, we get
F ′ ( α ) = log 2 ( s − 1 ) 2 + 1 + 1 2 log 2 ( ( γ − α / 2 ) ( 1 − γ − α / 2 ) α ⋅ ( 1 − α ) ) . F'(\alpha)=\frac{\log_2(s-1)}{2}+1+\frac{1}{2}\log_2\left(\frac{(\gamma-\alpha/2)(1-\gamma-\alpha/2)}{\alpha\cdot(1-\alpha)}\right). F ′ ( α ) = 2 log 2 ( s − 1 ) + 1 + 2 1 log 2 ( α ⋅ ( 1 − α ) ( γ − α /2 ) ( 1 − γ − α /2 ) ) . Because α ≤ 2 γ \alpha\le2\gamma α ≤ 2 γ , we have that 1 − γ − α / 2 1 − α ≤ 1 \frac{1-\gamma-\alpha/2}{1-\alpha}\le1 1 − α 1 − γ − α /2 ≤ 1 , so the above is
F ′ ( α ) ≤ log 2 ( s − 1 ) + 1 2 + 1 2 log 2 ( γ − α / 2 α / 2 ) = ∂ ∂ α ( ( log 2 ( s − 1 ) + 1 2 ) ⋅ α + γ ⋅ h ( α / 2 γ ) ) = : ∂ ∂ α G ( α , γ ) . \begin{aligned}
F'(\alpha)&\le\frac{\log_2(s-1)+1}{2}+\frac{1}{2}\log_2\left(\frac{\gamma-\alpha/2}{\alpha/2}\right)\\
&=\frac{\partial}{\partial\alpha}\left(\left(\frac{\log_2(s-1)+1}{2}\right)\cdot\alpha+\gamma\cdot h\left(\frac{\alpha/2}{\gamma}\right)\right)\\
&=:\frac{\partial}{\partial\alpha}G(\alpha,\gamma).
\end{aligned} F ′ ( α ) ≤ 2 log 2 ( s − 1 ) + 1 + 2 1 log 2 ( α /2 γ − α /2 ) = ∂ α ∂ ( ( 2 log 2 ( s − 1 ) + 1 ) ⋅ α + γ ⋅ h ( γ α /2 ) ) =: ∂ α ∂ G ( α , γ ) . Since G ( 0 , γ ) = 0 = F ( 0 ) G(0,\gamma)=0=F(0) G ( 0 , γ ) = 0 = F ( 0 ) , we have that F ( α ) ≤ G ( α , γ ) F(\alpha)\le G(\alpha,\gamma) F ( α ) ≤ G ( α , γ ) . Furthermore, G G G is concave in α \alpha α , and its derivative is 0 when α = 4 ( s − 1 ) 2 ( s − 1 ) + 1 ⋅ γ \alpha=\frac{4(s-1)}{2(s-1)+1}\cdot\gamma α = 2 ( s − 1 ) + 1 4 ( s − 1 ) ⋅ γ . Plugging this maximum point into G ( α , γ ) G(\alpha,\gamma) G ( α , γ ) , we get G ( α , γ ) ≤ γ ⋅ log 2 ( 2 s − 1 ) G(\alpha,\gamma)\le\gamma\cdot\log_2(2s-1) G ( α , γ ) ≤ γ ⋅ log 2 ( 2 s − 1 ) .
Next, Equation 14 in [9 ] is the bound
f A ( α , γ ) ≤ α log 2 ( 2 γ ( 1 − γ ) ) , f_A(\alpha,\gamma)\le\alpha\log_2\left(2\sqrt{\gamma(1-\gamma)}\right), f A ( α , γ ) ≤ α log 2 ( 2 γ ( 1 − γ ) ) ,
from which we obtain
r A ( 2 ) ( γ ) = max 0 ≤ α ≤ 2 γ { r A ( 1 ) ( α ) + f A ( α , γ ) } ≤ max 0 ≤ α ≤ 2 γ { α log 2 ( 2 s − 1 ) + α log 2 ( 2 γ ( 1 − γ ) ) } = max 0 ≤ α ≤ 2 γ { α log 2 ( 2 ( 2 s − 1 ) γ ( 1 − γ ) ) } . (7) \begin{aligned}
r_A^{(2)}(\gamma)=\max_{0\leq\alpha\leq2\gamma}\left\{r_A^{(1)}(\alpha)+f_A(\alpha,\gamma)\right\} \\
&\leq\max_{0\leq\alpha\leq2\gamma}\left\{\alpha\log_2(2s-1)+\alpha\log_2\left(2\sqrt{\gamma(1-\gamma)}\right)\right\} \\
&=\max_{0\leq\alpha\leq2\gamma}\left\{\alpha\log_2\left(2(2s-1)\sqrt{\gamma(1-\gamma)}\right)\right\}. \tag*{(7)}
\end{aligned} r A ( 2 ) ( γ ) = 0 ≤ α ≤ 2 γ max { r A ( 1 ) ( α ) + f A ( α , γ ) } ≤ 0 ≤ α ≤ 2 γ max { α log 2 ( 2 s − 1 ) + α log 2 ( 2 γ ( 1 − γ ) ) } = 0 ≤ α ≤ 2 γ max { α log 2 ( 2 ( 2 s − 1 ) γ ( 1 − γ ) ) } . (7)
Therefore, whenever γ ( 1 − γ ) < 1 2 ( 2 s − 1 ) \sqrt{\gamma(1-\gamma)}<\frac{1}{2(2s-1)} γ ( 1 − γ ) < 2 ( 2 s − 1 ) 1 , the quantity being maximized in Eq. (7) is ≤ 0 \leq0 ≤ 0 for all α \alpha α , giving that δ ( 2 ) ≥ 1 − 1 − 1 / ( 2 s − 1 ) 2 2 > 1 4 ( 2 s − 1 ) 2 \delta^{(2)}\geq\frac{1-\sqrt{1-1/(2s-1)^2}}{2}>\frac{1}{4(2s-1)^2} δ ( 2 ) ≥ 2 1 − 1 − 1/ ( 2 s − 1 ) 2 > 4 ( 2 s − 1 ) 2 1 .
Proposition 4.5. For any γ < δ G V \gamma<\delta_{GV} γ < δ G V , there is some m ≥ 0 m\geq0 m ≥ 0 for which r A ( m ) ( γ ) = 0 r_A^{(m)}(\gamma)=0 r A ( m ) ( γ ) = 0 .
Proof. Suppose otherwise, and let γ < δ G V \gamma<\delta_{GV} γ < δ G V be such that r A ( m ) ( γ ) > 0 r_A^{(m)}(\gamma)>0 r A ( m ) ( γ ) > 0 for all m ≥ 0 m\geq0 m ≥ 0 . First, for any m ≥ 1 m\geq1 m ≥ 1 , we may consider the sequence α 0 , α 1 , … , α m − 1 , α m = γ \alpha_0,\alpha_1,\ldots,\alpha_{m-1},\alpha_m=\gamma α 0 , α 1 , … , α m − 1 , α m = γ such that r A ( m ) ( γ ) > 0 r_A^{(m)}(\gamma)>0 r A ( m ) ( γ ) > 0 is obtained recursively by the maxima achieved at each of the α i \alpha_i α i . That is, r A ( i ) ( α i ) = r A ( i − 1 ) ( α i − 1 ) + f A ( α i − 1 , α i ) r_A^{(i)}(\alpha_i)=r_A^{(i-1)}(\alpha_{i-1})+f_A(\alpha_{i-1},\alpha_i) r A ( i ) ( α i ) = r A ( i − 1 ) ( α i − 1 ) + f A ( α i − 1 , α i ) for each i ∈ [ m ] i\in[m] i ∈ [ m ] . Note that α i ≤ 1 2 \alpha_i\leq\frac{1}{2} α i ≤ 2 1 because r A ( i − 1 ) ( α i − 1 ) r_A^{(i-1)}(\alpha_{i-1}) r A ( i − 1 ) ( α i − 1 ) is symmetric around α i − 1 = 1 2 \alpha_{i-1}=\frac{1}{2} α i − 1 = 2 1 and f A ( α i − 1 , α i ) f_A(\alpha_{i-1},\alpha_i) f A ( α i − 1 , α i ) is decreasing in α i − 1 \alpha_{i-1} α i − 1 , so the maximum is always achieved for α i − 1 ≤ 1 2 \alpha_{i-1}\leq\frac{1}{2} α i − 1 ≤ 2 1 . Since f A ( α i − 1 , α i ) ≤ 0 f_A(\alpha_{i-1},\alpha_i)\leq0 f A ( α i − 1 , α i ) ≤ 0 , we have that r A ( 0 ) ( α 0 ) ≥ r A ( 1 ) ( α 1 ) ≥ … ≥ r A ( m ) ( γ ) > 0 r_A^{(0)}(\alpha_0)\geq r_A^{(1)}(\alpha_1)\geq\ldots\geq r_A^{(m)}(\gamma)>0 r A ( 0 ) ( α 0 ) ≥ r A ( 1 ) ( α 1 ) ≥ … ≥ r A ( m ) ( γ ) > 0 . In particular, α i > δ ( i ) ≥ δ ( 2 ) > 0 \alpha_i>\delta^{(i)}\geq\delta^{(2)}>0 α i > δ ( i ) ≥ δ ( 2 ) > 0 for each i = 2 , … , m i=2,\ldots,m i = 2 , … , m .
Consider any 0 ≤ i ≤ m − 1 0\leq i\leq m-1 0 ≤ i ≤ m − 1 . We have that
r A ( m ) ( γ ) = r A ( i ) ( α i ) + f A ( α i , α i + 1 ) + ⋯ + f A ( α m − 1 , γ ) ≤ r A ( i ) ( α i ) + [ h ( α i + 1 ) − h ( α i ) ] + ⋯ + [ h ( γ ) − h ( α m − 1 ) ] ≤ r A ( i ) ( α i ) + h ( γ ) − h ( α i ) ≤ h ( γ ) + 1 s log 2 ( 1 + ( 1 − 2 α i ) s 2 ) = − ε + 1 s log 2 ( 1 + ( 1 − 2 α i ) s ) , \begin{aligned}
r_A^{(m)}(\gamma)&=r_A^{(i)}(\alpha_i)+f_A(\alpha_i,\alpha_{i+1})+\cdots+f_A(\alpha_{m-1},\gamma)\\
&\leq r_A^{(i)}(\alpha_i)+[h(\alpha_{i+1})-h(\alpha_i)]+\cdots+[h(\gamma)-h(\alpha_{m-1})]\\
&\leq r_A^{(i)}(\alpha_i)+h(\gamma)-h(\alpha_i)\\
&\leq h(\gamma)+\frac{1}{s}\log_2\left(\frac{1+(1-2\alpha_i)^s}{2}\right)\\
&=-\varepsilon+\frac{1}{s}\log_2\left(1+(1-2\alpha_i)^s\right),
\end{aligned} r A ( m ) ( γ ) = r A ( i ) ( α i ) + f A ( α i , α i + 1 ) + ⋯ + f A ( α m − 1 , γ ) ≤ r A ( i ) ( α i ) + [ h ( α i + 1 ) − h ( α i )] + ⋯ + [ h ( γ ) − h ( α m − 1 )] ≤ r A ( i ) ( α i ) + h ( γ ) − h ( α i ) ≤ h ( γ ) + s 1 log 2 ( 2 1 + ( 1 − 2 α i ) s ) = − ε + s 1 log 2 ( 1 + ( 1 − 2 α i ) s ) , where ε = 1 s − h ( γ ) > 0 \varepsilon=\frac{1}{s}-h(\gamma)>0 ε = s 1 − h ( γ ) > 0 . Here, in the fourth line, we use Proposition 3.7, Item 4 to get that r A ( i ) ( α i ) ≤ φ ( α i ) ≤ h ( α i ) + 1 s log 2 ( 1 + ( 1 − 2 α i ) s 2 ) r_A^{(i)}(\alpha_i)\leq\varphi(\alpha_i)\leq h(\alpha_i)+\frac{1}{s}\log_2\left(\frac{1+(1-2\alpha_i)^s}{2}\right) r A ( i ) ( α i ) ≤ φ ( α i ) ≤ h ( α i ) + s 1 log 2 ( 2 1 + ( 1 − 2 α i ) s ) . Using that r A ( m ) ( γ ) > 0 r_A^{(m)}(\gamma)>0 r A ( m ) ( γ ) > 0 , we get that log 2 ( 1 + ( 1 − 2 α i ) s ) > ε s \log_2(1+(1-2\alpha_i)^s)>\varepsilon s log 2 ( 1 + ( 1 − 2 α i ) s ) > ε s . In particular, there is some ε ′ \varepsilon' ε ′ depending only on γ \gamma γ (and not m m m ) such that α i < 1 2 − ε ′ \alpha_i<\frac{1}{2}-\varepsilon' α i < 2 1 − ε ′ for all i = 0 , … , m − 1 i=0,\ldots,m-1 i = 0 , … , m − 1 .
Now, we reach our contradiction. On one hand, since we’ve assumed that r A ( m ) ( γ ) > 0 r_A^{(m)}(\gamma)>0 r A ( m ) ( γ ) > 0 for all m ≥ 0 m\geq0 m ≥ 0 , we have that for any m ≥ 3 m\geq3 m ≥ 3 there is a sequence α 2 , … , α m − 1 ∈ ( δ ( 2 ) , 1 2 − ε ′ ) \alpha_2,\ldots,\alpha_{m-1}\in(\delta^{(2)},\frac{1}{2}-\varepsilon') α 2 , … , α m − 1 ∈ ( δ ( 2 ) , 2 1 − ε ′ ) such that
r A ( m ) ( γ ) = r A ( 2 ) ( α 2 ) + f A ( α 2 , α 3 ) + ⋯ + f A ( α m − 1 , γ ) ≤ 1 + f A ( α 2 , α 3 ) + ⋯ + f A ( α m − 1 , γ ) . \begin{aligned}
r_A^{(m)}(\gamma)&=r_A^{(2)}(\alpha_2)+f_A(\alpha_2,\alpha_3)+\cdots+f_A(\alpha_{m-1},\gamma)\\
&\leq1+f_A(\alpha_2,\alpha_3)+\cdots+f_A(\alpha_{m-1},\gamma).
\end{aligned} r A ( m ) ( γ ) = r A ( 2 ) ( α 2 ) + f A ( α 2 , α 3 ) + ⋯ + f A ( α m − 1 , γ ) ≤ 1 + f A ( α 2 , α 3 ) + ⋯ + f A ( α m − 1 , γ ) . On the other hand, since α i \alpha_i α i are bounded both away from 0 0 0 and from 1 2 \frac{1}{2} 2 1 , we have that there is some ε ′ ′ = ε ′ ′ ( δ ( 2 ) , ε ′ ) > 0 \varepsilon''=\varepsilon''(\delta^{(2)},\varepsilon')>0 ε ′′ = ε ′′ ( δ ( 2 ) , ε ′ ) > 0 for which f A ( α i − 1 , α i ) < − ε ′ ′ f_A(\alpha_{i-1},\alpha_i)<-\varepsilon'' f A ( α i − 1 , α i ) < − ε ′′ (see Proposition 3.6, Item 1). Then, for m > 2 + 1 / ε ′ ′ m>2+1/\varepsilon'' m > 2 + 1/ ε ′′ , we obtain that r A ( m ) ( γ ) < 0 r_A^{(m)}(\gamma)<0 r A ( m ) ( γ ) < 0 , a contradiction.
Showing that the Distance Approaches δ ( m ) \delta^{(m)} δ ( m )
In this section, we will show that the distance of P s ( D A ) m P_{\mathrm{s}}(DA)^m P s ( D A ) m and P s ( A D ) m P_{\mathrm{s}}(AD)^m P s ( A D ) m codes in fact approach the prescribed distance δ ( m ) \delta^{(m)} δ ( m ) . To do this, we will show that the expected number of codewords with weight below ( δ ( m ) − ε ) n (\delta^{(m)}-\varepsilon)n ( δ ( m ) − ε ) n is an inverse polynomial function, decaying to 0 with n n n .
Theorem 5.1. Let ε > 0 \varepsilon> 0 ε > 0 . For m ≥ 2 m \ge2 m ≥ 2 , the expected number of codewords of a P s ( D A ) m P_{\mathrm{s}}(DA)^m P s ( D A ) m code that have weight ≤ ( δ ( m ) − ε ) n \le(\delta^{(m)}-\varepsilon)n ≤ ( δ ( m ) − ε ) n after m m m rounds is ≤ O ~ ( n 1 − m ) \le\widetilde{O}(n^{1-m}) ≤ O ( n 1 − m ) . For m ≥ 3 m \ge3 m ≥ 3 , the expected number of codewords of a P s ( A D ) m P_{\mathrm{s}}(AD)^m P s ( A D ) m code that have weight ≤ ( δ ( m ) − ε ) n \le(\delta^{(m)}-\varepsilon)n ≤ ( δ ( m ) − ε ) n after m m m rounds is ≤ O ~ ( n 2 − m ) \le\widetilde{O}(n^{2-m}) ≤ O ( n 2 − m ) .
*In particular, for m ≥ 2 m \ge2 m ≥ 2 , a P s ( D A ) m P_{\mathrm{s}}(DA)^m P s ( D A ) m code will have relative distance > δ ( m ) − ε > \delta^{(m)}-\varepsilon > δ ( m ) − ε with probability 1 − O ~ ( n 1 − m ) 1-\widetilde{O}(n^{1-m}) 1 − O ( n 1 − m ) over the choice of Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m . Also, for m ≥ 3 m \ge3 m ≥ 3 , a P s ( A D ) m P_{\mathrm{s}}(AD)^m P s ( A D ) m code will have relative distance > δ ( m ) − ε > \delta^{(m)}-\varepsilon > δ ( m ) − ε with probability 1 − O ~ ( n 2 − m ) 1-\widetilde{O}(n^{2-m}) 1 − O ( n 2 − m ) over the choice of Π 1 , … , Π 2 m \Pi_1,\ldots,\Pi_{2m} Π 1 , … , Π 2 m .
How should we go about proving that the expected number of codewords with weight below ( δ ( m ) − ε ) n (\delta^{(m)}-\varepsilon)n ( δ ( m ) − ε ) n is small? Ideally, one could show that r ( m ) ( γ ) r^{(m)}(\gamma) r ( m ) ( γ ) is strictly less than 0 for all γ < δ ( m ) \gamma< \delta^{(m)} γ < δ ( m ) , which would imply that it’s exponentially unlikely for there to be a codeword with weight ≤ δ ( m ) − ε \le\delta^{(m)}-\varepsilon ≤ δ ( m ) − ε . However, this is false: in fact, r A ( m ) ( γ ) = 0 r_A^{(m)}(\gamma)=0 r A ( m ) ( γ ) = 0 for small γ \gamma γ . Why is this? r ( m ) ( γ ) ≥ 0 r^{(m)}(\gamma)\ge0 r ( m ) ( γ ) ≥ 0 comes from taking α = 0 \alpha=0 α = 0 , at which r A ( m − 1 ) ( α ) + f A ( α , γ ) = 0 r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)=0 r A ( m − 1 ) ( α ) + f A ( α , γ ) = 0 . When r ( m ) ( γ ) = 0 r^{(m)}(\gamma)=0 r ( m ) ( γ ) = 0 , we only know that the expected number of codewords is at most poly ( n ) \operatorname{poly}(n) poly ( n ) , but we cannot argue the stronger property that the expected number of codewords is < 1 <1 < 1 . However, when α \alpha α is sufficiently bounded away from 0, the expression turns negative and one can argue that the contributions from such α \alpha α are negligible.
Following [9 , 6 ] , we split the recursion depending on the value of α \alpha α in the previous round of the recursion. Let τ = log 2 ( n ) / n \tau=\log^2(n)/n τ = log 2 ( n ) / n , and define
W D A , ≥ τ ( m ) ( c ) = ∑ τ n ≤ a ≤ ( 1 − τ ) n 0 ≤ b ≤ n { W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) } W_{DA,\ge\tau}^{(m)}(c)=\sum_{\substack{\tau n\le a\le(1-\tau)n\\0\le b\le n}}\left\{W_{DA}^{(m-1)}(a)\cdot p_D(a,b)\cdot p_A(b,c)\right\} W D A , ≥ τ ( m ) ( c ) = τ n ≤ a ≤ ( 1 − τ ) n 0 ≤ b ≤ n ∑ { W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) }
W D A , < τ ( m ) ( c ) = ∑ a ∈ [ 0 , τ n ) ∪ ( ( 1 − τ ) n , n ] 0 ≤ b ≤ n { W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) } W_{DA,<\tau}^{(m)}(c)=\sum_{\substack{a\in[0,\tau n)\cup((1-\tau)n,n]\\0\le b\le n}}\left\{W_{DA}^{(m-1)}(a)\cdot p_D(a,b)\cdot p_A(b,c)\right\} W D A , < τ ( m ) ( c ) = a ∈ [ 0 , τ n ) ∪ (( 1 − τ ) n , n ] 0 ≤ b ≤ n ∑ { W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) }
W A D , ≥ τ ( m ) ( c ) = ∑ τ n ≤ a ≤ ( 1 − τ ) n 0 ≤ b ≤ n { W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) } W_{AD,\ge\tau}^{(m)}(c)=\sum_{\substack{\tau n\le a\le(1-\tau)n\\0\le b\le n}}\left\{W_{AD}^{(m-1)}(a)\cdot p_A(a,b)\cdot p_D(b,c)\right\} W A D , ≥ τ ( m ) ( c ) = τ n ≤ a ≤ ( 1 − τ ) n 0 ≤ b ≤ n ∑ { W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) }
W A D , < τ ( m ) ( c ) = ∑ a ∈ [ 0 , τ n ) ∪ ( ( 1 − τ ) n , n ] 0 ≤ b ≤ n { W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) } W_{AD,<\tau}^{(m)}(c)=\sum_{\substack{a\in[0,\tau n)\cup((1-\tau)n,n]\\0\le b\le n}}\left\{W_{AD}^{(m-1)}(a)\cdot p_A(a,b)\cdot p_D(b,c)\right\} W A D , < τ ( m ) ( c ) = a ∈ [ 0 , τ n ) ∪ (( 1 − τ ) n , n ] 0 ≤ b ≤ n ∑ { W A D ( m − 1 ) ( a ) ⋅ p A ( a , b ) ⋅ p D ( b , c ) }
Then, we can split each weight enumerator as
W D A ( m ) ( c ) = W D A , ≥ τ ( m ) ( c ) + W D A , < τ ( m ) ( c ) W_{DA}^{(m)}(c)=W_{DA,\ge\tau}^{(m)}(c)+W_{DA,<\tau}^{(m)}(c) W D A ( m ) ( c ) = W D A , ≥ τ ( m ) ( c ) + W D A , < τ ( m ) ( c )
W A D ( m ) ( c ) = W A D , ≥ τ ( m ) ( c ) + W A D , < τ ( m ) ( c ) W_{AD}^{(m)}(c)=W_{AD,\ge\tau}^{(m)}(c)+W_{AD,<\tau}^{(m)}(c) W A D ( m ) ( c ) = W A D , ≥ τ ( m ) ( c ) + W A D , < τ ( m ) ( c )
and bound the two terms individually. We call the terms W ≥ τ ( m ) W_{\ge\tau}^{(m)} W ≥ τ ( m ) the middle contribution , and the W < τ ( m ) W_{<\tau}^{(m)} W < τ ( m ) terms the boundary contribution .
Bounding the Middle Contribution
Theorem 5.2. Let ε > 0 \varepsilon>0 ε > 0 and m ≥ 1 m\ge1 m ≥ 1 , and let τ = log 2 ( n ) / n \tau=\log^2(n)/n τ = log 2 ( n ) / n . *The expected number of nonzero codewords of a P s ( A D ) m P_{\mathrm{s}}(AD)^m P s ( A D ) m or P s ( D A ) m P_{\mathrm{s}}(DA)^m P s ( D A ) m code that have weight between τ n \tau n τ n and ( 1 − τ ) n (1-\tau)n ( 1 − τ ) n after m − 1 m-1 m − 1
rounds and weight ≤ ( δ ( m ) − ε ) n \leq(\delta^{(m)}-\varepsilon)n ≤ ( δ ( m ) − ε ) n or ≥ ( 1 − δ ( m ) + ε ) n \geq(1-\delta^{(m)}+\varepsilon)n ≥ ( 1 − δ ( m ) + ε ) n after m m m rounds is ≤ negl ( n ) \leq\operatorname{negl}(n) ≤ negl ( n ) .
The rest of the section will be dedicated to proving this theorem. We will prove the statement for P s ( D A ) m P_s(DA)^m P s ( D A ) m codes; the case of P s ( A D ) m P_s(AD)^m P s ( A D ) m codes is identical.
Let’s define the restricted asymptotic shape functions, depending on the value of α \alpha α after the ( m − 1 ) (m-1) ( m − 1 ) ’th round of encoding.
r A , ≥ τ ( m ) ( γ ) = max τ ≤ α ≤ 1 − τ { r A ( m − 1 ) ( α ) + f A ( α , γ ) } r_{A,\geq\tau}^{(m)}(\gamma)=\max_{\tau\leq\alpha\leq1-\tau}\left\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\right\} r A , ≥ τ ( m ) ( γ ) = τ ≤ α ≤ 1 − τ max { r A ( m − 1 ) ( α ) + f A ( α , γ ) }
r D A , ≥ τ ( m ) ( γ ) = max τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ ) } r_{DA,\geq\tau}^{(m)}(\gamma)=\max_{\substack{\tau\leq\alpha\leq1-\tau\\0\leq\beta\leq1}}\left\{r_{DA}^{(m-1)}(\alpha)+f_{DA}(\alpha,\beta,\gamma)\right\} r D A , ≥ τ ( m ) ( γ ) = τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 max { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ ) }
r A D , ≥ τ ( m ) ( γ ) = max τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 { r A D ( m − 1 ) ( α ) + f A D ( α , β , γ ) } . r_{AD,\geq\tau}^{(m)}(\gamma)=\max_{\substack{\tau\leq\alpha\leq1-\tau\\0\leq\beta\leq1}}\left\{r_{AD}^{(m-1)}(\alpha)+f_{AD}(\alpha,\beta,\gamma)\right\}. r A D , ≥ τ ( m ) ( γ ) = τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 max { r A D ( m − 1 ) ( α ) + f A D ( α , β , γ ) } .
Each of the above expressions should be read to be maximized over the intersection of the listed ranges and the domains over which f A f_A f A and f D f_D f D are defined.
We’d like to show that r D A , ≥ τ ( m ) ( γ ) = − Ω ( log 2 ( n ) / n ) r_{DA,\geq\tau}^{(m)}(\gamma)=-\Omega(\log^2(n)/n) r D A , ≥ τ ( m ) ( γ ) = − Ω ( log 2 ( n ) / n ) for each γ ≤ δ ( m ) − ε \gamma\leq\delta^{(m)}-\varepsilon γ ≤ δ ( m ) − ε or γ ≥ 1 − δ ( m ) + ε \gamma\geq1-\delta^{(m)}+\varepsilon γ ≥ 1 − δ ( m ) + ε .
If we could show this, then the expected number of codewords with weight in [ τ n , ( 1 − τ ) n ] [\tau n,(1-\tau)n] [ τ n , ( 1 − τ ) n ] after m − 1 m-1 m − 1 rounds and weight ≤ ( δ ( m ) − ε ) n \leq(\delta^{(m)}-\varepsilon)n ≤ ( δ ( m ) − ε ) n or ≥ ( 1 − δ ( m ) + ε ) n \geq(1-\delta^{(m)}+\varepsilon)n ≥ ( 1 − δ ( m ) + ε ) n after m m m rounds is
∑ c ∈ [ 1 , ( δ ( m ) − ε ) n ] ∪ [ ( 1 − δ ( m ) + ε ) n , n ] W D A , ≥ τ ( m ) ( c ) ≤ poly ( n ) ⋅ ∑ c ∈ [ 1 , ( δ ( m ) − ε ) n ] ∪ [ ( 1 − δ ( m ) + ε ) n , n ] 2 n ⋅ r D A , ≥ τ ( m ) ( c / n ) ≤ poly ( n ) ⋅ 2 n ⋅ ( − Ω ( log 2 ( n ) / n ) ) ≤ negl ( n ) , \begin{aligned}
\sum_{\substack{c\in[1,(\delta^{(m)}-\varepsilon)n]\\{}\cup[(1-\delta^{(m)}+\varepsilon)n,n]}}W_{DA,\geq\tau}^{(m)}(c)
\leq\operatorname{poly}(n)\cdot
\sum_{\substack{c\in[1,(\delta^{(m)}-\varepsilon)n]\\{}\cup[(1-\delta^{(m)}+\varepsilon)n,n]}}
2^{n\cdot r_{DA,\geq\tau}^{(m)}(c/n)} \\
&\leq\operatorname{poly}(n)\cdot2^{n\cdot(-\Omega(\log^2(n)/n))} \\
&\leq\operatorname{negl}(n),
\end{aligned} c ∈ [ 1 , ( δ ( m ) − ε ) n ] ∪ [( 1 − δ ( m ) + ε ) n , n ] ∑ W D A , ≥ τ ( m ) ( c ) ≤ poly ( n ) ⋅ c ∈ [ 1 , ( δ ( m ) − ε ) n ] ∪ [( 1 − δ ( m ) + ε ) n , n ] ∑ 2 n ⋅ r D A , ≥ τ ( m ) ( c / n ) ≤ poly ( n ) ⋅ 2 n ⋅ ( − Ω ( l o g 2 ( n ) / n )) ≤ negl ( n ) ,
as desired.
Letting λ γ : = 2 γ ( 1 − γ ) \lambda_\gamma:=2\gamma(1-\gamma) λ γ := 2 γ ( 1 − γ ) , define
g ( α , γ ) = { f A ( α , γ ) α ≤ λ γ h ( γ ) − h ( α ) λ γ ≤ α ≤ 1 − λ γ f A ( 1 − α , γ ) α ≥ 1 − λ γ . g(\alpha,\gamma)=
\begin{cases}
f_A(\alpha,\gamma) & \alpha\leq\lambda_\gamma\\
h(\gamma)-h(\alpha) & \lambda_\gamma\leq\alpha\leq1-\lambda_\gamma\\
f_A(1-\alpha,\gamma) & \alpha\geq1-\lambda_\gamma.
\end{cases} g ( α , γ ) = ⎩ ⎨ ⎧ f A ( α , γ ) h ( γ ) − h ( α ) f A ( 1 − α , γ ) α ≤ λ γ λ γ ≤ α ≤ 1 − λ γ α ≥ 1 − λ γ .
Lemma 5.3 ([6 ] , Theorems 4.3 and 4.5).
f D A ( α , β , γ ) ≤ g ( α , γ ) , f A D ( α , β , γ ) ≤ g ( α , γ ) . f_{DA}(\alpha,\beta,\gamma)\leq g(\alpha,\gamma),\qquad f_{AD}(\alpha,\beta,\gamma)\leq g(\alpha,\gamma). f D A ( α , β , γ ) ≤ g ( α , γ ) , f A D ( α , β , γ ) ≤ g ( α , γ ) .
Using these bounds, we’re able to obtain a comparison of r D A , ≥ τ ( m ) ( γ ) r_{DA,\geq\tau}^{(m)}(\gamma) r D A , ≥ τ ( m ) ( γ ) to r A , ≥ min { τ , λ γ } ( m ) ( γ ) r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma) r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) . A version of the following lemma was given in Theorem 4.7 of [6 ] , but there appears to be an error in their analysis. We provide a corrected statement below. The missing assumption is that r A ( m ) ( γ ) − h ( γ ) r_A^{(m)}(\gamma)-h(\gamma) r A ( m ) ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 and non-increasing on its support in [ 0 , 1 2 ] [0,\frac{1}{2}] [ 0 , 2 1 ] : this is Proposition 3.5, Item 7 and Proposition 3.7, Item 3.
Lemma 5.4. If φ ( x ) − h ( x ) \varphi(x)-h(x) φ ( x ) − h ( x ) is symmetric around 1 2 \frac{1}{2} 2 1 and non-increasing on its support in [ 0 , 1 2 ] [0,\frac{1}{2}] [ 0 , 2 1 ] , then
r D A , ≥ τ ( m ) ( γ ) ≤ max τ ≤ α ≤ 1 − τ { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) r_{DA,\geq\tau}^{(m)}(\gamma)\leq\max_{\tau\leq\alpha\leq1-\tau}\left\{r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}\leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma) r D A , ≥ τ ( m ) ( γ ) ≤ τ ≤ α ≤ 1 − τ max { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ )
and
r A D , ≥ τ ( m ) ( γ ) ≤ max τ ≤ α ≤ 1 − τ { r A D ( m − 1 ) ( α ) + g ( α , γ ) } ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) . r_{AD,\geq\tau}^{(m)}(\gamma)\leq\max_{\tau\leq\alpha\leq1-\tau}\left\{r_{AD}^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}\leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma). r A D , ≥ τ ( m ) ( γ ) ≤ τ ≤ α ≤ 1 − τ max { r A D ( m − 1 ) ( α ) + g ( α , γ ) } ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) .
Proof. Let us handle the case of D A DA D A ; A D AD A D will follow the exact same proof. We prove this by induction on m m m . For m = 0 m = 0 m = 0 , we have that
r D A ( 0 ) ( γ ) = φ ( γ ) = r A ( 0 ) ( γ ) , r_{DA}^{(0)}(\gamma) = \varphi(\gamma) = r_{A}^{(0)}(\gamma), r D A ( 0 ) ( γ ) = φ ( γ ) = r A ( 0 ) ( γ ) ,
establishing the base case.
For m > 0 m > 0 m > 0 , assume that we’ve already established
r D A , ≥ τ ( m − 1 ) ( γ ) ≤ r A , ≥ min { τ , λ γ } ( m − 1 ) ( γ ) . r_{DA,\geq\tau}^{(m-1)}(\gamma) \leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m-1)}(\gamma). r D A , ≥ τ ( m − 1 ) ( γ ) ≤ r A , ≥ m i n { τ , λ γ } ( m − 1 ) ( γ ) .
Then,
r D A , ≥ τ ( m ) ( γ ) ≤ max τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ ) } ≤ max τ ≤ α ≤ 1 − τ { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ max τ ≤ α ≤ 1 − τ { r A ( m − 1 ) ( α ) + g ( α , γ ) } . (8) \begin{aligned}
r_{DA,\geq\tau}^{(m)}(\gamma) \leq\max_{\substack{\tau\leq\alpha\leq1-\tau\\0\leq\beta\leq1}} \left\{r_{DA}^{(m-1)}(\alpha)+f_{DA}(\alpha,\beta,\gamma)\right\} \\
&\leq\max_{\tau\leq\alpha\leq1-\tau} \left\{r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\} \\
&\leq\max_{\tau\leq\alpha\leq1-\tau} \left\{r_{A}^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}. \tag*{(8)}
\end{aligned} r D A , ≥ τ ( m ) ( γ ) ≤ τ ≤ α ≤ 1 − τ 0 ≤ β ≤ 1 max { r D A ( m − 1 ) ( α ) + f D A ( α , β , γ ) } ≤ τ ≤ α ≤ 1 − τ max { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ τ ≤ α ≤ 1 − τ max { r A ( m − 1 ) ( α ) + g ( α , γ ) } . (8)
where we used in the second inequality that f D A ( α , β , γ ) ≤ g ( α , γ ) f_{DA}(\alpha,\beta,\gamma)\leq g(\alpha,\gamma) f D A ( α , β , γ ) ≤ g ( α , γ ) by Lemma 5.3, and in the last inequality we used the inductive hypothesis with τ = 0 \tau=0 τ = 0 to get that r D A ( m − 1 ) ( α ) ≤ r A ( m − 1 ) ( α ) r_{DA}^{(m-1)}(\alpha)\leq r_{A}^{(m-1)}(\alpha) r D A ( m − 1 ) ( α ) ≤ r A ( m − 1 ) ( α ) . We split Eq. (8) into three intervals and show each is ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) \leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma) ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) , giving the desired conclusion.
The first interval is min ( τ , λ γ ) ≤ α ≤ λ γ \min(\tau,\lambda_\gamma)\leq\alpha\leq\lambda_\gamma min ( τ , λ γ ) ≤ α ≤ λ γ . In this interval, g ( α , γ ) = f A ( α , γ ) g(\alpha,\gamma)=f_A(\alpha,\gamma) g ( α , γ ) = f A ( α , γ ) , so
max min ( τ , λ γ ) ≤ α ≤ λ γ { r A ( m − 1 ) ( α ) + g ( α , γ ) } = max min ( τ , λ γ ) ≤ α ≤ λ γ { r A ( m − 1 ) ( α ) + f A ( α , γ ) } ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) . \max_{\min(\tau,\lambda_\gamma)\leq\alpha\leq\lambda_\gamma}\left\{r_A^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}
=
\max_{\min(\tau,\lambda_\gamma)\leq\alpha\leq\lambda_\gamma}\left\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\right\}
\leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma). m i n ( τ , λ γ ) ≤ α ≤ λ γ max { r A ( m − 1 ) ( α ) + g ( α , γ ) } = m i n ( τ , λ γ ) ≤ α ≤ λ γ max { r A ( m − 1 ) ( α ) + f A ( α , γ ) } ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) .
The second interval is λ γ ≤ α ≤ 1 − λ γ \lambda_\gamma\leq\alpha\leq1-\lambda_\gamma λ γ ≤ α ≤ 1 − λ γ . In this interval, g ( α , γ ) = h ( γ ) − h ( α ) g(\alpha,\gamma)=h(\gamma)-h(\alpha) g ( α , γ ) = h ( γ ) − h ( α ) , so
max λ γ ≤ α ≤ 1 − λ γ { r A ( m − 1 ) ( α ) + g ( α , γ ) } = max λ γ ≤ α ≤ 1 − λ γ { r A ( m − 1 ) ( α ) + h ( γ ) − h ( α ) } . \max_{\lambda_\gamma\leq\alpha\leq1-\lambda_\gamma}\left\{r_A^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}
=
\max_{\lambda_\gamma\leq\alpha\leq1-\lambda_\gamma}\left\{r_A^{(m-1)}(\alpha)+h(\gamma)-h(\alpha)\right\}. λ γ ≤ α ≤ 1 − λ γ max { r A ( m − 1 ) ( α ) + g ( α , γ ) } = λ γ ≤ α ≤ 1 − λ γ max { r A ( m − 1 ) ( α ) + h ( γ ) − h ( α ) } .
But Proposition 3.7, Item 3 tells us that the function r A ( m − 1 ) ( α ) − h ( α ) r_A^{(m-1)}(\alpha)-h(\alpha) r A ( m − 1 ) ( α ) − h ( α ) is symmetric around α = 1 2 \alpha=\frac{1}{2} α = 2 1 and is non-increasing in [ 0 , 1 2 ] \left[0,\frac{1}{2}\right] [ 0 , 2 1 ] , thus is maximized at α = λ γ , 1 − λ γ \alpha=\lambda_\gamma,1-\lambda_\gamma α = λ γ , 1 − λ γ , giving us that the above is also maximized when α = λ γ , 1 − λ γ \alpha=\lambda_\gamma,1-\lambda_\gamma α = λ γ , 1 − λ γ . However, recall that f A ( λ γ , γ ) = h ( γ ) − h ( λ γ ) f_A(\lambda_\gamma,\gamma)=h(\gamma)-h(\lambda_\gamma) f A ( λ γ , γ ) = h ( γ ) − h ( λ γ ) , so the above is
= r A ( m − 1 ) ( λ γ ) + f A ( λ γ , γ ) ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) . = r_A^{(m-1)}(\lambda_\gamma)+f_A(\lambda_\gamma,\gamma)\leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma). = r A ( m − 1 ) ( λ γ ) + f A ( λ γ , γ ) ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) .
Finally, we have the interval 1 − λ γ ≤ α ≤ 1 − min ( τ , λ γ ) 1-\lambda_\gamma\leq\alpha\leq1-\min(\tau,\lambda_\gamma) 1 − λ γ ≤ α ≤ 1 − min ( τ , λ γ ) . Here, we have that g ( α , γ ) = f A ( 1 − α , γ ) g(\alpha,\gamma)=f_A(1-\alpha,\gamma) g ( α , γ ) = f A ( 1 − α , γ ) , so
max 1 − λ γ ≤ α ≤ 1 − min ( τ , λ γ ) { r A ( m − 1 ) ( α ) + g ( α , γ ) } = max 1 − λ γ ≤ α ≤ 1 − min ( τ , λ γ ) { r A ( m − 1 ) ( α ) + f A ( 1 − α , γ ) } = max min ( τ , λ γ ) ≤ α ′ ≤ λ γ { r A ( m − 1 ) ( α ′ ) + f A ( α ′ , γ ) } ≤ r A , ≥ min { τ , λ γ } ( m ) ( γ ) . \begin{aligned}
\max_{1-\lambda_\gamma\leq\alpha\leq1-\min(\tau,\lambda_\gamma)}\left\{r_A^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\}
=
\max_{1-\lambda_\gamma\leq\alpha\leq1-\min(\tau,\lambda_\gamma)}\left\{r_A^{(m-1)}(\alpha)+f_A(1-\alpha,\gamma)\right\} \\
&=
\max_{\min(\tau,\lambda_\gamma)\leq\alpha'\leq\lambda_\gamma}\left\{r_A^{(m-1)}(\alpha')+f_A(\alpha',\gamma)\right\}
\leq r_{A,\geq\min\{\tau,\lambda_\gamma\}}^{(m)}(\gamma).
\end{aligned} 1 − λ γ ≤ α ≤ 1 − m i n ( τ , λ γ ) max { r A ( m − 1 ) ( α ) + g ( α , γ ) } = 1 − λ γ ≤ α ≤ 1 − m i n ( τ , λ γ ) max { r A ( m − 1 ) ( α ) + f A ( 1 − α , γ ) } = m i n ( τ , λ γ ) ≤ α ′ ≤ λ γ max { r A ( m − 1 ) ( α ′ ) + f A ( α ′ , γ ) } ≤ r A , ≥ m i n { τ , λ γ } ( m ) ( γ ) .
where in the second equality we substituted α ′ = 1 − α \alpha'=1-\alpha α ′ = 1 − α and used that r A ( m − 1 ) ( α ) r_A^{(m-1)}(\alpha) r A ( m − 1 ) ( α ) is symmetric about 1 2 \frac{1}{2} 2 1 .
It thus suffices to provide bounds on r A , ≥ min { τ , λ γ } ( γ ) r_{A,\geq\min\{\tau,\lambda\gamma\}}(\gamma) r A , ≥ m i n { τ , λγ } ( γ ) . Observe that r A , ≥ min { τ , λ γ } ( γ ) r_{A,\geq\min\{\tau,\lambda\gamma\}}(\gamma) r A , ≥ m i n { τ , λγ } ( γ ) is symmetric around γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 : this follows by inspecting the definition of r A , ≥ min { τ , λ γ } ( γ ) = max α { r A ( m − 1 ) ( α ) + f A ( α , γ ) } r_{A,\geq\min\{\tau,\lambda\gamma\}}(\gamma)=\max_{\alpha}\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\} r A , ≥ m i n { τ , λγ } ( γ ) = max α { r A ( m − 1 ) ( α ) + f A ( α , γ )} . Here the range of α \alpha α is [ min { τ , λ γ } , min { 2 γ , 2 ( 1 − γ ) , 1 − min { τ , λ γ } } ] [\min\{\tau,\lambda\gamma\},\min\{2\gamma,2(1-\gamma),1-\min\{\tau,\lambda\gamma\}\}] [ min { τ , λγ } , min { 2 γ , 2 ( 1 − γ ) , 1 − min { τ , λγ }}] . It is easy to check that both f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) and the range of α \alpha α are equal for γ \gamma γ and 1 − γ 1-\gamma 1 − γ . Therefore, we will focus for the rest of this proof only on γ < 1 2 \gamma<\frac{1}{2} γ < 2 1 .
Recall that δ ( m ) \delta^{(m)} δ ( m ) was defined as the largest δ ∈ [ 0 , 1 2 ) \delta\in[0,\frac{1}{2}) δ ∈ [ 0 , 2 1 ) for which r A ( m ) ( γ ) ≤ 0 r_A^{(m)}(\gamma)\leq0 r A ( m ) ( γ ) ≤ 0 for all γ ≤ δ \gamma\leq\delta γ ≤ δ . Thus r D A ( m − 1 ) ( α ) + g ( α , γ ) ≤ 0 r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma)\leq0 r D A ( m − 1 ) ( α ) + g ( α , γ ) ≤ 0 for all γ ≤ δ ( m ) \gamma\leq\delta^{(m)} γ ≤ δ ( m ) and all α ∈ [ τ , 1 − τ ] \alpha\in[\tau,1-\tau] α ∈ [ τ , 1 − τ ] . In particular, let us compare r D A ( m − 1 ) ( α ) + g ( α , γ ) r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma) r D A ( m − 1 ) ( α ) + g ( α , γ ) to r D A ( m − 1 ) ( α ) + g ( α , δ ( m ) ) ≤ r A , ≥ min { τ , λ γ } ( δ ( m ) ) ≤ 0 r_{DA}^{(m-1)}(\alpha)+g(\alpha,\delta^{(m)})\leq r_{A,\geq\min\{\tau,\lambda\gamma\}}(\delta^{(m)})\leq0 r D A ( m − 1 ) ( α ) + g ( α , δ ( m ) ) ≤ r A , ≥ m i n { τ , λγ } ( δ ( m ) ) ≤ 0 . The following will establish that r D A ( m − 1 ) ( α ) + g ( α , γ ) r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma) r D A ( m − 1 ) ( α ) + g ( α , γ ) should be bounded strictly below 0 for all α \alpha α and γ ≤ δ ( m ) − ε \gamma\leq\delta^{(m)}-\varepsilon γ ≤ δ ( m ) − ε (and therefore also for γ > 1 − δ ( m ) + ε \gamma>1-\delta^{(m)}+\varepsilon γ > 1 − δ ( m ) + ε ).
Proposition 5.5. For fixed 0 < δ 1 < δ 2 < 1 2 0<\delta_1<\delta_2<\frac{1}{2} 0 < δ 1 < δ 2 < 2 1 , there is a constant c c c independent of α , n \alpha,n α , n such that
g ( α , δ 2 ) − g ( α , δ 1 ) ≥ c min { α , 1 − α } ⋅ ( δ 2 − δ 1 ) . g(\alpha,\delta_2)-g(\alpha,\delta_1)\geq c\min\{\alpha,1-\alpha\}\cdot(\delta_2-\delta_1). g ( α , δ 2 ) − g ( α , δ 1 ) ≥ c min { α , 1 − α } ⋅ ( δ 2 − δ 1 ) . Proof. Let α ′ = min { α , 1 − α } \alpha'=\min\{\alpha,1-\alpha\} α ′ = min { α , 1 − α } . Then we can write
g ( α , γ ) = { f A ( α ′ , γ ) α ′ ≤ λ γ , h ( γ ) − h ( α ′ ) α ′ ≥ λ γ . g(\alpha,\gamma)=\begin{cases}
f_A(\alpha',\gamma) & \alpha'\leq\lambda_\gamma,\\
h(\gamma)-h(\alpha') & \alpha'\geq\lambda_\gamma.
\end{cases} g ( α , γ ) = { f A ( α ′ , γ ) h ( γ ) − h ( α ′ ) α ′ ≤ λ γ , α ′ ≥ λ γ . When α ′ ≤ λ γ \alpha'\leq\lambda_\gamma α ′ ≤ λ γ and γ ≤ δ 2 \gamma\leq\delta_2 γ ≤ δ 2 , we can calculate
∂ g ∂ γ ( α , γ ) = ∂ f A ∂ γ ( α ′ , γ ) = log 2 ( 1 + α ′ ( 1 − 2 γ ) 2 ( 1 − γ ) ( γ − α ′ / 2 ) ) ≥ log 2 ( 1 + 2 α ′ ( 1 − 2 δ 2 ) ) ≥ α ′ ⋅ 1 − 2 δ 2 ln 2 , \frac{\partial g}{\partial\gamma}(\alpha,\gamma)=\frac{\partial f_A}{\partial\gamma}(\alpha',\gamma)=\log_2\left(1+\frac{\alpha'(1-2\gamma)}{2(1-\gamma)(\gamma-\alpha'/2)}\right)\geq\log_2\left(1+2\alpha'(1-2\delta_2)\right)\geq\alpha'\cdot\frac{1-2\delta_2}{\ln2}, ∂ γ ∂ g ( α , γ ) = ∂ γ ∂ f A ( α ′ , γ ) = log 2 ( 1 + 2 ( 1 − γ ) ( γ − α ′ /2 ) α ′ ( 1 − 2 γ ) ) ≥ log 2 ( 1 + 2 α ′ ( 1 − 2 δ 2 ) ) ≥ α ′ ⋅ ln 2 1 − 2 δ 2 , where we used in the first inequality that ( 1 − γ ) ( γ − α ′ / 2 ) ≤ 1 4 (1-\gamma)(\gamma-\alpha'/2)\leq\frac{1}{4} ( 1 − γ ) ( γ − α ′ /2 ) ≤ 4 1 and the second follows from the estimate log ( 1 + x ) ≥ x / 2 \log(1+x)\geq x/2 log ( 1 + x ) ≥ x /2 for x < 1 x<1 x < 1 which follows from looking at the Taylor series for log \log log .
When α ′ ≥ λ γ \alpha'\geq\lambda_\gamma α ′ ≥ λ γ and γ ≤ δ 2 \gamma\leq\delta_2 γ ≤ δ 2 , we can calculate
∂ g ∂ γ ( α , γ ) = ∂ ∂ γ [ h ( γ ) − h ( α ′ ) ] = log 2 1 − γ γ ≥ log 2 1 − δ 2 δ 2 . \frac{\partial g}{\partial\gamma}(\alpha,\gamma)=\frac{\partial}{\partial\gamma}[h(\gamma)-h(\alpha')]=\log_2\frac{1-\gamma}{\gamma}\geq\log_2\frac{1-\delta_2}{\delta_2}. ∂ γ ∂ g ( α , γ ) = ∂ γ ∂ [ h ( γ ) − h ( α ′ )] = log 2 γ 1 − γ ≥ log 2 δ 2 1 − δ 2 . Therefore, taking c = min { 1 − 2 δ 2 ln 2 , log 2 1 − δ 2 δ 2 } > 0 c=\min\left\{\frac{1-2\delta_2}{\ln2},\log_2\frac{1-\delta_2}{\delta_2}\right\}>0 c = min { l n 2 1 − 2 δ 2 , log 2 δ 2 1 − δ 2 } > 0 gives the desired estimate.
Now, to finish the proof, we have that
r D A , ≥ τ ( m ) ( γ ) ≤ max τ ≤ α ≤ 1 − τ { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ max τ ≤ α ≤ 1 − τ { r D A ( m − 1 ) ( α ) + g ( α , δ ( m ) ) − c min { α , 1 − α } ⋅ ( δ ( m ) − γ ) } ≤ r A , ≥ min { τ , λ γ } ( m ) ( δ ( m ) ) + max τ ≤ α ≤ 1 − τ ( − c min { α , 1 − α } ⋅ ( δ ( m ) − γ ) ) ≤ − c τ ε = − Ω ( log 2 ( n ) / n ) . \begin{aligned}
r_{DA,\geq\tau}^{(m)}(\gamma)\leq\max_{\tau\leq\alpha\leq1-\tau}\left\{r_{DA}^{(m-1)}(\alpha)+g(\alpha,\gamma)\right\} \\
&\leq\max_{\tau\leq\alpha\leq1-\tau}\left\{r_{DA}^{(m-1)}(\alpha)+g(\alpha,\delta^{(m)})-c\min\{\alpha,1-\alpha\}\cdot(\delta^{(m)}-\gamma)\right\} \\
&\leq r_{A,\geq\min\{\tau,\lambda\gamma\}}^{(m)}(\delta^{(m)})+\max_{\tau\leq\alpha\leq1-\tau}\left(-c\min\{\alpha,1-\alpha\}\cdot(\delta^{(m)}-\gamma)\right) \\
&\leq-c\tau\varepsilon\\
&=-\Omega(\log^2(n)/n).
\end{aligned} r D A , ≥ τ ( m ) ( γ ) ≤ τ ≤ α ≤ 1 − τ max { r D A ( m − 1 ) ( α ) + g ( α , γ ) } ≤ τ ≤ α ≤ 1 − τ max { r D A ( m − 1 ) ( α ) + g ( α , δ ( m ) ) − c min { α , 1 − α } ⋅ ( δ ( m ) − γ ) } ≤ r A , ≥ m i n { τ , λγ } ( m ) ( δ ( m ) ) + τ ≤ α ≤ 1 − τ max ( − c min { α , 1 − α } ⋅ ( δ ( m ) − γ ) ) ≤ − c τ ε = − Ω ( log 2 ( n ) / n ) .
Bounding the Boundary Contribution
In this section, we will bound ∑ 1 ≤ c ≤ ( δ ( m ) − ϵ ) n W A D , < τ ( m ) ( c ) \sum_{1\le c\le(\delta^{(m)}-\epsilon)n} W_{AD,<\tau}^{(m)}(c) ∑ 1 ≤ c ≤ ( δ ( m ) − ϵ ) n W A D , < τ ( m ) ( c ) and ∑ 1 ≤ c ≤ ( δ ( m ) − ϵ ) n W D A , < τ ( m ) ( c ) \sum_{1\le c\le(\delta^{(m)}-\epsilon)n} W_{DA,<\tau}^{(m)}(c) ∑ 1 ≤ c ≤ ( δ ( m ) − ϵ ) n W D A , < τ ( m ) ( c ) . To do this, we will simply bound the expected number of codewords that have weight < τ n <\tau n < τ n or > ( 1 − τ ) n >(1-\tau)n > ( 1 − τ ) n after m − 1 m-1 m − 1 rounds, with no consideration for what happens in the m m m ’th round. As notation, T : = τ n = log 2 ( n ) T:=\tau n=\log^2(n) T := τ n = log 2 ( n ) , and B T B_T B T will denote the range [ 1 , T ) ∪ ( n − T , n ] [1,T)\cup(n-T,n] [ 1 , T ) ∪ ( n − T , n ] , so that we are interested in the quantity ∑ c ∈ B T W D A ( m − 1 ) ( c ) \sum_{c\in B_T}W_{DA}^{(m-1)}(c) ∑ c ∈ B T W D A ( m − 1 ) ( c ) (resp. ∑ c ∈ B T W A D ( m − 1 ) ( c ) \sum_{c\in B_T}W_{AD}^{(m-1)}(c) ∑ c ∈ B T W A D ( m − 1 ) ( c ) ). Here, we have not included 0 in the summation because the only codeword with 0 weight is the 0 codeword, which we are not counting. We will also use throughout this section the notation that a variable with a prime indicates the distance of that variable to 0 or n n n , e.g. a ′ = min { a , n − a } a'=\min\{a,n-a\} a ′ = min { a , n − a } .
A similar analysis was done in [6 ] , but only where the outer encoder is a 2-repetition code. Furthermore, they attempted to avoid dealing with ceilings and floors by approximating p A p_A p A and p D p_D p D with functions p A ′ p'_A p A ′ and p D ′ p'_D p D ′ obtained by removing ceilings and floors and − 1 -1 − 1 ’s, which they claimed to be a constant factor approximation. However, there appears to be an error in their approximation, and p A p_A p A and p D p_D p D could be as much as O ( n ) O(\sqrt{n}) O ( n ) larger than p A ′ p'_A p A ′ and p D ′ p'_D p D ′ , affecting their final estimates. Below, in § 5.2.1 and § 5.2.2 , we repair their proof by retaining the ceilings and floors.
Let us start with some basic bounds on p A p_A p A and p D p_D p D . The proofs of these bounds are in Section A.
Proposition 5.6. In the below statements, a ′ : = min { a , n − a } a':=\min\{a,n-a\} a ′ := min { a , n − a } , b ′ : = min { b , n − b } b':=\min\{b,n-b\} b ′ := min { b , n − b } , and c ′ : = min { c , n − c } c':=\min\{c,n-c\} c ′ := min { c , n − c } . The following bounds hold:
p A ( a , b ) ≤ ( 4 ( b ′ + 1 ) n ) ⌈ a / 2 ⌉ p_A(a,b)\le\left(\frac{4(b'+1)}{n}\right)^{\lceil a/2\rceil} p A ( a , b ) ≤ ( n 4 ( b ′ + 1 ) ) ⌈ a /2 ⌉
p D ( a , b ) ≤ ( a ′ n ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) p_D(a,b)\le\frac{(a'n)^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2\binom{n}{a}} p D ( a , b ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( a ′ n ) ⌊ b /2 ⌋
p D ( a , b ) ⋅ p A ( b , c ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) p_D(a,b)\cdot p_A(b,c)\le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2\binom{n}{a}}\le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{\binom{n}{a}} p D ( a , b ) ⋅ p A ( b , c ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ ≤ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋
p A ( a , b ) , p D ( a , b ) ≤ min { 1 , ( n b ) ( n a ) } p_A(a,b),p_D(a,b)\le\min\left\{1,\frac{\binom{n}{b}}{\binom{n}{a}}\right\} p A ( a , b ) , p D ( a , b ) ≤ min { 1 , ( a n ) ( b n ) }
Let k ≥ 1 k\ge1 k ≥ 1 and let T 1 , … , T k T_1,\ldots,T_k T 1 , … , T k denote some sequence of A A A ’s and D D D ’s. It holds that
Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ⋅ ( n a k ) ( a k − 1 ) 1 / s . \Phi(a_0)\prod_{i=1}^{k}p_{T_i}(a_{i-1},a_i)\le\frac{\operatorname{poly}(n)\cdot\left(\frac{n}{a_k}\right)}{(a_{k-1})^{1/s}}. Φ ( a 0 ) i = 1 ∏ k p T i ( a i − 1 , a i ) ≤ ( a k − 1 ) 1/ s poly ( n ) ⋅ ( a k n ) .
Boundary Contribution from P s ( D A ) m P_s(DA)^m P s ( D A ) m Codes
Let us begin with the base case for m = 1 m=1 m = 1 .
Lemma 5.7. ∑ c ∈ B T W D A ( 1 ) ( c ) = O ~ ( n − 1 ) \sum_{c\in B_T}W_{DA}^{(1)}(c)=\widetilde{O}(n^{-1}) ∑ c ∈ B T W D A ( 1 ) ( c ) = O ( n − 1 ) .
Proof. Recall that
W D A ( 1 ) ( c ) = ∑ 1 ≤ a ≤ n ∑ 1 ≤ b ≤ n Φ ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) . (9) W_{DA}^{(1)}(c)=\sum_{1\le a\le n}\sum_{1\le b\le n}\Phi(a)\cdot p_D(a,b)\cdot p_A(b,c). \tag*{(9)} W D A ( 1 ) ( c ) = 1 ≤ a ≤ n ∑ 1 ≤ b ≤ n ∑ Φ ( a ) ⋅ p D ( a , b ) ⋅ p A ( b , c ) . (9)
First, let us separate out the summand corresponding to a = n a=n a = n . We can compute that the quantity ∑ 1 ≤ b ≤ n Φ ( n ) p D ( n , b ) p A ( b , c ) = 1 n \sum_{1\le b\le n}\Phi(n)p_D(n,b)p_A(b,c)=\frac{1}{n} ∑ 1 ≤ b ≤ n Φ ( n ) p D ( n , b ) p A ( b , c ) = n 1 for all c c c , since after a D D D operation the weight n n n string 1 n 1^n 1 n necessarily maps to a weight b = 1 b=1 b = 1 string, and p A ( 1 , c ) = 1 n p_A(1,c)=\frac{1}{n} p A ( 1 , c ) = n 1 for all c ∈ [ n ] c\in[n] c ∈ [ n ] . Further, Proposition 3.5, Item 2 says that Φ ( 1 ) = Φ ( n − 1 ) = 0 \Phi(1)=\Phi(n-1)=0 Φ ( 1 ) = Φ ( n − 1 ) = 0 , so we need only consider a a a in the range [ 2 , n − 2 ] [2,n-2] [ 2 , n − 2 ] . By inspecting the formulas for p A ( b , c ) p_A(b,c) p A ( b , c ) and p D ( a , b ) p_D(a,b) p D ( a , b ) (see Eq. (1) and Eq. (2) ), we observe that p A ( b , c ) p_A(b,c) p A ( b , c ) is only nonzero when 1 ≤ b ≤ min { 2 c , 2 ( n − c ) + 1 } 1 \le b \le\min\{2c,2(n-c)+1\} 1 ≤ b ≤ min { 2 c , 2 ( n − c ) + 1 } and p D ( a , b ) p_D(a,b) p D ( a , b ) is only nonzero when 1 ≤ b ≤ min { 2 a , 2 ( n − a ) + 1 } 1 \le b \le\min\{2a,2(n-a)+1\} 1 ≤ b ≤ min { 2 a , 2 ( n − a ) + 1 } . Since we are only interested in c ∈ B T c \in B_T c ∈ B T , we can restrict the range of b b b to be [ 1 , min { 2 a ′ + 1 , 2 T + 1 } ] [1,\min\{2a' + 1,2T+1\}] [ 1 , min { 2 a ′ + 1 , 2 T + 1 }] .
Let us bound the quantity p D ( a , b ) p A ( b , c ) p_D(a,b)p_A(b,c) p D ( a , b ) p A ( b , c ) . Proposition 5.6, Item 3 states that
p D ( a , b ) ⋅ p A ( b , c ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) . (10) p_D(a,b)\cdot p_A(b,c) \le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{\binom{n}{a}}. \tag*{(10)} p D ( a , b ) ⋅ p A ( b , c ) ≤ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ . (10)
Note that 4 a ′ ( c ′ + 1 ) ≥ 1 4a'(c'+1) \ge1 4 a ′ ( c ′ + 1 ) ≥ 1 for a a a in the range [ 1 , n − 1 ] [1,n-1] [ 1 , n − 1 ] , so the right hand side of Eq. (10) grows geometrically with b b b .
Therefore, using that we need only sum over 1 ≤ b ≤ min { 2 a ′ + 1 , 2 T + 1 } 1 \le b \le\min\{2a'+1,2T+1\} 1 ≤ b ≤ min { 2 a ′ + 1 , 2 T + 1 } in Eq. (9) , we can write
W D A ( 1 ) ( c ) ≤ 1 n + ∑ 2 ≤ a ≤ n − 2 ∑ 1 ≤ b ≤ min { 2 a ′ + 1 , 2 T + 1 } Φ ( a ) ⋅ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) ≤ 1 n + O ( 1 ) ⋅ ∑ 2 ≤ a ≤ n − 2 Φ ( a ) ⋅ ( 4 a ′ ( c ′ + 1 ) ) min { a ′ , T } ( n a ) . \begin{aligned}
W_{DA}^{(1)}(c) \le\frac{1}{n}+\sum_{2\le a\le n-2}\sum_{1\le b\le\min\{2a'+1,2T+1\}}\Phi(a)\cdot\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{\binom{n}{a}} \\
&\le\frac{1}{n}+O(1)\cdot\sum_{2\le a\le n-2}\Phi(a)\cdot\frac{(4a'(c'+1))^{\min\{a',T\}}}{\binom{n}{a}}.
\end{aligned} W D A ( 1 ) ( c ) ≤ n 1 + 2 ≤ a ≤ n − 2 ∑ 1 ≤ b ≤ m i n { 2 a ′ + 1 , 2 T + 1 } ∑ Φ ( a ) ⋅ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ ≤ n 1 + O ( 1 ) ⋅ 2 ≤ a ≤ n − 2 ∑ Φ ( a ) ⋅ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) m i n { a ′ , T } .
When a ∈ B T a\in B_T a ∈ B T , we use the bound Proposition 3.5, Item 3 which, combined with the fact that Φ ( a ) \Phi(a) Φ ( a ) is symmetric around a = n / 2 a=n/2 a = n /2 (Proposition 3.5, Item 1), states that Φ ( a ) ≤ ( s − 1 ) a ′ / 2 ( n / 2 a ′ / 2 ) / ( n / 2 a / 2 ) \Phi(a)\le(s-1)^{a'/2}\binom{n/2}{a'/2}\Big/\binom{n/2}{a/2} Φ ( a ) ≤ ( s − 1 ) a ′ /2 ( a ′ /2 n /2 ) / ( a /2 n /2 ) for even a a a (and Φ ( a ) = 0 \Phi(a)=0 Φ ( a ) = 0 when a a a is odd), and when a ∉ B T a\notin B_T a ∈ / B T , we use the bound Proposition 3.5, Item 5 which states that Φ ( a ) ≤ poly ( n ) ( n a ) 1 − 1 / s \Phi(a)\le\operatorname{poly}(n)\binom{n}{a}^{1-1/s} Φ ( a ) ≤ poly ( n ) ( a n ) 1 − 1/ s , to get:
W D A ( 1 ) ( c ) ≤ 1 n + O ( 1 ) ⋅ ∑ 2 ≤ a ′ < T ( s − 1 ) a ′ / 2 ⋅ ( 4 a ′ ( T + 1 ) ) a ′ ( n / 2 a ′ / 2 ) + ∑ a ∉ B T poly ( n ) ⋅ ( 4 ( T + 1 ) a ′ ) T ( n a ) 1 / s ≤ O ~ ( n − 1 ) + n − Ω ( T ) , \begin{aligned}
W_{DA}^{(1)}(c)\le\frac{1}{n}+O(1)\cdot\sum_{2\le a'<T}(s-1)^{a'/2}\cdot\frac{(4a'(T+1))^{a'}}{\binom{n/2}{a'/2}}+\sum_{a\notin B_T}\operatorname{poly}(n)\cdot\frac{(4(T+1)a')^T}{\binom{n}{a}^{1/s}} \\
&\le\widetilde{O}(n^{-1})+n^{-\Omega(T)},
\end{aligned} W D A ( 1 ) ( c ) ≤ n 1 + O ( 1 ) ⋅ 2 ≤ a ′ < T ∑ ( s − 1 ) a ′ /2 ⋅ ( a ′ /2 n /2 ) ( 4 a ′ ( T + 1 ) ) a ′ + a ∈ / B T ∑ poly ( n ) ⋅ ( a n ) 1/ s ( 4 ( T + 1 ) a ′ ) T ≤ O ( n − 1 ) + n − Ω ( T ) ,
where the final bound comes from observing that the first summation is maximized when a ′ a' a ′ is small (in particular, a ′ = 2 a'=2 a ′ = 2 ), and that the second summation is dominated by the behavior when a ′ a' a ′ is as small as possible (close to T T T ).
Now that we have established the base case for m = 1 m=1 m = 1 , let us prove via induction that W D A ( m ) ( c ) = O ~ ( n − m ) W_{DA}^{(m)}(c)=\widetilde{O}(n^{-m}) W D A ( m ) ( c ) = O ( n − m ) .
Theorem 5.8. For m ≥ 1 m\ge1 m ≥ 1 , ∑ c ∈ B T W D A ( m ) ( c ) = O ~ ( n − m ) \sum_{c\in B_T}W_{DA}^{(m)}(c)=\widetilde{O}(n^{-m}) ∑ c ∈ B T W D A ( m ) ( c ) = O ( n − m ) . Therefore, for m ≥ 2 m\ge2 m ≥ 2 , the expected number of codewords of a P s ( D A ) m P_s(DA)^m P s ( D A ) m code that have weight < τ n <\tau n < τ n or > ( 1 − τ ) n >(1-\tau)n > ( 1 − τ ) n after m − 1 m-1 m − 1 rounds is O ~ ( n 1 − m ) \widetilde{O}(n^{1-m}) O ( n 1 − m ) .
Proof. The statement for m = 1 m=1 m = 1 was given in Lemma 5.7. For m > 1 m>1 m > 1 , we can split
W D A ( m ) ( c ) ≤ W D A , < τ ( m ) ( c ) + W D A , ≥ τ ( m ) ( c ) . W_{DA}^{(m)}(c)\le W_{DA,<\tau}^{(m)}(c)+W_{DA,\ge\tau}^{(m)}(c). W D A ( m ) ( c ) ≤ W D A , < τ ( m ) ( c ) + W D A , ≥ τ ( m ) ( c ) .
We showed in Theorem 5.2 that the second term W D A , ≥ τ ( m ) ( c ) W_{DA,\ge\tau}^{(m)}(c) W D A , ≥ τ ( m ) ( c ) is ≤ negl ( n ) \le\operatorname{negl}(n) ≤ negl ( n ) for c ′ ≤ ( δ ( m ) − ε ) n c'\le(\delta^{(m)}-\varepsilon)n c ′ ≤ ( δ ( m ) − ε ) n , which holds in our case since we only care about c ′ < T = log 2 ( n ) c'<T=\log^2(n) c ′ < T = log 2 ( n ) . As for the first term W D A , < τ ( m ) ( c ) = W_{DA,<\tau}^{(m)}(c)= W D A , < τ ( m ) ( c ) = ∑ b ≤ 2 a ′ + 1 W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) p A ( b , c ) \sum_{\substack{b\le2a'+1}} W_{DA}^{(m-1)}(a)\cdot p_D(a,b)p_A(b,c) ∑ b ≤ 2 a ′ + 1 W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) p A ( b , c ) , we separate out the case of a = n a=n a = n from the rest of a ∈ B T ∖ { n } a\in B_T\setminus\{n\} a ∈ B T ∖ { n } .
For a = n a=n a = n , the only word is 1 n 1^n 1 n , which maps under D D D to a string of weight b = 1 b=1 b = 1 , and then maps under A A A to a weight c ∈ [ n ] c\in[n] c ∈ [ n ] string with probability 1 n \frac{1}{n} n 1 . Therefore, W D A ( m − 1 ) ( n ) ⋅ p D ( n , b ) p A ( b , c ) = 1 n ⋅ W D A ( m − 1 ) ( n ) W_{DA}^{(m-1)}(n)\cdot p_D(n,b)p_A(b,c)=\frac{1}{n}\cdot W_{DA}^{(m-1)}(n) W D A ( m − 1 ) ( n ) ⋅ p D ( n , b ) p A ( b , c ) = n 1 ⋅ W D A ( m − 1 ) ( n ) . For all other 1 ≤ a ′ < T 1\le a'<T 1 ≤ a ′ < T , Proposition 5.6, Item 3 gives that
∑ b ≤ 2 a ′ + 1 p D ( a , b ) p A ( b , c ) ≤ ∑ b ≤ 2 a ′ + 1 ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) ≤ O ( 1 ) ⋅ ( 4 a ′ ( c ′ + 1 ) ) a ′ ( n a ) ≤ O ~ ( n − 1 ) . \sum_{\substack{b\le2a'+1}}p_D(a,b)p_A(b,c)
\le\sum_{\substack{b\le2a'+1}}\frac{\left(4a'(c'+1)\right)^{\lfloor b/2\rfloor}}{\binom{n}{a}}
\le O(1)\cdot\frac{\left(4a'(c'+1)\right)^{a'}}{\binom{n}{a}}
\le\widetilde{O}(n^{-1}). b ≤ 2 a ′ + 1 ∑ p D ( a , b ) p A ( b , c ) ≤ b ≤ 2 a ′ + 1 ∑ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ ≤ O ( 1 ) ⋅ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) a ′ ≤ O ( n − 1 ) .
Therefore, the first term can be bounded as
W D A , < τ ( m ) ( c ) = 1 n ⋅ W D A ( m − 1 ) ( n ) + ∑ a ∈ B T ∖ { n } b ≤ 2 a ′ + 1 W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) p A ( b , c ) ≤ O ( T ) ⋅ O ~ ( n 1 − m ) ⋅ O ~ ( n − 1 ) = O ~ ( n − m ) . \begin{aligned}
W_{DA,<\tau}^{(m)}(c)=\frac{1}{n}\cdot W_{DA}^{(m-1)}(n)+
\sum_{\substack{a\in B_T\setminus\{n\}\\b\le2a'+1}}
W_{DA}^{(m-1)}(a)\cdot p_D(a,b)p_A(b,c) \\
&\le O(T)\cdot\widetilde{O}(n^{1-m})\cdot\widetilde{O}(n^{-1}) \\
&=\widetilde{O}(n^{-m}).
\end{aligned} W D A , < τ ( m ) ( c ) = n 1 ⋅ W D A ( m − 1 ) ( n ) + a ∈ B T ∖ { n } b ≤ 2 a ′ + 1 ∑ W D A ( m − 1 ) ( a ) ⋅ p D ( a , b ) p A ( b , c ) ≤ O ( T ) ⋅ O ( n 1 − m ) ⋅ O ( n − 1 ) = O ( n − m ) .
Boundary Contribution for P S ( A D ) m P_S(AD)^m P S ( A D ) m Codes
We begin with the base case of m = 2 m=2 m = 2 .
Lemma 5.9. ∑ e ∈ B T W A D ( 2 ) ( e ) = O ~ ( n − 1 ) \sum_{e\in B_T}W_{AD}^{(2)}(e)=\widetilde{O}(n^{-1}) ∑ e ∈ B T W A D ( 2 ) ( e ) = O ( n − 1 )
Proof. Our goal is to bound, for e ∈ B T e\in B_T e ∈ B T ,
∑ a , b , c , d = 1 n Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) . (11) \sum_{a,b,c,d=1}^{n}\Phi(a)p_A(a,b)p_D(b,c)p_A(c,d)p_D(d,e). \tag*{(11)} a , b , c , d = 1 ∑ n Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) . (11)
Let us break this sum into three parts: d ∉ B 2 s T d\notin B_{2sT} d ∈ / B 2 s T ; d ∈ B 2 s T d\in B_{2sT} d ∈ B 2 s T and b ∉ B T b\notin B_T b ∈ / B T ; and d ∈ B 2 s T d\in B_{2sT} d ∈ B 2 s T and b ∈ B T b\in B_T b ∈ B T .
For the case where d ∉ B 2 s T d\notin B_{2sT} d ∈ / B 2 s T , we use the bound Proposition 5.6, Item 5 which says:
Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ poly ( n ) ⋅ ( n e ′ ) ( n d ) 1 / s . (12) \Phi(a)p_A(a,b)p_D(b,c)p_A(c,d)p_D(d,e)
\le\frac{\operatorname{poly}(n)\cdot\binom{n}{e'}}{\binom{n}{d}^{1/s}}. \tag*{(12)} Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ ( d n ) 1/ s poly ( n ) ⋅ ( e ′ n ) . (12)
Recall that e ′ < T e'<T e ′ < T and d ′ ≥ 2 s T d'\ge2sT d ′ ≥ 2 s T , so Eq. (12) is n − Ω ( T ) n^{-\Omega(T)} n − Ω ( T ) , and the contribution in Eq. (11) for d ∉ B 2 s T d\notin B_{2sT} d ∈ / B 2 s T is poly ( n ) ⋅ n − Ω ( T ) = negl ( n ) \operatorname{poly}(n)\cdot n^{-\Omega(T)}=\operatorname{negl}(n) poly ( n ) ⋅ n − Ω ( T ) = negl ( n ) .
Next, consider d ∈ B 2 s T d\in B_{2sT} d ∈ B 2 s T and b ∈ B T b\in B_T b ∈ B T . We substitute the following bounds:
First, using Proposition 3.5, Item 3 along with Proposition 5.6, Item 1, and noting that Φ ( a ) \Phi(a) Φ ( a ) is 0 0 0 for odd a a a , we get
∑ a = 1 n Φ ( a ) p A ( a , b ) ≤ ∑ a / 2 = 1 n / 2 ( s − 1 ) a / 2 ( n / 2 a / 2 ) ⋅ ( 4 ( b ′ + 1 ) n ) a / 2 = ( 1 + 4 ( s − 1 ) ( b ′ + 1 ) n ) n / 2 − 1 \begin{aligned}
\sum_{a=1}^{n}\Phi(a)p_A(a,b)
\le\sum_{a/2=1}^{n/2}(s-1)^{a/2}\binom{n/2}{a/2}\cdot\left(\frac{4(b'+1)}{n}\right)^{a/2} \\
&=\left(1+\frac{4(s-1)(b'+1)}{n}\right)^{n/2}-1
\end{aligned} a = 1 ∑ n Φ ( a ) p A ( a , b ) ≤ a /2 = 1 ∑ n /2 ( s − 1 ) a /2 ( a /2 n /2 ) ⋅ ( n 4 ( b ′ + 1 ) ) a /2 = ( 1 + n 4 ( s − 1 ) ( b ′ + 1 ) ) n /2 − 1
:::
≤ e 2 ( s − 1 ) ( b ′ + 1 ) . \le e^{2(s-1)(b'+1)}. ≤ e 2 ( s − 1 ) ( b ′ + 1 ) .
This bound holds for all b b b . When b = n b=n b = n , we note that in fact ∑ a = 1 n Φ ( a ) p A ( a , n ) = 0 \sum_{a=1}^{n}\Phi(a)p_A(a,n)=0 ∑ a = 1 n Φ ( a ) p A ( a , n ) = 0 : the only input a a a for which p A ( a , n ) ≠ 0 p_A(a,n)\ne0 p A ( a , n ) = 0 is a = 1 a=1 a = 1 , but Proposition 3.5, Item 2 gives that Φ ( 1 ) = 0 \Phi(1)=0 Φ ( 1 ) = 0 . Therefore, we can actually restrict the sum to b ∈ B T ∖ { n } b\in B_T\setminus\{n\} b ∈ B T ∖ { n } .
Second, Proposition 5.6 , Item 3 states that p D ( b , c ) ⋅ p A ( c , d ) ≤ ( 4 b ′ ( d ′ + 1 ) ) ⌊ c / 2 ⌋ ( n b ) p_D(b,c)\cdot p_A(c,d)\le\frac{(4b'(d'+1))^{\lfloor c/2\rfloor}}{\binom{n}{b}} p D ( b , c ) ⋅ p A ( c , d ) ≤ ( b n ) ( 4 b ′ ( d ′ + 1 ) ) ⌊ c /2 ⌋ . Recalling that p D ( b , c ) p_D(b,c) p D ( b , c ) is only nonzero when c ≤ 2 b ′ + 1 c\le2b'+1 c ≤ 2 b ′ + 1 , and using that 4 b ′ ( d ′ + 1 ) 4b'(d'+1) 4 b ′ ( d ′ + 1 ) is either ≥ 1 \ge1 ≥ 1 or 0 0 0 and is hence maximized when c c c is maximized, we get
∑ c = 1 n p D ( b , c ) ⋅ p A ( c , d ) ≤ O ( 1 ) ⋅ ( 4 b ′ ( d ′ + 1 ) ) b ′ ( n b ) . \sum_{c=1}^{n}p_D(b,c)\cdot p_A(c,d)\le O(1)\cdot\frac{(4b'(d'+1))^{b'}}{\binom{n}{b}}. c = 1 ∑ n p D ( b , c ) ⋅ p A ( c , d ) ≤ O ( 1 ) ⋅ ( b n ) ( 4 b ′ ( d ′ + 1 ) ) b ′ .
Finally, p D ( d , e ) ≤ 1 p_D(d,e)\le1 p D ( d , e ) ≤ 1 .
Combining the three above bounds, we obtain
∑ a ∈ [ n ] ∑ b ∈ B T ∑ c ∈ [ n ] ∑ d ∈ B 2 s T ∑ e ∈ B T Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ O ( T ) ⋅ ∑ b ∈ B T ∖ { n } ∑ d ∈ B 2 s T e 2 ( s − 1 ) ( b ′ + 1 ) ⋅ ( 4 b ′ ( d ′ + 1 ) ) b ′ ( n b ) = O ( T ) ⋅ ∑ 1 ≤ b ′ ≤ T ∑ d ′ ≤ 2 s T ( O ( T 2 ) ) b ′ ( n b ′ ) = O ~ ( n − 1 ) , \begin{aligned}
\sum_{a\in[n]}\sum_{b\in B_T}\sum_{c\in[n]}\sum_{d\in B_{2sT}}\sum_{e\in B_T}\Phi(a)p_A(a,b)p_D(b,c)p_A(c,d)p_D(d,e) \\
&\le O(T)\cdot\sum_{b\in B_T\setminus\{n\}}\sum_{d\in B_{2sT}}e^{2(s-1)(b'+1)}\cdot\frac{(4b'(d'+1))^{b'}}{\binom{n}{b}} \\
&=O(T)\cdot\sum_{1\le b'\le T}\sum_{d'\le2sT}\frac{(O(T^2))^{b'}}{\binom{n}{b'}} \\
&=\widetilde{O}(n^{-1}),
\end{aligned} a ∈ [ n ] ∑ b ∈ B T ∑ c ∈ [ n ] ∑ d ∈ B 2 s T ∑ e ∈ B T ∑ Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ O ( T ) ⋅ b ∈ B T ∖ { n } ∑ d ∈ B 2 s T ∑ e 2 ( s − 1 ) ( b ′ + 1 ) ⋅ ( b n ) ( 4 b ′ ( d ′ + 1 ) ) b ′ = O ( T ) ⋅ 1 ≤ b ′ ≤ T ∑ d ′ ≤ 2 s T ∑ ( b ′ n ) ( O ( T 2 ) ) b ′ = O ( n − 1 ) ,
where the maximizing term for the second to last expression is b ′ = 1 b'=1 b ′ = 1 .
Finally, consider d ∈ B 2 s T d\in B_{2sT} d ∈ B 2 s T and b ∉ B T b\notin B_T b ∈ / B T . Let us substitute the following bounds:
First, using Proposition 3.5, Item 5 and Proposition 5.6 , Item 4, we have that
∑ a = 1 n Φ ( a ) p A ( a , b ) ≤ ∑ a = 1 n poly ( n ) ⋅ ( n a ) 1 − 1 / s ⋅ min { 1 , ( n b ) ( n a ) } ≤ poly ( n ) ⋅ ( n b ) 1 − 1 / s . \sum_{a=1}^{n}\Phi(a)p_A(a,b)\le\sum_{a=1}^{n}\operatorname{poly}(n)\cdot\binom{n}{a}^{1-1/s}\cdot\min\left\{1,\frac{\binom{n}{b}}{\binom{n}{a}}\right\}\le\operatorname{poly}(n)\cdot\binom{n}{b}^{1-1/s}. a = 1 ∑ n Φ ( a ) p A ( a , b ) ≤ a = 1 ∑ n poly ( n ) ⋅ ( a n ) 1 − 1/ s ⋅ min { 1 , ( a n ) ( b n ) } ≤ poly ( n ) ⋅ ( b n ) 1 − 1/ s .
Second, Proposition 5.6 , Item 3 says that p D ( b , c ) p A ( c , d ) ≤ ( 4 b ′ ( d ′ + 1 ) ) ⌊ c / 2 ⌋ ( ⌊ c / 2 ⌋ ! ) 2 ( n b ) p_D(b,c)p_A(c,d)\le\frac{(4b'(d'+1))^{\lfloor c/2\rfloor}}{(\lfloor c/2\rfloor!)^2\binom{n}{b}} p D ( b , c ) p A ( c , d ) ≤ (⌊ c /2 ⌋! ) 2 ( b n ) ( 4 b ′ ( d ′ + 1 ) ) ⌊ c /2 ⌋ . We write
∑ c = 1 n p D ( b , c ) p A ( c , d ) ≤ 1 ( n b ) ⋅ ∑ c = 1 n ( 4 b ′ ( d ′ + 1 ) ) ⌊ c / 2 ⌋ ( ⌊ c / 2 ⌋ ! ) 2 ≤ O ( 1 ) ⋅ exp ( 2 4 b ′ ( d ′ + 1 ) ) ( n b ) ≤ n O ( b ′ ) ( n b ) , \begin{aligned}
\sum_{c=1}^{n}p_D(b,c)p_A(c,d)\le\frac{1}{\binom{n}{b}}\cdot\sum_{c=1}^{n}\frac{(4b'(d'+1))^{\lfloor c/2\rfloor}}{(\lfloor c/2\rfloor!)^2} \\
&\le O(1)\cdot\frac{\exp(2\sqrt{4b'(d'+1)})}{\binom{n}{b}} \\
&\le\frac{n^{O(\sqrt{b'})}}{\binom{n}{b}},
\end{aligned} c = 1 ∑ n p D ( b , c ) p A ( c , d ) ≤ ( b n ) 1 ⋅ c = 1 ∑ n (⌊ c /2 ⌋! ) 2 ( 4 b ′ ( d ′ + 1 ) ) ⌊ c /2 ⌋ ≤ O ( 1 ) ⋅ ( b n ) exp ( 2 4 b ′ ( d ′ + 1 ) ) ≤ ( b n ) n O ( b ′ ) ,
where we used in the second inequality that ∑ c = 0 n / 2 z c ( c ! ) 2 ≤ ( ∑ c = 0 ∞ ( z ) c c ! ) 2 = e 2 z \sum_{c=0}^{n/2}\frac{z^c}{(c!)^2}\le\left(\sum_{c=0}^{\infty}\frac{(\sqrt{z})^c}{c!}\right)^2=e^{2\sqrt{z}} ∑ c = 0 n /2 ( c ! ) 2 z c ≤ ( ∑ c = 0 ∞ c ! ( z ) c ) 2 = e 2 z , and we use in the last inequality that d ′ = O ( T ) = O ( log 2 n ) d'=O(T)=O(\log^2 n) d ′ = O ( T ) = O ( log 2 n ) .
Finally, we use the trivial bound p D ( d , e ) ≤ 1 p_D(d,e) \le1 p D ( d , e ) ≤ 1 .
Combining the above bounds, we get that
∑ a = 1 n ∑ b ∉ B T ∑ c = 1 n ∑ d ∈ B 2 s T ∑ e ∈ B T Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ ∑ b ∉ B T ∑ d ∈ B 2 s T poly ( n ) ⋅ ( n b ) 1 − 1 / s ⋅ n O ( b ′ ) ( n b ) ⋅ 1 = ∑ b ∉ B T ∑ d ∈ B 2 s T n O ( 1 + b ′ ) ( n b ) 1 / s ≤ n − Ω ( T ) = negl ( n ) . \begin{aligned}
\sum_{a=1}^{n}\sum_{b\notin B_T}\sum_{c=1}^{n}\sum_{d\in B_{2sT}}\sum_{e\in B_T}\Phi(a)p_A(a,b)p_D(b,c)p_A(c,d)p_D(d,e)
&\le\sum_{b\notin B_T}\sum_{d\in B_{2sT}}\operatorname{poly}(n)\cdot\binom{n}{b}^{1-1/s}\cdot\frac{n^{O(\sqrt{b'})}}{\binom{n}{b}}\cdot1\\
&= \sum_{b\notin B_T}\sum_{d\in B_{2sT}}\frac{n^{O(1+\sqrt{b'})}}{\binom{n}{b}^{1/s}}\\
&\le n^{-\Omega(T)}\\
&= \operatorname{negl}(n).
\end{aligned} a = 1 ∑ n b ∈ / B T ∑ c = 1 ∑ n d ∈ B 2 s T ∑ e ∈ B T ∑ Φ ( a ) p A ( a , b ) p D ( b , c ) p A ( c , d ) p D ( d , e ) ≤ b ∈ / B T ∑ d ∈ B 2 s T ∑ poly ( n ) ⋅ ( b n ) 1 − 1/ s ⋅ ( b n ) n O ( b ′ ) ⋅ 1 = b ∈ / B T ∑ d ∈ B 2 s T ∑ ( b n ) 1/ s n O ( 1 + b ′ ) ≤ n − Ω ( T ) = negl ( n ) .
Now we may bound the total boundary contribution for P s ( A D ) m P_s(AD)^m P s ( A D ) m codes.
Theorem 5.10. For m ≥ 2 m \ge2 m ≥ 2 , ∑ c ∈ B T W A D ( m ) ( c ) = O ~ ( n 1 − m ) \sum_{c\in B_T} W_{AD}^{(m)}(c)=\widetilde{O}(n^{1-m}) ∑ c ∈ B T W A D ( m ) ( c ) = O ( n 1 − m ) . Therefore, for m ≥ 3 m \ge3 m ≥ 3 , the expected number of codewords of a P s ( A D ) m P_s(AD)^m P s ( A D ) m code that have weight < τ n <\tau n < τ n or > ( 1 − τ ) n >(1-\tau)n > ( 1 − τ ) n after m − 1 m-1 m − 1 rounds is O ~ ( n 2 − m ) \widetilde{O}(n^{2-m}) O ( n 2 − m ) .
Proof. The statement for m = 2 m=2 m = 2 was given in Lemma 5.9 . For m ≥ 3 m \ge3 m ≥ 3 , we can split
W A D ( m ) ( c ) = W A D , < τ ( m ) ( c ) + W A D , ≥ τ ( m ) ( c ) . W_{AD}^{(m)}(c)=W_{AD,<\tau}^{(m)}(c)+W_{AD,\ge\tau}^{(m)}(c). W A D ( m ) ( c ) = W A D , < τ ( m ) ( c ) + W A D , ≥ τ ( m ) ( c ) .
The latter term was bounded as ≤ negl ( n ) \le\operatorname{negl}(n) ≤ negl ( n ) in Theorem 5.2 for c ′ ≤ ( δ ( m ) − ε ) n c' \le(\delta^{(m)}-\varepsilon)n c ′ ≤ ( δ ( m ) − ε ) n , which holds for us since we care about c ′ ≤ T = log 2 ( n ) c' \le T=\log_2(n) c ′ ≤ T = log 2 ( n ) . As for the first term, its recursion formula is given by
W A D , < τ ( m ) ( c ) = ∑ a ∈ B T W A D ( m − 1 ) ( a ) ⋅ ∑ b ∈ [ n ] p A ( a , b ) p D ( b , c ) . W_{AD,<\tau}^{(m)}(c)=\sum_{a\in B_T}W_{AD}^{(m-1)}(a)\cdot\sum_{b\in[n]}p_A(a,b)p_D(b,c). W A D , < τ ( m ) ( c ) = a ∈ B T ∑ W A D ( m − 1 ) ( a ) ⋅ b ∈ [ n ] ∑ p A ( a , b ) p D ( b , c ) .
We split this formula by whether b ∈ B 2 s T b\in B_{2sT} b ∈ B 2 s T or not. For b ∈ B 2 s T b\in B_{2sT} b ∈ B 2 s T , we have, using Proposition 5.6 , Item 1 and the induction hypothesis, that
∑ a ∈ B T W A D ( m − 1 ) ( a ) ∑ b ∈ B 2 s T p A ( a , b ) p D ( b , c ) ≤ ∑ a ∈ B T W A D ( m − 1 ) ( a ) ∑ b ∈ B 2 s T p A ( a , b ) ≤ O ~ ( n 2 − m ) ∑ b ∈ B 2 s T ( 4 ( b ′ + 1 ) n ) [ 1 / 2 ] ≤ O ~ ( n 2 − m ) ⋅ O ~ ( n − 1 ) = O ~ ( n 1 − m ) , \begin{aligned}
\sum_{a\in B_T}W_{AD}^{(m-1)}(a)\sum_{b\in B_{2sT}}p_A(a,b)p_D(b,c)
\le\sum_{a\in B_T}W_{AD}^{(m-1)}(a)\sum_{b\in B_{2sT}}p_A(a,b) \\
&\le\widetilde{O}(n^{2-m})\sum_{b\in B_{2sT}}\left(\frac{4(b'+1)}{n}\right)^{[1/2]} \\
&\le\widetilde{O}(n^{2-m})\cdot\widetilde{O}(n^{-1}) \\
&= \widetilde{O}(n^{1-m}),
\end{aligned} a ∈ B T ∑ W A D ( m − 1 ) ( a ) b ∈ B 2 s T ∑ p A ( a , b ) p D ( b , c ) ≤ a ∈ B T ∑ W A D ( m − 1 ) ( a ) b ∈ B 2 s T ∑ p A ( a , b ) ≤ O ( n 2 − m ) b ∈ B 2 s T ∑ ( n 4 ( b ′ + 1 ) ) [ 1/2 ] ≤ O ( n 2 − m ) ⋅ O ( n − 1 ) = O ( n 1 − m ) ,
where in the second inequality we use that a ≥ 1 a\ge1 a ≥ 1 and in the last inequality we used that b ′ ≤ 2 s T b'\le2sT b ′ ≤ 2 s T .
For b ∉ B 2 s T b\notin B_{2sT} b ∈ / B 2 s T , Proposition 5.6 , Item 5 gives that
∑ a ∈ B T ∑ b ∉ B 2 s T W A D ( m − 1 ) ( a ) p A ( a , b ) ⋅ p D ( b , c ) ≤ ∑ b ∉ B 2 s T poly ( n ) ⋅ ( n c ) ( n b ) 1 / s ≤ n − Ω ( T ) = negl ( n ) , \sum_{a\in B_T}\sum_{b\notin B_{2sT}}W_{AD}^{(m-1)}(a)p_A(a,b)\cdot p_D(b,c)
\le\sum_{b\notin B_{2sT}}\frac{\operatorname{poly}(n)\cdot\binom{n}{c}}{\binom{n}{b}^{1/s}}
\le n^{-\Omega(T)}=\operatorname{negl}(n), a ∈ B T ∑ b ∈ / B 2 s T ∑ W A D ( m − 1 ) ( a ) p A ( a , b ) ⋅ p D ( b , c ) ≤ b ∈ / B 2 s T ∑ ( b n ) 1/ s poly ( n ) ⋅ ( c n ) ≤ n − Ω ( T ) = negl ( n ) ,
using b ′ > 2 s T b'>2sT b ′ > 2 s T and c ′ ≤ T c'\le T c ′ ≤ T .
Human and AI Interaction
AI tools, specifically ChatGPT 5.6 Sol and 6.0 Astra, played a major part in the development of this work. For one, the linear time encoder was suggested by ChatGPT 5.6 Sol. Further, the author used these tools alongside reading the white papers to understand and generalize the proofs of [6 , 9 ] . Interestingly, she found that early attempts to ask ChatGPT how previous work should be generalized were actually erroneous: ChatGPT reported that proofs should remain nearly identical with small polynomial adjustments, which was not in general true as polynomial adjustments could erase the polynomial bounds proved in Theorems 5.8 and 5.10 . ChatGPT also seemed to be quick to build upon previously written theorems without verification: the various bugs corrected in this manuscript were only found because the author was reading the original papers and did not understand why certain statements held. Once prompted to correct these bugs, however, ChatGPT provided corrected proofs immediately.
All proofs and computations were worked out and understood by the author by hand (thanks to the Simons Institute for a vast supply of printer paper). The workflow for developing the proofs was: she first used ChatGPT to run numerical simulations to check plausibility; once plausibility was established, she sketched an outline of the proof using [6 ] as inspiration, then worked out individual parts of the proof by hand, reading [6 ] or asking ChatGPT to explain certain bounds. The final manuscript was written entirely by the author, though she used ChatGPT to locate minor bugs and typos at the end.
Proofs of Properties and Bounds
We provide proofs of the various facts and bounds we used throughout the paper.
Proposition 3.5 (Facts about Φ \Phi Φ and φ \varphi φ ). The following properties hold for the outer encoder. Recall that we defined φ ( γ ) : = min { h ( γ ) + 1 s ⋅ log 2 ( 1 + ( 1 − 2 γ ) s 2 ) , log 2 ( s − 1 ) 2 ⋅ min { γ , 1 − γ } + 1 2 ⋅ h ( γ ) } \varphi(\gamma) := \min\left\{h(\gamma) + \frac{1}{s} \cdot\log_2 \left(\frac{1+(1-2\gamma)^s}{2}\right), \frac{\log_2(s-1)}{2} \cdot\min\{\gamma,1-\gamma\} + \frac{1}{2} \cdot h(\gamma)\right\} φ ( γ ) := min { h ( γ ) + s 1 ⋅ log 2 ( 2 1 + ( 1 − 2 γ ) s ) , 2 l o g 2 ( s − 1 ) ⋅ min { γ , 1 − γ } + 2 1 ⋅ h ( γ ) } .
Φ ( a ) \Phi(a) Φ ( a ) is symmetric around a = n / 2 a=n/2 a = n /2 .
Φ ( 1 ) = Φ ( n − 1 ) = 0 \Phi(1)=\Phi(n-1)=0 Φ ( 1 ) = Φ ( n − 1 ) = 0 .
Φ ( a ) ≤ ( s − 1 ) a ′ / 2 ( n / 2 a ′ / 2 ) \Phi(a) \le(s-1)^{a'/2}\binom{n/2}{a'/2} Φ ( a ) ≤ ( s − 1 ) a ′ /2 ( a ′ /2 n /2 ) , where a ′ : = min { a , n − a } a' := \min\{a,n-a\} a ′ := min { a , n − a } . This is the tighter bound when a a a is close to 0 or n n n .
Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 1 + ( 1 − 2 α ) s 2 ) n / s \Phi(a)\cdot\alpha^a(1-\alpha)^{n-a} \le\left(\frac{1+(1-2\alpha)^s}{2}\right)^{n/s} Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 2 1 + ( 1 − 2 α ) s ) n / s . This is the tighter bound when a a a is bounded away from 0 and n n n . We will only need this bound to define φ \varphi φ so that Item 7 holds. For many of the bounds in this paper, we will only need the below weaker bound (Item 5) on Φ ( a ) \Phi(a) Φ ( a ) .
Φ ( a ) ≤ poly ( n ) ⋅ ( n a ) 1 − 1 / s \Phi(a) \le\operatorname{poly}(n) \cdot\binom{n}{a}^{1-1/s} Φ ( a ) ≤ poly ( n ) ⋅ ( a n ) 1 − 1/ s .
φ ( γ ) \varphi(\gamma) φ ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 , and increasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 .
φ ( γ ) − h ( γ ) \varphi(\gamma)-h(\gamma) φ ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 , and decreasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 .
φ ( γ ) ≥ h ( γ ) − 1 / s \varphi(\gamma) \ge h(\gamma)-1/s φ ( γ ) ≥ h ( γ ) − 1/ s .
Proof. 1. There is a bijection between weight a a a strings and weight n − a n-a n − a strings in P ~ s \widetilde{P}_s P s : simply flip all bits. Because s s s is even, the resulting flipped string is still in P ~ s \widetilde{P}_s P s .
Our starting distribution has no codewords of odd weight.
Consider the weight enumerator function for each s s s -block. It has the form w s ( x ) = ∑ j = 0 s / 2 ( s 2 j ) x j w_s(x)=\sum_{j=0}^{s/2}\binom{s}{2j}x^j w s ( x ) = ∑ j = 0 s /2 ( 2 j s ) x j , where the coefficient of x j x^j x j is the number of length s s s words of weight 2 j 2j 2 j . We bound ( s 2 j ) = ( s − 1 ) ( s − 3 ) ⋯ ( s − 2 j + 1 ) 2 j ( 2 j − 1 ) ⋯ ( j + 1 ) ⋅ ( s / 2 j ) ≤ ( s − 1 ) j ⋅ ( s / 2 j ) \binom{s}{2j}=\frac{(s-1)(s-3)\cdots(s-2j+1)}{2^j(2j-1)\cdots(j+1)}\cdot\binom{s/2}{j}\le(s-1)^j\cdot\binom{s/2}{j} ( 2 j s ) = 2 j ( 2 j − 1 ) ⋯ ( j + 1 ) ( s − 1 ) ( s − 3 ) ⋯ ( s − 2 j + 1 ) ⋅ ( j s /2 ) ≤ ( s − 1 ) j ⋅ ( j s /2 ) . Therefore w s ( x ) ≤ ∑ j = 0 s / 2 ( s / 2 j ) ⋅ ( s − 1 ) j x j = ( 1 + ( s − 1 ) x ) s / 2 w_s(x)\le\sum_{j=0}^{s/2}\binom{s/2}{j}\cdot(s-1)^jx^j=(1+(s-1)x)^{s/2} w s ( x ) ≤ ∑ j = 0 s /2 ( j s /2 ) ⋅ ( s − 1 ) j x j = ( 1 + ( s − 1 ) x ) s /2 .
The weight enumerator for the whole code is therefore w s ( x ) n / s ≤ ( 1 + ( s − 1 ) x ) s / 2 ⋅ n / s = ( 1 + ( s − 1 ) x ) n / 2 = ∑ j = 0 n / 2 ( s − 1 ) j ( n / 2 j ) x j w_s(x)^{n/s}\le(1+(s-1)x)^{s/2\cdot n/s}=(1+(s-1)x)^{n/2}=\sum_{j=0}^{n/2}(s-1)^j\binom{n/2}{j}x^j w s ( x ) n / s ≤ ( 1 + ( s − 1 ) x ) s /2 ⋅ n / s = ( 1 + ( s − 1 ) x ) n /2 = ∑ j = 0 n /2 ( s − 1 ) j ( j n /2 ) x j , where the coefficient of x j x^j x j is an upper bound on the number of weight 2 j 2j 2 j words. Reading off the ( a / 2 ) (a/2) ( a /2 ) 'th coefficient, we get that Φ ( a ) ≤ ( s − 1 ) a / 2 ( n / 2 a / 2 ) \Phi(a)\le(s-1)^{a/2}\binom{n/2}{a/2} Φ ( a ) ≤ ( s − 1 ) a /2 ( a /2 n /2 ) .
Consider a random n n n -bit string X X X sampled by setting each bit independently to 1 1 1 with probability α \alpha α . We have that the probability a given s s s -block has even parity is 1 + ( 1 − 2 α ) s 2 \frac{1+(1-2\alpha)^s}{2} 2 1 + ( 1 − 2 α ) s , so the probability all n / s n/s n / s blocks have even weight and thus X ∈ P ~ s X\in\widetilde{P}_s X ∈ P s is ( 1 + ( 1 − 2 α ) s 2 ) n / s \left(\frac{1+(1-2\alpha)^s}{2}\right)^{n/s} ( 2 1 + ( 1 − 2 α ) s ) n / s . On the other hand, each x ∈ P ~ s x\in\widetilde{P}_s x ∈ P s is sampled in this way with probability α ∣ x ∣ ( 1 − α ) n − ∣ x ∣ \alpha^{|x|}(1-\alpha)^{n-|x|} α ∣ x ∣ ( 1 − α ) n − ∣ x ∣ , so
Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 1 + ( 1 − 2 α ) s 2 ) n / s . \Phi(a)\cdot\alpha^a(1-\alpha)^{n-a}\le\left(\frac{1+(1-2\alpha)^s}{2}\right)^{n/s}. Φ ( a ) ⋅ α a ( 1 − α ) n − a ≤ ( 2 1 + ( 1 − 2 α ) s ) n / s .
To see that this property holds for our distribution Φ ( a ) \Phi(a) Φ ( a ) , consider a uniformly random weight a a a string x ∈ P ~ s x\in\widetilde{P}_s x ∈ P s . Then since x x x is uniform, P [ x i = 1 ] = a / n \mathbb{P}[x_i=1]=a/n P [ x i = 1 ] = a / n for all i ∈ [ n ] i\in[n] i ∈ [ n ] . If we delete one coordinate from each s s s -block, the remaining s − 1 s-1 s − 1 bits determine the last bit. Thus,
log 2 Φ ( a ) ≤ H ( x ) ≤ ( 1 − 1 s ) n h ( a / n ) ≤ ( 1 − 1 s ) ⋅ log 2 ( poly ( n ) ⋅ ( n a ) ) . \log_2\Phi(a)\le H(x)\le\left(1-\frac{1}{s}\right)nh(a/n)\le\left(1-\frac{1}{s}\right)\cdot\log_2\left(\operatorname{poly}(n)\cdot\binom{n}{a}\right). log 2 Φ ( a ) ≤ H ( x ) ≤ ( 1 − s 1 ) nh ( a / n ) ≤ ( 1 − s 1 ) ⋅ log 2 ( poly ( n ) ⋅ ( a n ) ) .
Verifying φ ( γ ) − h ( γ ) \varphi(\gamma)-h(\gamma) φ ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 is easy (using that s s s is even). Let us restrict to γ ≤ 1 2 \gamma\le\frac{1}{2} γ ≤ 2 1 . Write A ( γ ) = h ( γ ) + 1 s ⋅ log 2 ( 1 + ( 1 − 2 γ ) s 2 ) A(\gamma)=h(\gamma)+\frac{1}{s}\cdot\log_2\left(\frac{1+(1-2\gamma)^s}{2}\right) A ( γ ) = h ( γ ) + s 1 ⋅ log 2 ( 2 1 + ( 1 − 2 γ ) s ) and B ( γ ) = log 2 ( s − 1 ) 2 ⋅ γ + 1 2 ⋅ h ( γ ) B(\gamma)=\frac{\log_2(s-1)}{2}\cdot\gamma+\frac{1}{2}\cdot h(\gamma) B ( γ ) = 2 l o g 2 ( s − 1 ) ⋅ γ + 2 1 ⋅ h ( γ ) , so that φ ( γ ) : = min { A ( γ ) , B ( γ ) } \varphi(\gamma):=\min\{A(\gamma),B(\gamma)\} φ ( γ ) := min { A ( γ ) , B ( γ )} . It suffices to verify that both A ( γ ) A(\gamma) A ( γ ) and B ( γ ) B(\gamma) B ( γ ) are increasing.
B ( γ ) B(\gamma) B ( γ ) is the easy case: B ( γ ) = log 2 ( s − 1 ) 2 ⋅ γ + 1 2 ⋅ h ( γ ) B(\gamma)=\frac{\log_2(s-1)}{2}\cdot\gamma+\frac{1}{2}\cdot h(\gamma) B ( γ ) = 2 l o g 2 ( s − 1 ) ⋅ γ + 2 1 ⋅ h ( γ ) , both log 2 ( s − 1 ) 2 ⋅ γ \frac{\log_2(s-1)}{2}\cdot\gamma 2 l o g 2 ( s − 1 ) ⋅ γ and 1 2 ⋅ h ( γ ) \frac{1}{2}\cdot h(\gamma) 2 1 ⋅ h ( γ ) are increasing in γ \gamma γ .
A ( γ ) A(\gamma) A ( γ ) requires a bit more work. Differentiating, we get
A ′ ( γ ) = log 2 1 − γ γ − 2 ( 1 − 2 γ ) s − 1 ln 2 ⋅ ( 1 + ( 1 − 2 γ ) s ) ≥ log 2 1 − γ γ − 2 ( 1 − 2 γ ) ln 2 . \begin{aligned}
A'(\gamma)&=\log_2\frac{1-\gamma}{\gamma}-\frac{2(1-2\gamma)^{s-1}}{\ln2\cdot(1+(1-2\gamma)^s)}\\
&\ge\log_2\frac{1-\gamma}{\gamma}-\frac{2(1-2\gamma)}{\ln2}.
\end{aligned} A ′ ( γ ) = log 2 γ 1 − γ − ln 2 ⋅ ( 1 + ( 1 − 2 γ ) s ) 2 ( 1 − 2 γ ) s − 1 ≥ log 2 γ 1 − γ − ln 2 2 ( 1 − 2 γ ) .
Letting t = 1 − 2 γ t = 1 - 2\gamma t = 1 − 2 γ , we use the inequality log 2 1 − γ γ = log 2 1 + t 1 − t = 2 ln 2 ∫ 0 t d u 1 − u 2 > 2 t ln 2 = 2 ( 1 − 2 γ ) ln 2 \log_2 \frac{1-\gamma}{\gamma} = \log_2 \frac{1+t}{1-t} = \frac{2}{\ln2} \int_0^t \frac{du}{1-u^2} > \frac{2t}{\ln2} = \frac{2(1-2\gamma)}{\ln2} log 2 γ 1 − γ = log 2 1 − t 1 + t = l n 2 2 ∫ 0 t 1 − u 2 d u > l n 2 2 t = l n 2 2 ( 1 − 2 γ ) . Therefore A ′ ( γ ) > 0 A'(\gamma) > 0 A ′ ( γ ) > 0 .
Let us restrict to γ ≤ 1 2 \gamma\le\frac{1}{2} γ ≤ 2 1 . It is easy to see that A ( γ ) − h ( γ ) = 1 s ⋅ log 2 ( 1 + ( 1 − 2 γ ) s 2 ) A(\gamma)-h(\gamma) = \frac{1}{s}\cdot\log_2\left(\frac{1+(1-2\gamma)^s}{2}\right) A ( γ ) − h ( γ ) = s 1 ⋅ log 2 ( 2 1 + ( 1 − 2 γ ) s ) is decreasing as γ \gamma γ increases to 1 2 \frac{1}{2} 2 1 . As for B ( γ ) B(\gamma) B ( γ ) , we can take the derivative, and see that ∂ ∂ γ ( B ( γ ) − h ( γ ) ) = 1 2 log 2 ( ( s − 1 ) γ 1 − γ ) \frac{\partial}{\partial\gamma}(B(\gamma)-h(\gamma)) = \frac{1}{2}\log_2\left(\frac{(s-1)\gamma}{1-\gamma}\right) ∂ γ ∂ ( B ( γ ) − h ( γ )) = 2 1 log 2 ( 1 − γ ( s − 1 ) γ ) , which is negative iff γ < 1 s \gamma< \frac{1}{s} γ < s 1 . Then, whenever γ < 1 s \gamma< \frac{1}{s} γ < s 1 , B ( γ ) − h ( γ ) B(\gamma)-h(\gamma) B ( γ ) − h ( γ ) is decreasing. When γ ≥ 1 s \gamma\ge\frac{1}{s} γ ≥ s 1 , we have that B ( γ ) ≥ A ( γ ) B(\gamma) \ge A(\gamma) B ( γ ) ≥ A ( γ ) (proved below), so it is not the relevant branch in the definition of φ ( γ ) \varphi(\gamma) φ ( γ ) .
Let’s prove that B ( γ ) ≥ A ( γ ) B(\gamma) \ge A(\gamma) B ( γ ) ≥ A ( γ ) for γ ≥ 1 s \gamma\ge\frac{1}{s} γ ≥ s 1 . It suffices to show that B ( 1 / s ) ≥ A ( 1 / s ) B(1/s) \ge A(1/s) B ( 1/ s ) ≥ A ( 1/ s ) , as then B ( γ ) − h ( γ ) > B ( 1 / s ) − h ( 1 / s ) ≥ A ( 1 / s ) − h ( 1 / s ) > A ( γ ) − h ( γ ) B(\gamma)-h(\gamma) > B(1/s)-h(1/s) \ge A(1/s)-h(1/s) > A(\gamma)-h(\gamma) B ( γ ) − h ( γ ) > B ( 1/ s ) − h ( 1/ s ) ≥ A ( 1/ s ) − h ( 1/ s ) > A ( γ ) − h ( γ ) for γ > 1 s \gamma> \frac{1}{s} γ > s 1 . We can explicitly compute:
s ( A ( 1 / s ) − B ( 1 / s ) ) = log 2 ( 1 + ( 1 − 2 / s ) s 2 ( 1 − 1 / s ) s / 2 ) s\left(A(1/s)-B(1/s)\right) = \log_2\left(\frac{1+(1-2/s)^s}{2(1-1/s)^{s/2}}\right) s ( A ( 1/ s ) − B ( 1/ s ) ) = log 2 ( 2 ( 1 − 1/ s ) s /2 1 + ( 1 − 2/ s ) s )
so it suffices to show
1 + ( 1 − 2 / s ) s 2 ≤ ( 1 − 1 s ) s / 2 \frac{1+(1-2/s)^s}{2} \le\left(1-\frac{1}{s}\right)^{s/2} 2 1 + ( 1 − 2/ s ) s ≤ ( 1 − s 1 ) s /2
This follows from the following inequality which is the 2-point L 2 → L s L^2 \to L^s L 2 → L s specialization of the Bonami-Beckner hypercontractive inequality [4 ] : For s ≥ 2 s \ge2 s ≥ 2 and a , b ∈ R a,b \in\mathbb{R} a , b ∈ R ,
∣ a + b ∣ s + ∣ a − b ∣ s 2 ≤ ( a 2 + ( s − 1 ) b 2 ) s / 2 \frac{|a+b|^s+|a-b|^s}{2} \le\left(a^2+(s-1)b^2\right)^{s/2} 2 ∣ a + b ∣ s + ∣ a − b ∣ s ≤ ( a 2 + ( s − 1 ) b 2 ) s /2
Now the desired inequality follows from plugging in a = 1 − 1 s a=1-\frac{1}{s} a = 1 − s 1 and b = 1 s b=\frac{1}{s} b = s 1 .
Borrowing above notation, we need only prove that A ( γ ) A(\gamma) A ( γ ) and B ( γ ) B(\gamma) B ( γ ) are both ≥ h ( γ ) − 1 / s \ge h(\gamma)-1/s ≥ h ( γ ) − 1/ s . First, we have A ( γ ) ≥ h ( γ ) − 1 / s A(\gamma) \ge h(\gamma)-1/s A ( γ ) ≥ h ( γ ) − 1/ s because 1 + ( 1 − 2 γ ) s 2 ≥ 1 2 \frac{1+(1-2\gamma)^s}{2} \ge\frac{1}{2} 2 1 + ( 1 − 2 γ ) s ≥ 2 1 so log 2 ( 1 + ( 1 − 2 γ ) s 2 ) ≥ − 1 \log_2\left(\frac{1+(1-2\gamma)^s}{2}\right) \ge-1 log 2 ( 2 1 + ( 1 − 2 γ ) s ) ≥ − 1 . For B ( γ ) B(\gamma) B ( γ ) , it suffices to show for γ ≤ 1 2 \gamma\le\frac{1}{2} γ ≤ 2 1 that 2 s + γ log 2 ( s − 1 ) ≥ h ( γ ) \frac{2}{s}+\gamma\log_2(s-1) \ge h(\gamma) s 2 + γ log 2 ( s − 1 ) ≥ h ( γ ) . Since h h h is concave, the tangent line at γ = 1 s \gamma=\frac{1}{s} γ = s 1 is an upper bound:
h ( γ ) ≤ h ( 1 / s ) + h ′ ( 1 / s ) ⋅ ( γ − 1 / s ) = log 2 ( s s − 1 ) + γ log 2 ( s − 1 ) ≤ 2 s + γ log 2 ( s − 1 ) , \begin{aligned}
h(\gamma) \le h(1/s)+h'(1/s)\cdot(\gamma-1/s) \\
&= \log_2\left(\frac{s}{s-1}\right)+\gamma\log_2(s-1) \\
&\le\frac{2}{s}+\gamma\log_2(s-1),
\end{aligned} h ( γ ) ≤ h ( 1/ s ) + h ′ ( 1/ s ) ⋅ ( γ − 1/ s ) = log 2 ( s − 1 s ) + γ log 2 ( s − 1 ) ≤ s 2 + γ log 2 ( s − 1 ) ,
where log 2 ( s s − 1 ) ≤ 2 s \log_2\left(\frac{s}{s-1}\right)\le\frac{2}{s} log 2 ( s − 1 s ) ≤ s 2 holds by Jensen on the convex function f ( t ) = − log 2 ( 1 − t ) f(t)=-\log_2(1-t) f ( t ) = − log 2 ( 1 − t ) : log 2 ( s s − 1 ) = f ( 1 / s ) ≤ 2 s ⋅ f ( 1 / 2 ) + ( 1 − 2 s ) ⋅ f ( 0 ) = 2 s \log_2\left(\frac{s}{s-1}\right)=f(1/s)\le\frac{2}{s}\cdot f(1/2)+(1-\frac{2}{s})\cdot f(0)=\frac{2}{s} log 2 ( s − 1 s ) = f ( 1/ s ) ≤ s 2 ⋅ f ( 1/2 ) + ( 1 − s 2 ) ⋅ f ( 0 ) = s 2 .
Proposition 3.6 (Facts about f A f_A f A ). The following hold for f A f_A f A .
f A ( α , γ ) ≤ 0 f_A(\alpha,\gamma)\le0 f A ( α , γ ) ≤ 0 , with equality if and only if α = 0 \alpha=0 α = 0 or γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 .
f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is decreasing in α \alpha α .
f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is symmetric around γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 and is increasing in γ \gamma γ between 0 0 0 and 1 2 \frac{1}{2} 2 1 .
For fixed γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , the function h ( α ) + f A ( α , γ ) − h ( γ ) : ( 0 , min { 2 γ , 2 ( 1 − γ ) } ] → R h(\alpha)+f_A(\alpha,\gamma)-h(\gamma):(0,\min\{2\gamma,2(1-\gamma)\}]\to\mathbb{R} h ( α ) + f A ( α , γ ) − h ( γ ) : ( 0 , min { 2 γ , 2 ( 1 − γ )}] → R is concave and is maximized at α = λ γ : = 2 γ ( 1 − γ ) \alpha=\lambda_\gamma:=2\gamma(1-\gamma) α = λ γ := 2 γ ( 1 − γ ) , at which point h ( λ γ ) + f A ( λ γ , γ ) − h ( γ ) = 0 h(\lambda_\gamma)+f_A(\lambda_\gamma,\gamma)-h(\gamma)=0 h ( λ γ ) + f A ( λ γ , γ ) − h ( γ ) = 0 .
Proof. We prove each statement below.
We have that
f A ( α , γ ) = α ⋅ h ( 1 2 ) − h ( γ ) + ( 1 − α ) ⋅ h ( γ − α / 2 1 − α ) . f_A(\alpha,\gamma)=\alpha\cdot h\left(\frac{1}{2}\right)-h(\gamma)+(1-\alpha)\cdot h\left(\frac{\gamma-\alpha/2}{1-\alpha}\right). f A ( α , γ ) = α ⋅ h ( 2 1 ) − h ( γ ) + ( 1 − α ) ⋅ h ( 1 − α γ − α /2 ) .
By concavity of h h h , we have that h ( γ ) = h ( α ⋅ 1 2 + ( 1 − α ) ⋅ γ − α / 2 1 − α ) ≥ α ⋅ h ( 1 2 ) + ( 1 − α ) ⋅ h ( γ − α / 2 1 − α ) h(\gamma)=h\left(\alpha\cdot\frac{1}{2}+(1-\alpha)\cdot\frac{\gamma-\alpha/2}{1-\alpha}\right)\ge\alpha\cdot h\left(\frac{1}{2}\right)+(1-\alpha)\cdot h\left(\frac{\gamma-\alpha/2}{1-\alpha}\right) h ( γ ) = h ( α ⋅ 2 1 + ( 1 − α ) ⋅ 1 − α γ − α /2 ) ≥ α ⋅ h ( 2 1 ) + ( 1 − α ) ⋅ h ( 1 − α γ − α /2 ) , hence f A ( α , γ ) ≤ 0 f_A(\alpha,\gamma)\le0 f A ( α , γ ) ≤ 0 . Equality is achieved only when α = 0 \alpha=0 α = 0 or when γ − α / 2 1 − α = 1 2 ⟺ γ = 1 2 \frac{\gamma-\alpha/2}{1-\alpha}=\frac{1}{2}\Longleftrightarrow\gamma=\frac{1}{2} 1 − α γ − α /2 = 2 1 ⟺ γ = 2 1 .
This statement is [6 ] , Lemma 4.2(3).
This statement is [6 ] , Lemma 4.2(4).
This statement is [6 ] , Lemma B.1.
Proposition 3.7 (Facts about r A ( m ) r_A^{(m)} r A ( m ) ). The following hold for r A ( m ) r_A^{(m)} r A ( m ) for m ≥ 0 m\ge0 m ≥ 0 .
r A ( m ) ( γ ) ≥ 0 r_A^{(m)}(\gamma)\ge0 r A ( m ) ( γ ) ≥ 0 .
r A ( m ) ( γ ) r_A^{(m)}(\gamma) r A ( m ) ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 , and is increasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 .
r A ( m ) ( γ ) − h ( γ ) r_A^{(m)}(\gamma)-h(\gamma) r A ( m ) ( γ ) − h ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 and is decreasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 .
For m ≥ 1 m\ge1 m ≥ 1 , r A ( m ) ( γ ) ≤ r A ( m − 1 ) ( γ ) r_A^{(m)}(\gamma)\le r_A^{(m-1)}(\gamma) r A ( m ) ( γ ) ≤ r A ( m − 1 ) ( γ ) . In particular, δ ( m ) ≥ δ ( m − 1 ) \delta^{(m)}\ge\delta^{(m-1)} δ ( m ) ≥ δ ( m − 1 ) for all m ≥ 1 m\ge1 m ≥ 1 .
Proof. We prove each statement below.
r A ( m ) ( γ ) = max α ≤ min { 2 γ , 2 ( 1 − γ ) } { r A ( m − 1 ) ( α ) + f A ( α , γ ) } ≥ r A ( m − 1 ) ( 0 ) + f A ( 0 , γ ) = 0 r_A^{(m)}(\gamma)=\max_{\alpha\le\min\{2\gamma,2(1-\gamma)\}}\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\}\ge r_A^{(m-1)}(0)+f_A(0,\gamma)=0 r A ( m ) ( γ ) = max α ≤ m i n { 2 γ , 2 ( 1 − γ )} { r A ( m − 1 ) ( α ) + f A ( α , γ )} ≥ r A ( m − 1 ) ( 0 ) + f A ( 0 , γ ) = 0 .
The case of m = 0 m=0 m = 0 follows from Proposition 3.5, Items 1 and 6. For m ≥ 1 m\ge1 m ≥ 1 , let us first show symmetry for m ≥ 1 m\ge1 m ≥ 1 by inspecting the definition of r A ( m ) r_A^{(m)} r A ( m ) :
r A ( m ) ( γ ) = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { r A ( m − 1 ) ( α ) + f A ( α , γ ) } . r_A^{(m)}(\gamma)=\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\left\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\right\}. r A ( m ) ( γ ) = 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { r A ( m − 1 ) ( α ) + f A ( α , γ ) } .
Observe that f A ( α , γ ) = α − h ( γ ) + ( 1 − α ) h ( γ − α / 2 1 − α ) f_A(\alpha,\gamma)=\alpha-h(\gamma)+(1-\alpha)h\left(\frac{\gamma-\alpha/2}{1-\alpha}\right) f A ( α , γ ) = α − h ( γ ) + ( 1 − α ) h ( 1 − α γ − α /2 ) is symmetric about γ = 1 2 \gamma=\frac{1}{2} γ = 2 1 and that the range 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } 0\le\alpha\le\min\{2\gamma,2(1-\gamma)\} 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ )} is the same for γ \gamma γ and 1 − γ 1-\gamma 1 − γ .
The statement that r A ( m ) ( γ ) r_A^{(m)}(\gamma) r A ( m ) ( γ ) is increasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 follows from the fact that f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is increasing between 0 0 0 and 1 2 \frac{1}{2} 2 1 in γ \gamma γ (Proposition 3.6, Item 3).
Let Q ( m ) ( γ ) : = r A ( m ) ( γ ) − h ( γ ) Q^{(m)}(\gamma):=r_A^{(m)}(\gamma)-h(\gamma) Q ( m ) ( γ ) := r A ( m ) ( γ ) − h ( γ ) . Note that Q ( m ) ( γ ) Q^{(m)}(\gamma) Q ( m ) ( γ ) is symmetric around 1 2 \frac{1}{2} 2 1 because r A ( m ) ( γ ) r_A^{(m)}(\gamma) r A ( m ) ( γ ) is (Proposition 3.7, Item 2). Let us restrict to the interval γ ∈ [ 0 , 1 2 ] \gamma\in[0,\frac{1}{2}] γ ∈ [ 0 , 2 1 ] . The base case for m = 0 m=0 m = 0
is given by Proposition 3.5, Item 7. Now, suppose that the statement holds for m − 1 ≥ 0 m-1 \ge0 m − 1 ≥ 0 . Note that we can write
Q ( m ) ( γ ) = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { r A ( m − 1 ) ( α ) + f A ( α , γ ) } − h ( γ ) = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) } { Q ( m − 1 ) ( α ) + ( h ( α ) + f A ( α , γ ) − h ( γ ) ) } . \begin{aligned}
Q^{(m)}(\gamma)=\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\left\{r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\right\}-h(\gamma) \\
&=\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma)\}}\left\{Q^{(m-1)}(\alpha)+\left(h(\alpha)+f_A(\alpha,\gamma)-h(\gamma)\right)\right\}.
\end{aligned} Q ( m ) ( γ ) = 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { r A ( m − 1 ) ( α ) + f A ( α , γ ) } − h ( γ ) = 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ )} max { Q ( m − 1 ) ( α ) + ( h ( α ) + f A ( α , γ ) − h ( γ ) ) } .
Because r A ( m − 1 ) ( α ) r_A^{(m-1)}(\alpha) r A ( m − 1 ) ( α ) is symmetric around 1 2 \frac{1}{2} 2 1 and f A ( α , γ ) ≥ f A ( 1 − α , γ ) f_A(\alpha,\gamma)\ge f_A(1-\alpha,\gamma) f A ( α , γ ) ≥ f A ( 1 − α , γ ) when α ≤ 1 2 \alpha\le\frac{1}{2} α ≤ 2 1 , the maximum must be achieved for α ≤ 1 2 \alpha\le\frac{1}{2} α ≤ 2 1 .
Let us write K ( α , γ ) = h ( α ) + f A ( α , γ ) − h ( γ ) K(\alpha,\gamma)=h(\alpha)+f_A(\alpha,\gamma)-h(\gamma) K ( α , γ ) = h ( α ) + f A ( α , γ ) − h ( γ ) , so that the recursion for Q Q Q can be written as
Q ( m ) ( γ ) = max 0 ≤ α ≤ min { 2 γ , 2 ( 1 − γ ) , 1 2 } { Q ( m − 1 ) ( α ) + K ( α , γ ) } . Q^{(m)}(\gamma)=\max_{0\le\alpha\le\min\{2\gamma,2(1-\gamma),\frac{1}{2}\}}\left\{Q^{(m-1)}(\alpha)+K(\alpha,\gamma)\right\}. Q ( m ) ( γ ) = 0 ≤ α ≤ m i n { 2 γ , 2 ( 1 − γ ) , 2 1 } max { Q ( m − 1 ) ( α ) + K ( α , γ ) } .
From Proposition 3.6, Item 4, we have that, fixing γ \gamma γ and varying α \alpha α , the function K ( α , γ ) K(\alpha,\gamma) K ( α , γ ) is maximized at α = λ γ \alpha=\lambda_\gamma α = λ γ and is decreasing for α > λ γ \alpha>\lambda_\gamma α > λ γ . Since by the induction hypothesis Q ( m − 1 ) ( α ) Q^{(m-1)}(\alpha) Q ( m − 1 ) ( α ) is decreasing for α ∈ [ 0 , min { 2 γ , 2 ( 1 − γ ) } ] ∩ [ 0 , 1 2 ] \alpha\in[0,\min\{2\gamma,2(1-\gamma)\}]\cap[0,\frac{1}{2}] α ∈ [ 0 , min { 2 γ , 2 ( 1 − γ )}] ∩ [ 0 , 2 1 ] , the maximum must be obtained for α ∈ [ 0 , λ γ ] \alpha\in[0,\lambda_\gamma] α ∈ [ 0 , λ γ ] . Thus we may restrict the domain of α \alpha α and write
Q ( m ) ( γ ) = max 0 ≤ α ≤ λ γ { Q ( m − 1 ) ( α ) + ( h ( α ) + f A ( α , γ ) − h ( γ ) ) } . Q^{(m)}(\gamma)=\max_{0\le\alpha\le\lambda_\gamma}\left\{Q^{(m-1)}(\alpha)+\left(h(\alpha)+f_A(\alpha,\gamma)-h(\gamma)\right)\right\}. Q ( m ) ( γ ) = 0 ≤ α ≤ λ γ max { Q ( m − 1 ) ( α ) + ( h ( α ) + f A ( α , γ ) − h ( γ ) ) } .
Next, we can compute ∂ ∂ γ K ( α , γ ) = log 2 γ 2 ( 1 − γ − α / 2 ) ( 1 − γ ) 2 ( γ − α / 2 ) \frac{\partial}{\partial\gamma}K(\alpha,\gamma)=\log_2\frac{\gamma^2(1-\gamma-\alpha/2)}{(1-\gamma)^2(\gamma-\alpha/2)} ∂ γ ∂ K ( α , γ ) = log 2 ( 1 − γ ) 2 ( γ − α /2 ) γ 2 ( 1 − γ − α /2 ) . When α ≤ λ γ \alpha\le\lambda_\gamma α ≤ λ γ , this derivative is non-positive, so for any 0 ≤ γ 1 ≤ γ 2 ≤ 1 2 0\le\gamma_1\le\gamma_2\le\frac{1}{2} 0 ≤ γ 1 ≤ γ 2 ≤ 2 1 , it holds that
Q ( m ) ( γ 1 ) = max 0 ≤ α ≤ λ γ 1 { Q ( m − 1 ) ( α ) + K ( α , γ 1 ) } ≥ max 0 ≤ α ≤ λ γ 1 { Q ( m − 1 ) ( α ) + K ( α , γ 2 ) } . Q^{(m)}(\gamma_1)=\max_{0\le\alpha\le\lambda_{\gamma_1}}\left\{Q^{(m-1)}(\alpha)+K(\alpha,\gamma_1)\right\}\ge\max_{0\le\alpha\le\lambda_{\gamma_1}}\left\{Q^{(m-1)}(\alpha)+K(\alpha,\gamma_2)\right\}. Q ( m ) ( γ 1 ) = 0 ≤ α ≤ λ γ 1 max { Q ( m − 1 ) ( α ) + K ( α , γ 1 ) } ≥ 0 ≤ α ≤ λ γ 1 max { Q ( m − 1 ) ( α ) + K ( α , γ 2 ) } .
Note that in order to fully compare Q ( m ) ( γ 1 ) Q^{(m)}(\gamma_1) Q ( m ) ( γ 1 ) to Q ( m ) ( γ 2 ) Q^{(m)}(\gamma_2) Q ( m ) ( γ 2 ) , we need to also consider the value of Q ( m − 1 ) ( α ) + K ( α , γ 2 ) Q^{(m-1)}(\alpha)+K(\alpha,\gamma_2) Q ( m − 1 ) ( α ) + K ( α , γ 2 ) for α ∈ ( λ γ 1 , λ γ 2 ] \alpha\in(\lambda_{\gamma_1},\lambda_{\gamma_2}] α ∈ ( λ γ 1 , λ γ 2 ] and show that this is less than Q ( m ) ( γ 1 ) Q^{(m)}(\gamma_1) Q ( m ) ( γ 1 ) as well. This can be seen by noting that Q ( m − 1 ) ( α ) Q^{(m-1)}(\alpha) Q ( m − 1 ) ( α ) is non-increasing by the induction hypothesis and K ( α , γ 2 ) ≤ 0 K(\alpha,\gamma_2)\le0 K ( α , γ 2 ) ≤ 0 by Proposition 3.6, Item 4, so Q ( m − 1 ) ( α ) + K ( α , γ 2 ) ≤ Q ( m − 1 ) ( λ γ 1 ) + 0 = Q ( m − 1 ) ( λ γ 1 ) + K ( λ γ 1 , γ 1 ) ≤ Q ( m ) ( γ 1 ) Q^{(m-1)}(\alpha)+K(\alpha,\gamma_2)\le Q^{(m-1)}(\lambda_{\gamma_1})+0=Q^{(m-1)}(\lambda_{\gamma_1})+K(\lambda_{\gamma_1},\gamma_1)\le Q^{(m)}(\gamma_1) Q ( m − 1 ) ( α ) + K ( α , γ 2 ) ≤ Q ( m − 1 ) ( λ γ 1 ) + 0 = Q ( m − 1 ) ( λ γ 1 ) + K ( λ γ 1 , γ 1 ) ≤ Q ( m ) ( γ 1 ) .
Restrict to γ ∈ [ 0 , 1 2 ] \gamma\in[0,\frac{1}{2}] γ ∈ [ 0 , 2 1 ] . It suffices to show that r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\le r_A^{(m-1)}(\gamma) r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) for all α ≤ min { 2 γ , 2 ( 1 − γ ) } \alpha\le\min\{2\gamma,2(1-\gamma)\} α ≤ min { 2 γ , 2 ( 1 − γ )} . Because r A ( m − 1 ) ( α ) r_A^{(m-1)}(\alpha) r A ( m − 1 ) ( α ) is symmetric around 1 2 \frac{1}{2} 2 1 and f A ( α , γ ) f_A(\alpha,\gamma) f A ( α , γ ) is decreasing in α \alpha α , it suffices to restrict to α ≤ 1 2 \alpha\le\frac{1}{2} α ≤ 2 1 as well.
When α ≤ γ \alpha\le\gamma α ≤ γ , we have from Proposition 3.7, Item 2 that r A ( m − 1 ) ( γ ) r_A^{(m-1)}(\gamma) r A ( m − 1 ) ( γ ) is increasing, so
r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) , r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\le r_A^{(m-1)}(\gamma)+f_A(\alpha,\gamma)\le r_A^{(m-1)}(\gamma), r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) ,
where we also used that f A ( α , γ ) ≤ 0 f_A(\alpha,\gamma)\le0 f A ( α , γ ) ≤ 0 (Proposition 3.6, Item 1). When α ≥ γ \alpha\ge\gamma α ≥ γ , we use that r A ( m − 1 ) ( γ ) − h ( γ ) r_A^{(m-1)}(\gamma)-h(\gamma) r A ( m − 1 ) ( γ ) − h ( γ ) is decreasing from Proposition 3.7, Item 3 to obtain r A ( m − 1 ) ( α ) ≤ r A ( m − 1 ) ( γ ) + h ( α ) − h ( γ ) r_A^{(m-1)}(\alpha)\le r_A^{(m-1)}(\gamma)+h(\alpha)-h(\gamma) r A ( m − 1 ) ( α ) ≤ r A ( m − 1 ) ( γ ) + h ( α ) − h ( γ ) , from which we can get
r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) + h ( α ) − h ( γ ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) , r_A^{(m-1)}(\alpha)+f_A(\alpha,\gamma)\le r_A^{(m-1)}(\gamma)+h(\alpha)-h(\gamma)+f_A(\alpha,\gamma)\le r_A^{(m-1)}(\gamma), r A ( m − 1 ) ( α ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) + h ( α ) − h ( γ ) + f A ( α , γ ) ≤ r A ( m − 1 ) ( γ ) ,
using that h ( α ) − h ( γ ) + f A ( α , γ ) ≤ 0 h(\alpha)-h(\gamma)+f_A(\alpha,\gamma)\le0 h ( α ) − h ( γ ) + f A ( α , γ ) ≤ 0 from Proposition 3.6, Item 4.
Proposition 5.6. In the below statements, a ′ : = min { a , n − a } a' := \min\{a,n-a\} a ′ := min { a , n − a } , b ′ : = min { b , n − b } b' := \min\{b,n-b\} b ′ := min { b , n − b } , and c ′ : = min { c , n − c } c' := \min\{c,n-c\} c ′ := min { c , n − c } . The following bounds hold:
p A ( a , b ) ≤ ( 4 ( b ′ + 1 ) n ) ⌊ a / 2 ⌋ p_A(a,b) \le\left(\frac{4(b'+1)}{n}\right)^{\lfloor a/2\rfloor} p A ( a , b ) ≤ ( n 4 ( b ′ + 1 ) ) ⌊ a /2 ⌋
p D ( a , b ) ≤ ( a ′ n ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) p_D(a,b) \le\frac{(a'n)^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2\binom{n}{a}} p D ( a , b ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( a ′ n ) ⌊ b /2 ⌋
p D ( a , b ) ⋅ p A ( b , c ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) p_D(a,b)\cdot p_A(b,c) \le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2\binom{n}{a}} \le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{\binom{n}{a}} p D ( a , b ) ⋅ p A ( b , c ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ ≤ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋
p A ( a , b ) p D ( a , b ) ≤ min { 1 , ( n b ) ( n a ) } p_A(a,b)p_D(a,b) \le\min\left\{1,\frac{\binom{n}{b}}{\binom{n}{a}}\right\} p A ( a , b ) p D ( a , b ) ≤ min { 1 , ( a n ) ( b n ) }
Let k ≥ 1 k\ge1 k ≥ 1 and let T 1 , … , T k T_1,\ldots,T_k T 1 , … , T k denote some sequence of A A A 's and D D D 's. It holds that
Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ⋅ ( n a k ) ( n a k − 1 ) 1 / s . \Phi(a_0)\prod_{i=1}^{k}p_{T_i}(a_{i-1},a_i)\le\frac{\operatorname{poly}(n)\cdot\binom{n}{a_k}}{\binom{n}{a_{k-1}}^{1/s}}. Φ ( a 0 ) i = 1 ∏ k p T i ( a i − 1 , a i ) ≤ ( a k − 1 n ) 1/ s poly ( n ) ⋅ ( a k n ) .
Proof. We prove each statement individually.
Corollary 3.4.2 in [PF03] says that
p A ( a , b ) ≤ ⌊ a / 2 ⌋ b ⋅ 2 a ⋅ ( b n ) ⌊ a / 2 ⌋ ( n − b n ) ⌊ a / 2 ⌋ . p_A(a,b)\le\frac{\lfloor a/2\rfloor}{b}\cdot2^a\cdot\left(\frac{b}{n}\right)^{\lfloor a/2\rfloor}\left(\frac{n-b}{n}\right)^{\lfloor a/2\rfloor}. p A ( a , b ) ≤ b ⌊ a /2 ⌋ ⋅ 2 a ⋅ ( n b ) ⌊ a /2 ⌋ ( n n − b ) ⌊ a /2 ⌋ .
When b ′ = b ≤ n 2 b'=b\le\frac{n}{2} b ′ = b ≤ 2 n , recall that p A ( a , b ) p_A(a,b) p A ( a , b ) is only nonzero when a ≤ 2 b a\le2b a ≤ 2 b . Then ⌊ a / 2 ⌋ b ≤ 1 \frac{\lfloor a/2\rfloor}{b}\le1 b ⌊ a /2 ⌋ ≤ 1 and ( n − b n ) ⌊ a / 2 ⌋ ≤ 1 \left(\frac{n-b}{n}\right)^{\lfloor a/2\rfloor}\le1 ( n n − b ) ⌊ a /2 ⌋ ≤ 1 gives the desired bound. When b > n 2 b>\frac{n}{2} b > 2 n so that b ′ = n − b b'=n-b b ′ = n − b , we use that ⌊ a / 2 ⌋ ≤ n − b \lfloor a/2\rfloor\le n-b ⌊ a /2 ⌋ ≤ n − b to get
p A ( a , b ) ≤ n − b + 1 b ⋅ 2 a ⋅ ( b n ) ⌊ a / 2 ⌋ ( n − b n ) ⌊ a / 2 ⌋ ≤ n − b + 1 n ⋅ 2 a ⋅ ( b n ) ⌊ a / 2 ⌋ − 1 ( n − b n ) ⌊ a / 2 ⌋ \begin{aligned}
p_A(a,b)\le\frac{n-b+1}{b}\cdot2^a\cdot\left(\frac{b}{n}\right)^{\lfloor a/2\rfloor}\left(\frac{n-b}{n}\right)^{\lfloor a/2\rfloor} \\
&\le\frac{n-b+1}{n}\cdot2^a\cdot\left(\frac{b}{n}\right)^{\lfloor a/2\rfloor-1}\left(\frac{n-b}{n}\right)^{\lfloor a/2\rfloor}
\end{aligned} p A ( a , b ) ≤ b n − b + 1 ⋅ 2 a ⋅ ( n b ) ⌊ a /2 ⌋ ( n n − b ) ⌊ a /2 ⌋ ≤ n n − b + 1 ⋅ 2 a ⋅ ( n b ) ⌊ a /2 ⌋ − 1 ( n n − b ) ⌊ a /2 ⌋
≤ 2 a ⋅ ( n − b + 1 n ) ⌊ a / 2 ⌋ + 1 ≤ ( 4 ( b ′ + 1 ) n ) ⌊ a / 2 ⌋ . \begin{aligned}
\le2^a\cdot\left(\frac{n-b+1}{n}\right)^{\lfloor a/2\rfloor+1} \\
&\le\left(\frac{4(b'+1)}{n}\right)^{\lfloor a/2\rfloor}.
\end{aligned} ≤ 2 a ⋅ ( n n − b + 1 ) ⌊ a /2 ⌋ + 1 ≤ ( n 4 ( b ′ + 1 ) ) ⌊ a /2 ⌋ .
If b b b is even, we have that ( a − 1 ⌊ b / 2 ⌋ − 1 ) = ( a ⌊ b / 2 ⌋ ) ⋅ b / 2 a ≤ ( a ⌊ b / 2 ⌋ ) \binom{a-1}{\lfloor b/2\rfloor-1}=\binom{a}{\lfloor b/2\rfloor}\cdot\frac{b/2}{a}\le\binom{a}{\lfloor b/2\rfloor} ( ⌊ b /2 ⌋ − 1 a − 1 ) = ( ⌊ b /2 ⌋ a ) ⋅ a b /2 ≤ ( ⌊ b /2 ⌋ a ) , using that p D ( a , b ) p_D(a,b) p D ( a , b ) is only nonzero for b ≤ 2 a b\le2a b ≤ 2 a . If b b b is odd, we have that ( a − 1 ⌊ b / 2 ⌋ − 1 ) = ( a ⌊ b / 2 ⌋ ) ⋅ a − ⌊ b / 2 ⌋ a ≤ ( a ⌊ b / 2 ⌋ ) \binom{a-1}{\lfloor b/2\rfloor-1}=\binom{a}{\lfloor b/2\rfloor}\cdot\frac{a-\lfloor b/2\rfloor}{a}\le\binom{a}{\lfloor b/2\rfloor} ( ⌊ b /2 ⌋ − 1 a − 1 ) = ( ⌊ b /2 ⌋ a ) ⋅ a a − ⌊ b /2 ⌋ ≤ ( ⌊ b /2 ⌋ a ) . Either way, we obtain that
p D ( a , b ) = ( n − a ⌊ b / 2 ⌋ ) ( a − 1 ⌊ b / 2 ⌋ − 1 ) ( n a ) ≤ ( n − a ⌊ b / 2 ⌋ ) ( a ⌊ b / 2 ⌋ ) ( n a ) ≤ ( a ′ n ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) . p_D(a,b)=\frac{\binom{n-a}{\lfloor b/2\rfloor}\binom{a-1}{\lfloor b/2\rfloor-1}}{\binom{n}{a}}\le\frac{\binom{n-a}{\lfloor b/2\rfloor}\binom{a}{\lfloor b/2\rfloor}}{\binom{n}{a}}\le\frac{(a'n)^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2\binom{n}{a}}. p D ( a , b ) = ( a n ) ( ⌊ b /2 ⌋ n − a ) ( ⌊ b /2 ⌋ − 1 a − 1 ) ≤ ( a n ) ( ⌊ b /2 ⌋ n − a ) ( ⌊ b /2 ⌋ a ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( a ′ n ) ⌊ b /2 ⌋ .
This bound follows from combining Items 1 and 2, and by using p A ( b , c ) ≤ 1 p_A(b,c) \le1 p A ( b , c ) ≤ 1 :
p D ( a , b ) ⋅ p A ( b , c ) ≤ ( a ′ n ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) ⋅ min { 1 , ( 4 ( c ′ + 1 ) n ) ⌊ b / 2 ⌋ } ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( ⌊ b / 2 ⌋ ! ) 2 ( n a ) ≤ ( 4 a ′ ( c ′ + 1 ) ) ⌊ b / 2 ⌋ ( n a ) . \begin{aligned}
p_D(a,b) \cdot p_A(b,c) &\le\frac{(a'n)^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2 \binom{n}{a}} \cdot\min\left\{1,\left(\frac{4(c'+1)}{n}\right)^{\lfloor b/2\rfloor}\right\}\\
&\le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{(\lfloor b/2\rfloor!)^2 \binom{n}{a}}\\
&\le\frac{(4a'(c'+1))^{\lfloor b/2\rfloor}}{\binom{n}{a}}.
\end{aligned} p D ( a , b ) ⋅ p A ( b , c ) ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( a ′ n ) ⌊ b /2 ⌋ ⋅ min { 1 , ( n 4 ( c ′ + 1 ) ) ⌊ b /2 ⌋ } ≤ (⌊ b /2 ⌋! ) 2 ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ ≤ ( a n ) ( 4 a ′ ( c ′ + 1 ) ) ⌊ b /2 ⌋ .
This bound is a trivial bound following from the invertibility of A A A and D D D : there are only ( n b ) \binom{n}{b} ( b n ) possible outputs, so at most ( n b ) \binom{n}{b} ( b n ) possible weight a a a strings could have mapped to them.
First, we claim that Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( n a k ) 1 − 1 / s \Phi(a_0)\prod_{i=1}^{k}p_{T_i}(a_{i-1},a_i) \le\operatorname{poly}(n)\binom{n}{a_k}^{1-1/s} Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( a k n ) 1 − 1/ s for k ≥ 0 k \ge0 k ≥ 0 . We proceed by induction. The case for k = 0 k=0 k = 0 is Proposition 3.5, Item 5. Suppose that for k − 1 k-1 k − 1 it holds that Φ ( a 0 ) ∏ i = 1 k − 1 p T i ( a i − 1 , a i ) ≤ poly ( n ) ( n a k − 1 ) 1 − 1 / s \Phi(a_0)\prod_{i=1}^{k-1}p_{T_i}(a_{i-1},a_i) \le\operatorname{poly}(n)\binom{n}{a_{k-1}}^{1-1/s} Φ ( a 0 ) ∏ i = 1 k − 1 p T i ( a i − 1 , a i ) ≤ poly ( n ) ( a k − 1 n ) 1 − 1/ s . Then
Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( n a k − 1 ) 1 − 1 / s ⋅ min { 1 , ( n a k ) ( n a k − 1 ) } ≤ poly ( n ) ( n a k ) 1 − 1 / s . \Phi(a_0)\prod_{i=1}^{k}p_{T_i}(a_{i-1},a_i) \le\operatorname{poly}(n)\binom{n}{a_{k-1}}^{1-1/s}\cdot\min\left\{1,\frac{\binom{n}{a_k}}{\binom{n}{a_{k-1}}}\right\} \le\operatorname{poly}(n)\binom{n}{a_k}^{1-1/s}. Φ ( a 0 ) i = 1 ∏ k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( a k − 1 n ) 1 − 1/ s ⋅ min { 1 , ( a k − 1 n ) ( a k n ) } ≤ poly ( n ) ( a k n ) 1 − 1/ s .
Next, we combine the above bound for k − 1 k-1 k − 1 with the trivial bound to get
Φ ( a 0 ) ∏ i = 1 k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( n a k − 1 ) 1 − 1 / s ⋅ p T k ( a k − 1 , a k ) ≤ poly ( n ) ( n a k − 1 ) 1 − 1 / s ⋅ ( n a k ) ( n a k − 1 ) = poly ( n ) ⋅ ( n a k ) ( n a k − 1 ) 1 / s . \begin{aligned}
\Phi(a_0)\prod_{i=1}^{k}p_{T_i}(a_{i-1},a_i) &\le\operatorname{poly}(n)\binom{n}{a_{k-1}}^{1-1/s}\cdot p_{T_k}(a_{k-1},a_k)\\
&\le\operatorname{poly}(n)\binom{n}{a_{k-1}}^{1-1/s}\cdot\frac{\binom{n}{a_k}}{\binom{n}{a_{k-1}}}\\
&= \frac{\operatorname{poly}(n)\cdot\binom{n}{a_k}}{\binom{n}{a_{k-1}}^{1/s}}.
\end{aligned} Φ ( a 0 ) i = 1 ∏ k p T i ( a i − 1 , a i ) ≤ poly ( n ) ( a k − 1 n ) 1 − 1/ s ⋅ p T k ( a k − 1 , a k ) ≤ poly ( n ) ( a k − 1 n ) 1 − 1/ s ⋅ ( a k − 1 n ) ( a k n ) = ( a k − 1 n ) 1/ s poly ( n ) ⋅ ( a k n ) .
□ \square □