Skip to main content
KetQat

Appearance

Theorem · intermediate

On the binary symmetric channel, coset-leader decoding is maximum-likelihood

For a binary linear code on a binary symmetric channel with flip probability below one half, the most likely codeword is the nearest one, it is found by subtracting a minimum-weight error with the observed syndrome, and the error probability is the same for every codeword.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let CC be a binary linear code of dimension kk with parity-check matrix HH, used on the binary symmetric channel BSC(p)\mathrm{BSC}(p) with 0<p<1/20 < p < 1/2, and let yy be the received word.

  1. A codeword maximises the likelihood Wn(y∣c)W^n(y \mid c) if and only if it minimises the Hamming distance d(y,c)d(y, c).
  2. Let e∗e^\ast have minimum weight among all e∈F2ne \in \F_2^n with HeT=HyTH e^{T} = H y^{T}. Then y−e∗y - e^\ast is a maximum-likelihood decision.
  3. Fix one such minimum-weight error ese_s for each syndrome ss, of weight wsw_s. The resulting decoder is correct exactly when the channel error equals ese_s for some ss, so its block error probability is the same for every transmitted codeword and equals
Perr  =  1−∑sp ws (1−p) n−ws,P_{\mathrm{err}} \;=\; 1 - \sum_{s} p^{\,w_s}\,(1 - p)^{\,n - w_s} ,

the sum running over all 2 n−k2^{\,n-k} syndromes.

Holds when

  • C⊆F2nC \subseteq \F_2^n is a binary linear code of dimension kk with parity-check matrix HH.
  • The channel is BSC(p)\mathrm{BSC}(p) with 0<p<1/20 < p < 1/2.

Proof

Proof that coset-leader decoding is maximum-likelihood on the binary symmetric channelMachine-checked

1. For the binary symmetric channel,

Wn(y∣c)  =  p d(y,c) (1−p) n−d(y,c)  =  (1−p)n(p1−p)d(y,c).W^n(y \mid c) \;=\; p^{\,d(y,c)}\,(1-p)^{\,n - d(y,c)} \;=\; (1-p)^n \left( \frac{p}{1-p} \right)^{d(y,c)} .

Since 0<p<1/20 < p < 1/2, the ratio p/(1−p)p/(1-p) lies strictly between 0 and 1, so the likelihood is a strictly decreasing function of d(y,c)d(y, c). Maximising one is minimising the other.

2. The map c↦y−cc \mapsto y - c is a bijection from CC onto the coset y+Cy + C, and y+C={ e:HeT=HyT }y + C = \{\, e : H e^{T} = H y^{T} \,\} because H(y−c)T=HyTH(y - c)^{T} = H y^{T} and the solution set of this linear system is a coset of ker⁡H=C\ker H = C. Under the bijection d(y,c)=wt⁡(y−c)d(y, c) = \operatorname{wt}(y - c). A codeword nearest to yy therefore corresponds to an element of least weight in the coset, and conversely y−e∗y - e^\ast is a codeword nearest to yy. By item 1 it is a maximum-likelihood decision.

3. Let cc be transmitted and ee the channel error, so y=c+ey = c + e and the syndrome is s=HeTs = H e^{T}. The decoder outputs y−es=c+(e−es)y - e_s = c + (e - e_s), which equals cc if and only if e=ese = e_s. The distribution of ee does not depend on cc, and Pr⁡[e=v]=pwt⁡(v)(1−p) n−wt⁡(v)\Pr[e = v] = p^{\operatorname{wt}(v)} (1-p)^{\,n - \operatorname{wt}(v)}. The events {e=es}\{e = e_s\} for different ss are disjoint, so the probability of correct decoding is ∑sp ws(1−p) n−ws\sum_s p^{\,w_s} (1-p)^{\,n - w_s}, whatever codeword was sent.

Mentions
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. W. Cary Huffman, Vera Pless (2003). Fundamentals of Error-Correcting Codes. Cambridge University Press. doi:10.1017/CBO9780511807077
  2. Thomas M. Cover, Joy A. Thomas (2005). Elements of Information Theory. Wiley (2nd edition). doi:10.1002/047174882X

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    All three items re-derived; brute-force check on the [7,4] Hamming code over BSC(0.07): coset-leader decoding attains the maximum likelihood for every received word, and the error-probability formula (0.081274) equals the exact error probability for two different transmitted codewords. Huffman-Pless and Cover-Thomas not openly readable.

    The sum over 2^(n-k) syndromes used k without defining it; the dimension k of C is now stated in the assumptions and the statement.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 7292fbf3be403d0c. Source file knowledge/records/theorem/syndrome-decoding-is-maximum-likelihood.md in the content repository (readable there once it is public).