The

**asymptotic equipartition property (AEP)**is a direct consequence of the weak law of large numbers and is used extensively in information theory. It can be summed up by the phrase 'Almost everything is almost equally probable.'

Given independent identically-distributed random variables
*X*_{1}, ..., *X*_{n} with entropy *H*(*X*) and *p*(*X*_{j}, ..., *X*_{k}) the probability of observing the sequence *X*_{1}, ..., *X*_{k}, the AEP states that in probability,

*typical set*, which is used extensively in theories of compression.