Shannon's Source Coding Theorem - Proof: Source Coding Theorem

Proof: Source Coding Theorem

Given is an i.i.d. source, its time series X1, ..., Xn is i.i.d. with entropy H(X) in the discrete-valued case and differential entropy in the continuous-valued case. The Source coding theorem states that for any for any rate larger than the entropy of the source, there is large enough and an encoder that takes i.i.d. repetition of the source, and maps it to binary bits such that the source symbols are recoverable from the binary bits with probability at least .

Proof for achievability

Fix some . The typical set,, is defined as follows:

AEP shows that for large enough n, the probability that a sequence generated by the source lies in the typical set,, as defined approaches one. In particular there for large enough n, (See AEP for a proof):

The definition of typical sets implies that those sequences that lie in the typical set satisfy:


2^{-n(H(X)+\epsilon)} \leq p(x_1, x_2, ..., x_n) \leq 2^{-n(H(X)-\epsilon)}

Note that:

  • The probability of a sequence from being drawn from is greater than
  • since the probability of the whole set is at most one.
  • . For the proof, use the upper bound on the probability of each term in typical set and the lower bound on the probability of the whole set .

Since bits are enough to point to any string in this set.

The encoding algorithm: The encoder checks if the input sequence lies within the typical set; if yes, it outputs the index of the input sequence within the typical set; if not, the encoder outputs an arbitrary digit number. As long as the input sequence lies within the typical set (with probability at least ), the encoder doesn't make any error. So, the probability of error of the encoder is bounded above by

Proof for converse The converse is proved by showing that any set of size smaller than (in the sense of exponent) would cover a set of probability bounded away from 1.

Read more about this topic:  Shannon's Source Coding Theorem

Famous quotes containing the words source and/or theorem:

    It is the child in man that is the source of his uniqueness and creativeness, and the playground is the optimal milieu for the unfolding of his capacities and talents.
    Eric Hoffer (1902–1983)

    To insure the adoration of a theorem for any length of time, faith is not enough, a police force is needed as well.
    Albert Camus (1913–1960)