Index the typical set, which has at most 2^(n(H+delta)) elements and almost all the probability; conversely, any set of 2^(nR) sequences with R < H meets the typical set in a set of vanishing probability.
Established resultDraftUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted draft, not yet reviewed. Nobody other than the author has checked this page. Verify statements against the cited sources before relying on them.
Achievability. Let R>H and δ=(R−H)/2>0. Then
∣T∣≤2n(H+δ)≤2nR≤2⌈nR⌉, so there is an injective
map fn:T→{0,1}⌈nR⌉; extend fn arbitrarily to all of
Xn and let gn invert it on fn(T). Every xn∈T is recovered, so the
error probability is at most Pr[Xn∈/T], which tends to 0.
Strong converse. Let R<H and δ=(H−R)/2>0. Any decoder
gn:{0,1}m→Xn with m≤nR has an image S of at most 2nR
sequences, and decoding is correct only if Xn∈S. Using the upper bound
p(xn)≤2−n(H−δ) on T,
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Self-contained proof checked line by line against the statements of theorem/source-coding-theorem and theorem/asymptotic-equipartition-property (choice of delta, size bound |T| <= 2^{n(H+delta)}, injective encoding into ceil(nR) bits, converse bound 2^{nR} 2^{-n(H-delta)} = 2^{-n(H-R)/2}). The textbook itself is not openly readable; Crossref chapter metadata confirms chapter 3 of Cover and Thomas (DOI 10.1002/047174882X.ch3) is the asymptotic equipartition chapter, and book metadata matched.
The steps were re-derived, but neither the cited textbook nor a second open source was read, so the record stays a draft until one is.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 365123d6ae3be559. Source file knowledge/records/proof/source-coding-theorem.md in the content repository (readable there once it is public).