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 V of codes, if all the elements of V satisfy the Kraft inequality, then V is the variety of UD codes. Thus, in terms of varieties, Kraft inequality characterizes UD codes.

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

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

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

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

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

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