Manuscript Offprint
arXiv:2610.10277MacKay-Neal Codes Achieve Capacity under MAP Decoding
Abstract
Statistical-mechanical analyses predict that MacKay–Neal codes can achieve channel capacity at fixed degrees. We prove this prediction for the uncoupled MN socket ensemble for every fixed integer . For each binary-input memoryless symmetric channel of capacity strictly greater than , the ensemble-average block error probability under maximum a posteriori (MAP) decoding is , where N is the transmitted blocklength. The actual transmitted rate converges to . The result includes both punctured and transmitted variables and does not condition the sparse square matrix on invertibility. The proof establishes an entropy inequality for six bits subject to even parity by an analytic argument that reduces the domain by symmetry, restricts its interior stationary points, where both partial derivatives vanish, to the diagonal, and controls the resulting scalar functions by explicit polynomial bounds. Exact configuration counts then bound the conditional entropy on the binary symmetric channel. A standard comparison by mutual information extends the entropy bound to general symmetric channels; independent output erasures and a minimum-distance estimate for the transmitted code yield the bit and block error bounds.
1 Introduction
Sparse graphical descriptions permit codes with dense effective constraints while retaining a bounded number of edges per transmitted bit. MacKay–Neal (MN) codes realize this possibility by puncturing one class of variables, meaning that those variables are omitted from transmission [1, Sec. VI-B]. A rigorous early capacity result uses degrees that increase as the operating point approaches capacity [1]. Statistical-mechanical analyses subsequently predicted capacity achievement at fixed small degrees [2, 3, 4]. The question considered here is whether this prediction holds for the independently matched, uncoupled ( ) ensemble, with the degrees prescribed before the blocklength grows.
Theorem 1. Fix an integer and set . Let tend to infinity through values for which is integral, and sample the independent MN socket ensemble of Definition 1. For every fixed binary-input memoryless symmetric channel with capacity , the ensemble-average conditional entropy of the full extended word is . The ensemble-average transmitted-bit MAP error and extended-word block-MAP error are both . The actual transmitted rate converges to in and in probability. If , the limit inferior of the ensemble-average transmitted-bit MAP error is at least , where is the inverse binary entropy on . Constants in the upper bounds may depend on and .
The theorem makes the fixed-degree prediction rigorous for the specified ensemble. Its block error assertion concerns the full word, including punctured variables. The use of a uniform extended-code prior allows every configuration to be included, without assuming that the sparse square matrix is invertible. The conclusion holds for each fixed channel and concerns MAP decoding. The equality case is not covered.
1.2 Relation to previous results
The early MN construction uses a sparse source produced, for example, by reversing arithmetic coding, and treats the source and noise vectors together in the decoding problem [1, Sec. VI-A]. Its capacity argument applies the typical-set bounds of Section II, with the degree chosen according to the gap to capacity [1, Thm. 2 and Sec. VI-B]. The present ensemble instead uses the uniform extended-code prior and prescribed fixed degrees. Fixed-degree predictions on the binary symmetric channel (BSC) were subsequently obtained under the assumption of replica symmetry [2, Sec. IV-A]. The parameters in that analysis correspond to here. A later magnetization enumerator argument uses the Nishimori identity [6], in its interpretation as inference using the actual prior distribution and channel law [7, Sec. 5.2], together with an additional assumption that the enumerator is independent of the true noise rate [3, Sec. V, Eqs. (17)–(19)]. An extension to general symmetric channels obtains the capacity threshold when the two standard solutions exhaust the locally stable solutions [4]. Theorem 1 establishes the corresponding capacity prediction for the specified ensemble by direct finite-length bounds.
Turning these predictions into a rigorous capacity theorem requires controlling all competing candidates consistent with the received word, without relying on the assumed structure of the solutions. The Nishimori condition means that the prior distribution and channel law used for inference match the actual model, and supplies identities underlying the earlier analyses [6][7, Sec. 5.2]. This condition alone does not establish the replica-symmetric ansatz or show that the solutions considered exhaust those needed for the analysis [2, 3, 4].
Rigorous capacity achievement at bounded graphical complexity on general binary-input memoryless symmetric (BMS) channels is already known for Hsu–Anastasopoulos (HA) codes [8]. The published construction concatenates an outer Gallager low-density parity-check (LDPC) code with a low-density generator-matrix (LDGM) code of rate one, for and sufficiently large even [8, Sec. III-C and Thm. 3]. The sufficient degree bound is uniform over design rates below a fixed rate upper bound [8, Thm. 2 and p. 999]. Consequently, bounded degree and capacity achievement under block maximum-likelihood (ML) decoding on general BMS channels are established features of HA codes. The dual HA description of the present MN family instead has an outer LDPC component and an inner LDGM component [9, Sec. 3.2]; these prescribed degrees fall outside the above hypotheses. The same reference describes the MN capacity statement as a conjecture supported by replica calculations [9, Sec. 3.1].
The role of duality also depends on the channel and the error criterion. On the binary erasure channel (BEC), let denote the average extrinsic bit-MAP erasure probability of a length-n binary linear code . The duality identity relates complementary erasure probabilities [10, Thm. 4]. Together with the area identity [11, Thm. 1], [12, Sec. III], this transfers bit-MAP capacity achievement to the dual: if a sequence has rates converging to and vanishing bit-MAP error at every erasure probability below , its dual has vanishing bit-MAP error at every erasure probability below . Thus duality does provide a capacity-transfer argument for this channel and error criterion. For a uniform linear-code input, the ordinary bit-MAP error on the BEC is : a bit is ambiguous only if its own observation is erased, and an ambiguous bit has posterior probabilities 1/2, 1/2. For such a sequence , vanishing bit error below 1 - r therefore gives there. The area identity and bounded convergence [13, Thm. 1.6.7] imply . Since is nondecreasing, this forces at each . Applying the duality identity at proves the stated bit-MAP conclusion for at .
For general BMS channels, the known channel-duality relation involves a different output model. In particular, the dual of a BSC has nonorthogonal pure-state quantum outputs [10, Sec. III-B]. The classical BMS theorem for HA codes therefore cannot be applied to that dual channel to obtain the present MN theorem directly.
Block-ML capacity achievement is not preserved by code duality in general, even on the BEC. To see this, let be a capacity-achieving sequence of binary linear codes with limiting rate in and append a fixed-zero coordinate, giving . This preserves its asymptotic rate and block error probability. However, contains an independent uncoded bit. Its block-ML error probability is at least on a BSC of crossover probability , and at least on a BEC of erasure probability . This example concerns block error and is consistent with the BEC bit-MAP transfer above.
These distinctions explain why the prescribed low-degree family and the block-error conclusion require additional analysis. Moreover, MN-HA code duality concerns the transmitted code . Recovering its punctured variables as well requires the injectivity of A, which is established with high probability in Lemma 8. The contribution of Theorem 1 is the rigorous result for the specified uncoupled degree family, including extended-word block decoding.
Compound LDGM–LDPC constructions also give source- and channel-coding optimality and applications to binning [14]. The BSC theorem in the published article proves the existence of suitable finite degrees for each rate-noise pair. Its inner LDGM ensemble chooses neighbors independently for each output node and has output degree at least four [14, Secs. III-A–III-B and Thm. 2]. It therefore does not establish the prescribed doubly regular degree-three case treated here.
For spatially coupled MN ensembles, the capacity threshold on the BEC was established using positivity of the density-evolution potential and threshold saturation [15]. That result concerns the same degree family, with sufficiently large coupling width and length, and characterizes iterative decoding through density evolution. A recent theorem establishes capacity achievement under the sum-product algorithm (SPA) on BMS channels [16, Thm. 1.1]. The present result bounds finite-length MAP error probabilities for the independent uncoupled ensemble. A known coupled-to-uncoupled entropy interpolation theorem for LDPC ensembles [17, Sec. III-A and Thm. 2] uses a single edge type. It does not directly apply to checks with three sockets of each of two separately constrained types. Our proof controls the uncoupled ensemble through its exact enumerator.
Counting MN candidates requires tracking both punctured and transmitted variables. Let a, b denote the respective mean fractions of sockets whose values are one at a check. The exponent in the candidate count depends on both variables. Exact configuration counts are available from typical-set analysis [1, Sec. VI-B] and multi-edge-type LDPC weight enumeration [18]; exact socket enumeration has also been used to study HA/MN distance [19]. The additional requirement here is to bound this exponent by zero for every admissible a, b under the capacity condition. Obtaining an exact counting formula therefore leaves an inequality to be proved before capacity achievement at the prescribed small degrees follows.
We reduce this requirement to an entropy inequality for a single check. In the ensemble, each check has three sockets from each variable class, giving an even-parity constraint on six bits. Lemma 1 bounds their maximum entropy at the prescribed mean fractions in a form compatible with the capacity condition. Combined with the configuration count, it bounds the ensemble-average number of candidates by a polynomial in the blocklength N for the appropriate range of noise weights. Changing leaves the check structure unchanged, so the same local inequality applies to every fixed in the stated family. The passage from BSC conditional entropy to general BMS conditional entropy then uses the established more-capable order, which compares mutual information for every input distribution [20]: among equal-capacity BMS channels, the BSC has the smallest mutual information for every input distribution [21, App., Lemma 7.1 and Prop. 7.1].
Proving the local inequality requires treating unequal mean fractions. Symmetry under exchanging a, b alone does not imply that a maximum lies on the diagonal . Appendix A studies the difference between the two sides of the inequality, reduces its domain using symmetry and boundary estimates, and proves that all interior stationary points in the reduced domain lie on the diagonal. Explicit polynomial and power-series bounds then settle the remaining one-variable problem. Entropy-log-partition duality and the covariance identities for finite exponential families [22, Secs. 3.5–3.6], coefficient-ratio monotonicity for power-series quotients [23, Lemma 1], and range bounds from Bernstein coefficients [24, Sec. 3] are established tools. The additional parts here are the stationary-point comparison and the proof of the inequality for the six-bit even-parity constraint.
An entropy bound obtained from candidate counts still needs to be converted into a decoding-error bound. Small uncertainty about the full word alone does not imply small bit error: a posterior uniform on the all-zero and all-one words has entropy one bit but bit-MAP error 1/2 at every coordinate. We use the capacity gap to erase channel outputs independently, and bound bit-MAP error through the entropy decrease when the erased observations are restored in Lemma 7. This uses the coordinate-output comparison underlying the generalized area theorem [12, Sec. II and Thm. 1]. Lemma 8 establishes a minimum-distance bound for the transmitted code and uniqueness of the punctured word; Lemma 9 then yields the block-MAP error bound for the full extended word.
1.3 Proof outline
Let be the transmitted blocklength, let be the design rate, and let be the capacity of the channel . With the degree fixed, we aim to show that the ensemble-average block-MAP error tends to zero as grows whenever . The proof first counts competing candidates, then bounds conditional entropy, transmitted-bit error, and extended-word block error in turn.
The candidate count starts from a single parity check. Each check has three sockets on the punctured-variable side and three on the transmitted-variable side. Section 3 bounds the entropy of the configurations satisfying this even-parity constraint in terms of the fractions of ones on the two sides. Varying leaves the three sockets of each type unchanged, so the same local inequality serves every degree in the stated family. Appendix A gives its analytic proof; the coefficient-ratio and Bernstein estimates cited above are used there to control its maximum.
We first consider the BSC. Write U for the punctured word, V for the transmitted word, Y for the received word, and G for the sampled graph. Our target is the remaining uncertainty about the full word, . The noise-syndrome identity in Lemma 3 expresses this uncertainty using noise and auxiliary-vector pairs with the same syndrome, without assuming either sparse matrix to be invertible. Within each fixed Hamming-weight class, the BSC noise is uniform. After also fixing the syndrome, the corresponding pairs are equiprobable, and their number determines the conditional entropy through its logarithm.
Combining exact configuration counts [18] with the local inequality bounds the ensemble-average candidate count by a polynomial in for noise weights satisfying the capacity condition. Its logarithm is . Jensen's inequality [25, Thm. 2.6.2] and a bound on the exponentially rare remaining noise weights [26] then give in Lemma 4. The known mutual-information comparison with an equal-capacity BSC [21, Lemma 7.1] uses the entropy convexity underlying Mrs. Gerber's lemma [27]. Successive output replacements [28, Sec. I] extend this comparison to correlated code coordinates. It therefore transfers this entropy bound to any BMS channel with .
Converting this bound to bit error needs an additional argument. A posterior uniform on the all-zero and all-one words has entropy one bit, yet every coordinate has MAP error 1/2. We use the positive capacity gap to obtain more information: let replace each channel output independently by an identifiable erasure with probability , chosen independently of so that still holds. The same entropy bound applies even after these erasures.
Restore the erased observations one at a time. If the average bit-MAP error on the original channel remained bounded away from zero, these observations would decrease the conditional entropy, on average, by an amount proportional to N. After averaging over G, this decrease is bounded by the uncertainty before restoration. Lemma 7 makes this comparison quantitative, using the entropy chain rule and mutual-information concavity [25, Sec. 2.5 and Thm. 2.7.4], as in the coordinate-output comparisons underlying the generalized area theorem [12, Sec. II and Thm. 1]. It yields the transmitted-bit bound , where the overbar denotes averaging over the sampled graph.
To pass to block error, Section 5 uses the minimum distance of the transmitted code. Lemma 8 shows that, outside a set of graphs of probability , for a constant depending only on the fixed degree. Select the codeword nearest in Hamming distance to the vector of bit-MAP decisions. An incorrect selection requires at least wrong bit decisions, so the bit-error bound and Markov's inequality [13, Thm. 1.6.4] control its block error without independence assumptions on the decisions. Block-MAP has no larger error than this decoder. On the same graphs, A is injective, so V uniquely determines U. Lemma 9 therefore gives for the full pair .
The actual transmitted rate also needs to be established. The entropy bounds imply that converges to in , without a prior rank assumption on the defining matrices. If , the binary Fano inequality [25, Sec. 2.10] gives a strictly positive asymptotic lower bound on the average bit-MAP error. Together, the two sides identify the capacity threshold for the actual rate; the equality case remains outside the statement.
2 Ensemble and notation
All matrices and vector spaces are over . Write for Hamming weight and for Hamming distance [5, Sec. 1.4]. Shannon entropies and channel capacities use the standard definitions [25, Chs. 2 and 7] and are measured in bits. We use the BMS-channel convention of [5, Sec. 4.1]: channel uses are independent conditional on the inputs, and exchanging the two input symbols corresponds to a symmetry of the output law. Its capacity is attained by the uniform binary input. The natural-log binary entropy is , with ; thus .
Definition 1 (MN socket ensemble with two edge types). Fix , , and integers with . We use the socket-based multi-edge-type construction [5, Sec. 7.1]. A socket is an edge endpoint assigned to a node before matching. An edge type specifies corresponding socket classes on the variable and check sides; only sockets of the same type may be matched. The uniform matchings for distinct edge types are independent. The edge-degree vectors are for punctured variables, for transmitted variables, and for every check. For edge type 1, uniformly match the sockets of variable nodes to three sockets at each of check nodes. For edge type 2, independently and uniformly match three sockets at each of variable nodes to three more sockets at each check. Let and be the respective incidence matrices, with parallel edges added modulo two, and write . Define the extended and transmitted codes by
The pair is uniform on , and V is sent through . The decoder knows G.
For each , the set of corresponding punctured words is a coset of ker A and has the same cardinality, so V is uniform on . If B is invertible, the constraint is the usual MN encoding relation [9, Sec. 3.1]. Definition 1 also specifies the prior and transmitted code when B is singular. In that case, U is uniform on the feasible subspace , which can be a proper subspace of : each feasible u has exactly compatible transmitted words. Thus K counts punctured coordinates, whereas is the number of independent information bits in the transmitted code. We prove below that converges to . Socket degrees refer to the configuration before reduction modulo two; the weights of the binary matrix rows or columns can be smaller.
Definition 2 (Error probabilities and actual rate). Following the bit and block decision criteria for MAP decoding [5, Secs. 1.5 and 4.1.6], for fixed G, let
An overbar denotes expectation over . The actual transmitted rate is , the standard code rate applied to the transmitted projection [5, Secs. 1.4 and 1.7].
Conditional entropies at a fixed graph are averaged over graphs only when an explicit is written. MAP means maximum a posteriori decoding under the specified uniform prior and the matched channel law. Thus block-MAP decoding is also maximum-likelihood decoding of the extended code, with a fixed convention for ties. The corresponding success event implies correct recovery of the transmitted word.
3 An entropy bound for an even-parity check
A socket is active when the corresponding coordinate of the candidate vector being counted has value one. The local check polynomial records how many sockets of each type are active while the total parity is even. Its entropy bound will control the exact configuration enumerator, in the multi-edge type counting framework of [18]. Define
The infimum is understood in the extended real sense, with . In particular, for . For feasible means, is the maximum entropy, in natural-log units, of an even-parity six-bit vector with marginal means on the first three coordinates and on the last three, by entropy-log-partition duality [22, Sec. 3.6 and Thm. 3.4]. The proof uses the variational expression (5) directly; infeasible pairs cause no difficulty for the upper bounds.
Each even-parity six-bit vector contributes one monomial to : the exponents count its ones in the two triples, and the coefficient counts the vectors with those counts. Thus counts admissible socket profiles over all checks. The variational bound (5) controls these coefficients because, for positive , any one coefficient times its monomial is at most . Taking the infimum of that upper bound does not require it to be attained. The difficulty in Lemma 1 is to obtain a bound uniform in the two different marginal means; the separate constraints on the two edge types must both be retained.
Lemma 1. For all ,
The analytic proof is given in Appendix A. Symmetry and boundary estimates reduce the problem to a compact square. An entropy-derivative comparison uses coefficient-ratio monotonicity [23, Lemma 1] to force every interior stationary point to lie on the diagonal. On the diagonal, a specific substitution and a second-derivative bound, using positive Bernstein coefficients [24, Sec. 3], handle small marginal means; a power-series bound handles the remaining interval. The polynomial identities and rational bounds used in this argument are displayed explicitly.
Lemma 2. For and ,
Proof. If , the claim is immediate. Otherwise, for fixed , the left side is piecewise affine in . Its slope is for and for . Its maximum on is attained at , where it becomes the difference between the two sides of (6). Apply Lemma 1.
4 Conditional entropy and decoding on BMS channels
We first prove a finite-length entropy bound on the BSC, using noise vectors classified by their weight and the configuration enumerator. A known more-capable comparison then extends the bound to every BMS channel of the same capacity. The conversion from joint entropy to bit-MAP error uses an independent erasure perturbation. Throughout this section, Shannon entropies and capacities are in bits, whereas and use natural logarithms. The ensemble, the variables , and the notation are those of Section 2.
The statistical-physics interpretation uses Bayesian inference with the actual prior distribution and channel law: a valid candidate has weight equal to its channel likelihood, and its energy is minus the natural logarithm of that likelihood. Summing these weights gives a partition function, while the posterior is the corresponding Gibbs distribution [7, Sec. 5.2]. Matching the prior and the channel law is the coding-theoretic form of the Nishimori condition [6], used in the earlier MN analyses [2, Sec. IV], [3, Sec. V]. Here we control the posterior uncertainty by conditioning BSC noise on its weight. After also fixing the syndrome, all admissible auxiliary-vector and noise pairs have the same likelihood, so their number determines the conditional entropy exactly. The noise-syndrome identity below makes this conditioning precise. This counting argument supplies an upper bound without requiring a full free-energy formula.
4.1 A noise-syndrome identity without rank assumptions
The entropy identity below replaces uncertainty about a codeword by uncertainty about noise and an auxiliary punctured vector. This makes the counting problem depend only on the sparse linear map . The vector in the identity is newly sampled; it is not the actual punctured word . Linearity and the uniform extended-code prior make the two conditional entropies equal even when or is singular.
Lemma 3. Fix . Let be the noise of a BSC, let be uniform on independently of , and put . If , then
Proof. Let have columns forming a basis of , and write . The rows of span . Indeed, annihilates precisely when is in the row space of , or equivalently when for some . Thus is a possibly redundant parity-check matrix for the transmitted code. For invertible , this agrees with the usual MN-HA dual description [9, Sec. 3.2]; the derivation above also covers singular .
The random vector is uniform on im A. Hence, conditional on S, the vector T is uniform on the corresponding coset of im A, and
Since T is a function of ,
For a uniform linear-code input, the posterior noise distribution given is its original distribution restricted to the coset with syndrome , the standard syndrome-decoding description [5, Sec. 1.7.3]. Consequently . For each admissible , the punctured variable is uniform on the set of its possible punctured words, of size , also after observing . This proves (8) without an invertibility assumption on either sparse matrix.
4.2 Finite noise types on the BSC
The purpose of conditioning on the noise weight is to turn a weighted posterior into a uniform distribution on a finite set. The size of that set can then be bounded by exact socket counts. The threshold below is the BSC noise level whose capacity equals ; the positive gap makes noise weights above this threshold exponentially rare.
Let , where takes values in . For , define
Lemma 4 (BSC conditional-entropy bound). For every ,
In particular, the left side is .
Proof. Write . Conditional on , the BSC noise is uniform on the set of vectors of that weight. To count candidates with the same syndrome, we use the method for sparse codes [1, Sec. VI-B]. For a fixed vector of that weight, define
This counts pairs with the same image under the map as a given pair , after translating by .
The coefficient method for multi-edge configuration enumerators [18] gives the following exact expression:
To verify the expression directly, select the nonzero coordinates of . If and , then is even and coordinates are changed in each of the support and the complement of . Under the two independent uniform matchings, the active row sockets are uniform subsets of sizes and . The coefficient in the numerator counts exactly those subsets for which each row has even total parity. This reasoning remains valid when parallel edges cancel modulo two.
The denominator in (11) counts all possible active-socket subsets of the prescribed totals, separately for the two edge types. The numerator counts the subsets satisfying every check. Their ratio is therefore the probability that these fixed supports satisfy the graph constraints. Independence is used between the two matchings; the check events themselves need not be independent.
Put , , and . The exponent in the count of noise vectors of the prescribed weight is
with continuous endpoint conventions. Conditioning reduces entropy [25, Thm. 2.6.5], which gives the two bounds
For the first bound, consider binary variables with and , . Their conditional entropy is in natural-log units, and . For the second bound, also has mean , so .
Use the binary type-class bounds [25, Ex. 11.1.3, Eq. (11.40)]
and coefficient positivity in . Each summand in (11) is then at most
If , the exponent is nonpositive by (12) and Lemma 2. There are at most summands. Hence, for every such noise weight,
This coefficient bound holds at finite length.
The passage from counting to entropy is where the order of averaging matters. For a fixed graph and syndrome, the uncertainty within a noise class is the logarithm of its number of admissible pairs. We therefore need an average of , whereas the enumerator provides an average of . Concavity of the logarithm and Jensen's inequality [25, Thm. 2.6.2] give
The true pair is always admissible, so and the logarithm is well defined. The polynomial bound (13) thus gives logarithmic uncertainty on these classes. Revealing the weight costs at most bits, and the remaining classes are handled by their exponentially small probability. The average of the logarithmic count is bounded by the logarithm of the average count. In statistical physics these are called the quenched and annealed averages, respectively [7, Sec. 8.2.3]; equality between those averages is not assumed.
Conditional on , the pair is uniform on the set of pairs with that syndrome and noise weight. At each fixed graph, this gives the exact identity
The count is independent of the actual auxiliary vector because translation by bijects each syndrome set with the set defining . Since is a function of , the entropy chain rule first adds ; it does not assume that weight and syndrome are independent. The entropy identity, the chain rule and maximum-entropy bound for the revealed weight [25, Secs. 2.5–2.6], and Jensen's inequality therefore yield
Here implies , and on the exceptional event we used . Since , Hoeffding's inequality [26] bounds the last probability by , proving the lemma.
4.3 The comparison with an equal-capacity BSC
For a binary-input channel W, write for its mutual information under a input. A channel is more capable than another if its mutual information is at least as large for every input distribution [20].
Lemma 5 ([21, Lemma 7.1]). If W is BMS with capacity C and , then
Proof. A BMS channel is equivalent to a mixture of BSCs whose crossover is independent of the input and known to the receiver [5, Sec. 4.1.5]. Thus and, with ,
The binary-entropy convexity property underlying Mrs. Gerber’s lemma [27] states that is convex on . Applying Jensen’s inequality gives the claim. This proof applies to arbitrary crossover distributions, including channels with continuous outputs; it does not require finite-mixture quantization.
This comparison by mutual information extends to repeated memoryless channel uses. An early channel-comparison proof uses a chain-rule replacement of coordinate outputs [29, App.]; a modern formulation appears in [28, Sec. I]. We record the argument with an auxiliary variable to make its application to punctured words explicit.
Code coordinates are generally correlated. The comparison must therefore hold for every single-bit input probability, not just the uniform input used to define capacity. In the proof below, conditioning on other outputs changes the input probability at each coordinate. The single-letter more-capable inequality still applies to that conditional input probability; memorylessness of the channel, rather than independence of the code coordinates, justifies each replacement.
Lemma 6. Let have any distribution on , and let be any additional finite random variable. Transmit through memoryless channels and , with channel noises independent of given . If is more capable than , their outputs satisfy
Proof. Couple outputs of and of independently given . In the difference of the mutual informations of successive hybrid vectors, put . The memoryless property gives
Subtract from . No independence of the input coordinates is required. The channel noises here are independent of Q given X, as in the usual experiment of transmitting X through a channel.
In particular, apply these two lemmas at every fixed graph with and , and then average over . For any BMS channel with , Lemma 4 gives
The comparison is applied to joint conditional entropy; a direct ordering of coordinate MAP errors is not needed.
4.4 Independent output erasures and bit-MAP error
Sublinear joint entropy alone does not force small bit-MAP error. For example, a posterior uniform on the all-zero and all-one vectors has only one bit of entropy, but every coordinate has MAP error 1/2. The additional information needed here is that the entropy bound also holds on a slightly worse channel. Erasing some outputs creates that channel; restoring them measures how much uncertainty was associated with the individual bits. The argument that restores erased observations below uses the entropy chain rule and mutual-information concavity [25, Sec. 2.5 and Thm. 2.7.4]; we give the resulting bound for independent output erasures explicitly. Changing the observed outputs one at a time uses the approach to conditional entropy in the generalized area theorem [12, Sec. II and Thm. 1].
Lemma 7. Let be BMS with capacity , and let replace its output independently by a flagged complete erasure with probability . For any distribution of a binary vector ,
Proof. For a BMS channel, concavity of , its zero values at , and imply . Choose which coordinates are erased and restore the missing channel observations one at a time. Given the observations available just before revealing coordinate , let be the conditional probability that . The expected entropy decrease upon this reveal is .
Indeed, conditional on , the new output at coordinate is independent of the other variables and the observations already available. Thus its information about the entire vector equals its information about under the current conditional bias . The quantity is precisely the bit-MAP error before the reveal, which explains the connection between information gain and decoding error in this step. For each fixed set of erased coordinates, the expected MAP error before the reveal is at least the coordinate MAP error using all original observations, because the former observation is a function of the latter and MAP minimizes the decision error [5, Sec. 1.5]. This set is independent of the input and the original channel outputs. Sum over erased coordinates and average over this set. Each coordinate is erased with probability , proving the first inequality. Nonnegativity of conditional entropy proves the second.
For the ensemble and any fixed W with , choose
This choice spends half of the capacity gap on the artificial erasures, leaving strictly above rate . Hence the same logarithmic entropy bound applies to the worse channel. Dividing the total information gain by the positive factor in Lemma 7 then bounds the bit-MAP error on the original channel. The strict capacity gap is what makes this conversion possible.
Apply (14) to , use , and average Lemma 7 over . This proves the explicit bound
The block-MAP conclusion of Theorem 1 additionally uses the minimum-distance argument for the transmitted code in Section 5.
4.5 Actual transmitted rate and the converse
The socket counts define , but dependencies among the matrix rows can change the actual code dimension. We must control both any excess dimension of the extended code and the dimension of ker A, whose vectors have no effect on the transmitted word. The noiseless entropy bound controls the latter; a channel with capacity just above R controls the former.
Write , , and . Linear algebra gives
On the noiseless channel the full conditional entropy is exactly . Lemma 4 at therefore implies . For any fixed with , transmit through a BSC of capacity . At each graph, the memoryless-channel capacity bound [25, Ch. 7] limits the mutual information in channel uses to , so the same lemma yields
Consequently
Let first and then . This proves convergence of the actual transmitted rate to in , hence also in probability.
Finally, for any fixed BMS channel W and each graph,
The last step is the binary Fano bound applied coordinatewise, followed by entropy subadditivity and concavity of [25, Sec. 2.10 and Thms. 2.6.6 and 2.7.3]. Average over and use concavity once more. Rate convergence gives, when ,
as stated in Theorem 1.
5 Minimum distance of the transmitted code and block-MAP decoding
We next upgrade the transmitted-bit estimate to an estimate for the entire extended word. The argument uses the same MN socket ensemble and does not condition on either matrix having full rank. Throughout this section is fixed, , and
Lemma 8. There is an event , depending only on the sampled graph, such that
On , is injective and every nonzero word of has Hamming weight greater than .
Proof. See Appendix B. The low-weight/linear-weight first-moment decomposition has a precedent in HA/MN distance analysis [19, App. B]. Here we derive a socket containment bound for the small-weight region of the two-edge-type ensemble, and use Lemma 1 and the check-polynomial support for the remaining region.
A union bound over the transmitted-bit decisions gives only the upper bound for their word error probability, which is insufficient for an bit bound. The distance property in Lemma 8 supplies a stronger implication: selecting a wrong codeword requires errors in a positive fraction of the transmitted bits. The injectivity of A has a separate role: it makes each transmitted word determine its punctured variables uniquely.
Lemma 9 (From bit-MAP error to block-MAP error). For any fixed channel W and the prior specified above, let denote the ensemble-average block-MAP error probability for the full pair . Then
In particular, the transmitted-bit bound proved above for each fixed BMS channel with implies .
Proof. Fix a graph in . Let be the vector of coordinatewise MAP decisions, breaking ties in any fixed way. Choose to minimize Hamming distance to . On this graph each transmitted word determines a unique punctured word, so this defines a decoder for as well. The standard half-minimum-distance argument [5, Sec. 1.4] implies that if , then
The last inequality follows from the nearest-codeword choice: the true word V is also an admissible candidate, so . A block error therefore forces . Markov's inequality [13, Thm. 1.6.4] now uses only the expected number of bit errors, with no independence assumption on those errors. It follows that this decoder's block error probability is at most , where the latter bit error is averaged over the N transmitted coordinates. The block-MAP decoder has no larger error. On use the bound one, and then average over G and apply (17). This proves (18). The decoder comparison itself does not require channel symmetry; symmetry is used in the preceding bit-MAP bound.
6 Conclusion
The independent uncoupled MN socket ensemble attains the MAP capacity threshold for every fixed integer . The proof gives actual-rate convergence and a vanishing block error probability for each BMS channel whose capacity exceeds the design rate. It thereby establishes the fixed-degree prediction for this specific family through finite-length counting and an explicit parity entropy bound.
The local inequality (6) is independent of both and the channel. It controls the competing-word exponent and supplies the negative exponent needed to bound the minimum distance of the transmitted code. The BSC-to-BMS step uses an established information ordering; the additional error-probability arguments are necessary because that ordering alone does not compare bit or block MAP error.
Further questions include analogous local entropy inequalities for other MN degrees and sharper finite-length distance and error bounds. An analysis of efficient decoding would require additional structure, such as spatial coupling, beyond the uncoupled MAP argument given here.
A Proof of the entropy bound for an even-parity check
Put and
We prove by reducing the interior stationary points to the diagonal and then giving one-variable bounds. All the estimates below are analytic; the accompanying rational-arithmetic script is only an optional check of the displayed polynomial identities and constants.
The diagonal reduction is a statement about possible maxima, not an assumption of equal marginal means. Symmetry alone permits maxima away from the diagonal. We first settle the boundary and prove that every interior stationary point of the reduced square lies on the diagonal. A positive global maximum would then have to be among those diagonal points, which the scalar estimates exclude.
Symmetry and boundary values. Simultaneous complementation gives . For , , and , substituting , gives
Endpoint substitutions are understood as limits. If , the right side is nonpositive. Simultaneous complementation therefore reduces the remaining domain to .
The constrained-entropy interpretation of can be obtained directly from the finite variational formula for entropy [22, Sec. 3.6 and Thm. 3.4]. Averaging over permutations within each triple preserves the two means and cannot reduce entropy, by entropy concavity [25, Thm. 2.7.3], so the maximizing distribution has marginal means . When , the first triple vanishes and the last triple has even parity. Any two of its bits determine the third; subadditivity [25, Thm. 2.6.6] gives and thus . The same argument applies when . When , substituting gives . Equality is attained by choosing the last three bits independently with mean and, conditional on their parity, choosing the first triple uniformly among its four admissible vectors. Hence , and likewise .
Interior stationary points lie on the diagonal. As an infimum of affine continuous functions of , is upper semicontinuous. It is finite on , so attains a maximum there. At an interior point, the mean pair lies in the interior of the convex hull of the exponent pairs of : that convex hull contains . The probability of a socket configuration is proportional to the monomial it contributes to the check polynomial. The associated finite exponential family consequently has a unique finite minimizer , with a positive-definite covariance matrix. Thus is differentiable there and its derivatives are and . These are standard properties of minimal finite exponential families, in which the pairs of socket counts do not lie on a line [22, Secs. 3.5–3.6]; the following paragraph checks their hypotheses for this support.
To justify the finite minimizer, put and , and let be the exponent-pair support of . The interior mean pair lies strictly below the maximum support projection in every unit direction. Compactness of the unit circle gives a uniform positive gap . Since every nonzero coefficient of is at least one,
Thus the objective tends to infinity as escapes to infinity, even when the direction varies. Its Hessian, the matrix of second partial derivatives, is the covariance of the two socket counts under this weighted distribution. The support spans two dimensions, so that covariance is positive definite. At the minimizer the derivatives in vanish; hence differentiating the optimum with respect to leaves only the explicit terms and .
Write
The two mean equations give
Initially . The factors and are positive, so imply . In particular,
Define
The function is strictly decreasing by the coefficient-ratio criterion for power-series quotients [23, Lemma 1]. Indeed,
and the ratios of corresponding coefficients are . For completeness, the quotient of two positive-coefficient power series with strictly decreasing coefficient ratios is strictly decreasing: on differentiating the quotient and pairing terms with indices , each coefficient is a positive factor times . Absolute convergence on compact subintervals justifies these operations.
Differentiating and using the mean equations yields
Suppose both derivatives vanish and . Then
The ratio of the two stationarity equations would give
The left side is greater than , whereas the right side is less than , because is strictly increasing. This is a contradiction. Interchanging and excludes . Therefore every interior stationary point satisfies , hence . In view of the boundary values, it remains only to prove for .
Rational logarithm bounds. The constants used below follow from
Substitution of , respectively, and the identities and give
These are finite rational inequalities.
The diagonal for . Substitute with .
We need an upper bound on the infimum, so any positive values may be substituted. The factor five comes from the diagonal stationarity equation , whose leading relation is . The substituted values need not satisfy that equation exactly. The chosen denominator permits the remaining correction to be written as the cubic below. Since
direct substitution gives
Thus , where
We prove that f is concave on and is nonnegative at its endpoints.
First put , , and . For the curvature calculation write and . Since and ,
The entropy-deficit series used above gives . The Cauchy product of the atanh series gives
Collecting coefficients yields, for ,
(21) where
Positivity follows already by replacing the sum by one. Using and rounding the coefficients downward gives the polynomial lower bound
This polynomial is positive on . We use the standard range bound from Bernstein coefficients . The explicit identity needed here is
where the numerators of , with common denominator 1120000, are
All are positive. The basis weights are nonnegative on and sum to one by the binomial theorem. Thus is a weighted average of the positive , including at the endpoints. This proves positivity throughout the interval. Equation (21) therefore implies .
Next on , and
The two parentheses are at least 316/125 and 49984/1875, respectively. Thus , and follows.
We have . At , write and . The logarithm bounds in (20) give
Since ,
Concavity now proves throughout .
A concave function lies above the chord joining its endpoint values. The term is affine and has no effect on curvature, so the separate curvature bounds for and are sufficient for this argument. Continuity at zero extends the conclusion to the closed interval; no derivative at zero is required.
The diagonal for . Set , , and . The first four positive terms of the entropy-deficit series give
Also, the alternating logarithm bound gives
Define . On ,
Consequently
Since and , the diagonal case of (19) yields
Both diagonal intervals are now covered. If had a positive maximum on , that maximum would be an interior stationary point and hence lie on the diagonal, a contradiction. Together with the initial symmetry reduction, this proves Lemma 1 on the full domain.
B Proof of the minimum-distance estimate for the transmitted code
Proof. We must exclude small transmitted weight even when the punctured part is large. The proof therefore separates small total weight from larger total weight with small . The first region is controlled by socket containment; the second by the entropy inequality. Including also excludes nonzero invisible pairs , which is exactly the injectivity requirement for A.
Let count the pairs with and . The multi-edge coefficient enumeration [18], applied to independent uniform socket matchings, gives the exact finite-length identity
All binomial arguments here are integers. The polynomial records even total active socket count at each row, including configurations with parallel edges counted modulo two.
Small extended weights. Fix nonzero supports of respective sizes , put , and let be their total number of active sockets. If the supports give a kernel word, every occupied row has a positive even number of active sockets. In particular, is even. If is odd the event is impossible; otherwise write . For ,
All active sockets of a kernel word must lie in at most m rows. For any specified set of m rows, independence of the two matchings and uniformity within each edge type give the containment probability
Here a binomial coefficient is zero if its lower argument exceeds its upper argument. Each nonzero ratio is bounded by the indicated power by writing it as a product of sampling-without-replacement factors. Taking the union over sets of m rows therefore yields
The last step uses . There are support pairs of total weight . Consequently, with
Vandermonde's identity [30, Sec. 5.1, Eq. (5.27)] and give
For with ,
because
Also . Thus the contribution of is at most ; the bound remains valid when this range is empty.
For , a transmitted support alone has three active sockets and cannot be a kernel word. A punctured support alone is also impossible when is odd. If is even and , then (23) with gives a total expectation at most
The middle inequality uses and . If , no weight-one term is included. Markov's inequality [13, Thm. 1.6.4], followed by , now gives
This proof uses the parity of , and does not require itself to be even.
Small transmitted weights outside that region. For a nonzero coefficient in (22), put and . The positive-coefficient bound
uses . Applying the binary type-class bounds [25, Ex. 11.1.3, Eq. (11.40)]
to (22) yields the finite bound
(26) where
The coefficient estimate holds at finite length, even when the infimum is not attained. Lemma 1 implies
Suppose and . Then , so . Every monomial of has . Hence nonzero coefficients of satisfy
This support restriction prevents from approaching one. Moreover, , and the elementary inequality
gives
Here and were used. Binary entropy is increasing on , so (27) and concavity of on imply
Zero coefficients contribute nothing. Summing (26) over at most pairs of weights therefore bounds the probability of any such word by .
Let be the event that no nonzero extended word has transmitted weight at most . The preceding estimate and (25) prove (17). On this event, there is no nonzero word , so is injective. Every nonzero occurs in an extended codeword , and therefore has weight greater than . This proves the lemma.
Declaration of generative AI use
This work was developed with substantial assistance from OpenAI Codex, a generative AI system. Codex was used to explore research ideas and proof strategies; formulate, develop, and examine mathematical arguments; assist with literature searches and computational checks; and draft, revise, and translate the manuscript. The author takes full responsibility for the mathematical claims, proofs, references, and final text.
References
[1] D. J. C. MacKay, “Good error-correcting codes based on very sparse matrices,” IEEE Trans. Inf. Theory, vol. 45, no. 2, pp. 399–431, Mar. 1999, doi:10.1109/18.748992.
[2] T. Murayama, Y. Kabashima, D. Saad, and R. Vicente, “Statistical physics of regular low-density parity-check error-correcting codes,” Phys. Rev. E, vol. 62, no. 2, pp. 1577–1591, Aug. 2000, doi:10.1103/PhysRevE.62.1577.
[3] J. van Mourik, D. Saad, and Y. Kabashima, “Critical noise levels for low-density parity-check decoding,” Phys. Rev. E, vol. 66, no. 2, Aug. 2002, art. no. 026705, doi:10.1103/PhysRevE.66.026705.
[4] T. Tanaka and D. Saad, “Typical performance of regular low-density parity-check codes over general symmetric channels,” J. Phys. A: Math. Gen., vol. 36, no. 43, pp. 11143–11157, Oct. 2003, doi:10.1088/0305-4470/36/43/033.
[5] T. Richardson and R. Urbanke, Modern Coding Theory. Cambridge, U.K.: Cambridge University Press, 2008, doi:10.1017/CBO9780511791338.
[6] H. Nishimori, “Internal energy, specific heat and correlation function of the bond-random Ising model,” Prog. Theor. Phys., vol. 66, no. 4, pp. 1169–1181, Oct. 1981, doi:10.1143/PTP.66.1169.
[7] —, Statistical Physics of Spin Glasses and Information Processing: An Introduction. Oxford, U.K.: Oxford University Press, 2001, doi:10.1093/acprof:oso/9780198509417.001.0001.
[8] C.-H. Hsu and A. Anastasopoulos, “Capacity-achieving codes with bounded graphical complexity and maximum likelihood decoding,” IEEE Trans. Inf. Theory, vol. 56, no. 3, pp. 992–1006, Mar. 2010, doi:10.1109/TIT.2009.2039084.
[9] K. Kasai and K. Sakaniwa, “Spatially-coupled MacKay–Neal codes and Hsu–Anastasopoulos codes,” IEICE Trans. Fundamentals, vol. E94-A, no. 11, pp. 2161–2168, Nov. 2011, doi:10.1587/transfun.E94.A.2161.
[10] J. M. Renes, “Duality of channels and codes,” IEEE Trans. Inf. Theory, vol. 64, no. 1, pp. 577–592, Jan. 2018, doi:10.1109/TIT.2017.2754921.
[11] A. Ashikhmin, G. Kramer, and S. ten Brink, “Extrinsic information transfer functions: Model and erasure channel properties,” IEEE Trans. Inf. Theory, vol. 50, no. 11, pp. 2657–2673, Nov. 2004, doi:10.1109/TIT.2004.836693.
[12] C. Méasson, A. Montanari, T. Richardson, and R. Urbanke, “The generalized area theorem and some of its consequences,” IEEE Trans. Inf. Theory, vol. 55, no. 11, pp. 4793–4821, Nov. 2009, doi:10.1109/TIT.2009.2030457.
[13] R. Durrett, Probability: Theory and Examples, 5th ed. Cambridge, U.K.: Cambridge University Press, 2019, doi:10.1017/9781108591034.
[14] M. J. Wainwright and E. Martinian, “Low-density graph codes that are optimal for binning and coding with side information,” IEEE Trans. Inf. Theory, vol. 55, no. 3, pp. 1061–1079, Mar. 2009, doi:10.1109/TIT.2008.2009815.
[15] T. Okazaki and K. Kasai, “Spatially-coupled MacKay–Neal codes with no bit nodes of degree two achieve the capacity of BEC,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Honolulu, HI, USA, Jun. 2014, pp. 506–510, doi:10.1109/ISIT.2014.6874884.
[16] K. Kasai, “Spatially coupled MacKay–Neal codes achieve capacity on BMS channels at fixed degrees,” arXiv:2609.15526v1, Sep. 2026.
[17] A. Giurgiu, N. Macris, and R. Urbanke, “Spatial coupling as a proof technique and three applications,” IEEE Trans. Inf. Theory, vol. 62, no. 10, pp. 5281–5295, Oct. 2016, doi:10.1109/TIT.2016.2539144.
[18] K. Kasai, T. Awano, D. Declercq, C. Poulliat, and K. Sakaniwa, “Weight distributions of multi-edge type LDPC codes,” IEICE Trans. Fundamentals, vol. E93-A, no. 11, pp. 1942–1948, Nov. 2010, doi:10.1587/transfun.E93.A.1942.
[19] K. Kasai, “Finite-degree quantum LDPC codes reaching the Gilbert–Varshamov bound,” arXiv:2603.24588v3, Sep. 2026.
[20] J. Körner and K. Marton, “Comparison of two noisy channels,” in Topics in Information Theory, ser. Colloquia Mathematica Societatis János Bolyai, I. Csiszár and P. Elias, Eds. Amsterdam, The Netherlands: North-Holland, 1977, vol. 16, pp. 411–423.
[21] E. Šašoğlu, “Polar coding theorems for discrete systems,” Ph.D. dissertation, Thesis no. 5219, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland, Nov. 2011. [Online]. Available: https://infoscience.epfl.ch/entities/publication/a18855ee-d80b-4f8c-b728-ae1332447a5c
[22] M. J. Wainwright and M. I. Jordan, “Graphical models, exponential families, and variational inference,” Found. Trends Mach. Learn., vol. 1, no. 1–2, pp. 1–305, 2008, doi:10.1561/2200000001.
[23] M. Biernacki and J. Krzyż, “On the monotony of certain functionals in the theory of analytic functions,” Ann. Univ. Mariae Curie-Sklodowska Sect. A, vol. 9, no. 8, pp. 135–147, 1955. [Online]. Available: https://bc.umcs.pl/Content/30632/download/
[24] G. T. Cargo and O. Shisha, “The bernstein form of a polynomial,” J. Res. Nat. Bur. Stand. Sect. B, vol. 70B, no. 1, pp. 79–81, 1966, doi:10.6028/jres.070B.005.
[25] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Hoboken, NJ, USA: Wiley, 2006, doi:10.1002/047174882X.
[26] W. Hoeffding, “Probability inequalities for sums of bounded random variables,” J. Amer. Statist. Assoc., vol. 58, no. 301, pp. 13–30, Mar. 1963, doi:10.1080/01621459.1963.10500830.
[27] A. D. Wyner and J. Ziv, “A theorem on the entropy of certain binary sequences and applications—I,” IEEE Trans. Inf. Theory, vol. 19, no. 6, pp. 769–772, Nov. 1973, doi:10.1109/TIT.1973.1055107.
[28] U. Erez, O. Ordentlich, and S. Shamai (Shitz), “Lower bounds on mutual information for linear codes transmitted over binary input channels, and for information combining,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Athens, Greece, Jul. 2024, pp. 3386–3391, doi:10.1109/ISIT57864.2024.10619565.
[29] M. H. M. Costa and A. E. Gamal, “The capacity region of the discrete memoryless interference channel with strong interference,” IEEE Trans. Inf. Theory, vol. 33, no. 5, pp. 710–711, Sep. 1987, doi:10.1109/TIT.1987.1057340.
[30] R. L. Graham, D. E. Knuth, and O. Patashnik, Concrete Mathematics: A Foundation for Computer Science, 2nd ed. Reading, MA, USA: Addison-Wesley, 1994.