Let
Let
Let
Then the sets of typical strings of length
are defined for each
where
i.e.
Lemma
For any
Proof
Each
Thus:
Lemma (AEP)
Let
It satisfies the Asymptotic Equipartition Property with entropy
if and only if
for all
Proof
Let
Note that
if and only if:
which happens if and only if:
Also,
Thus the equivalence follows.