Girish Mahajan (Editor)

GV linear code

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In coding theory, the bound of parameters such as rate R, relative distance, block length, etc. is usually concerned. Here Gilbert–Varshamov bound theorem claims the lower bound of the rate of the general code. Gilbert–Varshamov bound is the best in terms of relative distance for codes over alphabets of size less than 49.

Contents

Gilbert–Varshamov bound theorem

Theorem: Let q 2 . For every 0 δ < 1 1 q and 0 < ε 1 H q ( δ ) , there exists a code with rate R 1 H q ( δ ) ε and relative distance δ .

Here H q is the q-ary entropy function defined as follows:

H q ( x ) = x log q ( q 1 ) x log q x ( 1 x ) log q ( 1 x ) .

The above result was proved by Edgar Gilbert for general code using the greedy method as here. For linear code, Rom Varshamov proved using the probabilistic method for the random linear code. This proof will be shown in the following part.

High-level proof:

To show the existence of the linear code that satisfies those constraints, the probabilistic method is used to construct the random linear code. Specifically the linear code is chosen randomly by choosing the random generator matrix G in which the element is chosen uniformly over the field F q n . Also the Hamming distance of the linear code is equal to the minimum weight of the codeword. So to prove that the linear code generated by G has Hamming distance d , we will show that for any m F q k { 0 } , w t ( m G ) d . To prove that, we prove the opposite one; that is, the probability that the linear code generated by G has the Hamming distance less than d is exponentially small in n . Then by probabilistic method, there exists the linear code satisfying the theorem.

Formal proof:

By using the probabilistic method, to show that there exists a linear code that has a Hamming distance greater than d , we will show that the probability that the random linear code having the distance less than d is exponentially small in n .

We know that the linear code is defined using the generator matrix. So we use the "random generator matrix" G as a mean to describe the randomness of the linear code. So a random generator matrix G of size k n contains k n elements which are chosen independently and uniformly over the field F q .

Recall that in a linear code, the distance equals the minimum weight of the non-zero codeword. Let w t ( y ) be the weight of the codeword y . So

P = Pr random  G ( linear code generated by  G  has distance < d ) = Pr random  G ( there exists a non-zero codeword  y  in a linear code generated by  G  such that  w t ( y ) < d ) = Pr random  G ( there exists  0 m F q k  such that  w t ( m G ) < d )

The last equality follows from the definition: if a codeword y belongs to a linear code generated by G , then y = m G for some vector m F q k .

By Boole's inequality, we have:

P 0 m F q k Pr random  G ( w t ( m G ) < d )

Now for a given message 0 m F q k , we want to compute

W = Pr random  G ( w t ( m G ) < d ) .

Let Δ ( m 1 , m 2 ) be a Hamming distance of two messages m 1 and m 2 . Then for any message m , we have: w t ( m ) = Δ ( 0 , m ) . Therefore:

W = { y F q n | Δ ( 0 , y ) d 1 } Pr random  G ( m G = y )

Due to the randomness of G , m G is a uniformly random vector from F q n . So

Pr random  G ( m G = y ) = q n

Let Vol q ( r , n ) is a volume of Hamming ball with the radius r . Then:

P q k W = q k ( Vol q ( d 1 , n ) q n ) q k ( q n H q ( δ ) q n ) = q k q n ( 1 H q ( δ ) )

By choosing k = ( 1 H q ( δ ) ε ) n , the above inequality becomes

P q ε n

Finally q ε n 1 , which is exponentially small in n, that is what we want before. Then by the probabilistic method, there exists a linear code C with relative distance δ and rate R at least ( 1 H q ( δ ) ε ) , which completes the proof.

Comments

  1. The Varshamov construction above is not explicit; that is, it does not specify the deterministic method to construct the linear code that satisfies the Gilbert–Varshamov bound. The naive way that we can do is to go over all the generator matrices G of size k n over the field F q and check if that linear code has the satisfied Hamming distance. That leads to the exponential time algorithm to implement it.
  2. We also have a Las Vegas construction that takes a random linear code and checks if this code has good Hamming distance. Nevertheless, this construction has the exponential running time.

References

GV-linear-code Wikipedia