Apply the weak law of large numbers to the i.i.d. variables -log2 p(X_i), then bound the size of the typical set from both sides using the probability bounds on its elements.
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.
With probability one each Xi lies in the support of p, so Zi=−log2p(Xi) is a
well-defined random variable taking finitely many values. The Zi are i.i.d. with mean
EZi=−∑xp(x)log2p(x)=H and finite variance, and
−n1log2p(Xn)=n1∑i=1nZi. The
weak law of large numbers gives convergence in
probability to H, which is statement 1, since Xn∈Tδ(n) exactly when the
average is within δ of H.
Statement 2 is the definition of Tδ(n) rewritten: ∣−n1log2p(xn)−H∣≤δ
iff n(H−δ)≤−log2p(xn)≤n(H+δ).
For statement 3, by statement 2,
1≥∑xn∈Tp(xn)≥∣T∣2−n(H+δ).
For statement 4, take n large enough that Pr[Xn∈T]≥1−ϵ; then by
statement 2, 1−ϵ≤∑xn∈Tp(xn)≤∣T∣2−n(H−δ).
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Proof checked against the companion theorem (finite alphabet, i.i.d.): Z_i = -log2 p(X_i) has mean H and finite variance, weak law gives statement 1, statement 2 is the definition rewritten, and the two typical-set size bounds follow from summing the probability bounds. Textbook material (Cover and Thomas, ch. 3, not openly readable); independent derivation used.
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 5a26af34390c4c7b. Source file knowledge/records/proof/asymptotic-equipartition-property.md in the content repository (readable there once it is public).