Varieties of Codes and Kraft Inequality

Decipherability conditions for codes are investigated by using the approach of Guzman, who introduced in [7] the notion of variety of codes and established a connection between classes of codes and varieties of monoids. The class of Uniquely Decipherable (UD) codes is a special case of variety of codes, corresponding to the variety of all monoids. It is well known that the Kraft inequality is a necessary condition for UD codes, but it is not sufficient, in the sense that there exist codes that are not UD and that satisfy the Kraft inequality. The main result of the present paper states that, given a variety $\mathcal{V}$ of codes, if all the elements of $\mathcal{V}$ satisfy the Kraft inequality, then $\mathcal{V}$ is the variety of UD codes. Thus, in terms of varieties, Kraft inequality characterizes UD codes.

[1]  Abraham Lempel On multiset decipherable codes , 1986, IEEE Trans. Inf. Theory.

[2]  Francine Blanchet-Sadri,et al.  Multiset and Set Decipherable Codes , 2001 .

[3]  Antonio Restivo,et al.  Minimal Complete Sets of Words , 1980, Theor. Comput. Sci..

[4]  Tom Head,et al.  Deciding multiset decipherability , 1995, IEEE Trans. Inf. Theory.

[5]  Fernando Guzmán,et al.  Decipherability of codes , 1999 .

[6]  Stanley Burris,et al.  A course in universal algebra , 1981, Graduate texts in mathematics.

[7]  M. Lothaire,et al.  Algebraic Combinatorics on Words: Index of Notation , 2002 .

[8]  Andrzej Ehrenfeucht,et al.  Each Regular Code Is Included in A Maximal Regular Code , 1986, RAIRO Theor. Informatics Appl..

[9]  M. Lothaire Algebraic Combinatorics on Words , 2002 .

[10]  J. Berstel,et al.  Theory of codes , 1985 .

[11]  Antonio Restivo A note on multiset decipherable codes , 1989, IEEE Trans. Inf. Theory.