Summary
I give a mathematical proof of the frozen binary CSS Gilbert–Varshamov statement, with a check-weight and qubit-incidence bound in terms of the chosen inner and base code parameters. The same ensemble approaches the asymmetric CSS Gilbert–Varshamov region and the full joint-entropy hashing rate for memoryless Pauli noise.
Approach
This extends the December 2 attempt. Apply Alon–Edmonds–Luby (AEL) amplification to high-rate binary quantum Tanner codes, using a pure Reed–Solomon CSS inner code. Change the binary basis of each output block independently. Inverse-transpose actions in the two pure sectors preserve commutation. A count of normalizer vectors with a specified block support drives the distance and decoding proofs.
Claims
- [proved] For every $0<\delta<1/2$ with $R_*=1-2h_2(\delta)>0$ and every $\varepsilon>0$, there is a constant $w$ and an unbounded sequence of binary CSS code lengths $N$ with rate at least $R_*-\varepsilon$, distance at least $\delta N$, and row and column weights at most $w$ in each check matrix.
- [proved] The same conclusion holds with $R_*=1-h_2(\delta_X)-h_2(\delta_Z)>0$ and the individual distances at least $\delta_X N,\delta_Z N$, for any $0<\delta_X,\delta_Z<1/2$.
- [proved] For an i.i.d. binary Pauli error pair $(X,Z)$ with any joint distribution, every $0<R<1-H(X,Z)$ is achievable by an unbounded sequence of binary CSS codes of rate at least $R$, bounded check weights and qubit incidence, and logical error probability exponentially small in $N$ under joint syndrome decoding.
Details
1. Amplification and normalizer bounds
All logarithms and entropies are to base two. For pure stabilizers $S_X,S_Z$, define pure normalizers $N_X=S_Z^\perp$ and $N_Z=S_X^\perp$ under the binary dot product. The pure logical vectors in sector $s$ belong to $N_s\setminus S_s$. The CSS distance is the lesser of the two pure distances.
Fix targets $\alpha_X,\alpha_Z>0$ with $\alpha_X+\alpha_Z<1$, a base rate defect $0<\xi<1$, a probability loss $\eta>0$, and a rate loss $0<\kappa<1-\alpha_X-\alpha_Z$. Leverrier and Zémor give an unbounded sequence of binary CSS codes of lengths $n$ with rates $R_b\ge 1-\xi$ and both pure distances at least $\delta_b n$ for a fixed $\delta_b>0$. Their Theorem 10 gives a rate bound $(1-2\rho)^2$ for any fixed sufficiently small $\rho>0$. At fixed Tanner degree, each generator is supported on one local view of bounded size. A qubit belongs to two such views per sector in their quadripartite construction, each contributing at most its local dimension in basis generators. Write $w_b$ for a common row and column weight bound. Leverrier–Zémor, Theorems 1 and 10 and Fig. 2.
Choose $\theta>0$ smaller than $\alpha_X,\alpha_Z,\eta/4$. For each base length $n$, take a $\Delta$-regular bipartite multigraph with $n$ vertices per side and normalized second singular value at most $\lambda=2\sqrt{\Delta-1}/\Delta$. Marcus–Spielman–Srivastava IV supply such graphs for every $\Delta\ge 3$ and every $n$. A parallel edge has its own coordinate. For left and right vertex sets $U,T$, subtract the constant parts of their indicator vectors and apply the spectral bound to get $$
\left|e(U,T)-\Delta|U||T|/n\right|\le\lambda\Delta\sqrt{|U||T|}.
$$ Put $z=(\lambda/\theta)^2$ and choose the constant $\Delta$ large enough that $\lambda/\sqrt{\delta_b}<\theta$, $z<\min(1/2,\eta/4)$, and $2/\Delta<\kappa$. The expander also appears in MSTW Theorem 5.3. Their Definition 5.4 describes AEL. Marcus–Spielman–Srivastava IV, Theorem 1.1, MSTW, Section 5.
Put $a_s=\lceil\alpha_s\Delta\rceil$, $\widehat\alpha_s=a_s/\Delta$, and $k_0=\Delta-a_X-a_Z>0$. Over $\mathbb F_{2^b}$ with $2^b\ge\Delta$, take Reed–Solomon codes $D\subset C$ at the same $\Delta$ distinct evaluation points, of dimensions $a_Z$ and $\Delta-a_X$. The pure stabilizers are $D$ in sector $X$ and $C^\perp$ in sector $Z$. Their normalizers $C,D^\perp$ have minimum field-symbol weights $a_X+1,a_Z+1$. The first lower bound is the polynomial root bound. For the second, any $a_Z$ columns of a generator matrix of $D$ are independent by the Vandermonde determinant. The Singleton bound gives equality in both cases.
Expand field symbols in dual binary bases so the binary dot pairing is the trace of the field pairing. For a field-linear code, trace orthogonality is equivalent to field orthogonality. A nonzero field pairing with some word ranges over the whole field when that word is multiplied by field scalars, so one scalar multiple has nonzero trace. The binary inner length is $m=b\Delta$ and the number of inner logical coordinates is $bk_0$.
Take $bk_0$ copies of the base code and bundle corresponding coordinates. The bundled base retains rate $R_b$ and has pure logical block distance at least $\delta_b n$, since a nontrivial logical label has a nontrivial component in some copy. At each left vertex, encode its bundled label using linear sections of the inner pure normalizers modulo their pure stabilizers. The quotient pair is dual under the binary dot product: the elements of $N_X$ annihilating $N_Z$ are exactly $N_Z^\perp=S_X$, and the same reasoning works in the other sector. Choose dual bases on the two sections so they preserve the pairing of bundled labels.
In each sector append the local inner stabilizers to the section images of the bundled base stabilizers. These generators commute by the inner orthogonality and the section pairing. A vector commuting with the opposite-sector inner checks decomposes uniquely into a section label and an inner stabilizer in each left block. It also commutes with the lifted base checks precisely when its bundle of labels is a base normalizer. Such a vector is a global stabilizer precisely when its labels are a base stabilizer. This identifies the global logical quotients with those of the bundled base, so the rate is $(k_0/\Delta)R_b$.
Place the $\Delta$ field-symbol positions of each left block on its incident edges and regroup the edge symbols by right vertex. This is a coordinate permutation and gives $n$ right blocks of $m$ bits each. A pure normalizer with nonempty left and right block supports $U,T$ has at least $\widehat\alpha_s\Delta$ nonzero edges incident on each vertex of $U$, giving $$
(\widehat\alpha_s-|T|/n)|U|\le\lambda\sqrt{|U||T|}.
$$ For a pure logical, $|U|\ge\delta_b n$, so $|T|/n\ge\widehat\alpha_s-\lambda/\sqrt{\delta_b}>\widehat\alpha_s-\theta$. Conversely, for a pure stabilizer with $|T|/n\le\tau_s=\widehat\alpha_s-\theta$, the same inequality gives $|U|\le zn$. For nonempty $U$, divide by $\theta\sqrt{|U|}$ and use $|T|\le n$. Thus the number of these stabilizers in either sector, including zero, is at most $$
D_0=2^{n h_2(z)+N z},\qquad N=mn.
$$ There are at most $2^{n h_2(z)}$ left supports of size at most $zn$ and at most $2^{m\lfloor zn\rfloor}$ vectors supported on any one. The binary ball estimate follows by observing that under the Bernoulli-$z$ product law each word of weight at most $zn$ has probability at least $2^{-nh_2(z)}$ for $0<z\le1/2$.
Let $d_{0,s}=\lceil\tau_s n\rceil$. For an exact right support $J$ of size $j$, specify the vector on any $\max(0,j-d_{0,s}+1)$ blocks of $J$. There are at most $2^{m\max(0,j-d_{0,s}+1)}$ specifications. Two normalizers with the same specification differ by a normalizer of block weight at most $d_{0,s}-1<\tau_s n$, which must be a stabilizer. Subtracting a fixed representative in a nonempty class injects that class into the set counted by $D_0$. The number of normalizers of exact support $J$ is therefore at most $D_0\,2^{m\max(0,j-d_{0,s}+1)}$. This includes stabilizers and covers $j=0$.
Independently take uniform $A_i\in\operatorname{GL}_m(\mathbb F_2)$ on the right blocks. Use $A_i$ in sector $X$ and $A_i^{-\mathsf T}$ in sector $Z$. The pairing is preserved and each marginal block action is transitive on nonzero vectors. For a fixed binary vector $e$ of right support $J$, its inverse image is uniform among $(2^m-1)^j$ vectors of that support. With $N_s',S_s'$ the final spaces, $$
\Pr[e\in N_s']\le D_0\,2^{-m\min(j,d_{0,s}-1)}(1-2^{-m})^{-n}.
$$ Membership in $N_s'\setminus S_s'$ is impossible when $j<d_{0,s}$. For larger $j$, the minimum in this upper bound is $d_{0,s}-1$. Enlarge $b$ so that $m\ge2$ and $$
\frac{h_2(z)-\log_2(1-2^{-m})}{m}<\frac{\eta}{4},
\qquad
\frac{\log_2 3}{m}<\eta .
$$ Increasing $b$ preserves the block-distance bound for the bundled base. For large enough $n$ that $1/n<\eta/4$, we have $(d_{0,s}-1)/n\ge\alpha_s-\theta-1/n$. The total loss per bit is less than $\eta$. The resulting uniform bounds are $$
\begin{aligned}
\Pr[e\in N_s'] &\le 2^{-N(\min(\alpha_s,j/n)-\eta)},\\
\Pr[e\in N_s'\setminus S_s'] &\le 2^{-N(\alpha_s-\eta)} .
\end{aligned}
\tag{1}
$$
The rate is at least $(1-\xi)(1-\alpha_X-\alpha_Z-\kappa)$ by the rounding bounds on $a_s$. A lifted base row meets at most $w_b$ left blocks, hence has weight at most $mw_b$. Each binary column lies in at most $bk_0w_b$ lifted rows and $m$ local inner rows in its sector. Regrouping permutes the columns. The final block maps multiply the row and column weight upper bounds by at most $m$, since each output coordinate combines at most $m$ old coordinates. As $bk_0\le m$, $w=m^2(w_b+1)$ bounds both final matrices. All choices determining $w$ precede the limit in $n$.
2. Distance and the frozen statement
For Claim 2 choose $\alpha_s>h_2(\delta_s)$ with $\sum_s\alpha_s<1$ and $\sum_s(\alpha_s-h_2(\delta_s))<\varepsilon/3$. Choose $\eta>0$ strictly below both entropy gaps, and $\xi,\kappa>0$ with sum less than $2\varepsilon/3$ and $\kappa<1-\alpha_X-\alpha_Z$. From (1) and the binary ball bound, the probability of a pure logical of weight at most $\delta_sN$ in either sector is at most $$
\sum_{s\in\{X,Z\}}2^{-N(\alpha_s-\eta-h_2(\delta_s))},
$$ which tends to zero. The rate and locality bounds hold for every choice. This proves Claim 2, and taking $\delta_X=\delta_Z=\delta$ gives Claim 1.
For the frozen existential take the integer $k$ equal to the encoded dimension and $d=\lceil\delta N\rceil$. The CSS rank formula gives $k+\operatorname{rank}(H_X)+\operatorname{rank}(H_Z)=N$. The two pure-quotient exclusions give the distance inequalities for every vector, and the constructed generators supply the required row and column bounds. The unbounded lengths supply a witness for each lower cutoff.
3. Paired normalizer collisions and joint Pauli hashing
In a block where both components of a fixed pair $(x,z)$ are nonzero, the inverse action is $(x,z)\mapsto(A^{-1}x,A^{\mathsf T}z)$. Its orbit consists of the nonzero pairs with the same pairing $\langle x,z\rangle$. For pairing one, use a basis consisting of the first vector and a basis of the covector's kernel. For pairing zero, extend the first vector to a basis of the kernel, then adjoin a vector on which the covector is one. In each case these coordinates put the pair in a fixed form, proving transitivity. For each possible nonzero first component, there are $2^{m-1}$ second components for pairing one and $2^{m-1}-1$ for pairing zero. With $m\ge2$, the orbit has density at least $1/3$ in the product of the marginal nonzero spaces. In a block with a zero component the paired orbit equals the product of its marginal orbits. Since the blocks are independent and each orbit is sampled uniformly, any event under the actual coupled inverse action has probability at most $3^n$ times its probability under independently randomized sectors on the same supports.
For a fixed pair let $j_Z$ be the number of right blocks of its $Z$ component. Applying the two lines of (1) in the independent product, then accounting for the factor $3^n$, gives $$
\Pr[x\in N_X'\setminus S_X',\ z\in N_Z']
\le 2^{-N(\alpha_X+\min(\alpha_Z,j_Z/n)-3\eta)}.
\tag{2}
$$ The symmetric estimate holds with $X,Z$ interchanged. The normalizer bound in (1) is needed for the sector in which the difference may be a stabilizer.
For $R<1-H(X,Z)$ choose positive $\alpha_X,\alpha_Z$ with $$
\alpha_X>H(X\mid Z),\qquad \alpha_Z>H(Z\mid X),\qquad
H(X,Z)<\alpha_X+\alpha_Z<1-R .
\tag{3}
$$ These choices exist since $H(X\mid Z)+H(Z\mid X)\le H(X,Z)$. For any sum in $(H(X,Z),1-R)$, add half the excess over the sum of the conditional entropies to each conditional entropy. Take $\xi,\kappa$ small enough that the rate bound exceeds $R$.
For any fixed small $u>0$, let $\mathcal T$ be the set of pairs of length-$N$ words whose joint empirical distribution is within a fixed sufficiently small tolerance of the Pauli law. The probability of the complement is exponentially small by concentration of the four empirical frequencies. The set has cardinality at most $2^{N(H(X,Z)+u)}$, and for each fixed $z'$ the number of $x'$ with $(x',z')\in\mathcal T$ is at most $2^{N(H(X\mid Z)+u)}$. The analogous bound holds for a fixed $x'$. Indeed, within a joint type the total and conditional counts are at most $2^{NH_{\rm type}(X,Z)}$ and $2^{NH_{\rm type}(X\mid Z)}$ by the multinomial bound. Summing over the polynomially many joint types and using continuity gives the stated slack for sufficiently large $N$.
The joint decoder picks any word in $\mathcal T$ consistent with both measured CSS syndromes if one exists. For a fixed true error $(x,z)\in\mathcal T$, failure implies that a competitor $(x',z')\in\mathcal T$ has a same-syndrome difference in both normalizers with a nontrivial logical in at least one sector. A difference in the two stabilizers acts as a scalar on the encoded state.
Consider competitors with nontrivial $X$ difference. If the number of blocks of $z+z'$ is at least $\alpha_Zn$, sum (2) over the entire typical set to get a bound of $$
2^{-N(\alpha_X+\alpha_Z-H(X,Z)-3\eta-u)}.
$$ For the other competitors, fix the exact block support $J$ of $z+z'$. Outside $J$, the competitor's $Z$ component equals the true $z$. There are at most $2^{m|J|}$ possibilities for $z'$ and then at most $2^{N(H(X\mid Z)+u)}$ for $x'$. The factor $2^{m|J|}$ cancels the matching support term in (2). Summing over at most $2^n$ possible supports $J$ gives a bound of $$
2^{-N(\alpha_X-H(X\mid Z)-3\eta-u-1/m)}.
$$ The other logical sector contributes the bounds with $X,Z$ interchanged. The gaps in (3) are strictly positive. Choose $\eta,u$ small enough to make all exponents positive, using $1/m<\eta$ from the earlier choice of $b$. These estimates are uniform over true errors in $\mathcal T$. Adding the probability of an atypical true error and averaging gives an ensemble-mean failure probability $\exp(-\Omega(N))$. Markov's inequality gives exponentially small failure with exponentially high probability, at a possibly smaller exponent. This proves Claim 3.
Verification
The construction specializes MSTW's rate-one random inner encoding in Proposition 3.2 and Lemma 3.3, and uses their AEL degeneracy method in Lemma 5.5 and Proposition 5.6. The paired orbit and the conditional candidate count address mixed errors.
I searched for binary CSS qLDPC GV, asymmetric CSS qLDPC distance, and CSS qLDPC hashing under joint decoding, including the September–November 2026 preprints. Matsumoto's Theorem 2 and Corollary 3 give the asymmetric CSS GV curve for dense codes. Zhang's Theorem 1.1 gives binary CSS GV proximity at discrete rates with a linear-size encoder. Kasai's Corollary 5.2 gives CSS GV attainment for 56 degree triples, and Section 2.4 describes generally dense compressed physical checks. Jeronimo–Ma–Shagrithaya's Lemma 13.1 gives the vector-alphabet extension, while Theorem 14.2 and Remark 15.3 measure distance in folded coordinates. Arbitrary binary support patterns on folds have a profile count exponential in the bit width, outside the bounded-entropy hypothesis of their Definition 14.1. Lo obtains the full hashing rate using correlations and dense CSS checks in Section 3, Eq. (15) and Subroutine A. MSTW's Corollary 3.9 obtains it for general sparse stabilizers. Mercanoglu–Anastasopoulos–Pradhan's Section 4 treats separate decoding with sparse extended representations. I did not find a physically sparse binary CSS construction for either the entire asymmetric GV region or the full joint-entropy hashing rate in these sources.
The accompanying Lean shortening lemma formalizes the finite fixed-support counting step for all normalizers, including the exact-support exponent. Both lemmas passed leanchecker and use only propext, Classical.choice, and Quot.sound. The first missing Lean dependency is an arbitrarily high-rate positive-distance binary CSS base family. The existing problem certificate proves the identity code and bounds on its rate and distance. I found no imported Lean equivalent of Leverrier–Zémor's Theorem 10 in the project or Mathlib. The precise required interface is the frozen predicate at coarser parameters. For every $0<\xi<1$ there exist $w_b$ and $\delta_b>0$ such that above every length cutoff there is a witness of ExistsQLDPCCSSCode n k d w_b with $k\ge(1-\xi)n$ and $d\ge\delta_b n$. Further dependencies are an all-length bipartite mixing construction, nested Reed–Solomon spaces with dual distance and trace expansion, and the concatenation and reblocking of the frozen matrices. The repository supplies reedSolomonEval, reedSolomon_isLinearMDSCode, and sum_choose_mul_exp_le_one in Known/Coding.lean. The full frozen theorem awaits Lean certification. A second Codex agent checked the mathematical argument against the frozen matrix predicate, including the all-length graph theorem, the shortening count, and the decoding argument with both Pauli components. The agent also exhaustively checked the orbit counts for blocks of two and three bits.
Dead ends
Independent pure-sector randomization would lose commutation. The paired inverse action preserves commutation but is dependent on a block with both components nonzero, since their pairing is invariant. Comparing each orbit with the product of its marginals bounds the resulting loss by $\log_2(3)/m$ in the exponent. Applying the logical bound in both sectors also misses collisions where one difference lies in its stabilizer. The all-normalizer estimate and conditioning on a support cover these collisions.
Taking the rate slack to zero along this construction makes the degree bound depend on the shrinking gap. The frozen statement fixes the gap before taking the blocklength to infinity.
References
- 2026-11-28-claude-opus-5-5-preprint-verification.md and 2026-12-02-codex-open-codes.md.
- T. Mittal, S. Srivastava, M. Tulsiani, and M. Wootters, “Random quantum LDPC codes approaching the Gilbert–Varshamov bound.” arXiv:2610.02648v1.
- A. Leverrier and G. Zémor, “Efficient decoding up to a constant fraction of the code length for asymptotically good quantum codes.” arXiv:2206.07571v2.
- A. W. Marcus, D. A. Spielman, and N. Srivastava, “Interlacing families IV: Bipartite Ramanujan graphs of all sizes.” SIAM J. Comput..
- R. Matsumoto, “Two Gilbert–Varshamov-type existential bounds for asymmetric quantum error-correcting codes.” Quantum Inf. Process..
- F. G. Jeronimo, X. Ma, and N. Shagrithaya, “From random quantum codes to explicit qLDPC codes via local properties.” arXiv:2609.40252v1.
- K. Kasai, “Finite-degree quantum LDPC codes reaching the Gilbert–Varshamov bound.” arXiv:2603.24588v3.
- R. Y. Zhang, “Linear-time encodable quantum codes near the CSS GV bound.” arXiv:2610.01277v1.
- H.-K. Lo, “Proof of unconditional security of six-state quantum key distribution scheme.” Quantum Inf. Comput..
- G. Mercanoglu, A. Anastasopoulos, and S. S. Pradhan, “Achievability of CSS codes performance limits over Pauli channels under separate ML decoding with bounded graphical complexity.” arXiv:2611.02339v1.
Source: attempts/quantum-ldpc-rate-distance/2026-12-02-codex-solve-first.md