Gilbert–Varshamov bound

From HandWiki

In coding theory, the Gilbert–Varshamov bound (due to Edgar Gilbert[1] and independently Rom Varshamov[2]) is a bound on the size of a (not necessarily linear) code. It is occasionally known as the Gilbert–Shannon–Varshamov bound (or the GSV bound), but the name "Gilbert–Varshamov bound" is by far the most popular. Varshamov proved this bound by using the probabilistic method for linear codes. For more about that proof, see Gilbert–Varshamov bound for linear codes.

Statement of the bound

Recall that a code has a minimum distance [math]\displaystyle{ d }[/math] if any two elements in the code are at least a distance [math]\displaystyle{ d }[/math] apart. Let

[math]\displaystyle{ A_q(n,d) }[/math]

denote the maximum possible size of a q-ary code [math]\displaystyle{ C }[/math] with length n and minimum Hamming distance d (a q-ary code is a code over the field [math]\displaystyle{ \mathbb{F}_q }[/math] of q elements).

Then:

[math]\displaystyle{ A_q(n,d) \geqslant \frac{q^n}{\sum_{j=0}^{d-1} \binom{n}{j}(q-1)^j}. }[/math]

Proof

Let [math]\displaystyle{ C }[/math] be a code of length [math]\displaystyle{ n }[/math] and minimum Hamming distance [math]\displaystyle{ d }[/math] having maximal size:

[math]\displaystyle{ |C|=A_q(n,d). }[/math]

Then for all [math]\displaystyle{ x\in\mathbb{F}_q^n }[/math] , there exists at least one codeword [math]\displaystyle{ c_x \in C }[/math] such that the Hamming distance [math]\displaystyle{ d(x,c_x) }[/math] between [math]\displaystyle{ x }[/math] and [math]\displaystyle{ c_x }[/math] satisfies

[math]\displaystyle{ d(x,c_x)\leqslant d-1 }[/math]

since otherwise we could add x to the code whilst maintaining the code's minimum Hamming distance [math]\displaystyle{ d }[/math] – a contradiction on the maximality of [math]\displaystyle{ |C| }[/math].

Hence the whole of [math]\displaystyle{ \mathbb{F}_q^n }[/math] is contained in the union of all balls of radius [math]\displaystyle{ d-1 }[/math] having their centre at some [math]\displaystyle{ c \in C }[/math] :

[math]\displaystyle{ \mathbb{F}_q^n =\bigcup_{c \in C} B(c,d-1). }[/math]

Now each ball has size

[math]\displaystyle{ \sum_{j=0}^{d-1} \binom{n}{j}(q-1)^j }[/math]

since we may allow (or choose) up to [math]\displaystyle{ d-1 }[/math] of the [math]\displaystyle{ n }[/math] components of a codeword to deviate (from the value of the corresponding component of the ball's centre) to one of [math]\displaystyle{ (q-1) }[/math] possible other values (recall: the code is q-ary: it takes values in [math]\displaystyle{ \mathbb{F}_q^n }[/math]). Hence we deduce

[math]\displaystyle{ q^n = \left |\mathbb{F}_q^n \right | = \left |\bigcup_{c \in C} B(c,d-1) \right | \leqslant \sum_{c \in C} |B(c,d-1)| = |C|\sum_{j=0}^{d-1} \binom{n}{j}(q-1)^j }[/math]

That is:

[math]\displaystyle{ A_q(n,d) = |C| \geqslant \frac{q^n}{\sum_{j=0}^{d-1} \binom{n}{j}(q-1)^j}. }[/math]

An improvement in the prime power case

For q a prime power, one can improve the bound to [math]\displaystyle{ A_q(n,d)\ge q^k }[/math] where k is the greatest integer for which

[math]\displaystyle{ q^k \lt \frac{q^n}{\sum_{j=0}^{d-2} \binom{n-1}{j}(q-1)^j}. }[/math]

See also

References

  1. Gilbert, E. N. (1952), "A comparison of signalling alphabets", Bell System Technical Journal 31 (3): 504–522, doi:10.1002/j.1538-7305.1952.tb01393.x .
  2. Varshamov, R. R. (1957), "Estimate of the number of signals in error correcting codes", Dokl. Akad. Nauk SSSR 117: 739–741 .