In information theory the asymptotic equipartition property (AEP) is a general property of the output samples of a stochastic source. It is fundamental to the concept of "typical set" used in theories of compression.
Roughly speaking, the theorem states that although there are many series of results that may be produced by a random process, the one actually produced is most probably from a loosely-defined set of outcomes that all have approximately the same chance of being the one actually realized. (This is a consequence of the law of large numbers and ergodic theory.) Although there are individual outcomes which have a higher probability than any outcome in this set, the vast number of outcomes in the set almost guarantees that the outcome will come from the set.
In the field of Pseudorandom number generation, a candidate generator of undetermined quality whose output sequence lies too far outside the typical set by some statistical criteria is rejected as insufficiently random. Thus, although the typical set is loosely defined, practical notions arise concerning "sufficient" typicality.
Definition
Given a discrete-time stationary ergodic stochastic process on the probability space , AEP is an assertion that
:
where denotes the process limited to duration , and or simply denotes the entropy rate of , which must exist for all discrete-time stationary processes including the ergodic ones. AEP is proved for finite-valued (i.e.