Skip to main content
KetQat

Appearance

Proof · intermediate

Proof of the asymptotic equipartition property

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 XiX_i lies in the support of pp, so Zi=−log⁡2p(Xi)Z_i = -\log_2 p(X_i) is a well-defined random variable taking finitely many values. The ZiZ_i are i.i.d. with mean EZi=−∑xp(x)log⁡2p(x)=H\mathbb{E}Z_i = -\sum_x p(x) \log_2 p(x) = H and finite variance, and −1nlog⁡2p(Xn)=1n∑i=1nZi-\frac{1}{n}\log_2 p(X^n) = \frac{1}{n}\sum_{i=1}^{n} Z_i. The weak law of large numbers gives convergence in probability to HH, which is statement 1, since Xn∈Tδ(n)X^n \in T_\delta^{(n)} exactly when the average is within δ\delta of HH.

Statement 2 is the definition of Tδ(n)T_\delta^{(n)} rewritten: ∣−1nlog⁡2p(xn)−H∣≤δ\abs{-\frac1n \log_2 p(x^n) - H} \le \delta iff n(H−δ)≤−log⁡2p(xn)≤n(H+δ)n(H - \delta) \le -\log_2 p(x^n) \le n(H + \delta).

For statement 3, by statement 2, 1≥∑xn∈Tp(xn)≥∣T∣ 2−n(H+δ)1 \ge \sum_{x^n \in T} p(x^n) \ge \abs{T}\, 2^{-n(H + \delta)}.

For statement 4, take nn large enough that Pr⁡[Xn∈T]≥1−ϵ\Pr[X^n \in T] \ge 1 - \epsilon; then by statement 2, 1−ϵ≤∑xn∈Tp(xn)≤∣T∣ 2−n(H−δ)1 - \epsilon \le \sum_{x^n \in T} p(x^n) \le \abs{T}\, 2^{-n(H - \delta)}.

The argument is the one in chapter 3 of Cover and Thomas.

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. 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 · 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

  1. 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).