A sofic shift is a shift space consisting of the labels of all bi-infinite paths in a finite labeled directed graph. Equivalently, it is a factor of a shift of finite type. Its language consists of the finite blocks that occur in its sequences. The shift is irreducible if for any two blocks in its language some intervening word joins them into a block in the language.
For a sofic shift , an
-code is a set of nonempty blocks of
such that each block of
has at most one decomposition into codewords. It is
-complete if every block of
occurs as a factor of a concatenation of codewords. Béal
and Perrin (2009) proved that for irreducible
, every
-code extends to an
-complete
-code. If the starting code is regular, the extension can be
chosen regular and constructed effectively. In particular, an
-code maximal under inclusion is
-complete.
For irreducible
of positive topological entropy, Béal
and Perrin (2009) also showed that a code uniquely decipherable in the full shift
and contained in the language of
can be extended to an
-complete code that remains uniquely decipherable in the full
shift. They left the corresponding full-shift completion question open at zero entropy.