In coding theory, the Wozencraft ensemble is a set of linear codes in which most of codes satisfy the Gilbert-Varshamov bound. It is named after John Wozencraft, who proved its existence. The ensemble is described by Massey (1963), who attributes it to Wozencraft. Justesen (1972) used the Wozencraft ensemble as the inner codes in his construction of strongly explicit asymptotically good code.
Existence theorem
- Theorem: Let
For a large enough
, there exists an ensemble of inner codes
of rate
, where
, such that for at least
values of
has relative distance
.
Here relative distance is the ratio of minimum distance to block length. And
is the q-ary entropy function defined as follows:

In fact, to show the existence of this set of linear codes, we will specify this ensemble explicitly as follows: for
, define the inner code

Here we can notice that
and
. We can do the multiplication
since
is isomorphic to
.
This ensemble is due to Wozencraft and is called the Wozencraft ensemble.
For all
, we have the following facts:

- For any

So
is a linear code for every
.
Now we know that Wozencraft ensemble contains linear codes with rate
. In the following proof, we will show that there are at least
those linear codes having the relative distance
, i.e. they meet the Gilbert-Varshamov bound.
Proof
To prove that there are at least
number of linear codes in the Wozencraft ensemble having relative distance
, we will prove that there are at most
number of linear codes having relative distance
i.e., having distance
Notice that in a linear code, the distance is equal to the minimum weight of all codewords of that code. This fact is the property of linear code. So if one non-zero codeword has weight
, then that code has distance
Let
be the set of linear codes having distance
Then there are
linear codes having some codeword that has weight
- Lemma. Two linear codes
and
with
distinct and non-zero, do not share any non-zero codeword.
- Proof. Suppose there exist distinct non-zero elements
such that the linear codes
and
contain the same non-zero codeword
Now since
for some
and similarly
for some
Moreover since
is non-zero we have
Therefore
, then
and
This implies
, which is a contradiction.
Any linear code having distance
has some codeword of weight
Now the Lemma implies that we have at least
different
such that
(one such codeword
for each linear code). Here
denotes the weight of codeword
, which is the number of non-zero positions of
.
Denote

Then:[1]
![{\displaystyle {\begin{aligned}|P|&\leqslant |S|\\&\leqslant {\text{Vol}}_{q}\left(H_{q}^{-1}\left({\tfrac {1}{2}}-\varepsilon \right)\cdot 2k,2k\right)&&{\text{Vol}}_{q}(r,n){\text{ is the volume of Hamming ball of radius }}r{\text{ in }}[q]^{n}\\&\leqslant q^{H_{q}\left(H_{q}^{-1}\left({\frac {1}{2}}-\varepsilon \right)\right)\cdot 2k}&&{\text{Vol}}_{q}(pn,n)\leqslant q^{H_{q}(p)n}\\&=q^{\left({\frac {1}{2}}-\varepsilon \right)\cdot 2k}\\&=q^{k(1-2\varepsilon )}\\&<\varepsilon (q^{k}-1)&&{\text{ for }}k{\text{ large enough }}\\&=\varepsilon N\end{aligned}}}](./0995b212740377e780c8983b27fd02fdf7d769f3.svg)
So
, therefore the set of linear codes having the relative distance
has at least
elements.
See also
References
- Massey, James L. (1963), Threshold decoding, Tech. Report 410, Cambridge, Mass.: Massachusetts Institute of Technology, Research Laboratory of Electronics, hdl:1721.1/4415, MR 0154763.
- Justesen, Jørn (1972), "A class of constructive asymptotically good algebraic codes", IEEE Transactions on Information Theory, IT-18 (5): 652–656, doi:10.1109/TIT.1972.1054893, MR 0384313.
External links